where \(d\) is a square-free integer. Problem is to find integers \(x,y\) satisfying the above equation. Indian mathematician Brahmagupta discovered, among other things, the following identity: for given integers \(x,y,z\text{,}\) and \(w\) there exists integers \(M,N\) such that
Using this identity Bramhagupta was able to produce infinitely many solutions of \(x^2-dy^2=1\text{,}\) and also able to solve \(x^2-dy^2=c\) for certain values of \(d\) and \(c\text{.}\)
In this section we give a connection between the ring theory and equations of type (8.1.1). We begin with the following.
Lemma8.1.1.
Let \(d\) be a square-free integer. The set \(\Z[\sqrt{d}]=\{a+b\sqrt{d}:a,b\in\Z\}\) is an integral domain, and the map
Show that \(\alpha\in\Z[\sqrt{3}]\) is a unit if and only if \(N(\alpha)=1\text{.}\)
Remark8.1.5.(Connection with Brahmagupta’s equation).
The integer solutions of the equation \(x^2-dy^2=1\) or \(x^2-dy^2=-1\) are precisely units in the ring \(\Z[\sqrt{d}]\text{.}\)
Lemma8.1.6.(Units in \(\Z[\sqrt{-2}]\)).
By the above lemma an element \(a+b\sqrt{-2}\in\Z[\sqrt{-2}]\) is a unit if and only if \(a^2+2b^2=1\text{.}\) Thus we must have \(a=\pm 1\) and \(b=0\text{.}\)
Suppose that \(\alpha,\beta\in\Z[\sqrt{-2}]\) with \(\beta\neq 0\text{.}\) Then we can consider \(\alpha\beta^{-1}\in\C\text{.}\) Note that we can always choose \(q\in\Z[\sqrt{-2}]\) with
If we plot integers on \(X=\R\)-axis and integer multiples of \(\sqrt{-2}\) on the \(Y=i\R\)-axis then the choice of \(q\) will be clear. Note that it is similar to the result proved for Gaussian integers (ref Section 5.3).
Proposition8.1.7.(\(\Z[\sqrt{-2}]\) is ED).
For nonzero \(\alpha,\beta\in\Z[\sqrt{-2}]\) there exists \(q,r\in\Z[\sqrt{-2}]\) such that
In order to have \(N\left(\alpha\beta^{-1}-q\right)\lt 1\) we must have
\begin{equation*}
(1-2a)^2+5(1-2b)^2\lt 4\quad\text{for integers}\, a, b.
\end{equation*}
Since for any \(n\in\Z\) we have \(1-2n\neq 0\) and hence \((1-2a)^2+5(1-2b)^2\) is always bigger than \(5\text{.}\) Thus with the map \(N\) there does not exists \(q\in\Z[\sqrt{-5}]\) with \(N\left(\alpha\beta^{-1}-q\right)\lt 1\text{.}\)