00:01
Okay, so trying to get closest to the point one -one -one with giving this equation x plus 2y plus 3z equals 13 so if we want our f -of -x y equation x y -z equation it's gonna look like x minus 1 squared plus y minus 1 squared plus z minus 1 squared given that our points are 1 -11 1 to find a distance to that, it would be x minus the point squared, y minus the point squared, and z minus the point squared.
00:47
So that's why it's going to be minus one and not like a plus one.
00:52
And then our g of x, y, z is going to be equal to x plus 2y plus 3 z minus 13 is equal to 0.
01:05
Now, del of f of x y z is going to be equal to lambda times, del o g x y z so we're gonna have two times x minus one and i hat plus two times y minus one and j hat plus two times z minus one the k hat it's going to be equal to lambda i hat plus two lambda j hat plus 3 lambda k hat so that means that we're going to have i'm going to simplify a little bit so 2x minus 2 is going to be equal to lambda 2 y minus 2 is going to be equal to 2 lambda and then 2 z minus 2 is going to be equal to 3 lambda all right and then i'm going to solve each one of these for the variable itself, x, y, z.
02:32
So for x, i'm going to get x is equal to lambda plus 2 over 2.
02:39
Y is going to be 2 lambda plus 2 over 2.
02:47
We could simplify that if we want.
02:49
Y could also be equal to lambda plus 1.
02:53
And then z is going to be equal to 3 lambda plus 2 over 2.
03:09
Okay, so now that we have all these, we can plug it back into our g of x, y, z equation.
03:16
So we're going to have x, lambda, plus 2 over 2, plus y, plus 2, so there's going to be 2 times land up plus 2 over 2, sorry, 2 land up plus 2 over 2, plus 3 z, 3 times 3 lambda plus 2 over 2 over 2.
03:51
Is going to be equal to 13.
03:57
So these are going to cancel.
04:01
But what i'm going to do is i'm going to make all these denominators common.
04:07
So i'm going to have actually i'm not going to cancel these out...