Cookmath

Gram–Schmidt, QR and singular values

Gram–Schmidt removes the part of each new column already explained by earlier orthonormal columns. The remaining direction is normalized. QR stores those directions and coefficients; singular values are studied separately in Chapter 7.

What you will learn

Work through one complete example

Objective 1: Subtract projections and normalize

Objective 2: Verify QᵀQ=I and QR=A

Objective 3: Detect dependence before division

A common mistake

Do not normalize a zero residual. QR and SVD are different factorizations.

Review first

Continue learning

Orthogonality and least squares

Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.