High Quality Content by WIKIPEDIA articles! In algebra, Brahmagupta's identity, also sometimes called Fibonacci's identity, implies that the product of two sums of two squares is itself a sum of two squares. In other words, the set of all sums of two squares is closed under multiplication. The identity is a special case (n = 2) of Lagrange's identity.