Diophantine Equations
Diophantine equations are equations where we seek integer (or sometimes rational) solutions. Typical olympiad problems ask you to decide whether integer solutions exist, to find all solutions, or to show there are only finitely many.
Warm-up examples
- Linear: solve in integers.
- Quadratic: solve (Pell-type).
- Congruence-flavoured: decide if has solutions with extra conditions.
Linear Diophantine equations
The equation has an integer solution iff . If is one solution and , then all solutions are
This “one solution + parametrise” pattern shows up constantly.
Core techniques (what to try first)
Modular obstructions
Reduce the equation mod to rule out solutions. Classic facts:
- Squares mod are or .
- Squares mod are .
- Mod , squares are or .
Bounding / size arguments
Use inequalities to show there can only be finitely many possibilities, then check them.
Factorisations
Rewrite as a product:
or use unique factorisation in to constrain possibilities.
Infinite descent
Assume a solution exists and build a smaller one repeatedly, contradicting well-ordering.
Vieta jumping (special but powerful)
For quadratic-in-each-variable forms like , use the fact that if is a solution then so is , allowing you to “jump” to smaller solutions until you reach a base case.
What you should take away
Most Diophantine problems are about finding a structure that forces integrality: a gcd condition, a congruence class, a factorisation, or a descent step. Try to identify which of these is “built in” to the equation.