In the previous tutorial, we learned all about orthogonal vectors, and how we can generate from these a set of orthonormal vectors by taking each vector and dividing it by its length.
This makes each vector's length equal to one, and since they were already orthogonal, the new vectors become orthonormal.
But what if we start with a set of vectors that are not already orthogonal? Furthermore, how do we go about making an orthonormal basis for a vector space, given any set of vectors that form a basis? To do this, we need to learn something called the Gram-Schmidt process, so let's take a look at this now.
To see how this works, let's examine the vectors V1 to Vn, which serve as a basis for the vector space V.
The Gram-Schmidt process takes these vectors and forms a new orthogonal set of basis vectors, which we will label U1 to Un.
First, start by setting the first new vector, u1, equal to the first basis vector, v1.
For the second step, take the second vector, v2, and subtract from it the inner product between v2 and u1, divided by the length of u1 squared, times the vector u1.
In the previous tutorial, we learned all about orthogonal vectors, and how we can generate from these a set of orthonormal vectors by taking each vector and dividing it by its length.
This makes each vector's length equal to one, and since they were already orthogonal, the new vectors become orthonormal.
But what if we start with a set of vectors that are not already orthogonal? Furthermore, how do we go about making an orthonormal basis for a vector space, given any set of vectors that form a basis? To do this, we need to learn something called the Gram-Schmidt process, so let's take a look at this now.
To see how this works, let's examine the vectors V1 to Vn, which serve as a basis for the vector space V.
The Gram-Schmidt process takes these vectors and forms a new orthogonal set of basis vectors, which we will label U1 to Un.
First, start by setting the first new vector, u1, equal to the first basis vector, v1.
For the second step, take the second vector, v2, and subtract from it the inner product between v2 and u1, divided by the length of u1 squared, times the vector u1.
15 min left
Up next · 8:15
Rewrites vector lengths and inner products using dot products. Calculates the first, second, and third orthogonal vectors. Shows that the resulting vectors form an orthogonal basis. Normalizes each vector to produce an orthonormal basis. Notes that the process also applies to other vector spaces with different inner products.
Search every transcript — find any word, phrase or idea across every show Radar covers
Trends — see what podcasts are suddenly talking about
Alerts — get an email when a brand or person you follow is mentioned
Reports — turn mentions into a PDF report you can share