Final answer:
The directional derivative of the function g(x, y, z) at the point (2,1,-4) in the direction of vector (1, -4,2) is 3/√21.
Step-by-step explanation:
The question is asking to calculate the directional derivative of the function g(x, y, z) = z^2 − xy + 4y^2 at the point P = (2,1,−4) in the direction of the vector v = (1, -4,2). To begin with, we need to find the gradient of g and then normalize the direction vector v.
First, we find the partial derivatives of g with respect to x, y, and z:
- gx = −y
- gy = −4y − x
- gz = 2z
The gradient vector of g at P is ∇g(2, 1, −4) = (gx, gy, gz) evaluated at P, which is (−1, −3, −8).
Next, we normalize the direction vector v. The unit vector in the direction of v is given by v/|v|, where |v| is the magnitude of v. The magnitude |v| = √(1^2 + (−4)^2 + 2^2) = √21. Hence, the unit vector is v/|v| = (1/√21, −4/√21, 2/√21).
Finally, the directional derivative Dvg(2, 1, −4) is the dot product of the gradient vector and the unit vector in the direction of v: Dvg(2, 1, −4) = ∇g ⋅ (v/|v|) = (−1, −3, −8) ⋅ (1/√21, −4/√21, 2/√21) = (−1/√21 − 12/√21 + 16/√21) = 3/√21.