In one sentence
Real numbers form one continuous line, but integers come one step at a time: there is no integer between and , and no square between and .
So for integers, an inequality is sometimes as strong as an equation:
- If a quantity is strictly between two consecutive squares, it is not a square.
- If you can prove that an unknown is at most some number, try the finitely many cases that are left one by one.
“Estimation” means using inequalities to squash infinitely many possibilities down to a few you can count on your fingers.
Predict first
is a positive integer. Can be a perfect square?
For , .
It is strictly squeezed between and , and these two squares are consecutive, with no other square between them. Go back to the figure at the top of the page: drag from to , and every value is “squeezed”. Only is an exception: then the expression equals , landing right on the upper bound.
Stop 1 · Common methods for Diophantine equations (Vol. 6)
Change one constant and the story changes: this time there are solutions, and they hide where the squeeze fails.
Example: find all positive integer solutions of y² = x² + x + 7
Step 1 / 6- It is close to x²
The right side is a bit bigger than . Is it squeezed between and the next square, ? Try first: , squeezed.
Stop 2 · Integer solutions of equations (Vol. 2)
When there are no “consecutive squares” to squeeze with, try another idea: put the unknowns in order, and the smallest one cannot be big.
Example: positive integers x ≤ y ≤ z satisfy x + y + z = xyz. Find all solutions
Step 1 / 5- A product grows faster than a sum
When all three numbers are large, is far bigger than . So solutions can only involve small numbers. How do you make “small” precise?
“Assume ” is not laziness: the equation is symmetric in the three letters, and only after putting them in order is there a “largest” one to bound with.
Stop 3 · The Pythagorean equation (Vol. 6)
Integer right triangles also come “one step at a time”: the hypotenuse is longer than the leg , and both are integers, so .
Predict first
A right triangle has positive integer sides, and one leg is . What is the largest possible length of the other leg?
Let the other leg be and the hypotenuse , so . Since ,
so . And really works: .
Example: which integer right triangles have a leg of 9?
Step 1 / 5- Write it as a difference of squares
Let the other leg be and the hypotenuse .
Stop 4 · Quadratic functions and integer roots (Vol. 3)
For a quadratic equation to have integer roots, the discriminant must be a perfect square. The discriminant is a quadratic in the parameter, just right for squeezing between consecutive squares.
Example: k is a positive integer and x² − kx + k = 0 has integer roots. Find k
Step 1 / 6- The discriminant must be a square
The roots are . For them to be integers, must be a perfect square.
All four stops follow the same pattern: first use inequalities to fence off a finite range, then patiently check every case inside it. Neither step can be skipped.
Practice
The positive integer satisfies . Find .
Find all positive integers for which is a perfect square. (Separate them with commas.)
Positive integers satisfy . Find all possible values of . (Separate them with commas.)