Lagrange's Identity
In algebra, Lagrange's identity, named after Joseph Louis Lagrange, is:[1][2]
which applies to any two sets and
of real or complex numbers.
Proof:
The vector form follows from the Binet-Cauchy identity by setting and
. The second version follows by letting
and
denote the complex conjugates of
and
, respectively,
Here is also a direct proof.[10] The expansion of the first term on the left side is:
(1)
which means that the product of a column of as and a row of bs yields (a sum of elements of) a square of abs, which can be broken up into a diagonal and a pair of triangles on either side of the diagonal.
The second term on the left side of Lagrange's identity can be expanded as:
(2)
which means that a symmetric square can be broken up into its diagonal and a pair of equal triangles on either side of the diagonal.
To expand the summation on the right side of Lagrange's identity, first expand the square within the summation:
Distribute the summation on the right side,
Now exchange the indices i and j of the second term on the right side, and permute the b factors of the third term, yielding:
(3)
Back to the left side of Lagrange's identity: it has two terms, given in expanded form by Equations ('1') and ('2'). The first term on the right side of Equation ('2') ends up canceling out the first term on the right side of Equation ('1'), yielding
('1') - ('2') =
which is the same as Equation ('3'), so Lagrange's identity is indeed an identity,