Chapter

Diophantine Equations II: Descent and Vieta Jumping

This module develops infinite descent and Vieta jumping as methods for impossibility, classification, and Markov-type equations.
Log in to track solved progress and bookmarks.

Theory

Key Idea

Infinite descent proves impossibility as follows: if a solution exists, then a smaller solution of the same type exists. Repeating this step would give an infinite decreasing sequence of positive integers, which is impossible.

Vieta jumping is descent for a quadratic equation. If an equation is symmetric in \(x,y\), fix \(x\) and view it as a quadratic in \(y\). The second root is often a positive integer smaller than the original one.

Basic Facts

1. If in a minimal solution all variables are divisible by \(d>1\), then division by \(d\) gives a smaller solution, a contradiction.

2. If \(y\) is a root of \(Y^2-mxY+x^2+c=0\), then the second root is \(mx-y\), and the product of the roots is \(x^2+c\).

3. For a Vieta jump to be valid, one must check three things: the second root is an integer, positive, and genuinely smaller.

4. In problems with \(x^2+y^2\), primes \(p\equiv 3\pmod 4\) are often useful: if \(p\mid x^2+y^2\), then usually \(p\mid x\) and \(p\mid y\).

When To Use This Method

Try descent when a congruence shows that all variables share a common divisor. Try Vieta jumping when the equation resembles \(x^2+y^2+c=mxy\) or another symmetric quadratic equation in one variable.

How To Recognise The Method

Signs of descent: a request to prove that no solutions exist, a homogeneous equation, powers, a prime \(p\equiv 3\pmod 4\), or a situation where every solution seems to have a common factor.

Signs of Vieta jumping: the equation is symmetric, contains quadratic terms, and after fixing one variable the second root has a simple expression.

Typical Mistakes

It is not enough to say “we get a smaller solution”: one must specify which positive quantity decreases. In Vieta jumping, the positivity of the second root is often forgotten.

Another common mistake is dividing a non-homogeneous equation and assuming the same equation remains without checking it.

Mini-Checklist

1. What is being minimised: sum, maximum, or one variable?

2. Why does a solution produce a new integer solution?

3. Why is the new solution positive?

4. Why is it smaller?

5. Which base cases stop the descent?

Examples

Example 1. Classical Descent

The idea is to build a smaller solution from a solution.

Problem. Prove that \(x^2=2y^2\) has no solutions in positive integers.

Solution.

Assume a solution exists and choose one with minimal \(x+y\). From \(x^2=2y^2\), \(x\) is even: \(x=2u\). Then \(4u^2=2y^2\), so \(y^2=2u^2\), hence \(y\) is even: \(y=2v\). We get \(u^2=2v^2\), a smaller positive solution. Contradiction.

Example 2. Descent Modulo \(3\)

Squares modulo \(3\) are \(0\) or \(1\).

Problem. Prove that \(x^2+y^2=3z^2\) has no nonzero integer solutions.

Solution.

Modulo \(3\), \(x^2+y^2\equiv 0\). This is possible only if \(x\equiv y\equiv 0\pmod 3\). Then the left side is divisible by \(9\), so \(3z^2\) is divisible by \(9\), hence \(z\) is divisible by \(3\). Dividing all variables by \(3\), we get a smaller solution. Infinite descent is impossible.

Example 3. The Second Root

Vieta jumping starts with the fact that one root is already known.

Problem. Let \(x,y\) be positive integers and \(x^2+y^2+1=4xy\). Prove that this is impossible.

Solution.

Choose a solution with minimal sum and assume \(x\le y\). View the equation as a quadratic in \(y\): \(Y^2-4xY+x^2+1=0\). The second root is \(y'=4x-y\), and the product of the roots is \(x^2+1\), so \(y'=\frac{x^2+1}{y}>0\) and is an integer. Since \(y\ge x\), \(y'\le x+\frac{1}{x}\), so \(y'\le x\). Equality \(y'=x\) is impossible, since then \(y=3x\) and the equation gives \(2x^2=1\). Thus \(0

Example 4. An Equation With Real Solutions

Vieta jumping does not always prove impossibility; sometimes it describes all solutions.

Problem. Describe the solutions of \(x^2+y^2+1=3xy\).

Solution.

Assume \(x\le y\). The second root in \(y\) is \(y'=3x-y=\frac{x^2+1}{y}\). If \(x>1\), then \(0

Example 5. A Jump In Markov's Equation

For three variables, jump in the largest variable.

Problem. If \(x^2+y^2+z^2=3xyz\), show that replacing \(z\) by \(z'=3xy-z\) gives another solution.

Solution.

View the equation as a quadratic in \(z\): \(Z^2-3xyZ+x^2+y^2=0\). The sum of the roots is \(3xy\), so the second root is \(z'=3xy-z\). By Vieta's formulas, it is an integer and satisfies the same equation with \(x,y\).

Example 6. Primes \(3 \pmod 4\)

Such a prime cannot divide a sum of two squares only halfway.

Problem. Let \(p\equiv 3\pmod 4\) be prime and \(p\mid x^2+y^2\). Prove that \(p\mid x\) and \(p\mid y\).

Solution.

If, say, \(p\nmid y\), then \(y\) has an inverse modulo \(p\), and \((xy^{-1})^2\equiv -1\pmod p\). Raise both sides to the power \(\frac{p-1}{2}\). The left side becomes \(1\), while the right side is \((-1)^{(p-1)/2}=-1\), because \(p\equiv 3\pmod 4\). Contradiction. Hence \(p\mid y\), and then the divisibility gives \(p\mid x\).

Example 7. Powers And Descent

If the equation is homogeneous, division by a common factor preserves its form.

Problem. Prove that \(x^4+y^4=3z^4\) has no nonzero integer solutions.

Solution.

A fourth power modulo \(3\) is \(0\) or \(1\). From \(x^4+y^4\equiv 0\pmod 3\), both \(x\) and \(y\) are divisible by \(3\). Then the left side is divisible by \(81\), so \(3z^4\) is divisible by \(81\), and \(z\) is divisible by \(3\). Dividing \(x,y,z\) by \(3\), we obtain a smaller solution of the same equation. Impossible.

Example 8. Base Cases

In descent, the starting solutions must not be lost.

Problem. Describe positive solutions of \(x^2+y^2+3=4xy\).

Solution.

For \(x=1\), we get \((y-2)^2=0\), so \((1,2)\) is a base solution. For \(x\le y\) and \(x\ge 4\), the second root \(y'=4x-y=\frac{x^2+3}{y}\) is positive and smaller than \(x\). The cases \(x=2,3\) are checked separately: \(x=2\) gives \(y=1\) or \(7\), while \(x=3\) gives no integer \(y\). Hence all solutions are built from \((1,2)\) by reversing the jump: the sequence \(1,2,7,26,\ldots\), where \(a_{n+1}=4a_n-a_{n-1}\), gives all neighbouring pairs.

Problems

Problems

#8.1
#8.1

The Equation \(x^2=2y^2\)

Parity Grade 9 Grade 10 ★★☆☆☆

Prove that \(x^2=2y^2\) has no solutions in positive integers.

Details
Problem: NT-B2-M08-P001
Difficulty: Level 2 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#8.2
#8.2

The Equation \(x^2=5y^2\)

Divisibility Grade 9 Grade 10 ★★☆☆☆

Prove that \(x^2=5y^2\) has no solutions in positive integers.

Details
Problem: NT-B2-M08-P002
Difficulty: Level 2 of 5
Tag: Divisibility
Grade: Grade 9, Grade 10
#8.3
#8.3

A Sum of Squares Modulo \(3\)

Modular Arithmetic Grade 9 Grade 10 ★★★☆☆

Prove that \(x^2+y^2=3z^2\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P003
Difficulty: Level 3 of 5
Tag: Modular Arithmetic
Grade: Grade 9, Grade 10
#8.4
#8.4

A Sum of Squares Modulo \(7\)

Modular Arithmetic Grade 9 Grade 10 ★★★☆☆

Prove that \(x^2+y^2=7z^2\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P004
Difficulty: Level 3 of 5
Tag: Modular Arithmetic
Grade: Grade 9, Grade 10
#8.5
#8.5

No Primitive Solution

Parity Grade 9 Grade 10 ★★★☆☆

Prove that \(x^2+y^2=4z^2\) has no solutions with \(\gcd(x,y,z)=1\).

Details
Problem: NT-B2-M08-P005
Difficulty: Level 3 of 5
Tag: Parity
Grade: Grade 9, Grade 10
#8.6
#8.6

No Solution With Coefficient \(4\)

Diophantine Grade 9 Grade 10 Grade 11 ★★★★☆

Prove that \(x^2+y^2+1=4xy\) has no solutions in positive integers.

Details
Problem: NT-B2-M08-P006
Difficulty: Level 4 of 5
Tag: Diophantine
Grade: Grade 9, Grade 10, Grade 11
#8.7
#8.7

Another Impossible Equation

Diophantine Grade 9 Grade 10 Grade 11 ★★★★☆

Prove that \(x^2+y^2+2=3xy\) has no solutions in positive integers.

Details
Problem: NT-B2-M08-P007
Difficulty: Level 4 of 5
Tag: Diophantine
Grade: Grade 9, Grade 10, Grade 11
#8.8
#8.8

All Solutions of \(x^2+y^2+1=3xy\)

Diophantine Grade 9 Grade 10 Grade 11 ★★★★☆

Describe all positive integer solutions of \(x^2+y^2+1=3xy\).

Details
Problem: NT-B2-M08-P008
Difficulty: Level 4 of 5
Tag: Diophantine
Grade: Grade 9, Grade 10, Grade 11
#8.9
#8.9

The Second-Root Lemma

Diophantine Grade 9 Grade 10 ★★★☆☆

Let positive integers \(x,y\) satisfy \(x^2+y^2+c=mxy\), where \(c,m\) are integers. Prove that if \(y'=mx-y\) is positive, then \((x,y')\) is also a solution.

Details
Problem: NT-B2-M08-P009
Difficulty: Level 3 of 5
Tag: Diophantine
Grade: Grade 9, Grade 10
#8.10
#8.10

A Parametric Impossibility

Diophantine Grade 10 Grade 11 ★★★★★

Let \(k\ge 4\) be an integer. Prove that \(x^2+y^2+1=kxy\) has no solutions in positive integers.

Details
Problem: NT-B2-M08-P010
Difficulty: Level 5 of 5
Tag: Diophantine
Grade: Grade 10, Grade 11
#8.11
#8.11

A Markov Jump

Diophantine Grade 10 Grade 11 ★★★★☆

Let positive integers \(x,y,z\) satisfy \(x^2+y^2+z^2=3xyz\). Prove that \(z'=3xy-z\) is positive and that \((x,y,z')\) is also a solution.

Details
Problem: NT-B2-M08-P011
Difficulty: Level 4 of 5
Tag: Diophantine
Grade: Grade 10, Grade 11
#8.12
#8.12

Fourth Powers and a Square

Prime Factorisation Grade 10 Grade 11 ★★★★★

Prove that the equation \(x^4+y^4=7z^2\) has no solutions in positive integers.

Details
Problem: NT-B2-M08-P012
Difficulty: Level 5 of 5
Tag: Prime Factorisation
Grade: Grade 10, Grade 11
Source: 1001 Problems in Classical Number Theory (method inspiration) · Problem 856
#8.13
#8.13

Primes \(3 \pmod 4\)

Prime Factorisation Grade 10 Grade 11 ★★★★☆

Let \(p\equiv 3\pmod 4\) be prime. Prove that if \(p\mid x^2+y^2\), then \(p\mid x\) and \(p\mid y\).

Details
Problem: NT-B2-M08-P013
Difficulty: Level 4 of 5
Tag: Prime Factorisation
Grade: Grade 10, Grade 11
#8.14
#8.14

An Equation With \(11\)

Modular Arithmetic Grade 10 Grade 11 ★★★★☆

Prove that \(x^2+y^2=11z^2\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P014
Difficulty: Level 4 of 5
Tag: Modular Arithmetic
Grade: Grade 10, Grade 11
#8.15
#8.15

The General Case \(p\equiv 3\pmod 4\)

Prime Factorisation Grade 10 Grade 11 ★★★★★

Let \(p\equiv 3\pmod 4\) be prime. Prove that \(x^2+y^2=pz^2\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P015
Difficulty: Level 5 of 5
Tag: Prime Factorisation
Grade: Grade 10, Grade 11
#8.16
#8.16

Fourth Powers Modulo \(3\)

Modular Arithmetic Grade 10 Grade 11 ★★★★☆

Prove that \(x^4+y^4=3z^4\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P016
Difficulty: Level 4 of 5
Tag: Modular Arithmetic
Grade: Grade 10, Grade 11
#8.17
#8.17

Fourth Powers Modulo \(5\)

Modular Arithmetic Grade 10 Grade 11 ★★★★☆

Prove that \(x^4+y^4=5z^4\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P017
Difficulty: Level 4 of 5
Tag: Modular Arithmetic
Grade: Grade 10, Grade 11
#8.18
#8.18

A Mixed Quadratic Form

Modular Arithmetic Grade 10 Grade 11 ★★★★☆

Prove that \(x^2+2y^2=5z^2\) has no nonzero integer solutions.

Details
Problem: NT-B2-M08-P018
Difficulty: Level 4 of 5
Tag: Modular Arithmetic
Grade: Grade 10, Grade 11
#8.19
#8.19

A Bounded Solution List

Recursion Grade 9 Grade 10 Grade 11 ★★★☆☆

Find all positive solutions of \(x^2+y^2+1=3xy\) such that \(x+y\le 150\).

Details
Problem: NT-B2-M08-P019
Difficulty: Level 3 of 5
Tag: Recursion
Grade: Grade 9, Grade 10, Grade 11
#8.20
#8.20

The Equation \(x^2+y^2+3=4xy\)

Diophantine Grade 10 Grade 11 ★★★★★

Describe all positive integer solutions of \(x^2+y^2+3=4xy\).

Details
Problem: NT-B2-M08-P020
Difficulty: Level 5 of 5
Tag: Diophantine
Grade: Grade 10, Grade 11

Ladders

No published ladders were found.
Previous Chapter
Next Chapter