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 \(f\) and a number \(a\) in the domain of \(f\), if one can “zoom in” on the graph at \((a, f(a))\) sufficiently so that it appears to be a straight line, then the function is differentiable, and that line is the tangent line to \(f\) at the point \((a,f(a))\).
We illustrate this informal definition with the following diagram:
We can give a similar informal definition for functions of two variables.
Given a function \(F:\R ^2\to \R \) and a vector \(\vec {a}\) in the domain of \(F\), if one can “zoom in” on the graph at \((\vec {a}, F(\vec {a}))\) sufficiently so that it appears to be a plane, then the function is differentiable, and that plane is the tangent plane to \(F\) at the point \((\vec {a},F(\vec {a}))\).
Let’s turn our attention to finding an equation for this tangent plane.
1 The single variable case
Given a function \(f : \R \to \R \) and a point of interest \(x=a\) in the domain of \(f\), we have previously found an equation for the tangent line to \(f\) at \(x=a\), which we also called the linear approximation to \(f\) at \(x=a\).
There are two things we should notice about this linear approximation.
First, think about geometry We know that:
- \(f(a)\) is the “height” of \(f\) at \(x=a\).
- \(f'(a)\) is the rate of change of \(f\) at \(a\).
- \((x-a)\) is the distance we have moved from the point \(a\).
Multiplying \(f'(a)\) and \((x-a)\) 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 \(f(a)\).
So we see that:
Second, this is an approximation Specifically the tangent line \(\l \) to a function \(f\) is a line constructed so that:
- \(\l (a) = f(a)\)
- \(\l '(a) = f'(a)\)
When the values of \(\l \) and \(f\) are equal at \(x=a\), and they are changing at the same rates at \(x=a\), then it is only reasonable that \(\l \) is a good approximation of \(f\). Moreover, \(\l \) is also the first-order Taylor approximation to \(f\). Recall, the degree \(n\) Taylor polynomial for \(f\) at \(x=a\) is:
This polynomial starts with the linear approximation, and then adds higher degree terms.
2 The two variable case
Now consider a differentiable function \(F : \R ^2 \to \R \). Here the formula for the tangent plane at \(\vec {a} =\vector {a,b}\) 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:
- \(F(\vec {a})\) is the “height” of \(F\) at \(\vector {x,y} = \vec {a}\).
- \(F^{(1,0)}(\vec {a})\) is the rate of change of \(F\) at \(\vector {x,y} = \vec {a}\) in the \(x\)-direction.
- \(F^{(0,1)}(\vec {a})\) is the rate of change of \(F\) at \(\vector {x,y} = \vec {a}\) in the \(y\)-direction.
- \((x-a)\) is the distance we have moved from the point \(a\) in the \(x\)-direction.
- \((y-b)\) is the distance we have moved from the point \(a\) in the \(y\)-direction.
Multiplying \(F^{(1,0)}(\vec {a})\) and \((x-a)\) gives us an approximate change in the value of the function when moving in the \(x\)-direction. Multiplying \(F^{(0,1)}(\vec {a})\) and \((y-b)\) gives us an approximate change in the value of the function when moving in the \(y\)-direction. Adding these two together, we see that we have moved away from the point \(\vec {a}\), and we are combining these rates of change to get an approximate change in the value of \(F\). Adding this to our original function value \(F(\vec {a})\) gives us our new approximate function value. In other words, \(L\) approximates \(F\) near \(\vector {x,y} = \vec {a}\).
So we see that:
Second, this is an approximation Note, first that \(z=L (x,y)\) 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.
Now note that the function \(L\) is cooked-up so that:
- \(L(a,b) = F(a,b)\)
- \(L^{(1,0)} (a,b) = F^{(1,0)}(a,b)\)
- \(L^{(0,1)} (a,b) = F^{(0,1)}(a,b)\)
So we see that \(z=L(x,y)\) is a plane that approximates \(z=F(x,y)\) near the point \((a,b,F(a,b))\).
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 \(F\) as:
- \(L(a,b) = F(a,b)\)
- \(L^{(1,0)} (a,b) = F^{(1,0)}(a,b)\)
- \(L^{(0,1)} (a,b) = F^{(0,1)}(a,b)\)
Said in words, the tangent plane at \(\vec {a}\) touches the surface at \(\vec {a}\) and the first partial derivatives of \(L\) and \(F\) agree at \(\vec {a}\).
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:
Moreover, tangent planes are linear approximations of differentiable surfaces.
3 Generalizing with the gradient vector
Above, given a function \(F:\R ^2\to \R \), we wrote our linear approximation as:
We can rewrite this using the gradient vector as follows:
where \(\vec {x} = \vector {x,y}\) and \(\vec {a} = \vector {a,b}\). Now check this out, the formula
actually works in all dimensions! So now if you have a function of three variable, we set \(\vec {x} = \vector {x,y,z}\) and \(\vec {a} = \vector {a,b,c}\) and we can unpack this formula as:
Moreover, if we are working with functions of a single variable, then
where \(\vec {a} = \vector {a}\) and \(\vec {x} = \vector {x}\). 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.
4 An in-depth example
Our final example brings together several concepts.
- (a)
- Find an equation for the plane tangent to \(F\) at \((x,y) = (1,2)\).
- (b)
- Show that the line \(y = 3x - 1\) passes through the point \((1,2)\).
- (c)
- Find a parametric description for the curve lying above \(y = 3x-1\) on the surface \(z = F(x,y)\). Call this description \(\vec {p}\).
- (d)
- Find a vector-valued formula for the line tangent to the curve \(\vec {p}(t)\) at the point \((1, 2, F(1,2))\). Call this \(\vecl \).
- (e)
- Does the tangent line drawn by \(\vecl (t)\) lie in the plane tangent to \(F\) at \((x,y)=(1,2)\)?
For part (b), note that we are working here in the \((x,y)\)-plane \((x,y,z)\)-space. We would like to see that the point \((1,2)\) lies on the line given. To do this, we plug in \(x = \answer [given]{1}\) to the equation \(y = 3x - 1\). We see that
So we conclude that the point \((1, 2)\) is is not on the line \(y = 3x-1\).
For part (c), we would like a parametric description \(\vec {m}(t)\) of the line \(y = 3x-1\) in the \((x,y)\)-plane. Since this line is already expressed in terms of \(x\), the simplest choice is to take \(x = \answer [given]{t}\). We find
Does the tangent line \(\vecl (t)\) lie in the tangent plane to \(F\) at \((1,2)\)?
We could solve this problem by simply plugging in the coordinate functions of \(\vecl (t)\) to the equation \(z = L(x,y)\) to see if the two sides of the equals sign agree. Instead, let’s use a little geometry!
We know that both the tangent plane \(z=L(x,y)\) and the line \(\vecl (t)\) pass through the point \((1, 2, 11)\). Since \(\vecl (t)\) is a line, its tangent vector \(\vec {v}\) tells us everything we need to know about its direction. Since \(L(x,y)\) is a plane, its normal vector \(\vec {n}\) tells us everything we need to know about its direction. Then, if \(\vec {v} \dotp \vec {n} = \answer [given]{0}\), we know that the vector \(\vec {v}\) must lie in the plane—and thus the entire line \(\vecl (t)\) must line in the plane as well! First, find \(\vec {v}\).