- Home
- Library
- Mathematical Methods for Quantum Field Theory
- Vector Spaces, States, and Finite Spectra
- Inner Products and Orthogonal Projections
Inner Products and Orthogonal Projections
A variational calculation often starts with trial states that overlap. Their overlaps are not their expansion coefficients. The Gram matrix corrects for that overlap and turns “the closest trial state” into an explicit calculation.
Preparation: Linear Maps, Dual Spaces, and Change of Basis. This page uses finite-dimensional complex spaces with positive inner products, conjugate-linear in the bra and linear in the ket.
The Gram matrix records the geometry
For a basis , define . Then
Positivity means for every nonzero . It implies a norm . Minimizing over gives ; the nonnegative minimum proves
This is the Cauchy–Schwarz inequality. Its equality case is linear dependence. Positivity is essential: a Lorentzian form with signature is not the inner product used here.
Under , the Gram matrix changes as . The adjoint of an operator is fixed by ; in this basis its component matrix is . Ordinary conjugate transpose is the adjoint matrix only when the basis is orthonormal.
Projection without orthonormalizing first
Let be independent trial vectors in an ambient space with an orthonormal basis. Put their columns in a matrix and form their Gram matrix . We seek closest to an ambient vector . Orthogonality of the residual to each trial vector gives
Thus the orthogonal projector onto their span is
Direct multiplication gives and . It also proves the minimizing property: for any trial vector ,
The cross term vanishes because is perpendicular to the trial subspace. This is the geometric content of Axler, §6C, 6.55–6.61 (PDF), expressed directly in a nonorthogonal basis.
If an ambient coordinate basis has metric , replace by and the last by . If the trial list is dependent, its Gram matrix is singular; remove redundant vectors or use a suitably defined pseudoinverse. An ordinary inverse is then invalid.
A trial plane in three dimensions
In with its usual inner product choose
The overlap vector and Gram matrix are
Therefore , , and the residual is . Using the overlap vector itself as coefficients would instead give , which is not a projection. Here
Gram–Schmidt reaches the same answer: normalize , subtract from , and normalize the remainder. The resulting orthonormal basis is , .
An observable supplies another useful comparison. Let and normalize the projected state, . Its expectation is
In the trial basis the matrix of matrix elements is
The identical answer is . Notice that is a form matrix; the operator acting on trial coefficients is .
Summary
The inverse Gram matrix converts overlaps into coefficients. Orthogonal projection is defined by the geometry, and its answer is unchanged by choosing another basis of the same subspace. These facts lead to the variational generalized eigenvalue problem.
Exercises
-
Replace by , with real . Project the same . What happens as ?
Solution
Solving and gives , . The projected vector stays while its coefficients become large. Also . At the span collapses to a line and the projection becomes . Large coordinates near dependence signal numerical sensitivity, not a large physical projected vector.
-
Show that replacing by with invertible leaves unchanged.
Solution
The new Gram matrix is , whose inverse is . Substitution into cancels all factors of , leaving . The basis changes but the subspace does not.
References
- Sheldon Axler, Linear Algebra Done Right, 4th ed., Springer, 2024, §§6A–6C and §7A. Author's open-access PDF. The inner-product slot convention is translated to conjugate-linearity in the bra.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.