Number System

Diophantine Equation

An engraving uses square tiles to illustrate an integer balance puzzle.

Diophantine Equation definition

A Diophantine equation is an equation, usually polynomial with integer coefficients, for which integer solutions are sought.

In Spanish
ecuación diofántica
Topic
Integer equations and number theory

Diophantine Equation in a picture

Diophantine Equation diagramThe point (2, 3) solves 2x + 3y = 13 in integers.Write 2x + 3y = 13Require both variables to be integersTry x = 2 and y = 3The left side is 4 + 9The total is 13This pair is an integer solution
The point (2, 3) solves 2x + 3y = 13 in integers.

How it works

The restrictions on the variables are part of the problem. An equation may have real solutions and still have no integer solutions. A linear equation in two variables can be tested with a greatest common divisor. Nonlinear examples often use factorization or modular arithmetic.

Worked examples

Give an integer solution to x + y = 9.

For example, (4, 5).

Can 2x + 4y = 7 have integer solutions?

No. The left side is even for all integers x and y.

Give a positive solution to x² + y² = z².

(3, 4, 5), since 9 + 16 = 25.

Common mistake

Check integer membership as well as the equation. Satisfying the equation over the reals is insufficient.

Quick check

Which pair is an integer solution to x + y = 5?

Can a Diophantine equation have infinitely many solutions?

Show answer

Yes, for example x + y = 0.

Can additional restrictions require positive values?

Show answer

Yes. The problem can specify a smaller domain.

Sources

Flashcard

Diophantine Equation

Reveal the definition

A Diophantine equation is an equation, usually polynomial with integer coefficients, for which integer solutions are sought.

Effortless Math. “Diophantine Equation.” Math Dictionary.