In a more compact vector notation, Lagrange's identity is expressed as:[3]
where a and b are n-dimensional vectors with components that are real numbers. The extension to complex numbers requires the interpretation of the dot product as an inner product or Hermitian dot product. Explicitly, for complex numbers, Lagrange's identity can be written in the form:[4]
involving the absolute value.[5][6]
Geometrically, the identity asserts that the square of the volume of the parallelepiped spanned by a set of vectors is the Gram determinant of the vectors.
In terms of the wedge product, Lagrange's identity can be written
Hence, it can be seen as a formula which gives the length of the wedge product of two vectors, which is the area of the parallelogram they define, in terms of the dot products of the two vectors, as
In three dimensions, Lagrange's identity asserts that if a and b are vectors in R3 with lengths |a| and |b|, then Lagrange's identity can be written in terms of the cross product and dot product:[7][8]
Using the definition of angle based upon the dot product (see also Cauchy–Schwarz inequality), the left-hand side is
where θ is the angle formed by the vectors a and b. The area of a parallelogram with sides |a| and |b| and angle θ is known in elementary geometry to be
so the left-hand side of Lagrange's identity is the squared area of the parallelogram. The cross product appearing on the right-hand side is defined by
which is a vector whose components are equal in magnitude to the areas of the projections of the parallelogram onto the yz, zx, and xy planes, respectively.
For a and b as vectors in R7, Lagrange's identity takes on the same form as in the case of R3[9]
However, the cross product in 7 dimensions does not share all the properties of the cross product in 3 dimensions. For example, the direction of a × b in 7-dimensions may be the same as c × d even though c and d are linearly independent of a and b. Also the seven-dimensional cross product is not compatible with the Jacobi identity.[9]
The vector form follows from the Binet-Cauchy identity by setting ci = ai and di = bi. The second version follows by letting ci and di denote the complex conjugates of ai and bi, respectively,
Here is also a direct proof.[11] 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
Normed division algebras require that the norm of the product is equal to the product of the norms. Lagrange's identity exhibits this equality.
The product identity used as a starting point here, is a consequence of the norm of the product equality with the product of the norm for scator algebras. This proposal, originally presented in the context of a deformed Lorentz metric, is based on a transformation stemming from the product operation and magnitude definition in hyperbolic scator algebra.[12]
Lagrange's identity can be proved in a variety of ways.[4]
Let be complex numbers and the overbar represents complex conjugate.
The product identity reduces to the complex Lagrange's identity when fourth order terms, in a series expansion, are considered.
In order to prove it, expand the product on the LHS of the product identity in terms of
series up to fourth order. To this end, recall that products of the form can be expanded in terms of sums as
where means terms with order three or higher in .
The two factors on the RHS are also written in terms of series
The product of this expression up to fourth order is
Substitution of these two results in the product identity give
The product of two conjugates series can be expressed as series involving the product of conjugate terms. The conjugate series product is thus
The terms of the last two series on the LHS are grouped as
in order to obtain the complex Lagrange's identity:
In terms of the moduli,
Lagrange's identity for complex numbers has been obtained from a straightforward
product identity. A derivation for the reals is obviously even more succinct. Since the Cauchy–Schwarz inequality is a particular case of Lagrange's identity,[4] this
proof is yet another way to obtain the CS inequality. Higher order terms in the series produce novel identities.
^Robert E Greene; Steven G Krantz (2006). "Exercise 16". Function theory of one complex variable (3rd ed.). American Mathematical Society. p. 22. ISBN0-8218-3962-4.
^Jack B. Kuipers (2002). "§5.6 The norm". Quaternions and rotation sequences: a primer with applications to orbits. Princeton University Press. p. 111. ISBN0-691-10298-8.
^M. Fernández-Guasti, Alternative realization for the composition of relativistic velocities, Optics and Photonics 2011, vol. 8121 of The nature of light: What are photons? IV, pp. 812108–1–11. SPIE, 2011.