Orthogonal and unitary matrices are the matrices that preserve inner product geometry. They preserve lengths, angles, distances, and orthogonality. In real vector spaces, the relevant matrices are orthogonal. In complex vector spaces, the corresponding matrices are unitary.
A real square matrix is orthogonal when
Equivalently,
A complex square matrix is unitary when
where denotes the conjugate transpose. Equivalently,
Orthogonal matrices are real unitary matrices. Both classes preserve inner products and therefore act as rigid transformations of Euclidean or complex inner product space.
54.1 Orthogonal Matrices
Let . The matrix is orthogonal if
This condition means that the columns of form an orthonormal basis of . If
then
Thus means
The columns are unit vectors, and distinct columns are orthogonal.
Since is square, the same condition also implies
Therefore the rows of are also orthonormal.
54.2 Inverse of an Orthogonal Matrix
If is orthogonal, then
Since is square, this implies
This is one of the main computational advantages of orthogonal matrices. The inverse is obtained by transposition. No elimination or matrix inversion algorithm is required.
For example,
is orthogonal because
Also,
This particular matrix is symmetric as well as orthogonal, so it is its own inverse.
54.3 Preservation of Inner Products
Orthogonal matrices preserve inner products.
Let be orthogonal. Then for any ,
Using matrix multiplication,
Since ,
Therefore
This identity is the central meaning of orthogonality for matrices. Orthogonal matrices preserve the dot product. Since length and angle are computed from the dot product, they preserve Euclidean geometry.
54.4 Preservation of Norms
Taking in the inner product identity gives
Thus
Since norms are nonnegative,
So an orthogonal matrix does not stretch or shrink vectors. It may rotate, reflect, or permute directions, but it preserves length.
This is why orthogonal matrices are called length-preserving transformations or isometries.
54.5 Preservation of Distance
For any ,
Since preserves norms,
Therefore
An orthogonal matrix preserves distances between points. This confirms the geometric interpretation: orthogonal matrices are rigid linear transformations.
54.6 Preservation of Angles
For nonzero vectors and , the angle between them is determined by
After applying , the corresponding value is
Since preserves inner products and norms, this equals
Thus orthogonal matrices preserve angles.
In particular, if
then
Orthogonality is preserved under orthogonal transformations.
54.7 Rotations in the Plane
The standard rotation matrix in is
Its columns are
Each has length one, and their dot product is
Therefore
So is orthogonal.
It has determinant
Thus it preserves orientation as well as length and angle. It is a pure rotation.
54.8 Reflections
A reflection matrix is also orthogonal.
For example,
reflects the plane across the -axis. It satisfies
Thus it is orthogonal.
Its determinant is
The determinant distinguishes rotations from reflections in two dimensions. Orthogonal matrices with determinant preserve orientation. Orthogonal matrices with determinant reverse orientation.
54.9 Determinant of an Orthogonal Matrix
If is orthogonal, then
Taking determinants gives
Using determinant rules,
Since
we obtain
Therefore
Every orthogonal matrix has determinant or . The converse is false. A matrix may have determinant without being orthogonal.
54.10 The Orthogonal Group
The set of all orthogonal matrices is denoted
It is called the orthogonal group.
It is a group under matrix multiplication. If , then
Thus .
The identity matrix belongs to , and the inverse of an orthogonal matrix is orthogonal because
The subgroup of orthogonal matrices with determinant is denoted
It is called the special orthogonal group. In and , its elements are rotations.
54.11 Unitary Matrices
Let . The matrix is unitary if
where
is the conjugate transpose.
The columns of form an orthonormal basis of with respect to the standard complex inner product.
If
then
means
Thus the columns have complex norm one and are mutually orthogonal.
54.12 Inverse of a Unitary Matrix
If is unitary, then
Since is square, this also gives
Therefore
As in the real case, inversion is reduced to taking an adjoint. This is a major reason unitary transformations are preferred in complex numerical linear algebra and quantum mechanics.
54.13 Preservation of Complex Inner Products
Let be unitary. For ,
Using matrix algebra,
Since ,
Therefore
Thus unitary matrices preserve the complex inner product. Consequently, they preserve norms, distances, and orthogonality in .
54.14 Examples of Unitary Matrices
The simplest unitary matrices are complex numbers of modulus one. A matrix
is unitary exactly when
or
Thus
gives a unitary transformation of .
A diagonal matrix
is unitary because each diagonal entry has modulus one.
The normalized Fourier matrix is another important example. Its entries are complex roots of unity, scaled so that the columns become orthonormal.
54.15 Orthogonal Matrices as Real Unitary Matrices
If is real, then the conjugate transpose equals the ordinary transpose .
Thus the unitary condition
becomes
Therefore a real matrix is unitary exactly when it is orthogonal.
This is why unitary matrices are the complex analogue of orthogonal matrices.
54.16 Orthogonal and Unitary Similarity
Orthogonal and unitary matrices are used for changes of orthonormal coordinates.
In the real case, a change of orthonormal basis has the form
This is called an orthogonal similarity transformation.
In the complex case, the corresponding form is
This is called a unitary similarity transformation.
These transformations preserve important matrix properties, including eigenvalues, rank, trace, determinant, and many norm-related quantities. They are central in spectral theory because they change coordinates without distorting inner product geometry.
54.17 Orthogonal Diagonalization
A real symmetric matrix can be diagonalized by an orthogonal matrix:
where is orthogonal and is diagonal.
Equivalently,
The columns of are orthonormal eigenvectors of , and the diagonal entries of are the corresponding eigenvalues.
This result is the spectral theorem for real symmetric matrices. Orthogonal diagonalization is especially important because it diagonalizes the matrix while preserving Euclidean geometry.
54.18 Unitary Diagonalization
A complex normal matrix can be diagonalized by a unitary matrix:
where is unitary and is diagonal.
Equivalently,
The columns of are orthonormal eigenvectors of .
This is the complex spectral theorem. It includes Hermitian matrices, skew-Hermitian matrices, and unitary matrices themselves as important special cases.
Unitary diagonalization is the natural complex analogue of orthogonal diagonalization.
54.19 Eigenvalues of Orthogonal and Unitary Matrices
If is unitary and
for some nonzero vector , then
Since preserves norm,
Because ,
Thus every eigenvalue of a unitary matrix has modulus one.
For real orthogonal matrices, complex eigenvalues may occur, but they also have modulus one. Real eigenvalues of an orthogonal matrix must be
This matches the geometric interpretation. Orthogonal and unitary matrices do not expand or contract eigenvectors.
54.20 Numerical Importance
Orthogonal and unitary matrices are fundamental in numerical linear algebra.
If is orthogonal, then
Thus multiplying by does not amplify vector errors in the Euclidean norm. The condition number of an orthogonal matrix in the -norm is
This is the smallest possible condition number for an invertible matrix. For this reason, stable algorithms often rely on orthogonal or unitary transformations.
Examples include:
| Algorithm | Orthogonal or unitary ingredient |
|---|---|
| QR factorization | Householder reflections or Givens rotations |
| Least squares | Orthogonal reduction to triangular form |
| Eigenvalue algorithms | QR iteration |
| SVD | Orthogonal or unitary singular vector matrices |
| Fourier methods | Unitary Fourier transforms |
Orthogonal transformations are numerically safe because they preserve length and avoid artificial error growth.
54.21 Summary
Orthogonal matrices are real square matrices satisfying
Unitary matrices are complex square matrices satisfying
They satisfy
They preserve inner products:
and
Consequently, they preserve norms, distances, angles, and orthogonality.
Geometrically, orthogonal matrices represent rotations, reflections, and combinations of them. Algebraically, they are changes between orthonormal bases. Computationally, they are the preferred transformations for stable algorithms.