Orthogonal Vectors and Subspaces
June 1, 2019
Orthogonal
Orthogonal vectors: two vectors are orthogonal (perpendicular) if the angle between them is 90˚ angle; or their inner product is 0:
If you want it more algebraically, we can use Pythagoras theorem:
Note that this can be converted to e.q. (1):
Another takeaway is zero vector is orthogonal to any vectors.
Orthogonal Subspaces: subspace is orthogonal to subspace means every vector is orthogonal to every vector .
Prop.1: Row space is orthogonal to nullspace
This comes straightly from :
Use the traditional matrix multiplication perspective, every row of is multiplying the whole column vector:
From these we can easily obtain any combination of the row vectors times is still 0:
This finishes proving that the solution space to 0 is orthogonal to any combination of row vectors, i.e., nullspace is orthogonal to the row space.
We say Row space and nullspace are orthogonal complements in
We know that for matrix,
Their dimensions are complementary and add up to . In , if row space is just a line, then the nullspace is the plane that contains all vectors perpendicular to this line, not just some vectors.
Due to measurement error, is often unsolvable if (check if there’s one by elimination). The next challenge will be to find a best possible solution for this kind of equations. The matrix will be crucial in them. What’s good about ? It is square, symmetric. And
Prop. 2
This is easy to spot since
And from Prop. 2, the same nullspace will give us, first, same nullspace dimension: , and we know rank it’s just . Therefore, the following is true
Prop. 3
What we know from these are the next proposition:
Prop. 4: $A^\top A$ is invertible if $A$ has independent columns, i.e., $r=n$, full column rank
This will be explained in the next lecture