Overview
Vieta Jumping (also called root flipping) is an advanced technique for Diophantine equations. It applies when a rational expression in positive integers is asserted to equal an integer , and the relation can be rearranged into a quadratic in one variable. The idea is that if is a solution, Vieta's formulas produce a second root that is also an integer, still paired with , but strictly smaller than . Since positive integers cannot decrease indefinitely, this forces either a contradiction or a checkable base case.
Key Idea
Suppose we have a relation involving positive integers and an integer , which rearranges into a quadratic in :
The known value is one root. Let denote the other. Vieta's formulas give:
The first expression proves (since are all integers).
The second expression is used to bound and establish , which produces the descent.
The two expressions give different information about the same quantity; combining them is what drives the argument.
Steps to Reproduce
Here is the standard structure of a Vieta Jumping argument:
- Define . Let where is the expression asserted to be an integer (or a specific value).
- Fix , take the minimal pair. Among all pairs of positive integers with , choose the one minimizing (or just after WLOG ).
- Form the quadratic. Rearrange the equation into a quadratic in : the existing value is one root.
- Produce the second root. Let be the other root. By Vieta's sum formula, .
- Show . Use the product formula . If is not a perfect square or if the constant is positive, show ; rule out separately.
- Show . Use the assumption and the product formula: .
- Conclude. The pair satisfies the same relation with , contradicting minimality. Hence no such pair exists (or must equal the forced value).
Worked Examples
Example 1 (IMO 1988 Problem 6). Let be positive integers such that . Prove that is a perfect square.
Proof. Let . We want to show is always a perfect square.
Suppose for contradiction that is a fixed positive integer that is not a perfect square, and that there exists at least one pair of non-negative integers with . Pick the pair with that minimizes .
Rewrite the equation as , then rearrange into a quadratic in :
The value is one root. Let be the other root. By Vieta's formulas:
- Sum: , so .
- Product: , so .
Since is an integer satisfying the same quadratic, the pair satisfies , which means , i.e., — so is also a valid solution, provided and .
: If , then , so , contradicting our assumption that is not a perfect square.
: Suppose . Then . The left side is positive. We need , i.e., — but is a negative integer, so , giving , so . Combined with , we need , i.e., . Since and , this is impossible. So , and since , we have .
: Since :
We need to show this is less than . Note , so , giving .
But then is a valid pair achieving the same , with — contradicting the minimality of . Therefore, no non-perfect-square value of is achievable, and must be a perfect square.
Example 2. Let be positive integers with . Show that .
Proof. Let . First handle the diagonal: if , then , so , forcing and . Now assume and pick the minimal-sum pair.
Rearrange as a quadratic in :
The value is one root; let be the other. By Vieta's:
- Sum: .
- Product: .
Since and , we have .
: Since :
So is a valid pair with , contradicting minimality — unless no such pair with exists. The descent terminates when , which forces as shown above. Therefore for all valid pairs.
Common Pitfalls
Forgetting to prove . The extremal argument only produces a contradiction if the new solution is a valid pair of positive integers. Always prove , or handle as an explicit base case.
Skipping . The bound uses . The equality case must always be checked first, this often forces the answer immediately.
Not verifying the new pair satisfies the relation. Check that (not just ) satisfies the original equation before claiming it's a valid smaller solution.
Negative variables. The extremal principle requires to be bounded below. If the problem allows negative integers, the descent has no floor. Establish that any solution can be transformed to a positive one before applying the method.
Practice Problems
| Status | Source | Problem Name | Difficulty | Tags | ||
|---|---|---|---|---|---|---|
Module Progress:
Join the AoPS Community!
Stuck on a problem, or don't understand a module? Join the AoPS community and get help from other math contest students.
