Inner Products
An inner product is a scalar-valued pairing that equips a vector space with length, orthogonality, and geometry. In quantum mechanics, the same pairing produces probability amplitudes, expectation values, matrix elements, and projection coefficients.
The inner product is mathematical structure added to a vector space; it is not part of the vector-space axioms. Different inner products on the same vector space can produce different notions of normalization and orthogonality. The associated general language of length, distance, and convergence is developed in Norms and Metrics.
Why the Pairing Matters
Section titled “Why the Pairing Matters”An inner product turns algebraic questions into geometric ones:
- it measures the norm of a vector;
- it decides whether vectors are orthogonal;
- it selects orthogonal projections and best approximations;
- it identifies vectors with continuous dual functionals;
- it determines which linear maps are adjoints or unitary;
- it converts state vectors into amplitudes and matrix elements.
Bare linear independence does not require an inner product. Neither do span, dimension, or linearity. Orthogonality, adjoints, and unitarity do.
Definition and Convention
Section titled “Definition and Convention”Let be a complex vector space. An inner product is a map
with three defining properties.
Linearity in the second slot:
Conjugate symmetry:
Positive definiteness:
Conjugate symmetry and second-slot linearity imply conjugate linearity in the first slot:
This is the physics convention, used throughout these pages. Many mathematics texts choose the opposite convention, linear in the first slot and conjugate-linear in the second. Both are consistent. When combining sources, identify the convention before moving scalars through brackets or defining an adjoint.
On a real vector space, complex conjugation disappears. A real inner product is a symmetric positive-definite bilinear form.
Why Conjugation Is Necessary
Section titled “Why Conjugation Is Necessary”The ordinary bilinear expression
is not a complex inner product. For example, if , then
even though . The standard complex pairing uses the conjugate transpose:
Conjugation is what makes the self-pairing real and positive while preserving complex linearity in one slot.
Standard Finite-Dimensional Inner Product
Section titled “Standard Finite-Dimensional Inner Product”For , the standard inner product is
The corresponding norm is
The component formula assumes an orthonormal coordinate basis. In a general basis, the coordinate dot product is replaced by a Gram matrix.
Gram Matrices and Weighted Pairings
Section titled “Gram Matrices and Weighted Pairings”Let be any basis of a finite-dimensional inner-product space. Its Gram matrix is
If and have coordinate columns and in this basis, then
The matrix is Hermitian and positive definite:
Conversely, every Hermitian positive-definite matrix defines an inner product on by
This is not a cosmetic generalization. Nonorthogonal basis functions, curvilinear-coordinate discretizations, and generalized eigenvalue problems all produce overlap or mass matrices that play the role of .
Function-Space Inner Products
Section titled “Function-Space Inner Products”For complex-valued functions on a measure space , a common pairing is
With a positive weight , one may instead use
The weight and measure are part of the definition. Radial wavefunctions, spherical harmonics, orthogonal polynomials, and numerical quadrature all use nontrivial measures or weights. A function family orthogonal for one weight need not be orthogonal for another.
Square-integrable functions are identified when they differ only on a measure-zero set. After that quotient is taken, the pairing is positive definite on Spaces.
Another useful example is the Hilbert–Schmidt pairing of finite matrices:
It treats matrices themselves as vectors and appears in operator expansions, density-operator calculations, and numerical error measures.
Norm and Distance
Section titled “Norm and Distance”Every inner product induces a norm,
and hence a distance,
Not every norm arises from an inner product. Inner-product norms satisfy the parallelogram identity, while a general norm need not. The canonical treatment of norms, metrics, convergence, and completeness is Norms and Metrics.
Orthogonality
Section titled “Orthogonality”Vectors and are orthogonal when
Conjugate symmetry makes orthogonality symmetric. For orthogonal vectors,
the abstract Pythagorean theorem.
For a subset , its orthogonal complement is
An orthogonal set of nonzero vectors is automatically linearly independent. The converse is false. Orthonormal Bases develops expansions in orthogonal unit vectors.
Projection onto One Direction
Section titled “Projection onto One Direction”Let . The component of along is
The residual
satisfies
This coefficient formula depends on which slot is linear. Under the physics convention, the scalar multiplying is . The general treatment of orthogonal projectors belongs to Projectors.
Cauchy–Schwarz Inequality
Section titled “Cauchy–Schwarz Inequality”For any two vectors,
To prove it, the zero-vector cases are immediate, so take and define
By construction, . Therefore
Multiplying by and taking square roots gives the inequality. Equality holds exactly when , meaning that and are linearly dependent, including the cases where one vector is zero.
Cauchy–Schwarz controls the size of every overlap. It also proves the triangle inequality for the induced norm and bounds expectation values, correlations, and uncertainty relations.
Worked Example: A Nonorthogonal Basis
Section titled “Worked Example: A Nonorthogonal Basis”Use the standard inner product on , but choose the nonorthogonal basis
Its Gram matrix is
Consider the vector with basis coordinates
The correct squared norm is
The naive sum of squared coordinate moduli gives , which is wrong because the basis is not orthonormal. Indeed,
whose standard coordinate norm is
The abstract inner product is unchanged; only its coordinate representation has acquired the Gram matrix.
Quantum Meaning
Section titled “Quantum Meaning”For normalized vectors and , the scalar
is a transition amplitude for a specified rank-one outcome. Cauchy–Schwarz gives
The inner product supplies the amplitude. The Born rule supplies the physical probability
That probability postulate does not follow from the inner-product axioms. See Probability Amplitudes for preparation, measurement context, phase, and higher-rank outcomes.
Under rephasing,
the overlap becomes
Its phase changes, while its magnitude and the transition probability do not. Relative phases remain observable when several amplitudes interfere.
Inner-Product-Preserving Maps
Section titled “Inner-Product-Preserving Maps”A linear map is unitary when
for all . It therefore preserves norms, orthogonality, angles, and transition probabilities. This geometric definition is equivalent in finite dimensions to
Unitary Operators develops this structure and its role in changes of basis and quantum evolution.
Finite and Infinite Dimensions
Section titled “Finite and Infinite Dimensions”In finite dimensions, every inner-product space is complete and all linear functionals are continuous. In infinite dimensions, these conclusions separate:
- an inner-product space need not contain the limits of all its Cauchy sequences;
- completing it produces a Hilbert space;
- the Riesz theorem identifies vectors with continuous dual functionals, not the full algebraic dual;
- an integral pairing is defined only for functions in its domain;
- generalized position and momentum eigenkets are not normalizable Hilbert-space vectors.
The notation is distributional normalization, not an ordinary inner product between vectors of finite norm. See Hilbert Spaces for completeness and continuous duality.
Positive Semidefinite and Indefinite Forms
Section titled “Positive Semidefinite and Indefinite Forms”Some useful pairings resemble inner products but fail positive definiteness. A positive-semidefinite pairing permits nonzero null vectors with
One can sometimes quotient by the null subspace to obtain an inner-product space. An indefinite Hermitian form permits positive, zero, and negative self-pairings. Such forms occur in relativistic and constrained theories but are not Hilbert-space inner products.
Do not infer probabilistic meaning from angle-bracket notation alone. The positive-definite Hilbert-space pairing and the physical Born rule are both needed.
Common Mistakes
Section titled “Common Mistakes”- Forgetting the active convention. Scalars leave the first slot conjugated under the physics convention.
- Using a transpose instead of an adjoint. Complex self-pairings require conjugation.
- Assuming coordinates are orthonormal. Insert the Gram matrix in a nonorthogonal basis.
- Ignoring the measure or weight. Function-space orthogonality depends on both.
- Confusing an inner product with componentwise multiplication. The pairing returns one scalar.
- Equating linear independence with orthogonality. Orthogonality is stronger.
- Treating delta-normalized kets as finite-norm vectors. Their pairing is distributional.
- Reading an overlap directly as a probability. The states must be normalized and a measurement context and Born-rule assignment supplied.
Exercises
Section titled “Exercises”- On , define
Show that this is an inner product.
Solution
The matrix is Hermitian, so the pairing has conjugate symmetry. Matrix multiplication gives linearity in the second slot and conjugate linearity in the first. For ,
This is nonnegative and vanishes only when , so the pairing is positive definite.
- Let . Prove that equality holds in Cauchy–Schwarz if and only if and are linearly dependent.
Solution
In the proof above,
and
The inequality becomes an equality exactly when . Positive definiteness then gives , so . Conversely, if , direct substitution gives
- In the standard inner product on , let and . Find the Gram matrix and the norm of the vector with basis coordinates .
Solution
The Gram matrix is
Therefore
Hence . As a check, in the standard basis, which has the same norm.
- Let normalized vectors satisfy . What does Cauchy–Schwarz imply, and what is the physical conclusion for pure states?
Solution
Equality in Cauchy–Schwarz implies linear dependence:
Normalization gives , so for some real . The vectors differ only by a global phase and therefore represent the same pure-state ray. This conclusion uses the physical identification of pure states with rays in addition to the mathematical equality condition.
References
Section titled “References”- S. Axler, Linear Algebra Done Right, 3rd ed., Springer, 2015.
- R. A. Horn and C. R. Johnson, Matrix Analysis, 2nd ed., Cambridge University Press, 2013.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
- M. Reed and B. Simon, Methods of Modern Mathematical Physics, Volume I: Functional Analysis, revised and enlarged ed., Academic Press, 1980.