4.5.37Linear Algebra (Full)

Orthogonal matrices — properties, det = ±1

1,808 words8 min readdifficulty · medium4 backlinks

WHAT is an orthogonal matrix?

WHY this definition? The condition QTQ=IQ^{\mathsf T}Q = I is just a compact way of saying: the columns of QQ form an orthonormal set (mutually perpendicular unit vectors). Let's see why.


WHY orthogonal matrices preserve length and angle

This is the defining geometric property — derive it from scratch.

Consequences (HOW it gives geometry):

  • Length: put y=xy=x:   Qx2=(Qx)T(Qx)=xTx=x2\;\|Qx\|^2 = (Qx)^{\mathsf T}(Qx) = x^{\mathsf T}x = \|x\|^2, so Qx=x\|Qx\| = \|x\|.
  • Angle: since cosθ=xTyxy\cos\theta = \dfrac{x^{\mathsf T}y}{\|x\|\,\|y\|} and both numerator and denominator are unchanged, angles are preserved.

So QQ is an isometry: a distance-preserving linear map.


WHY detQ=±1\det Q = \pm 1


Other key properties (and WHY they hold)

Figure — Orthogonal matrices — properties, det = ±1

Worked examples


Recall Feynman: explain to a 12-year-old

Imagine a flat sheet of stickers. An orthogonal matrix is a way to spin the sheet or flip it over like a pancake — but never stretch it or squish it. Every sticker stays the same size, and the distance between any two stickers never changes. If you just spin it, you can lay it back down the same way — that's "+1". If you have to flip it over to make it match, that's "−1". Since nothing grows or shrinks, the "size-change number" (determinant) can only be the do-nothing values +1+1 or 1-1.


Common mistakes (steel-manned)


Active recall

Definition of an orthogonal matrix?
A real square QQ with QTQ=QQT=IQ^{\mathsf T}Q=QQ^{\mathsf T}=I, i.e. Q1=QTQ^{-1}=Q^{\mathsf T}.
What does QTQ=IQ^{\mathsf T}Q=I say about the columns?
They are orthonormal: unit length and mutually perpendicular (qiTqj=δijq_i^{\mathsf T}q_j=\delta_{ij}).
Prove detQ=±1\det Q=\pm1.
det(QTQ)=detI(detQ)2=1detQ=±1\det(Q^{\mathsf T}Q)=\det I\Rightarrow(\det Q)^2=1\Rightarrow\det Q=\pm1.
Geometric meaning of detQ=+1\det Q=+1 vs 1-1?
+1+1 rotation (orientation kept, SO(n)SO(n)); 1-1 reflection (orientation flipped).
Why does Qx=x\|Qx\|=\|x\|?
Qx2=xTQTQx=xTx=x2\|Qx\|^2=x^{\mathsf T}Q^{\mathsf T}Qx=x^{\mathsf T}x=\|x\|^2.
Is every matrix with det=±1\det=\pm1 orthogonal?
No — necessary not sufficient (e.g. a shear). Need full QTQ=IQ^{\mathsf T}Q=I.
What are the possible eigenvalue magnitudes of QQ?
All eigenvalues satisfy λ=1|\lambda|=1 (real ones are ±1\pm1, complex are e±iθe^{\pm i\theta}).
Inverse of an orthogonal matrix?
Q1=QTQ^{-1}=Q^{\mathsf T}, and it is also orthogonal.
Is the product of two orthogonal matrices orthogonal?
Yes — O(n)O(n) is a group; closure follows from (Q1Q2)TQ1Q2=I(Q_1Q_2)^{\mathsf T}Q_1Q_2=I.
det\det of a 2×22\times2 rotation matrix?
cos2θ+sin2θ=+1\cos^2\theta+\sin^2\theta=+1.

Connections

  • Orthonormal bases & Gram–Schmidt — how to build the columns of QQ.
  • Determinants — properties — supplies det(AB)=detAdetB\det(AB)=\det A\det B, detAT=detA\det A^{\mathsf T}=\det A.
  • Eigenvalues and eigenvectorsλ=1|\lambda|=1 argument.
  • Rotations and reflections in $\mathbb{R}^2$ and $\mathbb{R}^3$ — the geometric instances.
  • QR decompositionA=QRA=QR with QQ orthogonal.
  • Spectral theorem — symmetric matrices are diagonalized by orthogonal QQ.
  • Inner product spaces — isometry / length preservation generalized.

Concept Map

defined by

implies

read column-wise

gives

set y=x

cos theta unchanged

makes Q an

makes Q an

take determinants

sign +1

sign -1

no scaling so

Orthogonal matrix Q

Q^T Q = I

Q inverse equals Q^T

Columns orthonormal

Inner products preserved

Length preserved

Angle preserved

Isometry / rigid motion

det Q = plus or minus 1

det = +1: rotation SO n

det = -1: reflection

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, orthogonal matrix ka matlab simple hai: ye ek aisi square matrix QQ hai jiske columns orthonormal hote hain — yaani har column ki length 11, aur do alag columns ek-dusre ke perpendicular. Isi cheez ko hum compact form me likhte hain QTQ=IQ^{\mathsf T}Q=I. Iska seedha fayda — iska inverse nikalna free hai, kyunki Q1=QTQ^{-1}=Q^{\mathsf T} (sirf transpose kar do!).

Geometry me ye ek rigid motion hai — rotation ya reflection. Vector ko ghumata hai ya palatata hai, par length aur angle kabhi change nahi karta. Proof bhi easy: Qx2=xTQTQx=xTx=x2\|Qx\|^2 = x^{\mathsf T}Q^{\mathsf T}Qx = x^{\mathsf T}x = \|x\|^2. Kyunki koi stretching-squeezing nahi hoti, area/volume same rehta hai, isliye determinant ka size 11 hona hi padega.

Ab sign ki baat. det(QTQ)=detI=1\det(Q^{\mathsf T}Q)=\det I=1 se (detQ)2=1(\det Q)^2=1, toh detQ=±1\det Q=\pm1. Agar +1+1 hai toh pure rotation (orientation same, SO(n)SO(n)), agar 1-1 hai toh reflection (handedness ulta ho gaya). Ek important trap: det=±1\det=\pm1 hone se matrix orthogonal nahi ban jaati — shear matrix ka bhi det=1\det=1 hota hai par wo orthogonal nahi. Asli test hamesha QTQ=IQ^{\mathsf T}Q=I hi hai. Ye concept QR decomposition, rotations, aur spectral theorem sab me kaam aata hai, isliye solid karo.

Go deeper — visual, from zero

Test yourself — Linear Algebra (Full)

Connections