How to find grad u of a function of three variables at a point
The rule: grad u = (u_x, u_y, u_z)
The gradient of a function u(x,y,z) is the vector built from its three partial derivatives:
gradu=(∂x∂u,∂y∂u,∂z∂u)
For a point you do it in two stages: first differentiate in general form, then substitute the coordinates of the point into each component. It points in the direction of the fastest growth of u, and its length is the rate of that growth.
Problem
A function u=xy2z2 is given. Find gradu at the point M(31,2,32).
Answer
graduM=(−23,−21,26)=(−1.5,−0.5,1.2247…)
Checked by hand: all three components were recomputed from scratch.
Step-by-step solution
1. Differentiate in general form
Write the function as u=z2⋅x−1⋅y−2 - in this shape every derivative is a power rule. With respect to x (here z2y−2 is a constant):
∂x∂u=−x2y2z2
With respect to y:
∂y∂u=−xy32z2
With respect to z:
∂z∂u=xy22z
2. Substitute the point
At M we have x=31, y=2, z=32, so z2=32 - the root disappears in the first two components:
∂x∂uM=−91⋅432=−9432=−32⋅49=−23
∂y∂uM=−31⋅82⋅32=−3834=−21
In the third component the root stays. Using 32=36:
∂z∂uM=31⋅4232=2332=23⋅36=26
3. Assemble the vector
graduM=(−23,−21,26)
Its length, if the problem asks for the rate of the fastest growth, is