Skip to content

Orthogonal vs orthonormal vectors

5 min read

Short answer

Vectors are orthogonal if their dot product is 00 (they are perpendicular). They are orthonormal if they are orthogonal and each has length 1. In an orthonormal basis, the coordinate of any vector along a basis vector is just a dot product, with no equations to solve.

Orthogonal compared with OrthonormalOrthogonalu · v = 0PerpendicularAny lengths allowedIndependent (ifnonzero)Example: (1,1), (1,-1)Orthonormalu · v = 0PerpendicularEvery length is 1Basis coordinates =dotExample: (1,1)/√2,(1,-1)/√2
Orthonormal = orthogonal plus normalized. Dividing each vector by its own length turns one into the other.

Checking and normalizing

To test orthogonality, compute the dot product. To normalize, divide a vector by its length ∣v∣=v⋅v|\mathbf v|=\sqrt{\mathbf v\cdot\mathbf v}. Nonzero orthogonal vectors are automatically linearly independent, so nn of them in Rn\mathbb R^n form a basis.

Why orthonormal bases are so convenient

If {q1,…,qn}\{\mathbf q_1,\dots,\mathbf q_n\} is orthonormal, then any x=∑ciqi\mathbf x=\sum c_i\mathbf q_i has ci=x⋅qic_i=\mathbf x\cdot\mathbf q_i. The matrix QQ whose columns are the qi\mathbf q_i satisfies QTQ=IQ^TQ=I, so Q−1=QTQ^{-1}=Q^T: inversion becomes a transpose. Rotations and reflections are the typical orthogonal matrices.

Worked example

Show that (1,2,2)(1,2,2) and (2,1,−2)(2,1,-2) are orthogonal, then make them orthonormal.

Dot product: 1⋅2+2⋅1+2⋅(−2)=2+2−4=01\cdot2+2\cdot1+2\cdot(-2)=2+2-4=0, so they are orthogonal.

Lengths: 1+4+4=3\sqrt{1+4+4}=3 and 4+1+4=3\sqrt{4+1+4}=3.

Orthonormal pair: 13(1,2,2)\tfrac13(1,2,2) and 13(2,1,−2)\tfrac13(2,1,-2).

Try it yourself

Is {(1,1,0),(1,−1,0),(0,0,1)}\{(1,1,0),(1,-1,0),(0,0,1)\} orthogonal? Orthonormal?

Show the answer

Orthogonal: the three dot products between different vectors are 1−1=01-1=0, 00 and 00. Not orthonormal, because the first two have length 2\sqrt2. Dividing them by 2\sqrt2 makes the set orthonormal.

Keep going with practice

Orthogonality and orthonormal bases come up across Vidi's Linear Algebra & Probability course, with the vector playground for hands-on practice.