Read · 5 min
Vieta Jumping
By now, Vieta jumping has become a standard technique for solving some particular type of olympiad number theory problems. It is also known as Root Jumping or Root Flipping. Though it involves Diophantine equations and for now, it is out of our scope, many divisibility or congruence problems can be turned into one that can be solved using this tactic. Hence, this section.
To understand just how popular it has been, let's just mention that there are at least two IMO problems that have standard solutions using this particular technique. And surely, there are many other olympiad problems that fall into the same category. Now, let's see what it is and what it actually does.
Consider the following quadratic equation. \begin{align*} ax^2+bx+c & = 0 \end{align*} According to Vieta's formula, if two of its roots are and , then \begin{align*} x_1+x_2 & = -\dfrac{b}{a}\ x_1x_2 & = \dfrac{c}{a} \end{align*} Vieta jumping relies on these two equations. It is in fact, a descent method in which we usually prefer using one of the following two methods:
-
Standard Descent: It is usually used to show that the equation doesn't have any solution or some sort of contradiction to prove a claim, like we do in Infinite Descent. For a solution of the equation, we define a function dependent on ( is such a common function, as we will see later). Then we consider the solution that minimizes that function over all solutions possible. If there are multiple solutions that can achieve this, we are free to choose any one depending on the problem. But then, using Vieta's formulas, we try to find another solution that makes the function's value smaller, which gives us the necessary contradiction. So, this is a modified version of infinite descent.
-
Constant Descending: Sometimes, we take some constants, for example, an integer and fix it for the whole problem. For a solution , we fix and . Then using those formulas, we find a solution so that so that it produces a solution smaller than . Note that, here, we have to take so that the new solution is guaranteed to be smaller. Repeating this, we will reach a base case and those constants (, for example) will remain constant through the whole process. Thus, we will show what's required.
-
Sometimes, there can be even geometric interpretations. For example, Arthur Engel showed one in his book Problem Solving Strategiesm chapter , problem .
We will now demonstrate this using some example problems. Let's start with the classical problem from IMO . Here is what Engel said about this problem in his book:
Nobody of the six members of the Australian problem committee could solve it. Two of the members were George Szekeres and his wife Esther Klein, both famous problem solvers and problem creators. Since it was a number theoretic problem it was sent to the four most renowned Australian number theorists. They were asked to work on it for six hours. None of them could solve it in this time. The problem committee submitted it to the jury of the XXIX IMO marked with a double asterisk, which meant a superhard problem, possibly too hard to pose. After a long discussion, the jury finally had the courage to choose it as the last problem of the competition. Eleven students gave perfect solutions.
- [IMO , Problem ] Let and be two positive integers such that divides . Show that is a perfect square.
Solution: Let be an integer so that \begin{align*} \dfrac{a^2+b^2}{ab+1} & = k\newline a^2+b^2 & = kab+k\newline a^2-kab+b^2-k & = 0 \end{align*} As we said in the process, we will fix and consider all pairs of integers that gives us as the quotient. And take a solution in nonnegative integers so that the sum is minimum (and if there are multiple such , we take an arbitrary one). Without loss of generality, we can assume . Now, fix and set which will be the variable. We get an equation which is quadratic in with a root . \begin{align*} x^2-kbx+b^2-k & = 0 \end{align*} Using Vieta, we get that or . From this, we infer is integer Note that, we can write it another way, \begin{align*} x & = \dfrac{b^2-k}{a} \end{align*} This equation will do the talking now! Firstly, if , we are done since that would give us or , a perfect square. So, we can assume that . To descend the solution, we will need . For the sake of contradiction, take where . But that would give us, \begin{align*} x^2-kbx+b^2-k & = z^2+kbz+b^2-k\newline &\geq z^2+k+b^2-k\newline & = z^2+b^2\newline & > 0 \end{align*} This is impossible. Thus, and now, if we can prove that , then we will have a solution smaller than . We actually have this already because \begin{align*} x & = \dfrac{b^2-k}{a}\newline & < \dfrac{b^2}{a}\text { since } k\text { is a positive integer}\newline &\leq\dfrac{a^2}{a}\newline & = a \end{align*} Therefore, we must have a solution for the equation which gives us .
- Let and be positive integers such that divides . Prove that .
Solution: Again, let and among all the solutions of the equation, consider the solution that minimizes the sum . We can also assume that, . Now we rewrite it for applying Vieta. \begin{align*} a^2-kab+b^2+1 & = 0 \end{align*} Just like before, let's fix and make it quadratic in , which already has a solution . \begin{align*} x^2-kbx+b^2+1 & = 0 \end{align*} For the other solution, \begin{align*} x & = \dfrac{b^2+1}{a}\newline & = kb-a \end{align*} The first implies that is positive and the last equation implies that is an integer. Now, if , we already get that . So we are left with . But then, \begin{align*} x & = \dfrac{b^2+1}{a}\newline & < \dfrac{b^2+2b+1}{a}\newline & = \dfrac{(b+1)^2}{a}\newline &\leq\dfrac{a^2}{a}\newline & = a \end{align*} which again produces a smaller sum . This is a contradiction, so must happen.