Describe the orthogonal complement of a subspace
Compute a basis for V-perp by putting the generators of V in the rows and taking the nullspace. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
Given a subspace inside, its orthogonal complement is the set of every vector perpendicular to every vector in.
Two ways to say the same thing, and you should hold both:
- - The geometric one. is everything does not reach, perpendicular to it. A line's complement in is a plane; a plane's complement is a line.
- - The computational one. Put's spanning vectors in the rows of a matrix. Then — the nullspace. So computing a complement is a nullspace computation, which you already know how to do.
The dimensions always balance:
Let be the matrix whose rows are spanning vectors of, with of them independent.
is the set of with — one equation per row. That is a nullspace, so has free variables where. And precisely because the rows were chosen independent. Hence
Two consequences that matter more than the formula.
- 1. The complement does not depend on which spanning list you chose. A different list gives a different matrix, but the same row space, and the nullspace of a matrix depends only on its row space. A complement is a property of the space, not of the generators.
- 2. Every vector splits uniquely: with the two pieces perpendicular. That decomposition is what projections compute, and it is why and are called complements rather than merely orthogonal.
Find a basis for where in.
Set up. Rows are the spanning vectors:
Reduce. gives
Read the equations. and. So a basis vector is.
Check the count., so. One vector. ✓
Check the dots. ✓ and ✓.
- Compute a basis for V-perp by putting the generators of V in the rows and taking the nullspace
- Use dim V + dim V-perp = n as a check on any proposed basis
- Distinguish the orthogonal complement from the set of vectors outside V
Let in.
What is, and can you write down a basis for it? Then verify your basis vectors dot to zero with both generators.
Answers
(the two generators are independent), so.
The conditions are and, giving and. So a basis is
Checks: ✓; ✓; and both similarly for. Dimensions: ✓.