Pell Equation definition
The classical Pell equation is x² − Dy² = 1 in integers, where D is a positive nonsquare integer.
Pell Equation in a picture
How it works
The equation has trivial solutions with y = 0 and nontrivial positive solutions. Starting from the least positive solution, powers of x + y√D generate the positive solutions. The equation with right side −1 is often called the negative Pell equation.
Worked examples
Does (2, 1) solve x² − 3y² = 1?
Yes. 4 − 3 = 1.
Does (1, 1) solve x² − 2y² = 1?
No. It gives −1, so it solves the negative version.
Square 3 + 2√2 to get another solution.
It gives 17 + 12√2, so (17, 12) is another pair.
Common mistake
Check the right-hand sign. A solution to the negative version need not solve the classical equation.
Quick check
Is D required to be a nonsquare?
Show answer
Yes, in the classical definition.
What kind of equation is it?
Show answer
A quadratic Diophantine equation.
Sources
Flashcard
Pell Equation
Reveal the definition
The classical Pell equation is x² − Dy² = 1 in integers, where D is a positive nonsquare integer.
Effortless Math. “Pell Equation.” Math Dictionary.



