Overview
Vieta Jumping (also called root flipping) is an advanced technique where we perform fermats's infinite descent with the usual goal of showing there exists finite solutions to a diophantine equations however with a twist where the descent is performed on the roots of a quadriatic expression where the roots are usually the solutions to the equation. The roots are found by vieta and hence the name 'Vieta Jumping'.
Key Idea
First we have a diophantine equation which is symmetric and we want to perform the vita jump on it. Let us represent this by with degree 2. Degree 1 is left out as that will result a linear diophantine equation which can be solved by standard methods. Now we can form a quadriatic equation with either or as the subject and as the value of the diophantine equation.
One such example is shown below
We know that any quadriatic equation has 2 roots. Hence we know there is another solution to the equation we constructed before. Let the equations subject be represented by where the roots of it are and .
Clearly is also a value that satisfies . A important step is to make sure that , and that which can be proven using simple inequalities(We find the value of via vieta's relations). Else we cannot perform a descent.
Okay we got as a solution, now what? well we can again make the quadriatic equation but this time with as the subject! and there will be no problems since the equation is symmetric in the first place. This is sufficient to show a descent and after that we continue with the standard fermat's descent to find the solutions, prove the solution set is finite or for contradiction. (The most popular is contradiction, which is outlined below)
Steps to Reproduce
Here is the standard structure of a Vieta Jumping argument (This is only for reference and not for forced memorisation):
- 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 | ||
|---|---|---|---|---|---|---|
| Berkeley Math Circle | Hard | Show TagsInfinite descent / root flipping, Techniques: modulo, size analysis, order analysis, inequalities | ||||
| Berkeley Math Circle | Hard | Show TagsInfinite descent / root flipping, Pell's equations, Quadratic fields | ||||
| Berkeley Math Circle Monthly Contest 2 | Hard | Show TagsComplex numbers, Infinite descent / root flipping, Techniques: modulo, size analysis, order analysis, inequalities | ||||
| BAMO | Hard | Show TagsGreatest common divisors (gcd), Infinite descent / root flipping, Linear and quadratic inequalities, Recurrence relations | ||||
| Berkeley Math Circle | Hard | Show TagsCartesian coordinates, Infinite descent / root flipping, Techniques: modulo, size analysis, order analysis, inequalities | ||||
| USA IMO | Hard | Show TagsGreatest common divisors (gcd), Infinite descent / root flipping, Pell's equations, Recurrence relations, Techniques: modulo, size analysis, order analysis, inequalities | ||||
| Harvard-MIT Mathematics Tournament | Hard | Show TagsFactorization techniques, Infinite descent / root flipping, Polynomial operations, Techniques: modulo, size analysis, order analysis, inequalities | ||||
| IMO | Hard | Show TagsGreatest common divisors (gcd), Infinite descent / root flipping, Polynomial operations | ||||
| Team Selection Test 2009 | Hard | Show TagsInfinite descent / root flipping, Techniques: modulo, size analysis, order analysis, inequalities, Vieta's formulas | ||||
| Berkeley Math Circle: Monthly Contest 5 | Hard | Show TagsInfinite descent / root flipping, Vieta's formulas | ||||
| February 2017 | Hard | Show TagsInfinite descent / root flipping, Quadratic functions, Techniques: modulo, size analysis, order analysis, inequalities | ||||
| Berkeley Math Circle | Hard | Show TagsInfinite descent / root flipping, Invariants / monovariants | ||||
| HMMT February 2019 | Hard | Show TagsFloors and ceilings, Infinite descent / root flipping, Recurrence relations, Telescoping series, Vieta's formulas | ||||
| MathNet | Hard | Show TagsQuadratic functions, Vieta's formulas | ||||
| Berkeley Math Circle Take-Home Contest #1 | Hard | Show TagsComplex numbers, Roots of unity, Vieta's formulas | ||||
| Berkeley Math Circle Monthly Contest 5 | Hard | Show TagsPolynomial operations, Symmetric functions, Vieta's formulas | ||||
| Berkeley Math Circle Monthly Contest 8 | Hard | Show TagsQuadratic functions, Vieta's formulas | ||||
| Berkeley Math Circle | Hard | Show TagsGreatest common divisors (gcd), Techniques: modulo, size analysis, order analysis, inequalities, Vieta's formulas | ||||
| Berkeley Math Circle Monthly Contest 1 | Hard | Show TagsComplex numbers, Recurrence relations, Symmetric functions, Vieta's formulas | ||||
| HMMT 1998 | Hard | Show TagsVieta's formulas | ||||
| Harvard-MIT Math Tournament | Hard | Show TagsLinear and quadratic inequalities, Pigeonhole principle, Quadratic functions, Vieta's formulas | ||||
| Harvard-MIT Math Tournament | Hard | Show TagsGreatest common divisors (gcd), Vieta's formulas | ||||
| Berkeley Math Circle | Hard | Show TagsPolynomial operations, Symmetric functions, Vieta's formulas | ||||
| Harvard-MIT Math Tournament | Hard | Show TagsVieta's formulas | ||||
| Harvard-MIT Math Tournament | Hard | Show TagsPolynomial operations, Vieta's formulas | ||||
Module Progress:
Join the Discord Community!
Stuck on a problem, or don't understand a module? Join the Discord and get help with your doubts while making more math friends.
