In linear algebra, an orthogonal matrix or orthonormal matrix Q, is a real-valued square matrix whose columns and rows are orthonormal vectors. One way to express this is QTQ=QQT=I, where QT is the transpose of Q and I is the identity matrix. This leads to the equivalent characterization: a matrix Q is orthogonal if its transpose is equal to its inverse: QT=Q−1, where Q−1 is the inverse of Q. An orthogonal matrix Q is necessarily invertible (with inverse Q−1 = QT), unitary (Q−1 = Q∗), where Q∗ is the Hermitian adjoint (conjugate transpose) of Q, and therefore normal (Q∗Q = QQ∗) over the real numbers. The determinant of any orthogonal matrix is either +1 or −1. As a linear transformation, an orthogonal matrix preserves the inner product of vectors, and therefore acts as an isometry of Euclidean space, such as a rotation, reflection or rotoreflection. In other words, it is a unitary transformation. The set of n × n orthogonal matrices, under multiplication, forms the group O(n), known as the orthogonal group. The subgroup SO(n) consisting of orthogonal matrices with determinant +1 is called the special orthogonal group, and each of its elements is a special orthogonal matrix, which represents a rotation. The orthogonal matrices with determinant -1 form the coset diag(-1, 1, ..., 1) SO(n), and together with SO(n), they form O(n).
Overview
An orthogonal matrix is the real specialization of a unitary matrix, and thus always a normal matrix. Although we consider only real matrices here, the definition can be used for matrices with entries from any field. However, orthogonal matrices arise naturally from dot products, and for matrices of complex numbers that leads instead to the unitary requirement. Orthogonal matrices preserve the dot product, so, for vectors u and v in an n-dimensional real Euclidean space 𝐮⋅𝐯=(Q𝐮)⋅(Q𝐯) where Q is an orthogonal matrix. To see the inner product connection, consider a vector v in an n-dimensional real Euclidean space. Written with respect to an orthonormal basis, the squared length of v is vTv. If a linear transformation, in matrix form Qv, preserves vector lengths, then 𝐯T𝐯=(Q𝐯)T(Q𝐯)=𝐯TQTQ𝐯. Thus finite-dimensional linear isometries—rotations, reflections, and their combinations—produce orthogonal matrices. The converse is also true: orthogonal matrices imply orthogonal transformations. However, linear algebra includes orthogonal transformations between spaces which may be neither finite-dimensional nor of the same dimension, and these have no orthogonal matrix equivalent. Orthogonal matrices are important for a number of reasons, both theoretical and practical. The n × n orthogonal matrices form a group under matrix multiplication, the orthogonal group denoted by O(n), which—with its subgroups—is widely used in mathematics and the physical sciences. For example, the point group of a molecule is a subgroup of O(3). Because floating point versions of orthogonal matrices have advantageous properties, they are key to many algorithms in numerical linear algebra, such as QR decomposition. As another example, with appropriate normalization the discrete cosine transform (used in MP3 compression) is represented by an orthogonal matrix.
Examples Below are a few examples of small orthogonal matrices and possible interpretations.
[1001] (identity transformation) [cosθ−sinθsinθcosθ] (rotation about the origin) [100−1] (reflection across x-axis) [0001001010000100] (permutation of coordinate axes)
Elementary constructions
Lower dimensions The simplest orthogonal matrices are the 1 × 1 matrices [1] and [−1], which we can interpret as the identity and a reflection of the real line across the origin. The 2 × 2 matrices have the form [ptqu], which orthogonality demands satisfy the three equations 1=p2+t2,1=q2+u2,0=pq+tu. In consideration of the first equation, without loss of generality let p = cos θ, q = sin θ; then either t = −q, u = p or t = q, u = −p. We can interpret the first case as a rotation by θ (where θ = 0 is the identity), and the second as a reflection across a line at an angle of θ/2. [cosθ−sinθsinθcosθ] (rotation), [cosθsinθsinθ−cosθ] (reflection) The special case of the reflection matrix with θ = 90° generates a reflection about the line at 45° given by y = x and therefore exchanges x and y; it is a permutation matrix, with a single 1 in each column and row (and otherwise 0): [0110]. The identity is also a permutation matrix. A reflection is its own inverse, which implies that a reflection matrix is symmetric (equal to its transpose) as well as orthogonal. The product of two rotation matrices is a rotation matrix, and the product of two reflection matrices is also a rotation matrix.
Higher dimensions Regardless of the dimension, it is always possible to classify orthogonal matrices as purely rotational or not, but for 3 × 3 matrices and larger the non-rotational matrices can be more complicated than reflections. For example, [−1000−1000−1] and [0−1010000−1] represent an inversion through the origin and a rotoinversion, respectively, about the z-axis. Rotations become more complicated in higher dimensions; they can no longer be completely characterized by one angle, and may affect more than one planar subspace. It is common to describe a 3 × 3 rotation matrix in terms of an axis and angle, but this only works in three dimensions. Above three dimensions two or more angles are needed, each associated with a plane of rotation. However, we have elementary building blocks for permutations, reflections, and rotations that apply in general.
… excerpt ends here. Continue reading the full article.
