Vieta jumping, explained simply: the jump and when to reach for it
29 August 2026
Vieta jumping has a reputation it does not deserve. The mechanic is four lines of school algebra, and every one of them is something you learned before you learned what an olympiad was: a quadratic has two roots, their sum is , their product is .
What is genuinely hard is the two decisions wrapped around those four lines. Knowing that a problem wants this at all, and knowing what to do when the jump lands somewhere awkward. So that is what this is: the trigger, the jump explained simply enough to reproduce under exam pressure, and the case that quietly costs marks.
The shape that triggers it
Vieta jumping is not a general-purpose tool. It fires on a narrow shape, and if you can recognise the shape you have done most of the work.
- Two positive-integer unknowns, and the condition is symmetric in them. Swapping and has to leave the problem unchanged. The symmetry is what lets you always jump the larger one.
- The condition is quadratic in each variable separately. Vieta's formulas need a quadratic. If either variable appears cubed, this is not your technique.
- There is a quantity you can freeze. Almost always a quotient or a value that the problem either names or asks you to describe. You will fix and treat it as a constant for the rest of the argument.
- Modular arithmetic does not kill it. If you can rule the equation out mod something, do that instead; it is shorter. Vieta jumping is for the problems where solutions genuinely exist and you have to say something structural about them.
The jump, in four lines
Take the archetype. If divides , the quotient is a perfect square. Write for that quotient and clear the denominator:
Now the four lines.
- Freeze the quotient and read the equation as a quadratic. Treat as a constant, move everything to one side and look at it as a polynomial in alone, with and as constants: .
- Name the other root. Call it . Vieta says and .
- The sum makes the new root an integer. is a difference of integers, so no rationals sneak in. This is the whole trick, and it is why the technique is named after Vieta rather than after the descent.
- The product makes the new root small. , so if then . The pair solves the same equation with the same and a strictly smaller sum.
That last line is the jump. You started at a solution and landed on a smaller one, and the two together are a machine that cannot run forever inside the positive integers. Which is infinite descent wearing a quadratic disguise: it is not a different idea, it is the same idea with Vieta supplying the smaller object for free.
The case that loses marks
Step 4 said is smaller. It did not say is positive, and the descent only contradicts anything if the new pair is a genuine solution in positive integers. Skipping this is the single most common way a correct-looking Vieta write-up drops points.
There are two cases and you must handle both.
A negative second root is impossible. Substitute it back. With , and , the expression is at least , which is strictly positive. A root cannot make the polynomial positive, so this case never happens.
A second root of zero is where the descent stops, and it is the answer. The product formula gives , so forces . The chain does not run forever because it terminates on exactly the conclusion you were asked to prove. The perfect square was not something you engineered; it fell out of the only exit the descent has.
That is worth sitting with, because it is the pattern in every good descent proof. You are not proving "no solutions" here, you are proving that every solution slides down to a base case, and then reading what the base case says.
Where the solutions actually live
Run the machine backwards and you can see the whole solution set, which is the thing that makes this problem beautiful rather than merely hard.
Start from a base pair . It works for every : the quotient is . Then climb instead of descending, replacing by each time. With the base is and the ladder is , each term four times the previous minus the one before it.
So the solutions are not scattered. They are a family of ladders, one per square , each rooted at . And they are sparse: over every pair with , only ten satisfy the divisibility at all. That sparsity is why searching for a pattern by hand gets you nowhere on this problem, and why almost nobody solves it by experiment.
How it differs from plain descent
Compare it with a straight descent problem: has no positive integer solutions. There the smaller solution comes from divisibility. Squares are or mod , which forces to divide both and , and dividing through produces a smaller triple. The same argument in its oldest form proves is irrational, where the shrinking is a common factor of you can never finish removing.
The difference is only in where the smaller object comes from.
- Plain descent: the smaller solution comes from a divisibility fact. You show a prime divides everything, then divide.
- Vieta jumping: the smaller solution comes from an algebraic fact. The quadratic already has a second root, and Vieta hands it to you.
Both end the same way, on the impossibility of an infinite decreasing sequence of positive integers. If you have understood one you are three-quarters of the way to the other, which is the argument for learning them as a pair rather than as two tricks.
What to do next
Do not go looking for Vieta jumping problems immediately. There are not many, and hunting them teaches you the shape without teaching you the descent underneath it. Do the plain descent problems first until the phrase "take the smallest counterexample" is automatic, then come back and the quadratic will look like a convenience rather than a new technique.
Lemma treats these as one named technique for exactly that reason. The infinite descent and Vieta jumping page has the statement and where it sits among the others, the problem archive carries the problems above in full with difficulty and expected time on each, and the daily problem posts a new one every day in three tiers with no account needed.
Train it on Lemma
Every technique here is taught explicitly, in order. 125 lessons, 1206 curated problems and unlimited generated practice at six difficulties. Free to start, no card, and every paid plan opens with 3 free days.
Find your level