Brahmagupta's identity

From HandWiki
Short description: The product of two numbers of the form a^2+nb^2 is itself a number of that form

In algebra, Brahmagupta's identity says that, for given [math]\displaystyle{ n }[/math], the product of two numbers of the form [math]\displaystyle{ a^2+nb^2 }[/math] is itself a number of that form. In other words, the set of such numbers is closed under multiplication. Specifically:

[math]\displaystyle{ \begin{align} \left(a^2 + nb^2\right)\left(c^2 + nd^2\right) & {}= \left(ac-nbd\right)^2 + n\left(ad+bc\right)^2 & & & (1) \\ & {}= \left(ac+nbd\right)^2 + n\left(ad-bc\right)^2, & & & (2) \end{align} }[/math]

Both (1) and (2) can be verified by expanding each side of the equation. Also, (2) can be obtained from (1), or (1) from (2), by changing b to −b.

This identity holds in both the ring of integers and the ring of rational numbers, and more generally in any commutative ring.

History

The identity is a generalization of the so-called Fibonacci identity (where n=1) which is actually found in Diophantus' Arithmetica (III, 19). That identity was rediscovered by Brahmagupta (598–668), an Indian mathematician and astronomer, who generalized it and used it in his study of what is now called Pell's equation. His Brahmasphutasiddhanta was translated from Sanskrit into Arabic by Mohammad al-Fazari, and was subsequently translated into Latin in 1126.[1] The identity later appeared in Fibonacci's Book of Squares in 1225.

Application to Pell's equation

In its original context, Brahmagupta applied his discovery to the solution of what was later called Pell's equation, namely x2 − Ny2 = 1. Using the identity in the form

[math]\displaystyle{ (x_1^2 - Ny_1^2)(x_2^2 - Ny_2^2) = (x_1x_2 + Ny_1y_2)^2 - N(x_1y_2 + x_2y_1)^2, }[/math]

he was able to "compose" triples (x1y1k1) and (x2y2k2) that were solutions of x2 − Ny2 = k, to generate the new triple

[math]\displaystyle{ (x_1x_2 + Ny_1y_2 \,,\, x_1y_2 + x_2y_1 \,,\, k_1k_2). }[/math]

Not only did this give a way to generate infinitely many solutions to x2 − Ny2 = 1 starting with one solution, but also, by dividing such a composition by k1k2, integer or "nearly integer" solutions could often be obtained. The general method for solving the Pell equation given by Bhaskara II in 1150, namely the chakravala (cyclic) method, was also based on this identity.[2]

See also

References

  1. George G. Joseph (2000). The Crest of the Peacock, p. 306. Princeton University Press. ISBN:0-691-00659-8.
  2. John Stillwell (2002), Mathematics and its history (2 ed.), Springer, pp. 72–76, ISBN 978-0-387-95336-6, https://books.google.com/books?id=WNjRrqTm62QC&pg=PA72 

External links