notepells-equation

General Pell’s Equation

Recall

Units in are where .

Theorem (Lagrange)

For all , has a solution in .

Solving Specific Pell’s Equations

Example

Find all positive integral solutions to . and compute right hand side at until it’s a square.

So we have a solution: .

Then, since , and we can find infinitely many integral solutions of this form.

In fact, solutions of this form make up all integral solutions to this equation (up to sign on each value).

Lemma

For there are infinitely many such that ()

Example

Proof

Pick in . Look at numbers and their decimal (fractional) parts in .

with , and .

Break up into the intervals , , , .

The numbers in lie in these intervals so the pigeonhole principle implies that some in the same for some . Without loss of generality, .

and are in , so .

, so .

For each we found an such that and .

Note since . Pick such that . Apply argument to get , etc, etc.

Remark

Try solving by and . Good luck…

Claim

We know by lemma that infinitely often in .

Claim: . . Also see by picture in proof of the lemma (still don’t have a good way to do diagrams…black box this I guess).

So

Infinitely many in such that integer with absolute value , which means there are finitely many possibilities.

Pigeonhole principle there’s with that is with infinitely often.

For all these where , consider pairs , which gives such options.

Since we have infinitely many with , by pigeonhole principle among these some reduction occurs more than once: There are pairwise-distinct in such that , . for some . for some .

for some

Apply norms:

Could be ? Then , so in (same sign) . Thus and , which violates how we picked .