We find tangent planes.

As we are hoping is becoming a habit, let’s start by looking again at the case of functions of one variable, and use what we know from our previous calculus courses to answer our questions in higher dimensions. As usual with this strategy, we proceed with care. In the past you may have learned:

Given a function and a number in the domain of , if one can “zoom in” on the graph at sufficiently so that it appears to be a straight line, then the function is differentiable, and that line is the tangent line to at the point .

We illustrate this informal definition with the following diagram:

We can give a similar informal definition for functions of two variables.

Given a function and a vector in the domain of , if one can “zoom in” on the graph at sufficiently so that it appears to be a plane, then the function is differentiable, and that plane is the tangent plane to at the point .

Let’s turn our attention to finding an equation for this tangent plane.

The single variable case

Given a function and a point of interest in the domain of , we have previously found an equation for the tangent line to at , which we also called the linear approximation to at .

There are two things we should notice about this linear approximation.

First, think about geometry We know that:

  • is the “height” of at .
  • is the rate of change of at .
  • is the distance we have moved from the point .

Multiplying and gives us an approximate change in the value of the function, so to find the new approximate function value, we need to add on our original height, or .

So we see that:

Second, this is an approximation Specifically the tangent line to a function is a line constructed so that:

When the values of and are equal at , and they are changing at the same rates at , then it is only reasonable that is a good approximation of . Moreover, is also the first-order Taylor approximation to . Recall, the degree Taylor polynomial for at is:

This polynomial starts with the linear approximation, and then adds higher degree terms.

The two variable case

Now consider a differentiable function . Here the formula for the tangent plane at is given by: We will work as we did above.

First, think about geometry Finally, let’s look at some of the geometry of the equation we just found. Working in an entirely similar way as before, we know that:

  • is the “height” of at .
  • is the rate of change of at in the -direction.
  • is the rate of change of at in the -direction.
  • is the distance we have moved from the point in the -direction.
  • is the distance we have moved from the point in the -direction.

Multiplying and gives us an approximate change in the value of the function when moving in the -direction. Multiplying and gives us an approximate change in the value of the function when moving in the -direction. Adding these two together, we see that we have moved away from the point , and we are combining these rates of change to get an approximate change in the value of . Adding this to our original function value gives us our new approximate function value. In other words, approximates near .

So we see that:

Second, this is an approximation Note, first that is a plane. To be a bit pedantic, we can write

and rearranging, we find: and this is the equation of a plane, as it is: Let’s see if you get this.
Given a differentiable function , find a vector normal to the plane .

Now note that the function is cooked-up so that:

So we see that is a plane that approximates near the point .

Let . Find a tangent plane at .
Find a vector normal to the plane you found above.
From above you see: So now write:

Foreshadowing a bit, our formula for our linear approximation is:

This look like what we might want from a first-order Taylor approximation to our function as:

Said in words, the tangent plane at touches the surface at and the first partial derivatives of and agree at .

Saying the tangent plane has the same partial derivatives as the function is another way of saying that tangent plane has to contain the tangent lines we can find using the partial derivatives.

Try your hand at this question:

Find an equation for the tangent plane to at .

Moreover, tangent planes are linear approximations of differentiable surfaces.

Let be a differentiable function where you know that and that and . Give a plane tangent to at the point and use this tangent plane to approximate the value of . First we write the linear approximation, meaning the tangent plane: So we believe that .

Generalizing with the gradient vector

Above, given a function , we wrote our linear approximation as: We can rewrite this using the gradient vector as follows: where and . Now check this out, the formula actually works in all dimensions! So now if you have a function of three variable, we set and and we can unpack this formula as:

Moreover, if we are working with functions of a single variable, then where and . I like to say that the formula is “one formula to rule them all,” since when you know this formula, you know how to compute linear approximations in all dimensions.

An in-depth example

Our final example brings together several concepts.