Coordinates with Respect to Orthogonal Bases
You'll learn: How to find a vector's coordinates with respect to an orthogonal basis using a simple inner product formula.
The Core Idea
When you have a standard basis in ℝⁿ, finding coordinates is trivial—just read them off. But when working with an orthogonal basis (vectors that are mutually perpendicular), there's a beautiful shortcut that bypasses solving systems of equations.
If B = {v₁, v₂, ..., vₙ} is an orthogonal basis and you want to express some vector x as:
x = c₁v₁ + c₂v₂ + ... + cₙvₙ
Then each coordinate cᵢ can be found directly using:
cᵢ = ⟨x, vᵢ⟩ / ⟨vᵢ, vᵢ⟩
where ⟨·,·⟩ denotes the inner product.
Why This Works
The magic comes from orthogonality. When you take the inner product of both sides with vᵢ:
⟨x, vᵢ⟩ = ⟨c₁v₁ + c₂v₂ + ... + cₙvₙ, vᵢ⟩
Because the basis is orthogonal, ⟨vⱼ, vᵢ⟩ = 0 whenever j ≠ i. All terms vanish except:
⟨x, vᵢ⟩ = cᵢ⟨vᵢ, vᵢ⟩
Solving for cᵢ gives the formula above.
Special Case: Orthonormal Bases
If the basis is orthonormal (orthogonal AND each vector has norm 1), then ⟨vᵢ, vᵢ⟩ = 1, so the formula simplifies beautifully to:
cᵢ = ⟨x, vᵢ⟩
This is as simple as computing a single inner product per coordinate!
Analogy
Think of projecting a shadow onto perpendicular walls. The length of each shadow tells you exactly how far you've traveled in that direction—no guesswork needed because the directions don't interfere with each other.
Key Takeaway: With an orthogonal basis, you can find each coordinate independently using the formula cᵢ = ⟨x, vᵢ⟩ / ⟨vᵢ, vᵢ⟩, bypassing the need to solve systems of equations.