Skip to content
Gioi Toan
Start learning
A thick book and a smiling magnifying glass

What is Diophantine equation?

Short answer

A Diophantine equation is an equation where we only look for solutions that are integers.

Type
Definition
First learned
Grade 8
Also called
phương trình Đi-ô-phăng, phương trình Diophantus
In English
Diophantine equation

Explanation

A Diophantine equation is an equation with an unknown, and we only care about solutions that are integers (they can be positive integers, negative integers or 0).

To solve it, we usually use methods such as rewriting it as a factored equation, using divisibility, estimating both sides, or using an inequality.

For example, the equation xy−2x+3y=5xy - 2x + 3y = 5 can be transformed into (x+3)(y−2)=−1(x + 3)(y - 2) = -1, then we find the pairs of integers that satisfy it.

Examples

Example 1

Find all integer solutions of the equation x+y=3x + y = 3.

See the solution to example 1

From x+y=3x + y = 3 we get y=3−xy = 3 - x. For each integer xx, y=3−xy = 3 - x is also an integer. So all integer solutions are (x;3−x)(x; 3 - x) with x∈Zx \in \mathbb{Z}. For example (0;3)(0; 3), (1;2)(1; 2), (−1;4)(-1; 4), ...

Common mix-ups

  • A Diophantine equation only looks for integer solutions, not real or rational solutions.
  • Not every equation has integer solutions; it may have no solution.

Where the name comes from

The name 'Diophantine' comes from the name of the ancient Greek mathematician Diophantus.