00:01
In this problem, we're given a few different functions, and we're given a position to evaluate that function at and a direction.
00:06
And then we want to evaluate the directional derivative in that direction that we're given.
00:11
So in the first part here, f of x, y, is equal to x to the y, and the point that we're evaluating it at is x, y are both equal to e.
00:23
And the direction, and i'm going to write this in terms of a unit vector n, is equal to 1 over 13.
00:31
Times 5 in the x direction and 12 in the y direction.
00:36
This is written in the book as 5i vector plus 12 j vector, and this is the same thing.
00:44
I've just normalized the vector so that when we dot it with the gradient, we don't need to worry about the normalization at all.
00:50
So let's jump into calculating the gradient of f in the x direction.
00:55
This is just going to be equal to y times x times y minus 1, going in the direction of the x unit variable.
01:03
And the y part is a little bit harder.
01:06
I will just note that you can also write this as e to the power log xy, which is also equal to e to the y times log x.
01:21
And that makes it a little bit easier to take the derivative with respect to y.
01:25
So we end up with a factor of log x from the chain rule.
01:30
Times e to the y, log x in the y direction.
01:38
And now if we plug in x equals e and y equal e, this is just equal to e to the e times in the x and y direction, actually.
01:49
The magnitude of each of these is the same.
01:53
And so now if we dot this in with the direction n, so df, d, n, being equal to the direction n, n dotted in with the gradient of f.
02:04
This is just going to give us 17 divided by 13 times e to the e...