PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Revision difference : sums of two squares
Version current Version 22
\begin{thmplain} \begin{thmplain}
\,\, The set of the sums of two squares of integers is closed under multiplication; in fact we have the identical equation \,\, The set of the sums of two squares of integers is \PMlinkescapetext{closed} under multiplication; in fact we have the identical equation
$$(a^2+b^2)(c^2+d^2) \;=\; (ac-bd)^2+(ad+bc)^2.$$ $$(a^2+b^2)(c^2+d^2) = (ac-bd)^2+(ad+bc)^2.$$
\end{thmplain} \end{thmplain}
This was presented by Leonardo Fibonacci in 1225 (in ``Liber quadratorum''), but the original inventor was Brahmagupta. This was presented by Leonardo Fibonacci in 1225 (in ``Liber quadratorum''), but the original inventor was Brahmagupta.
The proof of the equation may utilize imaginary numbers as follows: The proof of the equation may utilize imaginary numbers as follows:
\begin{align*} \begin{align*}
(a^2+b^2)(c^2+d^2) & \;=\; (a+ib)(a-ib)(c+id)(c-id)\\ (a^2+b^2)(c^2+d^2) & = (a+ib)(a-ib)(c+id)(c-id)\\
& \;=\; (a+ib)(c+id)(a-ib)(c-id)\\ & = (a+ib)(c+id)(a-ib)(c-id)\\
& \;=\; [(ac-bd)+i(ad+bc)][(ac-bd)-i(ad+bc)]\\ & = [(ac-bd)+i(ad+bc)][(ac-bd)-i(ad+bc)]\\
& \;=\; (ac-bd)^2+(ad+bc)^2 & = (ac-bd)^2+(ad+bc)^2
\end{align*} \end{align*}
\textbf{Note.}\, The equation is the special case\, $n = 2$\, of Lagrange's identity. \textbf{Note.}\, The equation is the special case\, $n = 2$\, of Lagrange's identity.