Skip to content
Back to exploration
Mathematical modeling / English

Gram-Schmidt Process Example - Linear Algebra

FiveMinuteLectures · YouTube · 4:50

Open original
READ & KEEP

The explanation, unpacked.

Saves 0

Reviewed learning material · Video analysis · English
Read the full overview

This 160-second clip introduces the Gram-Schmidt process as a method for turning a basis in an inner product space into an orthonormal basis, motivated as preparation for QR factorization. It first defines orthonormality through perpendicular unit vectors, then presents the three-step algorithm: set w1=v1\mathbf{w}_1 = \mathbf{v}_1, recursively subtract projections to form wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n), and normalize via un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}. The final section gives a geometric example showing that v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is orthogonal to v1\mathbf{v}_1. This 130-second clip gives a worked Gram-Schmidt example in R3\mathbb{R}^3. It begins with a geometric picture of orthogonal projection, then applies the process to v1=[1,1,0]Tv_1=[1,1,0]^T, v2=[0,1,−1]Tv_2=[0,1,-1]^T, v3=[1,0,−1]Tv_3=[1,0,-1]^T using the standard dot product. The video constructs w1=v1w_1=v_1, computes w2=v2w_2=v_2-(⟨v2\langle v_2,w1⟩w_1\rangle/\|w1w_1\|^2)w1=[−1/2,1/2,−1]Tw_1=[-1/2,1/2,-1]^T, then computes w3=v3w_3=v_3-(⟨v3\langle v_3,w1⟩w_1\rangle/\|w1w_1\|^2)w1w_1-(⟨v3\langle v_3,w2⟩w_2\rangle/\|w2w_2\|^2)w2=[2/3,−2/3,−2/3]Tw_2=[2/3,-2/3,-2/3]^T. Finally it normalizes each vector via un=wnu_n=w_n/\|wnw_n\|, yielding u1=[1/2,1/2,0]Tu_1=[1/\sqrt2,1/\sqrt2,0]^T, u2=[−1/6,1/6,−2/3]Tu_2=[-1/\sqrt6,1/\sqrt6,-\sqrt{2/3}]^T, and u3=[3/6,−3/6,−3/6]Tu_3=[\sqrt3/6,-\sqrt3/6,-\sqrt3/6]^T, and states that these form an orthonormal basis for R3\mathbb{R}^3.

Use the learning inspector for key ideas and moments, or open the reading tabs for the complete notes.

Chapters

0:00Matrix decompositions intro0:06Purpose of Gram-Schmidt0:19Orthonormal basis definition1:00Three-step Gram-Schmidt procedure1:48Orthogonal projection example2:40Geometric meaning of orthogonal projection2:58Example setup in R3R^3 with standard dot product3:08Step 1: set initial vector w1=v1w_1 = v_13:15Step 2: compute w2w_2 by subtracting one projection3:51Step 2 continued: compute w3w_3 by subtracting two projections4:11Step 3: normalize to obtain an orthonormal basis

Learning script

Generated from the video's visuals and explanation; not verbatim speech.

The clip opens by placing the topic inside a matrix-decomposition series and naming the Gram-Schmidt process as preparation for QR factorization.

It then states the central goal: starting from any basis in an inner product space, produce an orthonormal basis.

The narrator breaks orthonormality into two requirements. First, the vectors must be mutually orthogonal; second, each must be a unit vector. The 2D diagram reinforces this with a right-angle marker and the condition ∥u∥=1\|\mathbf{u}\| = 1.

The algorithm is presented in three steps. Step 1 sets w1=v1\mathbf{w}_1 = \mathbf{v}_1. Step 2 builds later orthogonal vectors by subtracting projections: wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n). Step 3 normalizes each result: un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}.

To explain why Step 2 works, the video shifts to a geometric example with two vectors v1\mathbf{v}_1 and v2\mathbf{v}_2 under the standard dot product.

Orthogonal projection is described as the amount of one vector pointing in the direction of another. Visually, this is the foot obtained by dropping a perpendicular from the tip of v2\mathbf{v}_2 to the line through v1\mathbf{v}_1.

Subtracting that projection from v2\mathbf{v}_2 leaves v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2), which the animation shows perpendicular to v1\mathbf{v}_1. This illustrates the mechanism behind the recursive Gram-Schmidt construction.

The clip opens with a static geometric diagram titled "Orthonormal Projections." A green vector labeled v1\mathbf{v}_1 and a cyan vector labeled v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) meet at a right angle. The narration explains the intuition: perpendicular vectors do not point in each other's direction, so removing the projection of one vector onto another leaves a component independent of that direction.

The scene switches to the concrete example. Three column vectors are displayed: v1=[1,1,0]T\mathbf{v}_1 = [1,1,0]^T, v2=[0,1,−1]T\mathbf{v}_2 = [0,1,-1]^T, and v3=[1,0,−1]T\mathbf{v}_3 = [1,0,-1]^T. The narrator states that the Gram-Schmidt process will be applied in R3\mathbb{R}^3 using the standard dot product as the inner product.

Under the heading "1. Set initial vector," the first Gram-Schmidt step is written as w1=v1=[1,1,0]T\mathbf{w}_1 = \mathbf{v}_1 = [1,1,0]^T. The explanation is that the initial vector is kept unchanged at this stage and only normalized later.

Under "2. Find subsequent vectors," the second vector is constructed by subtracting the projection of v2\mathbf{v}_2 onto w1\mathbf{w}_1. The board shows w2=v2−proj⁡w1(v2)\mathbf{w}_2 = \mathbf{v}_2 - \operatorname{proj}_{\mathbf{w}_1}(\mathbf{v}_2), then expands it to w2=v2−⟨v2,w1⟩∥w1∥2w1\mathbf{w}_2 = \mathbf{v}_2 - \frac{\langle \mathbf{v}_2, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1. The displayed intermediate calculations are ⟨v2\langle \mathbf{v}_2, w1⟩=1\mathbf{w}_1 \rangle = 1 and \|w1\mathbf{w}_1\|^2=22 = 2, giving w2=[−1/2,1/2,−1]T\mathbf{w}_2 = [-1/2, 1/2, -1]^T.

The narrator then recommends a verification step: dot w1\mathbf{w}_1 and w2\mathbf{w}_2 and check that the result is zero. This is presented as a practical way to confirm that the projection subtraction worked correctly.

Still under step 2, the third vector is formed by removing from v3\mathbf{v}_3 both the component along w1\mathbf{w}_1 and the component along w2\mathbf{w}_2. The formula shown is w3=v3−proj⁡w1(v3)−proj⁡w2(v3)\mathbf{w}_3 = \mathbf{v}_3 - \operatorname{proj}_{\mathbf{w}_1}(\mathbf{v}_3) - \operatorname{proj}_{\mathbf{w}_2}(\mathbf{v}_3), expanded to w3=v3−⟨v3,w1⟩∥w1∥2w1−⟨v3,w2⟩∥w2∥2w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{\langle \mathbf{v}_3, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1 - \frac{\langle \mathbf{v}_3, \mathbf{w}_2 \rangle}{\|\mathbf{w}_2\|^2}\mathbf{w}_2. The simplified displayed form is w3=v3−12w1−13w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{1}{2}\mathbf{w}_1 - \frac{1}{3}\mathbf{w}_2, and the final vector is w3=[2/3,−2/3,−2/3]T\mathbf{w}_3 = [2/3, -2/3, -2/3]^T.

The narrator repeats the same checking principle: verify mutual orthogonality by taking pairwise dot products and confirming they equal zero.

Under "3. Normalize vectors," the yellow formula un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|} appears. The narration stresses that the norm must be the one induced by the chosen inner product; here that means \|w\mathbf{w}\| = w⋅w\sqrt{\mathbf{w} \cdot \mathbf{w}}.

The normalization is carried out one vector at a time. First, \|w1\mathbf{w}_1\| = 2\sqrt{2}, so u1=[1/2,1/2,0]T\mathbf{u}_1 = [1/\sqrt{2}, 1/\sqrt{2}, 0]^T. Next, \|w2\mathbf{w}_2\| = 3/2\sqrt{3/2}, so u2=[−1/6,1/6,−2/3]T\mathbf{u}_2 = [-1/\sqrt{6}, 1/\sqrt{6}, -\sqrt{2/3}]^T. Finally, \|w3\mathbf{w}_3\| = 23/32\sqrt{3}/3, so u3=[3/6,−3/6,−3/6]T\mathbf{u}_3 = [\sqrt{3}/6, -\sqrt{3}/6, -\sqrt{3}/6]^T.

The clip concludes that these three normalized vectors form an orthonormal basis for R3\mathbb{R}^3. The narrator then previews a follow-up topic: using the Gram-Schmidt process to obtain the QR decomposition of matrices.

Knowledge cards

01

Orthonormal basis

An orthonormal basis is a set of vectors that are pairwise orthogonal and each have length 1. The clip separates these two conditions and illustrates them with perpendicular unit arrows on a grid.

⟨ui,uj⟩=0 for i≠j,∥ui∥=1\langle \mathbf{u}_i, \mathbf{u}_j \rangle = 0 \text{ for } i \ne j, \quad \|\mathbf{u}_i\| = 1
02

Gram-Schmidt process goal

The Gram-Schmidt process converts a given basis v1,v2,v3,…\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3, \ldots in an inner product space into an orthonormal basis u1,u2,u3,…\mathbf{u}_1, \mathbf{u}_2, \mathbf{u}_3, \ldots. The video introduces this as preparation for QR factorization.

v1,v2,v3,…→u1,u2,u3,…\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3, \ldots \rightarrow \mathbf{u}_1, \mathbf{u}_2, \mathbf{u}_3, \ldots
03

Step 1: initialize the first vector

The first orthogonal intermediate vector is simply the first input vector. No projection subtraction is required at this stage.

w1=v1\mathbf{w}_1 = \mathbf{v}_1
04

Step 2: subtract orthogonal projections

For each new vector, remove its components along all previously constructed orthogonal vectors. This produces a vector orthogonal to the earlier ones.

wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n)
05

Step 3: normalize

After orthogonalization, divide each intermediate vector by its norm to obtain a unit vector. This completes the transition from orthogonal to orthonormal.

un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}
06

Geometric meaning of orthogonal projection

The projection of v2\mathbf{v}_2 onto v1\mathbf{v}_1 is the component of v2\mathbf{v}_2 lying in the direction of v1\mathbf{v}_1. The clip visualizes it by dropping a perpendicular from the tip of v2\mathbf{v}_2 to the line through v1\mathbf{v}_1.

proj⁡v1(v2)\operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
07

Why projection subtraction creates orthogonality

Subtracting the projection removes exactly the part of v2\mathbf{v}_2 that points along v1\mathbf{v}_1. The remainder v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is therefore perpendicular to v1\mathbf{v}_1, as shown by the right-angle marker in the animation.

v1⊥(v2−proj⁡v1(v2))\mathbf{v}_1 \perp \left(\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)\right)
08

Orthogonal projection intuition

The opening diagram shows that subtracting the projection of one vector onto another leaves a perpendicular remainder. Visually, v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is drawn at a right angle to v1\mathbf{v}_1, matching the narration that perpendicular vectors do not point in each other's direction.

v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
09

Example setup in R3R^3

The worked example applies Gram-Schmidt to three specific vectors in R3\mathbb{R}^3 using the standard dot product as the inner product. The inputs are v1=[1,1,0]T\mathbf{v}_1 = [1,1,0]^T, v2=[0,1,−1]T\mathbf{v}_2 = [0,1,-1]^T, and v3=[1,0,−1]T\mathbf{v}_3 = [1,0,-1]^T.

v1=[110], v2=[01−1], v3=[10−1]\mathbf{v}_1 = \begin{bmatrix}1\\1\\0\end{bmatrix},\ \mathbf{v}_2 = \begin{bmatrix}0\\1\\-1\end{bmatrix},\ \mathbf{v}_3 = \begin{bmatrix}1\\0\\-1\end{bmatrix}
10

Gram-Schmidt step 1: keep the first vector

The algorithm begins by setting the first orthogonal vector equal to the first input vector. No projection subtraction is needed at this stage because there is no earlier direction to remove.

w1=v1\mathbf{w}_1 = \mathbf{v}_1
11

Gram-Schmidt step 2: subtract one projection

To construct the second orthogonal vector, remove from v2\mathbf{v}_2 its component along w1\mathbf{w}_1. The clip computes ⟨v2\langle \mathbf{v}_2,w1⟩=1\mathbf{w}_1\rangle = 1 and \|w1\mathbf{w}_1\|^2=22 = 2, yielding w2=[−1/2,1/2,−1]T\mathbf{w}_2 = [-1/2,1/2,-1]^T.

w2=v2−⟨v2,w1⟩∥w1∥2w1\mathbf{w}_2 = \mathbf{v}_2 - \frac{\langle \mathbf{v}_2, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1
12

Check orthogonality with dot products

After each construction, the narrator advises verifying orthogonality by taking pairwise dot products and confirming the result is zero. This is presented as a practical error-catching step during Gram-Schmidt.

wi⋅wj=0(i≠j)\mathbf{w}_i \cdot \mathbf{w}_j = 0 \quad (i \neq j)
13

Gram-Schmidt step 3: subtract two projections

For the third vector, remove from v3\mathbf{v}_3 both the component along w1\mathbf{w}_1 and the component along w2\mathbf{w}_2. The displayed simplification is w3=v3−12w1−13w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{1}{2}\mathbf{w}_1 - \frac{1}{3}\mathbf{w}_2, giving w3=[2/3,−2/3,−2/3]T\mathbf{w}_3 = [2/3,-2/3,-2/3]^T.

w3=v3−⟨v3,w1⟩∥w1∥2w1−⟨v3,w2⟩∥w2∥2w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{\langle \mathbf{v}_3, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1 - \frac{\langle \mathbf{v}_3, \mathbf{w}_2 \rangle}{\|\mathbf{w}_2\|^2}\mathbf{w}_2
14

Normalization to an orthonormal basis

Once an orthogonal set \{w1\mathbf{w}_1,w2\mathbf{w}_2,w3\mathbf{w}_3\} has been built, each vector is divided by its norm to produce unit vectors. The clip emphasizes that the norm must come from the same inner product used earlier.

un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}
15

Final orthonormal basis from the example

The normalized outputs shown on screen are u1=[1/2,1/2,0]T\mathbf{u}_1 = [1/\sqrt{2},1/\sqrt{2},0]^T, u2=[−1/6,1/6,−2/3]T\mathbf{u}_2 = [-1/\sqrt{6},1/\sqrt{6},-\sqrt{2/3}]^T, and u3=[3/6,−3/6,−3/6]T\mathbf{u}_3 = [\sqrt{3}/6,-\sqrt{3}/6,-\sqrt{3}/6]^T. The narrator states that these form an orthonormal basis for R3\mathbb{R}^3.

u1=[1/21/20], u2=[−1/61/6−2/3], u3=[3/6−3/6−3/6]\mathbf{u}_1 = \begin{bmatrix}1/\sqrt{2}\\1/\sqrt{2}\\0\end{bmatrix},\ \mathbf{u}_2 = \begin{bmatrix}-1/\sqrt{6}\\1/\sqrt{6}\\-\sqrt{2/3}\end{bmatrix},\ \mathbf{u}_3 = \begin{bmatrix}\sqrt{3}/6\\-\sqrt{3}/6\\-\sqrt{3}/6\end{bmatrix}

Detailed learning notes

Explore conditions, steps and evidence. Supplementary explanations are labeled separately from content shown in the video.

Symbols · 18

\|u\mathbf{u}\|

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    On-screen text shows "Unit vectors" and the equation \|u\mathbf{u}\| = 1.

  2. Audio
    Observation

    The narrator says unit vectors or normal vectors have length one under the dot product.

Symbol

\|u\mathbf{u}\|

Meaning

Norm (length) of a vector u\mathbf{u}.

Domain

Vectors in an inner product space; here illustrated with the standard dot product.

v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …\ldots

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The procedure slide lists the input sequence v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …\ldots.

  2. Audio
    Observation

    The narrator describes starting from a set of basis vectors.

Symbol

v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …\ldots

Meaning

Given sequence of basis vectors to be transformed.

Domain

Basis vectors in an inner product space.

wn\mathbf{w}_n

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide defines w1=v1\mathbf{w}_1 = \mathbf{v}_1 and then gives wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n).

  2. Audio
    Observation

    The narrator says subsequent vectors are found by subtracting orthogonal projections onto previous vectors.

Symbol

wn\mathbf{w}_n

Meaning

Intermediate orthogonalized vector before normalization.

Domain

Defined recursively for n≥1n \ge 1 from the given basis vectors.

proj⁡a(b)\operatorname{proj}_{\mathbf{a}}(\mathbf{b})

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The general step uses proj⁡wi(vn)\operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n), and the example later shows v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2).

  2. Audio
    Observation

    The narrator explains orthogonal projection as how much one vector points in the direction of another.

Uncertainties
  1. The clip does not display the explicit algebraic formula for proj⁡a(b)\operatorname{proj}_{\mathbf{a}}(\mathbf{b}).

Symbol

proj⁡a(b)\operatorname{proj}_{\mathbf{a}}(\mathbf{b})

Meaning

Orthogonal projection of vector b\mathbf{b} onto vector a\mathbf{a}.

Domain

Vectors in an inner product space; the example is under the standard dot product.

un\mathbf{u}_n

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide states un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|} and maps v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …→u1\ldots \rightarrow \mathbf{u}_1, u2\mathbf{u}_2, u3\mathbf{u}_3, …\ldots.

  2. Audio
    Observation

    The narrator says the final step is to normalize all vectors by dividing by their norms.

Symbol

un\mathbf{u}_n

Meaning

Normalized orthonormal output vector corresponding to wn\mathbf{w}_n.

Domain

Defined after orthogonalization, provided \|wn\mathbf{w}_n\| ≠0\neq 0.

v1\mathbf{v}_1

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Green vector labeled v1v_1 in the opening geometric diagram.

  2. Formula
    Observation

    v1=[1,1,0]Tv_1 = [1, 1, 0]^T appears as the first input vector in the worked example.

Symbol

v1\mathbf{v}_1

Meaning

First given vector; also used in the opening diagram as the reference direction for projection.

Domain

R3\mathbb{R}^3

v2\mathbf{v}_2

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    The expression v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is shown as a cyan vector perpendicular to v1\mathbf{v}_1.

  2. Formula
    Observation

    v2=[0,1,−1]Tv_2 = [0, 1, -1]^T appears as the second input vector.

Symbol

v2\mathbf{v}_2

Meaning

Second given vector; in the opening diagram it is the vector being projected onto v1v_1.

Domain

R3\mathbb{R}^3

v3\mathbf{v}_3

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    v3=[1,0,−1]Tv_3 = [1, 0, -1]^T appears as the third input vector.

  2. Audio
    Observation

    The narrator says the Gram-Schmidt process will be applied to three vectors in R3R^3.

Symbol

v3\mathbf{v}_3

Meaning

Third given vector in the example.

Domain

R3\mathbb{R}^3

proj⁡u(v)\operatorname{proj}_{\mathbf{u}}(\mathbf{v})

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Opening title reads 'Orthonormal Projections' and the cyan vector is labeled v2v_2 - proj_{v1v_1}(v2v_2).

  2. Formula
    Observation

    Formulas use proj⁡w1(v2)\operatorname{proj}_{\mathbf{w}_1}(\mathbf{v}_2), proj⁡w1(v3)\operatorname{proj}_{\mathbf{w}_1}(\mathbf{v}_3), and proj⁡w2(v3)\operatorname{proj}_{\mathbf{w}_2}(\mathbf{v}_3).

Symbol

proj⁡u(v)\operatorname{proj}_{\mathbf{u}}(\mathbf{v})

Meaning

Orthogonal projection of vector v onto vector u.

Domain

Defined by the inner-product formula shown later in the clip.

w1\mathbf{w}_1

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Set w1=v1=[1,1,0]Tw_1 = v_1 = [1, 1, 0]^T.

  2. Audio
    Observation

    Narrator says to let v1v_1 be the initial vector and not touch it until the very end.

Symbol

w1\mathbf{w}_1

Meaning

First orthogonal vector produced by the Gram-Schmidt process; here equal to the initial vector v1v_1.

Domain

R3\mathbb{R}^3

w2\mathbf{w}_2

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    w2=v2w_2 = v_2 - proj_{w1w_1}(v2v_2) and then w2=[−1/2,1/2,−1]Tw_2 = [-1/2, 1/2, -1]^T.

  2. Audio
    Observation

    Narrator says to find the second vector by subtracting the orthogonal projection of v2v_2 onto v1v_1.

Symbol

w2\mathbf{w}_2

Meaning

Second orthogonal vector obtained by removing from v2v_2 its component along w1w_1.

Domain

R3\mathbb{R}^3

w3\mathbf{w}_3

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    w3=v3w_3 = v_3 - proj_{w1w_1}(v3v_3) - proj_{w2w_2}(v3v_3) and then w3=[2/3,−2/3,−2/3]Tw_3 = [2/3, -2/3, -2/3]^T.

  2. Audio
    Observation

    Narrator says that for the last vector we need to subtract two orthogonal projections from both w1w_1 and w2w_2.

Symbol

w3\mathbf{w}_3

Meaning

Third orthogonal vector obtained by removing from v3v_3 its components along w1w_1 and w2w_2.

Domain

R3\mathbb{R}^3

Knowledge points · 14

Orthonormal basis

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator defines an orthonormal basis as vectors that are mutually orthogonal and unit vectors.

  2. Diagram
    Observation

    A 2D grid shows two perpendicular arrows with a right-angle marker and the labels "Orthogonal vectors" and "Unit vectors \|u\mathbf{u}\| = 1".

Definition
Explanation

An orthonormal basis is a set of vectors that are pairwise orthogonal and each has norm 1. In the clip, orthogonality is illustrated by a 90-degree angle under the dot product, and normalization is illustrated by requiring length one.

Formula
⟨ui,uj⟩=0 for i≠j,∥ui∥=1\langle \mathbf{u}_i, \mathbf{u}_j \rangle = 0 \text{ for } i \ne j, \quad \|\mathbf{u}_i\| = 1
Conditions
  1. The vectors belong to an inner product space.

  2. The clip illustrates the standard dot product case.

Purpose of the Gram-Schmidt process

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator says the Gram-Schmidt process takes any set of basis vectors in an inner product space and turns them into an orthonormal basis.

  2. Formula
    Observation

    The slide maps v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …\ldots to u1\mathbf{u}_1, u2\mathbf{u}_2, u3\mathbf{u}_3, …\ldots.

Method
Explanation

The Gram-Schmidt process converts a given basis into an orthonormal basis. The procedure first constructs orthogonal intermediate vectors wn\mathbf{w}_n and then normalizes them to obtain un\mathbf{u}_n.

Formula
v1,v2,v3,…→u1,u2,u3,…\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3, \ldots \rightarrow \mathbf{u}_1, \mathbf{u}_2, \mathbf{u}_3, \ldots
Conditions
  1. Input is a set of basis vectors in an inner product space.

  2. The clip presents this as preparation for QR factorization.

Prerequisites
  1. Orthonormal basis

Gram-Schmidt Step 1: initial vector

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Step 1 on the slide reads "Set initial vector w1\mathbf{w}_1:" followed by w1=v1\mathbf{w}_1 = \mathbf{v}_1.

  2. Audio
    Observation

    The narrator says the process begins by setting an initial vector, which stays the same until normalization.

Method
Explanation

The first orthogonal intermediate vector is chosen to be the first input basis vector itself. No projection subtraction is needed for this first vector.

Formula
w1=v1\mathbf{w}_1 = \mathbf{v}_1
Conditions
  1. Applied at the start of the recursive construction.

Prerequisites
  1. Purpose of the Gram-Schmidt process

Gram-Schmidt Step 2: subtract orthogonal projections

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Step 2 on the slide reads "Find next vectors by subtracting orthogonal projections:" and shows wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n).

  2. Audio
    Observation

    The narrator says subsequent vectors are found by subtracting the orthogonal projection of the current vector onto all previous vectors already put into the orthogonal set.

Uncertainties
  1. The clip does not explicitly state that the input vectors must be linearly independent for every wn\mathbf{w}_n to be nonzero.

Method
Explanation

For each new input vector vn\mathbf{v}_n, remove its components along all previously constructed orthogonal vectors w1\mathbf{w}_1, …\ldots, wn−1\mathbf{w}_{n-1}. The remainder wn\mathbf{w}_n is orthogonal to those previous vectors.

Formula
wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n)
Conditions
  1. Used for n≥2n \ge 2.

  2. The sum runs over all previously constructed vectors wi\mathbf{w}_i.

Prerequisites
  1. Gram-Schmidt Step 1: initial vector
  2. Geometric meaning of orthogonal projection

Gram-Schmidt Step 3: normalization

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Step 3 on the slide reads "Normalize all vectors:" followed by un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}.

  2. Audio
    Observation

    The narrator says to normalize all vectors by dividing by the norm of the vectors themselves.

Method
Explanation

After constructing the orthogonal vectors wn\mathbf{w}_n, divide each by its own norm to obtain unit vectors un\mathbf{u}_n. This completes the conversion from a basis to an orthonormal basis.

Formula
un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}
Conditions
  1. Requires \|wn\mathbf{w}_n\| ≠0\neq 0.

  2. Applied after the projection-subtraction step.

Prerequisites
  1. Gram-Schmidt Step 2: subtract orthogonal projections
  2. Orthonormal basis

Geometric meaning of orthogonal projection

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator says orthogonal projection can be thought of as how much one vector points in the direction of another vector.

  2. Diagram
    Observation

    The animation drops a perpendicular from the tip of v2\mathbf{v}_2 to the line through v1\mathbf{v}_1, marking a right angle.

Uncertainties
  1. The clip gives geometric intuition but does not display the coordinate formula for projection.

Definition
Explanation

The orthogonal projection of one vector onto another measures the component of the first vector lying in the direction of the second. Geometrically, it is obtained by dropping a perpendicular from the tip of the vector being projected onto the line spanned by the other vector.

Formula
proj⁡a(b)\operatorname{proj}_{\mathbf{a}}(\mathbf{b})
Conditions
  1. The clip illustrates this under the standard dot product.

Geometric meaning of orthogonal projection

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says perpendicular vectors are independent in a way where they do not point in each other's direction.

  2. Diagram
    Observation

    Title 'Orthonormal Projections'; green vector v1v_1 and cyan vector v2v_2 - proj_{v1v_1}(v2v_2) meet at a right angle marked by a square symbol.

Definition
Explanation

The clip opens with a visual interpretation of projection: subtracting the component of one vector along another leaves a remainder perpendicular to that direction. The right-angle marker makes the orthogonality explicit.

Formula
v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
Conditions
  1. Two vectors are in an inner-product space.

  2. The subtraction removes the component of v2v_2 in the direction of v1v_1.

Inner product choice for the example

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says they will use the standard dot product as the inner product.

  2. Formula
    Observation

    All three input vectors are displayed as column vectors in R3R^3.

Definition
Explanation

Before computing projections, the video fixes the ambient space and inner product: the example is carried out in R3R^3 using the standard dot product.

Formula
⟨a,b⟩=a⋅b\langle \mathbf{a}, \mathbf{b} \rangle = \mathbf{a} \cdot \mathbf{b}
Conditions
  1. Vectors lie in R3\mathbb{R}^3.

  2. The standard Euclidean dot product is used.

First step of Gram-Schmidt: keep the initial vector

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Header '1. Set initial vector' and equation 'Set w1=v1=[1,1,0]Tw_1 = v_1 = [1, 1, 0]^T'.

  2. Audio
    Observation

    Narrator says to begin by letting v1v_1 be the initial vector and not touch it until the very end.

Method
Explanation

The algorithm starts by taking the first input vector unchanged as the first orthogonal vector.

Formula
w1=v1\mathbf{w}_1 = \mathbf{v}_1
Conditions
  1. There is at least one input vector.

  2. No normalization has yet been applied in this stage.

Prerequisites
  1. Inner product choice for the example

Second Gram-Schmidt vector by projection removal

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Header '2. Find subsequent vectors' with w2=v2w_2 = v_2 - proj_{w1w_1}(v2v_2), then expanded as w2=v2w_2 = v_2 - (⟨v2\langle v_2,w1⟩w_1\rangle / \|w1w_1\|^2) w1w_1.

  2. Formula
    Observation

    Computed values shown: ⟨v2\langle v_2,w1⟩=1w_1\rangle = 1, \|w1w_1\|^2=22 = 2, and w2=[−1/2,1/2,−1]Tw_2 = [-1/2, 1/2, -1]^T.

  3. Audio
    Observation

    Narrator says to find the second vector by subtracting the orthogonal projection of v2v_2 onto v1v_1.

Formula
Explanation

To make the next vector orthogonal to the previous one, the component of v2v_2 along w1w_1 is removed using the projection formula.

Formula
w2=v2−⟨v2,w1⟩∥w1∥2w1\mathbf{w}_2 = \mathbf{v}_2 - \frac{\langle \mathbf{v}_2, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1
Conditions
  1. w1w_1 is already known.

  2. The inner product and induced norm are fixed.

  3. w1w_1 is nonzero so division by \|w1w_1\|^2 is valid.

Prerequisites
  1. First step of Gram-Schmidt: keep the initial vector
  2. Inner product choice for the example

Verification method for orthogonality

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says you can check that w2w_2 is orthogonal to w1w_1 by dotting them and making sure you get zero.

  2. Formula
    Observation

    The displayed vectors are w1=[1,1,0]Tw_1 = [1,1,0]^T and w2=[−1/2,1/2,−1]Tw_2 = [-1/2,1/2,-1]^T.

Uncertainties
  1. The clip states the check verbally but does not show the arithmetic line for w1⋅w2=0w_1 \cdot w_2 = 0.

Method
Explanation

After constructing a new vector, the video recommends checking pairwise dot products to confirm orthogonality.

Formula
wi⋅wj=0(i≠j)\mathbf{w}_i \cdot \mathbf{w}_j = 0 \quad (i \neq j)
Conditions
  1. The chosen inner product is the standard dot product in this example.

  2. The vectors under test are nonzero.

Prerequisites
  1. Inner product choice for the example

Third Gram-Schmidt vector by removing components along all earlier vectors

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    w3=v3w_3 = v_3 - proj_{w1w_1}(v3v_3) - proj_{w2w_2}(v3v_3), then expanded as w3=v3w_3 = v_3 - (⟨v3\langle v_3,w1⟩w_1\rangle / \|w1w_1\|^2)w1w_1 - (⟨v3\langle v_3,w2⟩w_2\rangle / \|w2w_2\|^2)w2w_2.

  2. Formula
    Observation

    Simplified displayed form: w3=v3−(1/2)w1−(1/3)w2w_3 = v_3 - (1/2)w_1 - (1/3)w_2, followed by w3=[2/3,−2/3,−2/3]Tw_3 = [2/3, -2/3, -2/3]^T.

  3. Audio
    Observation

    Narrator says for the last vector we need to subtract two orthogonal projections from both w1w_1 and w2w_2.

Formula
Explanation

For the third vector, the algorithm removes from v3v_3 both the component along w1w_1 and the component along w2w_2, producing a vector orthogonal to the span of the earlier ones.

Formula
w3=v3−⟨v3,w1⟩∥w1∥2w1−⟨v3,w2⟩∥w2∥2w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{\langle \mathbf{v}_3, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1 - \frac{\langle \mathbf{v}_3, \mathbf{w}_2 \rangle}{\|\mathbf{w}_2\|^2}\mathbf{w}_2
Conditions
  1. w1w_1 and w2w_2 are already constructed.

  2. w1w_1 and w2w_2 are mutually orthogonal in the intended Gram-Schmidt process.

  3. Each denominator \|wjw_j\|^2 is nonzero.

Prerequisites
  1. Second Gram-Schmidt vector by projection removal
  2. Inner product choice for the example
Claims and conditions · 5

Subtracting the projection produces an orthogonal vector

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator says that if we subtract away the projection from our vector, the new vector does not point in the direction of the other vector at all, and therefore the two vectors are orthogonal.

  2. Diagram
    Observation

    The resulting cyan vector labeled v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is shown perpendicular to v1\mathbf{v}_1 with a right-angle marker.

Uncertainties
  1. The clip states the conclusion visually and verbally but does not provide an algebraic proof using inner products.

Proposition
Statement

If the orthogonal projection of v2\mathbf{v}_2 onto v1\mathbf{v}_1 is subtracted from v2\mathbf{v}_2, the resulting vector v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is orthogonal to v1\mathbf{v}_1.

Hypotheses
  1. The example is under the standard dot product.

  2. proj⁡v1(v2)\operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) denotes the orthogonal projection of v2\mathbf{v}_2 onto v1\mathbf{v}_1.

Quantifiers

For the two vectors shown in the example.

Intuitive claim about perpendicular vectors

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says two vectors that are perpendicular are sort of independent in a way where they don't point in each other's direction.

Uncertainties
  1. This is presented as intuition rather than a formal theorem statement.

Proposition
Statement

Perpendicular vectors do not point in each other's direction, which the narrator describes as a form of independence.

Hypotheses
  1. The discussion is geometric and informal.

  2. The setting is the opening projection diagram.

Quantifiers

Informal universal-style statement about pairs of perpendicular vectors.

Orthogonality of the first two constructed vectors

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says you can check that w2w_2 is indeed orthogonal to w1w_1 by dotting them and making sure that you get zero.

  2. Formula
    Observation

    w1=[1,1,0]Tw_1 = [1,1,0]^T and w2=[−1/2,1/2,−1]Tw_2 = [-1/2,1/2,-1]^T are displayed.

Uncertainties
  1. The verification is stated verbally; the explicit dot-product computation is not shown on screen.

Proposition
Statement

The constructed vector w2w_2 is orthogonal to w1w_1.

Hypotheses
  1. w1=v1w_1 = v_1.

  2. w2w_2 is defined by w2=v2w_2 = v_2 - (⟨v2\langle v_2,w1⟩w_1\rangle / \|w1w_1\|^2)w1w_1.

  3. The inner product is the standard dot product on R3\mathbb{R}^3.

Quantifiers

For the specific vectors in this worked example.

Mutual orthogonality of w1w_1, w2w_2, w3w_3

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says again you can check that all three of these vectors are mutually orthogonal by dotting them and making sure that you get zero.

  2. Formula
    Observation

    w1w_1, w2w_2, w3w_3 are displayed together before normalization.

Uncertainties
  1. The clip asserts the check but does not display all pairwise dot-product computations.

Proposition
Statement

The three constructed vectors w1w_1, w2w_2, w3w_3 are mutually orthogonal.

Hypotheses
  1. w1w_1, w2w_2, w3w_3 are produced by the Gram-Schmidt steps shown.

  2. The inner product is the standard dot product on R3\mathbb{R}^3.

Quantifiers

For the three specific vectors in this example.

Conclusion of the worked example

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says with that we have found an orthonormal basis for R3R^3.

  2. Formula
    Observation

    Three normalized vectors u1u_1, u2u_2, u3u_3 are displayed.

Uncertainties
  1. The video does not separately prove spanning; it presents the result after completing the three-step process on three vectors in R3R^3.

Proposition
Statement

The normalized vectors u1u_1, u2u_2, u3u_3 form an orthonormal basis for R3\mathbb{R}^3.

Hypotheses
  1. The original three vectors are in R3\mathbb{R}^3.

  2. The Gram-Schmidt process produced three nonzero orthogonal vectors.

  3. Each vector was normalized using the induced norm.

Quantifiers

For the specific example computed in the clip.

Derivations and proofs · 5

Gram-Schmidt procedure as a three-step construction

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide lists three numbered steps: w1=v1\mathbf{w}_1 = \mathbf{v}_1, wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n), and un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}.

  2. Audio
    Observation

    The narrator explains the same three-step order: initialize, subtract projections, then normalize.

Proof
Steps
  1. Expression
    w1=v1\mathbf{w}_1 = \mathbf{v}_1
    Explanation

    Start with the first basis vector unchanged as the first orthogonal intermediate vector.

    Justification

    Directly shown as Step 1 on the slide and described by the narrator.

    Shown in the video
  2. Expression
    wn=vn−∑i=1n−1proj⁡wi(vn)\mathbf{w}_n = \mathbf{v}_n - \sum_{i=1}^{n-1} \operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n)
    Explanation

    For each later vector, subtract its projections onto all previously constructed orthogonal vectors.

    Justification

    Shown as Step 2 on the slide and explained in the audio as removing components along previous vectors.

    Shown in the video
  3. Expression
    un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}
    Explanation

    Normalize each orthogonal intermediate vector to obtain a unit vector.

    Justification

    Shown as Step 3 on the slide and described by the narrator as dividing by the norm.

    Shown in the video
Conclusion

The procedure transforms v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …\ldots into u1\mathbf{u}_1, u2\mathbf{u}_2, u3\mathbf{u}_3, …\ldots, an orthonormal set.

Visual derivation that projection subtraction creates orthogonality

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The animation constructs the projection of v2\mathbf{v}_2 onto v1\mathbf{v}_1, then forms v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) and shows it perpendicular to v1\mathbf{v}_1.

  2. Audio
    Observation

    The narrator says subtracting the projection leaves a vector that does not point in the direction of the other vector, so the two are orthogonal.

Uncertainties
  1. This is a geometric demonstration rather than a full algebraic proof.

Visual argument
Steps
  1. Expression
    v1,v2\mathbf{v}_1, \mathbf{v}_2
    Explanation

    Begin with two non-orthogonal vectors in the plane.

    Justification

    Shown on the "Orthonormal Projections" slide.

    Shown in the video
  2. Expression
    proj⁡v1(v2)\operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
    Explanation

    Drop a perpendicular from the tip of v2\mathbf{v}_2 to the line through v1\mathbf{v}_1 to identify the component of v2\mathbf{v}_2 in the v1\mathbf{v}_1 direction.

    Justification

    Explained by the narrator as how much one vector points in the direction of another.

    Shown in the video
  3. Expression
    v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
    Explanation

    Subtract that component from v2\mathbf{v}_2.

    Justification

    The animation labels the resulting vector with this expression.

    Shown in the video
  4. Expression
    v1⊥(v2−proj⁡v1(v2))\mathbf{v}_1 \perp \left(\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)\right)
    Explanation

    The remaining vector is perpendicular to v1\mathbf{v}_1, as indicated by the right-angle marker.

    Justification

    Stated by the narrator and shown visually.

    Shown in the video
Conclusion

Removing the projection of v2\mathbf{v}_2 onto v1\mathbf{v}_1 leaves a vector orthogonal to v1\mathbf{v}_1, illustrating the core mechanism used in Gram-Schmidt.

Derivation of w2w_2 from v2v_2 and w1w_1

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board shows w2=v2w_2 = v_2 - proj_{w1w_1}(v2v_2), then the expanded projection formula, then intermediate values ⟨v2\langle v_2,w1⟩=1w_1\rangle = 1 and \|w1w_1\|^2=22 = 2, and finally w2=[−1/2,1/2,−1]Tw_2 = [-1/2,1/2,-1]^T.

  2. Audio
    Observation

    Narrator explains that the second vector is found by subtracting the orthogonal projection of v2v_2 onto v1v_1.

Proof
Steps
  1. Expression
    w1=v1=[110]\mathbf{w}_1 = \mathbf{v}_1 = \begin{bmatrix}1\\1\\0\end{bmatrix}
    Explanation

    Start with the first orthogonal vector equal to the first input vector.

    Justification

    Displayed formula under '1. Set initial vector'.

    Shown in the video
  2. Expression
    w2=v2−proj⁡w1(v2)\mathbf{w}_2 = \mathbf{v}_2 - \operatorname{proj}_{\mathbf{w}_1}(\mathbf{v}_2)
    Explanation

    Define the second vector by removing from v2v_2 its projection onto w1w_1.

    Justification

    Displayed formula under '2. Find subsequent vectors'.

    Shown in the video
  3. Expression
    w2=v2−⟨v2,w1⟩∥w1∥2w1\mathbf{w}_2 = \mathbf{v}_2 - \frac{\langle \mathbf{v}_2, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1
    Explanation

    Rewrite the projection using the inner-product formula.

    Justification

    Displayed algebraic expansion on screen.

    Shown in the video
  4. Expression
    ⟨v2,w1⟩=[110]⋅[01−1]=1\langle \mathbf{v}_2, \mathbf{w}_1 \rangle = \begin{bmatrix}1\\1\\0\end{bmatrix} \cdot \begin{bmatrix}0\\1\\-1\end{bmatrix} = 1
    Explanation

    Compute the numerator of the projection coefficient.

    Justification

    Explicit dot-product calculation shown on screen.

    Shown in the video
  5. Expression
    ∥w1∥2=[110]⋅[110]=2\|\mathbf{w}_1\|^2 = \begin{bmatrix}1\\1\\0\end{bmatrix} \cdot \begin{bmatrix}1\\1\\0\end{bmatrix} = 2
    Explanation

    Compute the squared norm in the denominator.

    Justification

    Explicit norm-squared calculation shown on screen.

    Shown in the video
  6. Expression
    w2=[01−1]−12[110]=[−1/21/2−1]\mathbf{w}_2 = \begin{bmatrix}0\\1\\-1\end{bmatrix} - \frac{1}{2}\begin{bmatrix}1\\1\\0\end{bmatrix} = \begin{bmatrix}-1/2\\1/2\\-1\end{bmatrix}
    Explanation

    Substitute the computed coefficient and simplify to the final vector.

    Justification

    Final displayed result for w2w_2.

    Shown in the video
Conclusion

The second Gram-Schmidt vector is w2=[−1/2,1/2,−1]Tw_2 = [-1/2, 1/2, -1]^T.

Derivation of w3w_3 from v3v_3, w1w_1, and w2w_2

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The board shows w3=v3w_3 = v_3 - proj_{w1w_1}(v3v_3) - proj_{w2w_2}(v3v_3), then the expanded formula, then the simplified coefficient form w3=v3−(1/2)w1−(1/3)w2w_3 = v_3 - (1/2)w_1 - (1/3)w_2, and finally w3=[2/3,−2/3,−2/3]Tw_3 = [2/3,-2/3,-2/3]^T.

  2. Audio
    Observation

    Narrator says for the last vector we need to subtract two orthogonal projections from both w1w_1 and w2w_2.

Uncertainties
  1. The intermediate dot products ⟨v3\langle v_3,w1⟩w_1\rangle, \|w2w_2\|^2, and ⟨v3\langle v_3,w2⟩w_2\rangle are not all shown as separate written lines in the sampled frames, although the simplified coefficients 1/21/2 and 1/31/3 are displayed.

Proof
Steps
  1. Expression
    w3=v3−proj⁡w1(v3)−proj⁡w2(v3)\mathbf{w}_3 = \mathbf{v}_3 - \operatorname{proj}_{\mathbf{w}_1}(\mathbf{v}_3) - \operatorname{proj}_{\mathbf{w}_2}(\mathbf{v}_3)
    Explanation

    Define the third vector by removing from v3v_3 its projections onto both earlier orthogonal vectors.

    Justification

    Displayed formula on screen.

    Shown in the video
  2. Expression
    w3=v3−⟨v3,w1⟩∥w1∥2w1−⟨v3,w2⟩∥w2∥2w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{\langle \mathbf{v}_3, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1 - \frac{\langle \mathbf{v}_3, \mathbf{w}_2 \rangle}{\|\mathbf{w}_2\|^2}\mathbf{w}_2
    Explanation

    Expand both projections using the inner-product formula.

    Justification

    Displayed algebraic expansion on screen.

    Shown in the video
  3. Expression
    w3=v3−12w1−13w2\mathbf{w}_3 = \mathbf{v}_3 - \frac{1}{2}\mathbf{w}_1 - \frac{1}{3}\mathbf{w}_2
    Explanation

    Substitute the computed projection coefficients.

    Justification

    Simplified displayed formula on screen.

    Shown in the video
  4. Expression
    w3=[2/3−2/3−2/3]\mathbf{w}_3 = \begin{bmatrix}2/3\\-2/3\\-2/3\end{bmatrix}
    Explanation

    Carry out the vector subtraction to obtain the third orthogonal vector.

    Justification

    Final displayed result for w3w_3.

    Shown in the video
Conclusion

The third Gram-Schmidt vector is w3=[2/3,−2/3,−2/3]Tw_3 = [2/3, -2/3, -2/3]^T.

Normalization of w1w_1, w2w_2, w3w_3 into u1u_1, u2u_2, u3u_3

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Yellow formula un=wnu_n = w_n / \|wnw_n\| and successive displayed norms and normalized vectors.

  2. Audio
    Observation

    Narrator says to normalize by dividing each vector by its norm and notes that the norm must be induced from the inner product.

Proof
Steps
  1. Expression
    un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}
    Explanation

    Apply the general normalization rule to each orthogonal vector.

    Justification

    Displayed yellow formula under '3. Normalize vectors'.

    Shown in the video
  2. Expression
    ∥w1∥=2,u1=[1/21/20]\|\mathbf{w}_1\| = \sqrt{2}, \quad \mathbf{u}_1 = \begin{bmatrix}1/\sqrt{2}\\1/\sqrt{2}\\0\end{bmatrix}
    Explanation

    Normalize the first vector.

    Justification

    Displayed norm and resulting u1u_1 on screen.

    Shown in the video
  3. Expression
    ∥w2∥=3/2,u2=[−1/61/6−2/3]\|\mathbf{w}_2\| = \sqrt{3/2}, \quad \mathbf{u}_2 = \begin{bmatrix}-1/\sqrt{6}\\1/\sqrt{6}\\-\sqrt{2/3}\end{bmatrix}
    Explanation

    Normalize the second vector.

    Justification

    Displayed norm and resulting u2u_2 on screen.

    Shown in the video
  4. Expression
    ∥w3∥=233,u3=[3/6−3/6−3/6]\|\mathbf{w}_3\| = \frac{2\sqrt{3}}{3}, \quad \mathbf{u}_3 = \begin{bmatrix}\sqrt{3}/6\\-\sqrt{3}/6\\-\sqrt{3}/6\end{bmatrix}
    Explanation

    Normalize the third vector.

    Justification

    Displayed norm and resulting u3u_3 on screen.

    Shown in the video
Conclusion

The normalized outputs are u1=[1/2,1/2,0]Tu_1 = [1/\sqrt{2}, 1/\sqrt{2}, 0]^T, u2=[−1/6,1/6,−2/3]Tu_2 = [-1/\sqrt{6}, 1/\sqrt{6}, -\sqrt{2/3}]^T, and u3=[3/6,−3/6,−3/6]Tu_3 = [\sqrt{3}/6, -\sqrt{3}/6, -\sqrt{3}/6]^T.

Worked examples · 2

Example: making two vectors orthogonal by subtracting a projection

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    The slide titled "Orthonormal Projections" shows vectors v1\mathbf{v}_1 and v2\mathbf{v}_2, then constructs v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2).

  2. Audio
    Observation

    The narrator says, "say for example we want to make the following vectors orthogonal under this standard dot product."

Uncertainties
  1. No numerical coordinates are given for v1\mathbf{v}_1 or v2\mathbf{v}_2.

Problem

Given two vectors v1\mathbf{v}_1 and v2\mathbf{v}_2 under the standard dot product, construct a new vector from v2\mathbf{v}_2 that is orthogonal to v1\mathbf{v}_1.

Given
  1. Two vectors v1\mathbf{v}_1 and v2\mathbf{v}_2 are shown in the plane.

  2. The inner product being used is the standard dot product.

Goal

Produce a vector orthogonal to v1\mathbf{v}_1 by removing the component of v2\mathbf{v}_2 in the v1\mathbf{v}_1 direction.

Steps
  1. Expression
    proj⁡v1(v2)\operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
    Explanation

    Identify the projection of v2\mathbf{v}_2 onto v1\mathbf{v}_1 by dropping a perpendicular from the tip of v2\mathbf{v}_2 to the line through v1\mathbf{v}_1.

    Justification

    The narrator defines projection as how much one vector points in the direction of another, and the animation shows the perpendicular drop.

    Shown in the video
  2. Expression
    v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)
    Explanation

    Subtract the projection from v2\mathbf{v}_2.

    Justification

    The resulting vector is explicitly labeled on screen.

    Shown in the video
  3. Expression
    v1⊥(v2−proj⁡v1(v2))\mathbf{v}_1 \perp \left(\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)\right)
    Explanation

    The new vector is orthogonal to v1\mathbf{v}_1.

    Justification

    A right-angle marker is shown between v1\mathbf{v}_1 and the cyan difference vector, and the narrator states the conclusion.

    Shown in the video
Answer

The vector v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is orthogonal to v1\mathbf{v}_1.

Verification

Verified visually by the right-angle marker and verbally by the narrator's statement that the two vectors are orthogonal.

Worked Gram-Schmidt example in R3R^3

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Input vectors v1=[1,1,0]Tv_1 = [1,1,0]^T, v2=[0,1,−1]Tv_2 = [0,1,-1]^T, v3=[1,0,−1]Tv_3 = [1,0,-1]^T are displayed.

  2. Audio
    Observation

    Narrator says they will do the Gram-Schmidt process on these three vectors in R3R^3 using the standard dot product.

  3. Formula
    Observation

    The full sequence of displayed steps produces w1w_1, w2w_2, w3w_3 and then u1u_1, u2u_2, u3u_3.

Problem

Apply the Gram-Schmidt process to the three vectors v1=[1,1,0]Tv_1 = [1,1,0]^T, v2=[0,1,−1]Tv_2 = [0,1,-1]^T, v3=[1,0,−1]Tv_3 = [1,0,-1]^T in R3R^3 using the standard dot product, and produce an orthonormal basis.

Given
  1. v1=[110]\mathbf{v}_1 = \begin{bmatrix}1\\1\\0\end{bmatrix}

  2. v2=[01−1]\mathbf{v}_2 = \begin{bmatrix}0\\1\\-1\end{bmatrix}

  3. v3=[10−1]\mathbf{v}_3 = \begin{bmatrix}1\\0\\-1\end{bmatrix}

  4. Inner product is the standard dot product on R3\mathbb{R}^3.

Goal

Find orthogonal vectors w1w_1,w2w_2,w3w_3 and then normalized vectors u1u_1,u2u_2,u3u_3 forming an orthonormal basis for R3\mathbb{R}^3.

Steps
  1. Expression
    w1=v1=[110]\mathbf{w}_1 = \mathbf{v}_1 = \begin{bmatrix}1\\1\\0\end{bmatrix}
    Explanation

    Keep the first vector unchanged.

    Justification

    Step 1 of the displayed Gram-Schmidt procedure.

    Shown in the video
  2. Expression
    w2=v2−⟨v2,w1⟩∥w1∥2w1=[−1/21/2−1]\mathbf{w}_2 = \mathbf{v}_2 - \frac{\langle \mathbf{v}_2, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1 = \begin{bmatrix}-1/2\\1/2\\-1\end{bmatrix}
    Explanation

    Remove from v2v_2 its component along w1w_1.

    Justification

    Projection formula shown and evaluated on screen.

    Shown in the video
  3. Expression
    w3=v3−⟨v3,w1⟩∥w1∥2w1−⟨v3,w2⟩∥w2∥2w2=[2/3−2/3−2/3]\mathbf{w}_3 = \mathbf{v}_3 - \frac{\langle \mathbf{v}_3, \mathbf{w}_1 \rangle}{\|\mathbf{w}_1\|^2}\mathbf{w}_1 - \frac{\langle \mathbf{v}_3, \mathbf{w}_2 \rangle}{\|\mathbf{w}_2\|^2}\mathbf{w}_2 = \begin{bmatrix}2/3\\-2/3\\-2/3\end{bmatrix}
    Explanation

    Remove from v3v_3 its components along w1w_1 and w2w_2.

    Justification

    Two-projection formula shown and simplified on screen.

    Shown in the video
  4. Expression
    u1=w1∥w1∥=[1/21/20]\mathbf{u}_1 = \frac{\mathbf{w}_1}{\|\mathbf{w}_1\|} = \begin{bmatrix}1/\sqrt{2}\\1/\sqrt{2}\\0\end{bmatrix}
    Explanation

    Normalize w1w_1.

    Justification

    Displayed normalization step with \|w1w_1\| = 2\sqrt{2}.

    Shown in the video
  5. Expression
    u2=w2∥w2∥=[−1/61/6−2/3]\mathbf{u}_2 = \frac{\mathbf{w}_2}{\|\mathbf{w}_2\|} = \begin{bmatrix}-1/\sqrt{6}\\1/\sqrt{6}\\-\sqrt{2/3}\end{bmatrix}
    Explanation

    Normalize w2w_2.

    Justification

    Displayed normalization step with \|w2w_2\| = 3/2\sqrt{3/2}.

    Shown in the video
  6. Expression
    u3=w3∥w3∥=[3/6−3/6−3/6]\mathbf{u}_3 = \frac{\mathbf{w}_3}{\|\mathbf{w}_3\|} = \begin{bmatrix}\sqrt{3}/6\\-\sqrt{3}/6\\-\sqrt{3}/6\end{bmatrix}
    Explanation

    Normalize w3w_3.

    Justification

    Displayed normalization step with \|w3w_3\| = 23/32\sqrt{3}/3.

    Shown in the video
Answer

An orthonormal basis produced by the example is u1=[1/2,1/2,0]Tu_1 = [1/\sqrt{2}, 1/\sqrt{2}, 0]^T, u2=[−1/6,1/6,−2/3]Tu_2 = [-1/\sqrt{6}, 1/\sqrt{6}, -\sqrt{2/3}]^T, u3=[3/6,−3/6,−3/6]Tu_3 = [\sqrt{3}/6, -\sqrt{3}/6, -\sqrt{3}/6]^T.

Verification

The narrator recommends checking pairwise dot products among w1w_1,w2w_2,w3w_3 to confirm orthogonality before normalization.

Visual events · 8

Opening matrix-decomposition title card

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The title "Matrix Decompositions" appears surrounded by formulas including A=UΣVTA = U\Sigma V^T, PA = LU, A=S−1ΛSA = S^{-1}\Lambda S, K=GTGK = G^T G, A = QR, and A=S−1A = S^{-1}JS.

Objects
  1. Title text "Matrix Decompositions"

  2. Surrounding decomposition formulas

Changes
  1. Formulas fade in around the central title.

Invariants
  1. The central title remains fixed while surrounding formulas appear.

Interpretation

This frames the clip as part of a matrix decomposition series and motivates the later mention of QR factorization.

3D basis-vector animation

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    Three colored vectors emanate from the origin in a 3D coordinate system while the axes rotate.

  2. Audio
    Observation

    The narrator says the process takes any set of basis vectors in an inner product space and turns them into an orthonormal basis.

Objects
  1. Three coordinate axes

  2. Three colored vectors from the origin

Changes
  1. The coordinate frame rotates in 3D.

Invariants
  1. The vectors remain anchored at the origin.

Interpretation

The rotating 3D frame visually represents a general basis in an inner product space before orthogonalization.

2D illustration of orthogonal unit vectors

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    A 2D grid shows two perpendicular vectors with a right-angle marker and the labels "Orthogonal vectors" and "Unit vectors \|u\mathbf{u}\| = 1".

Objects
  1. Cartesian grid

  2. Two perpendicular vectors

  3. Right-angle marker

  4. Text labels

Changes
  1. The view settles from 3D to a 2D grid.

  2. Labels for orthogonality and unit length appear.

Invariants
  1. The two displayed vectors remain perpendicular.

Interpretation

This visual defines the target output of Gram-Schmidt: mutually orthogonal vectors of length one.

Gram-Schmidt algorithm slide

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    A black slide titled "Gram-Schmidt Process" lists the three steps and the mapping from v1\mathbf{v}_1, v2\mathbf{v}_2, v3\mathbf{v}_3, …\ldots to u1\mathbf{u}_1, u2\mathbf{u}_2, u3\mathbf{u}_3, …\ldots.

Objects
  1. Title "Gram-Schmidt Process"

  2. Numbered steps 1--3

  3. Input and output vector sequences

Changes
  1. Each step appears sequentially.

  2. The final mapping line is boxed at the bottom.

Invariants
  1. The overall structure remains a three-step recursive procedure.

Interpretation

This is the formal algorithmic summary of the method introduced verbally earlier.

Projection-subtraction animation

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    On the "Orthonormal Projections" slide, v2\mathbf{v}_2 is projected onto v1\mathbf{v}_1, then the difference vector v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is shown perpendicular to v1\mathbf{v}_1.

Objects
  1. Vector v1\mathbf{v}_1

  2. Vector v2\mathbf{v}_2

  3. Projection segment onto v1\mathbf{v}_1

  4. Difference vector v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)

  5. Right-angle marker

Changes
  1. A perpendicular is dropped from v2\mathbf{v}_2 to the line of v1\mathbf{v}_1.

  2. The projection component is isolated.

  3. The residual vector is drawn and labeled.

  4. The final configuration shows orthogonality.

Invariants
  1. v1\mathbf{v}_1 remains fixed as the reference direction.

Interpretation

The animation demonstrates the geometric reason subtracting a projection removes the component along the reference vector.

Opening geometric illustration of projection

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Black background with title 'Orthonormal Projections'; a green vector labeled v1v_1 points up-right, a cyan vector labeled v2v_2 - proj_{v1v_1}(v2v_2) points down-right, and a small square marks a right angle between them.

Objects
  1. Title text 'Orthonormal Projections'

  2. Green vector v1\mathbf{v}_1

  3. Cyan vector v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2)

  4. Right-angle marker

Changes
  1. The clip presents a static conceptual diagram rather than an animated construction.

Invariants
  1. The two displayed vectors remain perpendicular throughout the interval.

  2. The label identifies the cyan vector as the residual after projection removal.

Interpretation

The picture visually encodes that subtracting the projection of v2v_2 onto v1v_1 leaves a vector orthogonal to v1v_1.

Display of the example inputs

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Three column vectors labeled v1v_1, v2v_2, v3v_3 are centered on a black background.

Objects
  1. v1=[1,1,0]T\mathbf{v}_1 = [1,1,0]^T

  2. v2=[0,1,−1]T\mathbf{v}_2 = [0,1,-1]^T

  3. v3=[1,0,−1]T\mathbf{v}_3 = [1,0,-1]^T

Changes
  1. The scene changes from the geometric diagram to a purely algebraic setup.

Invariants
  1. All three vectors are treated as elements of R3\mathbb{R}^3.

Interpretation

This screen establishes the concrete data for the Gram-Schmidt computation.

Sequential whiteboard-style progression of the algorithm

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Headers change from '1. Set initial vector' to '2. Find subsequent vectors' to '3. Normalize vectors'.

  2. Formula
    Observation

    Intermediate results accumulate: first w1w_1, then w2w_2, then w3w_3, then u1u_1,u2u_2,u3u_3.

Objects
  1. Section headers

  2. Orthogonal vectors w1w_1,w2w_2,w3w_3

  3. Normalized vectors u1u_1,u2u_2,u3u_3

  4. Projection formulas

Changes
  1. The board first defines w1w_1, then expands to compute w2w_2, then adds w3w_3, and finally replaces the w-labels with normalized u-labels.

Invariants
  1. The layout keeps the original input vectors visible while new derived vectors are added below or beside them.

  2. The process proceeds in the same order throughout: orthogonalize first, normalize last.

Interpretation

The visual organization mirrors the Gram-Schmidt algorithm as a staged construction rather than a single formula dump.

Misconceptions · 4

Orthogonal is not the same as orthonormal

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator separates the two requirements: mutually orthogonal vectors and unit vectors.

  2. Diagram
    Observation

    The slide labels "Orthogonal vectors" and "Unit vectors \|u\mathbf{u}\| = 1" as distinct conditions.

Misconception

A set of vectors can be orthogonal without being orthonormal.

Clarification

The clip distinguishes orthogonality (pairwise 90-degree angles) from normalization (each vector having length 1). Orthonormality requires both conditions simultaneously.

Projection extracts only the component along the reference direction

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator describes projection as how much one vector points in the direction of another.

  2. Animation
    Observation

    Only a component along v1\mathbf{v}_1 is extracted before subtraction; the remainder is drawn separately.

Misconception

One might think projecting v2\mathbf{v}_2 onto v1\mathbf{v}_1 replaces v2\mathbf{v}_2 entirely or captures all of its information.

Clarification

The animation shows that proj⁡v1(v2)\operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) is only the part of v2\mathbf{v}_2 lying in the v1\mathbf{v}_1 direction; subtracting it leaves the perpendicular residual.

Using an unrelated norm for normalization

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says the norm used here must be induced from the inner product, and in this case it is simply the square root of the vector dotted with itself.

Misconception

One might normalize vectors with any convenient length function even after choosing a particular inner product for projections.

Clarification

The clip explicitly warns that the norm must be the one induced by the chosen inner product; here that means \|w\| = w⋅w\sqrt{w \cdot w}.

Skipping verification after projection subtraction

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator repeatedly says you can check orthogonality by dotting the vectors and making sure you get zero.

Misconception

After applying the projection formula, one may assume the result is automatically correct without checking.

Clarification

The video recommends verifying pairwise dot products to ensure the newly constructed vectors are indeed orthogonal.

Concept relations · 10

Orthonormal basis → Purpose of the Gram-Schmidt process

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator first defines orthonormal bases and then says Gram-Schmidt turns basis vectors into an orthonormal basis.

Prerequisite
Explanation

Understanding what an orthonormal basis is provides the target concept that Gram-Schmidt constructs.

Geometric meaning of orthogonal projection → Gram-Schmidt Step 2: subtract orthogonal projections

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Step 2 uses proj⁡wi(vn)\operatorname{proj}_{\mathbf{w}_i}(\mathbf{v}_n), and the later example explains the geometric meaning of projection.

Proof dependency
Explanation

The recursive subtraction step depends on the notion of orthogonal projection; the example supplies the geometric justification for why subtraction creates orthogonality.

Gram-Schmidt Step 2: subtract orthogonal projections → Gram-Schmidt Step 3: normalization

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide first constructs wn\mathbf{w}_n and then defines un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}.

Contains
Explanation

The Gram-Schmidt method contains orthogonalization as an intermediate stage followed by normalization to reach an orthonormal set.

Purpose of the Gram-Schmidt process → Opening matrix-decomposition title card

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator says the clip covers the Gram-Schmidt process in preparation for the QR factorization.

  2. Animation
    Observation

    The opening title card includes A = QR among matrix decompositions.

Application
Explanation

The video presents Gram-Schmidt as a tool used in preparation for QR factorization within the broader matrix-decomposition theme.

Geometric meaning of orthogonal projection → Second Gram-Schmidt vector by projection removal

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Opening diagram shows v2v_2 - proj_{v1v_1}(v2v_2) perpendicular to v1v_1.

  2. Formula
    Observation

    Later the algorithm uses w2=v2w_2 = v_2 - proj_{w1w_1}(v2v_2).

Application
Explanation

The geometric idea introduced at the start is directly applied as the computational rule for constructing the second Gram-Schmidt vector.

Inner product choice for the example → Second Gram-Schmidt vector by projection removal

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator specifies the standard dot product as the inner product.

  2. Formula
    Observation

    Projection formulas are written using ⟨⋅\langle \cdot, ⋅⟩\cdot \rangle and \|⋅\cdot\|^2.

Prerequisite
Explanation

Choosing the inner product is required before the projection formula and norm-squared denominator can be evaluated.

First step of Gram-Schmidt: keep the initial vector → Second Gram-Schmidt vector by projection removal

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    w1w_1 is defined first, then used inside the formula for w2w_2.

Proof dependency
Explanation

The construction of w2w_2 depends on having already fixed w1w_1.

Second Gram-Schmidt vector by projection removal → Third Gram-Schmidt vector by removing components along all earlier vectors

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The formula for w3w_3 subtracts projections onto both w1w_1 and w2w_2.

Proof dependency
Explanation

The third vector requires the earlier orthogonal vectors w1w_1 and w2w_2 as the directions to be removed.

Third Gram-Schmidt vector by removing components along all earlier vectors → Normalization step in Gram-Schmidt

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    After displaying w1w_1,w2w_2,w3w_3, the board switches to '3. Normalize vectors' and defines un=wnu_n = w_n / \|wnw_n\|.

  2. Audio
    Observation

    Narrator calls normalization the last part of the Gram-Schmidt process.

Generalizes
Explanation

The process first builds an orthogonal set and then strengthens the result to an orthonormal set by normalization.

Inner product choice for the example → Norm induced by the inner product

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says the norm must be induced from the inner product.

  2. Formula
    Observation

    Norms are computed from dot products with themselves.

Contains
Explanation

The chosen inner product determines the specific norm used in normalization.

Find an answer · 9

What does it mean for a basis to be orthonormal?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    The narrator defines orthonormal basis using mutual orthogonality and unit length.

Knowledge points
  1. Orthonormal basis

What are the three steps of the Gram-Schmidt process?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide lists the three steps of the Gram-Schmidt process.

Knowledge points
  1. Purpose of the Gram-Schmidt process
  2. Gram-Schmidt Step 1: initial vector
  3. Gram-Schmidt Step 2: subtract orthogonal projections
  4. Gram-Schmidt Step 3: normalization

Why does subtracting an orthogonal projection make two vectors orthogonal?

Clear evidence
Shown in the video
Evidence
  1. Animation
    Observation

    The example shows v2−proj⁡v1(v2)\mathbf{v}_2 - \operatorname{proj}_{\mathbf{v}_1}(\mathbf{v}_2) becoming perpendicular to v1\mathbf{v}_1.

Knowledge points
  1. Geometric meaning of orthogonal projection
  2. Gram-Schmidt Step 2: subtract orthogonal projections
  3. Subtracting the projection produces an orthogonal vector

How do you normalize the vectors after orthogonalization in Gram-Schmidt?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    The slide shows un=wn∥wn∥\mathbf{u}_n = \frac{\mathbf{w}_n}{\|\mathbf{w}_n\|}.

Knowledge points
  1. Gram-Schmidt Step 3: normalization

How is the Gram-Schmidt process applied to three vectors in R3R^3?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says they will be doing the Gram-Schmidt process on three vectors in R3R^3.

  2. Formula
    Observation

    Full worked sequence from inputs to orthonormal output is displayed.

Knowledge points
  1. Inner product choice for the example
  2. First step of Gram-Schmidt: keep the initial vector
  3. Second Gram-Schmidt vector by projection removal
  4. Third Gram-Schmidt vector by removing components along all earlier vectors
  5. Normalization step in Gram-Schmidt

Why does subtracting an orthogonal projection make the next vector perpendicular to the previous one?

Clear evidence
Shown in the video
Evidence
  1. Diagram
    Observation

    Opening right-angle diagram labels the remainder as v2v_2 - proj_{v1v_1}(v2v_2).

  2. Formula
    Observation

    w2w_2 is computed by subtracting proj_{w1w_1}(v2v_2).

Knowledge points
  1. Geometric meaning of orthogonal projection
  2. Second Gram-Schmidt vector by projection removal

How can I verify that the vectors produced by Gram-Schmidt are orthogonal?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says to check orthogonality by dotting the vectors and making sure the result is zero.

Knowledge points
  1. Verification method for orthogonality
  2. Orthogonality of the first two constructed vectors
  3. Mutual orthogonality of w1w_1, w2w_2, w3w_3

Which norm should be used when normalizing Gram-Schmidt vectors?

Clear evidence
Shown in the video
Evidence
  1. Audio
    Observation

    Narrator says the norm used must be induced from the inner product.

  2. Formula
    Observation

    un=wnu_n = w_n / \|wnw_n\| and explicit norms are shown.

Knowledge points
  1. Normalization step in Gram-Schmidt
  2. Norm induced by the inner product
  3. Using an unrelated norm for normalization

What is the final orthonormal basis obtained in this example?

Clear evidence
Shown in the video
Evidence
  1. Formula
    Observation

    Final displayed u1u_1, u2u_2, u3u_3 vectors.

Knowledge points
  1. Normalization step in Gram-Schmidt
  2. Conclusion of the worked example
Coverage and review notes

Covered · Opening title card situates the clip within matrix decompositions and mentions QR among other formulas.

Covered · Narrator introduces Gram-Schmidt as converting basis vectors into an orthonormal basis while a 3D basis animation plays.

Covered · The clip defines orthogonality and unit length visually and verbally.

Covered · The full three-step Gram-Schmidt algorithm is displayed and narrated.

Covered · A geometric example shows projection subtraction producing an orthogonal vector.

Covered · Opening geometric motivation for orthogonal projection and perpendicularity.

Covered · Setup of the three input vectors in R3R^3 and choice of standard dot product.

Covered · Step 1: set w1=v1w_1 = v_1.

Covered · Step 2: compute w2w_2 by subtracting the projection of v2v_2 onto w1w_1.

Covered · Verbal recommendation to check w1⋅w2=0w_1 \cdot w_2 = 0.

Covered · Step 2 continuation: compute w3w_3 by subtracting projections onto w1w_1 and w2w_2.

Covered · Step 3: normalize w1w_1,w2w_2,w3w_3 to obtain u1u_1,u2u_2,u3u_3 and conclude an orthonormal basis for R3R^3.

Explore the knowledge in this video

Open video knowledge graph →

  • Orthonormal bases ExplanationAt 0:20
    Why this connection?

    Reviewed English material v1: card "Orthonormal basis" at 0:20 — An orthonormal basis is a set of vectors that are pairwise orthogonal and each have length 1. The clip separates these two conditions and illustrates them with perpendicular unit arrows on a grid.