STEMviz
Mathematics · Linear and Abstract Algebra

Orthogonal and Unitary Matrices, the Singular Value Decomposition

Chapter 9 showed orthogonal bases are the best-behaved bases. This chapter studies the matrices that convert between orthonormal bases — orthogonal matrices — and proves they are exactly the linear maps preserving lengths and angles. It then extends the spectral theorem's philosophy to every matrix, square or not, symmetric or not: the Singular Value Decomposition (SVD), which factors any matrix into a rotation, a scaling, and another rotation (here "rotation" means an orthogonal map, which may include a reflection when det⁡=−1\det=-1).

Have to hand: inner products, norms, orthonormal bases (Chapter 9); eigenvalues and the spectral theorem (Chapters 7–8).

1. Orthogonal Matrices

Definition. Q∈Mn(R)Q\in M_n(\mathbb{R}) is orthogonal if QTQ=IQ^TQ=I.

Theorem. For Q∈Mn(R)Q\in M_n(\mathbb{R}), the following are equivalent: (i) QTQ=IQ^TQ=I; (ii) the columns of QQ form an orthonormal basis of Rn\mathbb{R}^n; (iii) ⟨Qu,Qv⟩=⟨u,v⟩\langle Qu,Qv\rangle = \langle u,v\rangle for all u,vu,v (preserves the inner product); (iv) ∥Qv∥=∥v∥\|Qv\|=\|v\| for all vv (preserves norm).

Proof. (i)  ⟺  \iff(ii): writing Q=[q1 ⋯ qn]Q=[q_1\ \cdots\ q_n], the (i,j)(i,j) entry of QTQQ^TQ is qiTqj=⟨qi,qj⟩q_i^Tq_j = \langle q_i,q_j\rangle; so QTQ=IQ^TQ=I says exactly ⟨qi,qj⟩=δij\langle q_i,q_j\rangle=\delta_{ij}, i.e. the columns are orthonormal. (i)⇒\Rightarrow(iii): ⟨Qu,Qv⟩=(Qu)T(Qv)=uTQTQv=uTIv=uTv=⟨u,v⟩\langle Qu,Qv\rangle = (Qu)^T(Qv) = u^TQ^TQv = u^TIv = u^Tv = \langle u,v\rangle. (iii)⇒\Rightarrow(iv): take v=uv=u: ∥Qv∥2=⟨Qv,Qv⟩=⟨v,v⟩=∥v∥2\|Qv\|^2=\langle Qv,Qv\rangle=\langle v,v\rangle=\|v\|^2, then take square roots (both sides non-negative). (iv)⇒\Rightarrow(i): from ∥Qv∥2=∥v∥2\|Qv\|^2=\|v\|^2 for all vv, i.e. vTQTQv=vTvv^TQ^TQv = v^Tv for all vv, i.e. vT(QTQ−I)v=0v^T(Q^TQ-I)v=0 for all vv; this forces QTQ−I=0Q^TQ-I=0 for a symmetric matrix M=QTQ−IM=Q^TQ-I (a symmetric matrix with vTMv=0v^TMv=0 for all vv must be the zero matrix — a standard fact proved by substituting v=eiv=e_i to get Mii=0M_{ii}=0, then v=ei+ejv=e_i+e_j to get Mij+Mji=2Mij=0M_{ij}+M_{ji}=2M_{ij}=0). ■\blacksquare

This theorem is the precise sense in which "orthogonal matrices are rigid motions": they are exactly the linear maps that distort neither length nor angle, by (iii)–(iv) together with the angle formula of Chapter 9.

Proposition. If QQ is orthogonal, det⁡(Q)=±1\det(Q)=\pm1, and Q−1=QTQ^{-1}=Q^T.

Proof. Q−1=QTQ^{-1}=Q^T is immediate from QTQ=IQ^TQ=I (the defining relation already exhibits QTQ^T as a two-sided inverse, since square matrices with a one-sided inverse have it as a full inverse — a fact that follows once QQ is known invertible, which QTQ=IQ^TQ=I already certifies by Chapter 6). For the determinant: det⁡(QTQ)=det⁡(I)=1\det(Q^TQ)=\det(I)=1; using det⁡(QT)=det⁡(Q)\det(Q^T)=\det(Q) (Chapter 6) and the product rule, det⁡(Q)2=1\det(Q)^2=1, so det⁡(Q)=±1\det(Q)=\pm1. ■\blacksquare

Proposition (closure). The set of n×nn\times n orthogonal matrices is closed under matrix multiplication and inversion: if Q1,Q2Q_1,Q_2 orthogonal, so are Q1Q2Q_1Q_2 and Q1−1Q_1^{-1}.

Proof. (Q1Q2)T(Q1Q2)=Q2TQ1TQ1Q2=Q2TIQ2=Q2TQ2=I(Q_1Q_2)^T(Q_1Q_2) = Q_2^TQ_1^TQ_1Q_2 = Q_2^TIQ_2 = Q_2^TQ_2 = I. And Q1−1=Q1TQ_1^{-1}=Q_1^T, so (Q1−1)TQ1−1=Q1Q1T(Q_1^{-1})^TQ_1^{-1} = Q_1Q_1^T; since Q1TQ1=IQ_1^TQ_1=I forces Q1Q1T=IQ_1Q_1^T=I too (a square matrix with a one-sided inverse has the same two-sided inverse), Q1−1Q_1^{-1} is orthogonal. ■\blacksquare

This closure (together with the identity matrix being orthogonal, and associativity of matrix multiplication) is exactly what makes the orthogonal matrices a group under multiplication — the orthogonal group O(n)O(n), the first genuinely infinite matrix group this course meets, and the model example for Chapter 11's abstract group theory.

Keep reading: Orthogonal and Unitary Matrices, the Singular Value Decomposition

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.