An orthonormal basis is a basis of an inner product space whose vectors have unit length and are mutually orthogonal. In finite-dimensional linear algebra, every vector is a unique finite combination of these basis vectors. In an infinite-dimensional Hilbert space, completeness instead means that finite combinations approximate every vector arbitrarily closely in norm. Orthonormal bases make coordinates, projections, and length calculations particularly simple. (ocw.mit.edu)
Definition and basic properties
Let be a vector space over the real numbers or complex numbers, equipped with an inner product. A collection is orthonormal when
Thus each vector has norm , and distinct vectors are orthogonal. In a finite-dimensional space, this collection is an orthonormal basis precisely when its linear span equals . (ocw.mit.edu)
Every orthonormal collection is linearly independent. Indeed, taking the inner product of a vanishing finite linear combination with each participating basis vector forces every coefficient to vanish. Consequently, an orthonormal collection containing exactly vectors is a basis. Any orthonormal collection in a finite-dimensional inner product space can be extended to one. (ocw.mit.edu)
An orthogonal basis requires orthogonality but not unit length; dividing each vector by its norm makes it orthonormal. Orthonormality also depends on the chosen inner product. Coordinate vectors that are orthonormal for the usual dot product need not remain so under a different inner product. (ocw.mit.edu)
Coordinates, lengths, and projections
This article uses the convention that a complex inner product is linear in its first argument. If is an orthonormal basis, then
The coefficient along each basis direction is therefore obtained directly from an inner product, without solving a system of linear equations. With the alternative convention of linearity in the second argument, the coefficient is written . (ocw.mit.edu)
Writing gives
This is the inner-product-space form of the Pythagorean theorem: mutually orthogonal components contribute independently to squared length. For vectors and , their inner product likewise equals the sum of the products of their coordinates, with complex conjugation on the coordinates of . (ocw.mit.edu)
If the vectors instead form a basis of a subspace , their orthogonal projection formula is
The residual belongs to the orthogonal complement of . Among all vectors in , uniquely minimizes the distance to , making the formula central to least-squares approximation. (mit.edu)
Examples and matrix representation
The standard coordinate vectors form an orthonormal basis of under the usual dot product. Another example in is
Their dot product is zero and both have length one. Relative to this basis, has coordinates and , illustrating that orthonormal bases are not unique. (openlearninglibrary.mit.edu)
Place the basis vectors as columns of a matrix . Orthonormality becomes
where denotes conjugate transpose and is the identity matrix. For real matrices, is the transpose . If is square, it is an orthogonal matrix in the real case and a unitary matrix in the complex case; its inverse is . Coordinate conversion is then and reconstruction is . (openlearninglibrary.mit.edu)
For rectangular with orthonormal columns, those columns span only a subspace of the ambient coordinate space. Here , rather than necessarily being the identity, is the projection matrix onto that subspace. (openlearninglibrary.mit.edu)
Construction
The Gram–Schmidt process constructs an orthonormal basis from an ordered independent list . At step , it removes components along previously constructed directions and normalizes the remainder:
Independence ensures that . Each initial segment of the resulting list spans the same subspace as the corresponding initial segment of the input. (ocw.mit.edu)
Applied to the independent columns of a matrix , this construction yields a QR decomposition , with having orthonormal columns and upper triangular. The triangular factor records how the original columns are expressed in the new basis. (openlearninglibrary.mit.edu)
Infinite-dimensional bases
In a Hilbert space, an orthonormal basis is a complete orthonormal system: its closed linear span is the entire space. This differs from an algebraic, or Hamel, basis, which permits only finite combinations. For a countable orthonormal basis,
with convergence in norm. Parseval’s identity states that
Norm convergence does not, by itself, assert pointwise convergence when the vectors are functions. (oshalit.net.technion.ac.il)
A fundamental example underlying Fourier series is the real trigonometric basis of :
Orthogonality is measured by the integral of the product of two functions. The normalization factors make every basis function have unit norm, while completeness enables square-integrable functions to be reconstructed through their Fourier coefficients in the sense. (math.mit.edu)