14. Orthogonal Vectors and Subspaces
Overview
Orthogonality is defined through the dot product: real vectors x and y are perpendicular exactly when xᵀy = 0, a condition connected to the Pythagorean theorem. The lecture applies this definition to subspaces, showing that the row space and null space of A are orthogonal complements, then introduces AᵀA as the symmetric matrix behind the next lecture’s approach to inconsistent systems and least squares.
Key takeaways
- For real vectors, x and y are orthogonal exactly when xᵀy = 0; expanding the squared length of x + y links this test directly to the Pythagorean theorem.
- Two subspaces are orthogonal only when every vector in one is perpendicular to every vector in the other; sharing any nonzero vector rules out orthogonality.
- The null space of A is the orthogonal complement of its row space: Ax = 0 says that x is perpendicular to every row and therefore to every linear combination of rows.
- The row space and null space have dimensions r and n − r, so they form complementary subspaces of Rⁿ; for a rank-one row direction in R³, the null space is a perpendicular plane.
- For inconsistent or noisy measurements, the normal equations AᵀAx̂ = Aᵀb provide the lecture’s proposed route to a best-fit solution using all equations.
- AᵀA is symmetric, has the same rank and null space as A, and is invertible exactly when A has independent columns.
Chapters
- Orthogonal vectors meet at a 90-degree angle, and the Pythagorean theorem connects that geometry to their lengths.
- The algebraic test is xᵀy = 0, where the dot product sums corresponding component products.
- For real vectors, expanding (x + y)ᵀ(x + y) shows that the Pythagorean identity holds exactly when the cross terms xᵀy vanish.
- A vector’s squared length is xᵀx = x₁² + … + xₙ²; for x = (1, 2, 3), the squared length is 14.
- The example uses y = (2, -1, 0), for which xᵀy = 0 and yᵀy = 5.
- Since x + y = (3, 1, 3) has squared length 19, the example verifies 14 + 5 = 19 for perpendicular vectors.
- Subspaces S and T are orthogonal only if every vector in S is orthogonal to every vector in T.
- The blackboard plane and floor plane in R³ are not orthogonal: their intersection contains a nonzero direction along the crack.
- In R², two distinct lines through the origin are orthogonal when they meet at 90 degrees; every subspace is orthogonal to the zero subspace.
- If x is in the null space, Ax = 0; each row of A therefore has dot product zero with x.
- Every vector in the row space is a linear combination of A’s rows, so it also has dot product zero with x.
- This establishes that the row space and null space of A are orthogonal subspaces.
- The same row-space and null-space argument applied to Aᵀ establishes orthogonality between the column space and left null space.
- The row space and null space have dimensions r and n − r, so together they account for all of Rⁿ.
- For a rank-one matrix with row direction (1, 2, 5), the null space is the two-dimensional plane perpendicular to that row direction.
- When b is outside the column space of A, the system Ax = b has no exact solution.
- Overdetermined measurements, such as 1,000 satellite observations used to estimate roughly six parameters, generally cannot all be fit exactly.
- Measurement noise creates inconsistent right-hand sides, so the goal is to use all observations rather than discard equations to force a square system.
- For an m by n matrix A, AᵀA is an n by n square matrix and is symmetric.
- The proposed equation for the best-fit estimate x̂ is AᵀAx̂ = Aᵀb, obtained by multiplying Ax = b by Aᵀ.
- The lecture identifies AᵀA as the key matrix for the next chapter’s treatment of systems with no exact solution.
- For A with rows (1, 1), (1, 2), and (1, 5), the matrix has three equations and two unknowns, and its columns are independent.
- Its Gram matrix is AᵀA = [[3, 8], [8, 30]], which is symmetric and invertible.
- An exact solution Ax = b exists only when b lies in A’s two-dimensional column space in R³, which is not true for a typical b.
- The lecture states that AᵀA and A have the same rank and the same null space.
- AᵀA is invertible exactly when its null space contains only the zero vector, which occurs exactly when A’s columns are independent.
- A rank-one A produces a singular AᵀA, illustrating why full column rank is necessary for an invertible normal-equation matrix.
Transcript excerpt
0:11 OK. cameras are rolling. This is lecture fourteen, starting a new chapter. Chapter about orthogonality. What it means for vectors to be orthogonal. What it means for subspaces to be orthogonal. What it means for bases to be orthogonal. So ninety degrees, this is a ninety-degree chapter. So what does it mean -- let me jump to subspaces. Because I've drawn here the big picture. This is the 18.06 picture here. And hold it down, guys.
1:04 So this is the picture and we know a lot about that picture already. We know the dimension of every subspace. We know that these dimensions are r and n-r. We know that these dimensions are r and m-r. What I want to show now is what this figure is saying, that the angle -- the figure is just my attempt to draw what I'm now going to say, that the angle between these subspaces is ninety degrees. And the angle between these subspaces is ninety degrees.
1:53 Now I have to say what does that mean? What does it mean for subspaces to be orthogonal? But I hope you appreciate the beauty of this picture, that that those subspaces are going to come out to be orthogonal. Those two and also those two. So that's like one point, one important point to step forward in understanding those subspaces. We knew what each subspace was like, we could compute bases for them. Now we know more. Or we will in a few minutes. OK.
2:38 I have to say first of all what does it mean for two vectors to be orthogonal? So let me start with that. Orthogonal vectors. The word orthogonal is -- is just another word for perpendicular. It means that in n-dimensional space the angle between those vectors is ninety degrees. It means that they form a right triangle.
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, MIT OpenCourseWare.