Save this video free

15. Projections onto Subspaces

MIT OpenCourseWare · 48:51 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

The lecture derives orthogonal projection first onto a line and then onto the column space of a matrix, showing that the nearest point is characterized by an error perpendicular to the subspace. It develops the normal equations A^T A x̂ = A^T b and the projection matrix A(A^T A)^-1A^T, then applies the setup to fitting a line to three data points that cannot all lie on one line.

Key takeaways

Chapters

0:00 Deriving the Projection of b onto a Line Through a
5:34 The Rank-One Projection Matrix and Its Two Defining Properties
15:20 Why Projections Solve Inconsistent Systems Ax = b
19:42 Representing a Plane with the Columns of A
24:28 Perpendicular Residuals Produce the Normal Equations
28:00 Connecting the Residual to the Four Fundamental Subspaces
32:27 Least-Squares Coefficients and the General Projection Formula
35:49 Why the Rectangular Matrix A Cannot Be Inverted
42:00 Setting Up a Least-Squares Line Fit for Three Data Points

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:10 OK, guys the -- we're almost ready to make this lecture immortal. OK. Are we on? All right. This is an important lecture. It's about projections. Let me start by just projecting a vector b down on a vector a. So just to so you see what the geometry looks like in when I'm in -- in just two dimensions, I'd like to find the point along this line so that line through a is a one-dimensional subspace, so I'm starting with one dimension.

0:56 I'd like to find the point on that line closest to a. Can I just take that problem first and then I'll explain why I want to do it and why I want to project on other subspaces. So where's the point closest to b that's on that line? It's somewhere there. And let me connect that and -- and what's the whole point of my picture now? What's the -- where does orthogonality come into this picture? The whole point is that this best point, that's the projection, P, of b onto the line, where's orthogonality? It's the fact that that's a right angle.

1:46 That this -- the error -- this is like how much I'm wrong by -- this is the difference between b and P, the whole point is -- that's perpendicular to a. That's got to give us the equation. That's got to tell us -- that's the one fact we know, that's got to tell us where that projection is. Let me also say, look -- I've drawn a triangle there. So if we were doing trigonometry we would do like we would have angles theta and distances that would involve sine theta and cos theta that leads to lousy formulas compared to linear algebra. The formula that we want comes out nicely and what's the --

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.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.