Brahmagupta–Fibonacci identity
Brahmagupta–Fibonacci identity is an expression of a product of sums of squares as a sum of squares.
All 4 facts, and where they come from
Facts
4 facts · 0 confirmed by two sources · 0 cited · 4 from one source
Where this comes from
Papalocal keeps its own record. It started from these sources; what each one said is kept here as it was copied, so a change on their side never changes this page by itself. Tap one to read its version.
What Wikidata says · copied November 16, 2026 · revision 2541589067
- Described as
- expression of a product of sums of squares as a sum of squares
- Other names
- Diophantus' Identity
- What it is
- theorem; identity
- Named after
- Brahmagupta; Fibonacci
- Wikipedias with a page
- 20
Wikidata item Q279090 (wikidata.org/wiki/Q279090), public domain (CC0). Copied 2026-11-16.
What Wikipedia says · copied November 16, 2026 · revision 1359602387
In algebra, the Brahmagupta–Fibonacci identity expresses the product of two sums of two squares as a sum of two squares in two different ways. Hence the set of all sums of two squares is closed under multiplication. Specifically, the identity says
(a2+b2)(c2+d2)=(ac±bd)2+(ad∓bc)2
with the plus-minus sign indicating that either a plus or minus may be used, with the minus-plus sign being the reverse. The equivalence of the two forms can be seen in the following example:
(12+42)(22+72)=(1⋅2+4⋅7)2+(1⋅7−4⋅2)2,=302+(−1)2=𝟗𝟎𝟏,=(1⋅2−4⋅7)2+(1⋅7+4⋅2)2,=(−26)2+152=𝟗𝟎𝟏.
The identity is also known as the Diophantus identity, as it was first proved by Diophantus of Alexandria. It is a special case of Euler's four-square identity, and also of Lagrange's identity.
Brahmagupta proved and used a more general Brahmagupta identity, stating
(a2+nb2)(c2+nd2)=(ac±nbd)2+n(ad∓bc)2
This shows that, for any fixed A, the set of all numbers of the form x2 + Ay2 is closed under multiplication.
These identities hold for all integers, as well as all rational numbers; more generally, they are true in any commutative ring. All four forms of the identity can be verified by expanding each side of the equation.
From the Wikipedia article “Brahmagupta–Fibonacci identity” (en.wikipedia.org/wiki/Brahmagupta–Fibonacci_identity), by its contributors, under CC BY-SA 4.0 (creativecommons.org/licenses/by-sa/4.0/). Copied 2026-11-16; not changed.
Confirmed Two sources agree. Cited One source, and it names where it got it. One source One source, without a reference of its own. Sources disagree The sources disagree. We show the best-supported value and keep theirs below.

