Foundations
Vieta Jumping
A competition number theory technique: given a Diophantine equation in two variables, fix one variable, treat the equation as a quadratic in the other, and use Vieta's formulas to jump to a new integer solution. Repeated jumping produces a contradiction or forces a known base case.
Why This Matters
Vieta jumping is a proof technique for Diophantine equations (see number theory and ML for broader connections) that appears simple once you see it but is difficult to discover independently. It became famous through IMO 1988 Problem 6, which stumped nearly every competitor. The technique is narrow in scope (it applies to specific types of equations) but powerful when applicable, and it illustrates a general principle: exploit the algebraic structure of quadratics to navigate the solution space.
Mental Model
You have an equation (or an inequality) involving two positive integers and . Fix and view the equation as a quadratic in . If is a solution, then is a root of this quadratic. By Vieta's formulas, the other root satisfies and where . Since and are integer expressions in , the other root is also an integer. If , you have a new solution and can repeat. If , you have reached a base case that can be analyzed directly.
Formal Setup
Vieta Jumping (Standard Form)
Given a Diophantine equation that is quadratic in (when is fixed):
If is a positive integer solution, then Vieta's formulas give the second root:
The jump replaces with . If divides and in the integers, then is an integer.
The Method Step by Step
-
Assume for contradiction (or assume a minimal counterexample). Suppose is a solution with minimal (or maximal, depending on the problem).
-
Fix one variable. Hold fixed and write the equation as a quadratic in .
-
Apply Vieta's formulas. The current value is one root. Compute the other root .
-
Check integrality. Verify that is an integer. This usually follows from the equation's structure.
-
Check positivity. Show . Use the product of roots: . If , then has the same sign as .
-
Obtain contradiction or base case. Show (so the new solution is "smaller"), contradicting minimality. Or show and analyze this case directly.
Main Theorem
Vieta Jumping Produces Integer Solutions
Statement
Let where , , are integer-valued functions. If is a positive integer solution and , then the second root of is the integer:
Moreover, .
Intuition
A monic quadratic with integer coefficients and one integer root must have another integer root. This is because the sum and product of roots equal integer quantities (by Vieta's formulas). Vieta jumping exploits this: every integer root has an integer partner. The descent structure has a flavor similar to the iterative refinement in Newton's method, where one solution generates the next.
Failure Mode
The technique fails if the equation is not quadratic in either variable, if for the relevant values, or if the second root is not guaranteed to be positive (in which case the descent argument may not work, though the base case might still be useful).
Canonical Example: IMO 1988 Problem 6
IMO 1988 Problem 6
Problem. Let and be positive integers such that divides . Show that is a perfect square.
Setup. Let . We must show is a perfect square. Rearrange: , or equivalently:
This is a quadratic in with , , .
Vieta jump. If is a solution, the other root is , and .
Descent. Assume is a solution with minimal and . The other root satisfies and . Since and , if then . We can show (using and the structure of the equation), contradicting minimality unless .
Base case. If , then , so , a perfect square. This completes the proof.
When the Technique Applies
Vieta jumping works when:
- The equation is quadratic (or can be made quadratic) in one of its variables.
- The coefficients ensure integer second roots.
- A descent argument is available (the new solution is "smaller" in some sense).
- The base case is tractable.
It does not work for equations that are cubic or higher in both variables, equations where the second root is irrational, or problems where no natural descent ordering exists.
Common Confusions
The descent direction matters
You must choose which variable to fix and which to jump carefully. In the IMO 1988 problem, fixing and jumping in works when . Fixing the wrong variable may produce a second root that is larger, not smaller, giving no contradiction.
Vieta jumping is not infinite descent
Infinite descent proves that no positive integer solutions exist. Vieta jumping reduces to a base case that does have solutions. The conclusion is different: Vieta jumping shows that all solutions arise from a known base case via jumping, not that no solutions exist.
Exercises
Problem
Let and be positive integers satisfying . Fix and write this as a quadratic in . Find the second root in terms of and . Verify that .
Problem
Use Vieta jumping to show that if and are positive integers with , then the only solutions are , forming a sequence related to Fibonacci numbers.
References
Canonical:
- Engel, Problem-Solving Strategies (1998), Chapter 6
- Andreescu & Enescu, Mathematical Olympiad Treasures (2011), Chapter 2
Current:
-
Art of Problem Solving Wiki, Vieta Jumping
-
Munkres, Topology (2000), Chapter 1 (set theory review)
Last reviewed: April 2026