datarekha

Orthogonality & Orthogonal Matrices

A matrix that turns space rigidly like a sheet of paper — no length stretched, no angle bent. Orthonormal columns make Q transpose Q = I (so the inverse is just the transpose), the determinant is ±1, and the eigenvalues sit on the unit circle, complex more often than not.

8 min read Advanced GATE DA Lesson 27 of 122

What you'll learn

  • Two vectors are orthogonal when their dot product is zero
  • An orthogonal matrix Q has orthonormal columns, so QᵀQ = I and Q⁻¹ = Qᵀ
  • Orthogonal matrices preserve length and angle: ‖Qx‖ = ‖x‖
  • det(Q) = ±1, and every eigenvalue lies on the unit circle (so it may be complex, not just ±1)

Before you start

The last lesson promised a matrix whose action keeps lengths and angles intact — rigid, like turning a sheet of paper on a desk. The shapes drawn on it shift, but nothing stretches and no right angle bends. That is an orthogonal matrix: it moves vectors about without ever changing a length or an angle. Its whole family is the rigid motions — rotations and reflections, nothing fancier — and the tidy Aᵀ property the last lesson hinted at falls straight out.

Start with the word alone: two vectors are orthogonal when their dot product is zero, u · v = 0 — they meet at a right angle. An orthogonal matrix is the natural upgrade: a whole basis of directions that are mutually perpendicular and unit length.

Orthonormal columns, and QᵀQ = I

A square matrix Q is orthogonal when its columns are orthonormal — each a unit vector, any two of them perpendicular. Stack that condition into matrix form and it collapses to one clean equation:

Qᵀ Q = IsoQ⁻¹ = Qᵀcolumn i dotted with column j = 1 if i = j, else 0
Entry (i, j) of QᵀQ is column i dotted with column j — which is exactly the identity.

Because QᵀQ = I, the inverse is simply the transpose: Q⁻¹ = Qᵀ. Inverting an orthogonal matrix costs nothing — you just flip it, the tidy property promised. (The same holds for the rows, so QQᵀ = I too.)

They keep length and angle

The defining geometric fact is that an orthogonal matrix never changes a length. For every x, the QᵀQ = I in the middle cancels:

‖Qx‖² = (Qx)ᵀ(Qx) = xᵀ QᵀQ x = xᵀ I x = xᵀx = ‖x‖²

so ‖Qx‖ = ‖x‖. The same cancellation keeps dot products intact ((Qx)·(Qy) = x·y), so angles survive as well. A rotation is the clearest picture — the vector spins, its length untouched, both ends tracing the same circle:

xQxθboth vectors touch the same dashed circle: equal length
A rotation moves x to Qx along a circle of fixed radius — the norm is preserved.

In the playground, set the entries to cosθ, −sinθ, sinθ, cosθ (an honest rotation) and the unit shape spins without distorting; drag them off those values and lengths and angles change at once — the visual signature of not being orthogonal.

TryLinear maps · drag î and ĵ

A matrix is a function on space — its columns are where î and ĵ land

1.25îĵ
a
b
c
d
col 1 = îcol 2 = ĵ
Determinant (signed area)1.25areas scale by 1.25×
Drag the tip of î and ĵ — they are the matrix's two columns. Everything else follows linearly, so the whole grid warps with them. The shaded square's area is |det|; flip a column past the other and orientation reverses (det goes negative).

Determinant and eigenvalues

Take determinants of QᵀQ = I: since det(Qᵀ) = det(Q), we get det(Q)² = 1, so det(Q) = +1 or −1+1 a pure rotation, −1 a reflection.

The eigenvalues are subtler. Because lengths are preserved, Qx = λx forces ‖x‖ = ‖Qx‖ = |λ|·‖x‖, so |λ| = 1: every eigenvalue sits on the unit circle in the complex plane. That is not the same as every eigenvalue being ±1 — a genuine rotation has no real eigenvectors at all, and its eigenvalues are a complex conjugate pair cosθ ± i·sinθ. This is the trap GATE sets.

A worked example — the 2025 norm-preserving question

Let A be a real n × n matrix with ‖Ax‖ = ‖x‖ for every x. Which must be true?

Each length preserved means each dot product preserved, hence AᵀA = I, so A is orthogonal (TRUE). That gives an inverse (Aᵀ), so A is invertible / full rank (TRUE). And det(A)² = det(AᵀA) = det(I) = 1, so det(A) = ±1 (TRUE). The trap option, “all eigenvalues are ±1”, is FALSE — the 90° rotation shows why:

A = [ 0  −1 ]      AᵀA = I,   det A = 1,   eigenvalues  λ = ± i
    [ 1   0 ]                              (|λ| = 1, but complex, not ±1)

A is orthogonal and full rank, yet its eigenvalues are +i and −i — on the unit circle, neither +1 nor −1. The correct picks are orthogonal, full rank, det = ±1; the eigenvalue option is the distractor.

A question to carry forward

An orthogonal matrix preserves everything — it keeps the whole space, just rigidly turned. The opposite extreme is a matrix that throws information away on purpose: it casts a shadow, flattening every vector down onto a chosen subspace and leaving it there. Here is the thread onward: what does such a “shadow-casting” matrix look like, and what happens if you apply it twice?

In one breath

  • Orthogonal Q: orthonormal columns ⇒ QᵀQ = IQ⁻¹ = Qᵀ (inverse is free).
  • Rigid: preserves length and angle — ‖Qx‖ = ‖x‖, (Qx)·(Qy) = x·y (rotations and reflections).
  • Determinant: det(Q) = ±1 (+1 rotation, −1 reflection).
  • Eigenvalues lie on the unit circle, |λ| = 1 — but may be complex (a rotation by θ → cosθ ± i sinθ), NOT necessarily ±1. ← the 2025 trap.
  • Norm-preserving ⇒ orthogonal ⇒ full rank, det = ±1 (but not “eigenvalues ±1”).

Practice

Quick check

0/6
Q1Recall: what is the inverse of an orthogonal matrix Q?
Q2Trace: Q is orthogonal and ‖x‖ = 5. What is ‖Qx‖?numerical answer — type a number
Q3Trace: Q is a 3×3 orthogonal matrix. What are the only possible values of det(Q)? (select all that apply)select all that apply
Q4Apply: a real matrix A satisfies ‖Ax‖ = ‖x‖ for all x. Which MUST be true? (select all that apply)select all that apply
Q5Apply: which 2×2 matrices are orthogonal? (select all that apply)select all that apply
Q6Create: explain in one line why a rotation by 60° is orthogonal yet has NO real eigenvalues, and give |λ|.

Sign in to track your progress

Completed lessons, your XP, level, and streak save to your account — it's free and takes a few seconds.

Related lessons

Explore further

Skip to content