How to find a linear approximation in two variables
If you’ve used a tangent line to estimate a function in one variable, we can do the same thing with a tangent plane in two variables. This time we need two slopes, one for a change in x and one for a change in y.
Build the linear approximation from two slopes
For a differentiable function near , start with the height . The partial derivative is the slope in the direction, so multiply it by the change . The partial derivative is the slope in the direction, so multiply it by .
The formula gives the height on the tangent plane. At the base point, both changes are zero and we get . For points close to , we use to estimate .
Find the height at the base point
Let and use the base point . Plug both coordinates into the function to find the starting height.
Find the slopes in the x and y directions
When we differentiate with respect to , treat as a constant. When we differentiate with respect to , treat as a constant. Then plug into each partial derivative.
Put the height and the slopes together
For example, at , the coordinate increases by and the coordinate decreases by . The plane gives an estimate of . The function itself gives about at that point.