00:01
First, let's make sure you want a new two are orthogonal.
00:05
So we're just going to take the dot product.
00:09
So we get minus 12 plus 12 plus 0, which in fact gives us 0.
00:16
So these are orthogonate each other.
00:19
So now we want to find the orthogonal projection of y onto the span of you want to need to.
00:27
So we have a formula for this.
00:30
So our new vector, y hat, is equal to the projection.
00:35
Onto u1 which is y.
00:39
U1 u1 .1 times u1 and the projection of y onto u2 so we take the dot product with u2 u2 dot product with itself times u2 so let's go ahead and find these coefficients off to the side so y dot u1 is equal to 18 plus plus 12 plus 0.
01:15
So we get 30.
01:19
U1.
01:20
Dot product with itself.
01:21
We square all the components and add them together.
01:24
So we have 9 plus 16, which gives us 25.
01:30
Now for the second one, we have y .u2.
01:36
Negative 4 times 6 is minus 24.
01:40
3 times 3 is 9, and then we'll get a 0.
01:45
So negative 24 plus 9...