Save this video free

17. Orthogonal Matrices and Gram-Schmidt

MIT OpenCourseWare · 49:10 · 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

An orthonormal matrix Q has mutually perpendicular unit columns, so QᵀQ = I; when Q is square, Qᵀ is also its inverse. The lecture shows how this simplifies projections and least-squares calculations, then derives Gram-Schmidt orthogonalization and its matrix form, the QR factorization A = QR, where R is upper triangular.

Key takeaways

Chapters

0:00 Orthogonal Bases and the Meaning of Orthonormal
3:17 Why Orthonormal Columns Give QᵀQ = I
8:04 Permutation, Rotation, and Hadamard Matrix Examples
14:02 Rectangular Orthonormal Matrices and Column-Space Bases
17:42 Projection onto a Subspace with Q Qᵀ
23:02 Orthonormal Bases Simplify Least-Squares Equations
25:04 Gram-Schmidt Removes the Projection onto Earlier Vectors
34:05 Extending Gram-Schmidt to a Third Vector
38:10 Gram-Schmidt Example with (1,1,1) and (1,0,2)
44:09 QR Factorization Encodes Gram-Schmidt in Matrix Form

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

Transcript excerpt

0:07 OK, here's the last lecture in the chapter on orthogonality. So we met orthogonal vectors, two vectors, we met orthogonal subspaces, like the row space and null space. Now today we meet an orthogonal basis, and an orthogonal matrix. So we really -- this chapter cleans up orthogonality. And really I want -- I should use the word orthonormal. Orthogonal is -- so my vectors are q1,q2 up to qn -- I use the letter "q", here, to remind me, I'm talking about orthogonal things, not just any vectors,

1:01 but orthogonal ones. So what does that mean? That means that every q is orthogonal to every other q. It's a natural idea, to have a basis that's headed off at ninety-degree angles, the inner products are all zero. Of course if q is -- certainly qi is not orthogonal to itself. But there we'll make the best choice again, make it a unit vector. Then qi transpose qi is one, for a unit vector. The length squared is one. And that's what I would use the word normal. So for this part, normalized, unit length for this part. OK.

1:49 So first part of the lecture is how does having an orthonormal basis make things nice? It certainly does. It makes all the calculations better, a whole lot of numerical linear algebra is built around working with orthonormal vectors, because they never get out of hand, they never overflow or underflow. And I'll put them into a matrix Q, and then the second part of the lecture will be suppose my basis, my columns of A are not orthonormal. How do I make them so? And the two names associated with that simple idea are Graham and Schmidt.

2:36 So the first part is we've got a basis like this. Let's put those into the columns of a matrix.

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.