Orthogonal matrices
Recognize an orthogonal matrix by QᵀQ = I, use Q⁻¹ = Qᵀ, show that Q preserves lengths and angles, and identify every 2 × 2 orthogonal matrix as a rotation or a reflection.
It opens on
The matrix Q = [[0.6, −0.8], [0.8, 0.6]] turns the unit square without stretching it. How can you invert Q without any elimination, and how can you tell from its entries that it never distorts a shape?
Why it matters
Rotations in graphics and robotics, the Q of QR factorization, the eigenvector matrices of the spectral theorem and every change to an orthonormal basis are orthogonal matrices: they move things without distorting them, and inverting them is free.
Good to know first
- Orthogonal vectors and subspaces: orthonormal sets and dot products
- Transpose and special matrices: (AB)ᵀ = BᵀAᵀ
- Positive definite matrices: A = QΛQᵀ with orthonormal eigenvectors
- Determinants as area and volume: the sign of det as orientation
Step by step
Orthonormal columns and QᵀQ = I
Show that QᵀQ = I says exactly that the columns are orthonormal, and use Q⁻¹ = Qᵀ to solve Qx = b.
For Q = [[0.6, −0.8], [0.8, 0.6]]: q₁ · q₁ = 0.36 + 0.64 = 1, q₂ · q₂ = 1 and q₁ · q₂ = −0.48 + 0.48 = 0, so QᵀQ = I.
A common mix-up
A matrix with orthogonal columns is an orthogonal matrix.
In fact: The columns must also have length 1; [[1, −1], [1, 1]] has QᵀQ = 2I and stretches by √2.
Lengths and angles are kept
Prove |Qx| = |x| and (Qx) · (Qy) = x · y, and check them on numbers.
Qx = Q(3, 4) = (1.8 − 3.2, 2.4 + 2.4) = (−1.4, 4.8), and |Qx|² = 1.96 + 23.04 = 25, so |Qx| = 5 = |x|.
A common mix-up
Any matrix with determinant 1 keeps lengths.
In fact: Det 1 keeps area only; the shear [[1, 1], [0, 1]] has det 1 but sends (0, 1) to (1, 1), of length √2.
Rotation or reflection
Show that det Q = ±1 and that every 2 × 2 orthogonal matrix is a rotation (det 1) or a reflection (det −1).
The first choice gives the rotation [[cos θ, −sin θ], [sin θ, cos θ]] with det 1; for Q, cos θ = 0.6 and sin θ = 0.8, so θ ≈ 53.13°.
A common mix-up
Every orthogonal matrix is a rotation.
In fact: Half of them, those with det −1, are reflections that flip orientation, like R across y = x/2.
Try it
Show that P = [[0, 1, 0], [0, 0, 1], [1, 0, 0]] is orthogonal and give P⁻¹.Answer
Its columns are e₃, e₁, e₂, orthonormal; P⁻¹ = Pᵀ = [[0, 0, 1], [1, 0, 0], [0, 1, 0]]
Hint: a permutation of the identity's columns
Q is orthogonal and |x| = 7. What is |Q³x|, and why?Answer
7: each application of Q keeps the length
Hint: Apply |Qv| = |v| three times
Classify [[0.8, 0.6], [0.6, −0.8]] and find what it leaves fixed.Answer
Det = −0.64 − 0.36 = −1, a reflection across the line through (3, 1), at about 18.43°
Hint: Check that it sends (3, 1) to itself
Solve Qx = b for b = (1, 7) without elimination.Answer
x = Qᵀb = (0.6 + 5.6, −0.8 + 4.2) = (6.2, 3.4)
For y = (0, 2), Qy = (−1.6, 1.2). Check that (Qx) · (Qy) equals x · y.Answer
x · y = 8, and (−1.4)(−1.6) + (4.8)(1.2) = 2.24 + 5.76 = 8
