Showing that Pell’s equation has at least one integer solution

algebraic-number-theorydiophantine equationspell-type-equations

I'm studying Pell's equations of the form $x^2-dy^2=1$ for $d$ a square-free natural number and $x,y$ integers. In particular, I want to show that such an equation always has a solution.

I see that this is equivalent to finding units with positive norm in $\mathbb{Z}[\sqrt{d}]$. I know that there is always a fundamental unit $\epsilon$ which generates the multiplicative group of units, and $\epsilon$ is unique if we take it as the smallest unit with $\epsilon>1$. Clearly any even power of $\epsilon$ will have positive norm since $\mathbb{Q}(\sqrt{d})$ is real. Hence any solution of Pell's equation would be some power of $\epsilon$.

But why does there always exist an $n\in\mathbb{N}$ such that $\epsilon^n\in\mathbb{Z}[\sqrt{d}]$? Clearly this is the case when $\epsilon\in\mathbb{Z}[\sqrt{d}]$, but of course if $d\equiv 1$ (mod $4$) then it may be the case that $\epsilon\in\mathbb{Z}[\frac{1+\sqrt{d}}{2}]$.

Computation of specific examples seems to indicate that the cube of any fundamental unit will be in $\mathbb{Z}[\sqrt{d}]$. I tried proving this directly, but the amount of calculation makes me think that there is a more elegant method. I see an argument in the final question of this document, but by the heuristic law of "conservation of difficulty", I think that once one uses Dirichlet's Diophantine approximation theorem to classify the units of real quadratic number rings, there must be a method that follows easily.

Looking forward to hearing your thoughts!

Best Answer

If $d-1$ is divisible by $4$, an integral element not in $\mathbb{Z}[\sqrt{d}]$ is some $\omega=\frac{a+b\sqrt{d}}{2}$ with $a,b$ odd. Its norm is the integer $N=\frac{a^2-db^2}{4}$.

Then $\omega^2=-N+a\omega$, and $\omega^3=-N\omega+a\omega^2=-aN+(a^2-N)\omega$.

If $N$ is odd, then indeed $\omega^3 \in \mathbb{Z}[\sqrt{d}]$.

Note that for instance $\frac{1+\sqrt{5}}{2}$ is a unit in $\mathcal{O}_{\mathbb{Q}(\sqrt{5})}$ of norm $-1$, and its square isn’t in $\mathbb{Z}[\sqrt{5}]$.

Related Question