Tangent Planes and Linear Approximations

Learning Outcomes

  • Determine the equation of a plane tangent to a given surface at a point.
  • Use the tangent plane to approximate a function of two variables at a point.

Tangent Planes

Intuitively, it seems clear that, in a plane, only one line can be tangent to a curve at a point. However, in three-dimensional space, many lines can be tangent to a given point. If these lines lie in the same plane, they determine the tangent plane at that point. A tangent plane at a regular point contains all of the lines tangent to that point. A more intuitive way to think of a tangent plane is to assume the surface is smooth at that point (no corners). Then, a tangent line to the surface at that point in any direction does not have any abrupt changes in slope because the direction changes smoothly.

Definition


Let [latex]P_{0}=(x_0,\ y_0,\ z_0)[/latex] be a point on a surface [latex]S[/latex], and let [latex]C[/latex] be any curve passing through [latex]P_0[/latex] and lying entirely in [latex]S[/latex]. If the tangent lines to all such curves [latex]C[/latex] at [latex]P_0[/latex] lie in the same plane, then this plane is called the tangent plane to [latex]S[/latex] at [latex]P_0[/latex] (Figure 1).

A surface S is shown with a point P0 = (x0, y0, z0). There are two intersecting curves shown on S that pass through P0. There are tangents drawn for each of these curves at P0, and these tangent lines create a plane, namely, the tangent plane at P0.

Figure 1. The tangent plane to a surface [latex]\small{S}[/latex] at a point [latex]\small{P_{0}}[/latex] contains all the tangent lines to curves in [latex]\small{S}[/latex] that pass through [latex]\small{P_{0}}[/latex].

For a tangent plane to a surface to exist at a point on that surface, it is sufficient for the function that defines the surface to be differentiable at that point, defined later in this section. We define the term tangent plane here and then explore the idea intuitively.

Definition


Let [latex]S[/latex] be a surface defined by a differentiable function [latex]z=f\,(x,\ y)[/latex], and let [latex]P_0=(x_0,\ y_0)[/latex] be a point in the domain of [latex]f[/latex]. Then, the equation of the tangent plane to [latex]S[/latex] at [latex]P_0[/latex] is given by

[latex]\large{z=f\,(x_0,\ y_0)+f_x\,(x_0,\ y_0)(x-x_0)+f_y\,(x_0,\ y_0)(y-y_0)}[/latex].

 

To see why this formula is correct, let’s first find two tangent lines to the surface [latex]S[/latex].  First, we can recall the notion of a tangent line from single-variable calculus.

Recall: Definition of a Tangent Line


If [latex]y = f(x)[/latex] is differentiable at [latex]x = x_0[/latex], then the equation of the tangent line to the curve at [latex]x=x_0[/latex] is given by:

[latex]y = f(x_0)+f'(x_0)(x-x_0)[/latex]

The equation of the tangent line to the curve that is represented by the intersection of [latex]S[/latex] with the vertical trace given by [latex]x=x_0[/latex] is [latex]z=f\,(x_0,\ y_0)+f_y\,(x_0,\ y_0)(y-y_0)[/latex]. Similarly, the equation of the tangent line to the curve that is represented by the intersection of [latex]S[/latex] with the vertical trace given by [latex]y=y_0[/latex] is [latex]z=f\,(x_0,\ y_0)+f_x\,(x_0,\ y_0)(x-x_0)[/latex]. A parallel vector to the first tangent line is [latex]{\bf{a}}={\bf{j}}+f_y\,(x_0,\ y_0)\,{\bf{k}}[/latex]; a parallel vector to the second tangent line is [latex]{\bf{b}}={\bf{i}}+f_x\,(x_0,\ y_0)\,{\bf{k}}[/latex]. We can take the cross product of these two vectors:

[latex]\begin{array}{ccc}\hfill {{\bf{a}}\times{\bf{b}}} & =\hfill & {({\bf{j}}+f_y\,(x_0,\ y_0)\,{\bf{k}})\times({\bf{i}}+f_x\,(x_0,\ y_0)\,{\bf{k}})} \hfill \\ \hfill & =\hfill & {\begin{vmatrix}{\bf{i}}&{\bf{j}}&{\bf{k}}\\0&1&f_y\,(x_0,\ y_0)\\1&0&f_x(x_0,\ y_0)\end{vmatrix}} \hfill \\ \hfill & =\hfill & {f_x\,(x_0,\ y_0)\,{\bf{i}}+f_y\,(x_0,\ y_0)\,{\bf{j}}-{\bf{k}}.} \hfill \\ \hfill \end{array}[/latex]

 

This vector is perpendicular to both lines and is therefore perpendicular to the tangent plane. We can use this vector as a normal vector to the tangent plane, along with the point [latex]P_0=(x_0,\ y_0,\ f\,(x_0,\ y_0))[/latex] in the equation for a plane:

[latex]\begin{array}{ccc}\hfill {{\bf{n}}\cdot ((x-x_0)\,{\bf{i}}+(y-y_0)\,{\bf{j}}+(z-f\,(x_0,\ y_0))\,{\bf{k}})} & =\hfill & {0} \hfill \\ \hfill {(f_x\,(x_0,\ y_0)\,{\bf{i}}+f_y\,(x_0,\ y_0)\,{\bf{j}}-{\bf{k}})\cdot ((x-x_0)\,{\bf{i}}+(y-y_0)\,{\bf{j}}+(z-f\,(x_0,\ y_0))\,{\bf{k}})} & =\hfill & {0} \hfill \\ \hfill {f_x\,(x_0,\ y_0)(x-x_0)+f_y\,(x_0,\ y_0)(y-y_0)-(z-f\,(x_0,\ y_0))} & =\hfill & {0} \hfill \\ \hfill \end{array}[/latex]

 

Solving this equation for [latex]z[/latex] gives us the above definition.

Example: Finding a Tangent Plane

Find the equation of the tangent plane to the surface defined by the function [latex]f\,(x,\ y)=2x^{2}-3xy+8y^{2}+2x-4y+4[/latex] at point [latex](2,-1)[/latex].

TRY IT

Find the equation of the tangent plane to the surface defined by the function [latex]f\,(x,\ y)=x^{3}+x^{2}y+y^{2}-2x+3y-2[/latex] at point [latex](-1,\ 3)[/latex].

Example: Finding Another Tangent Plane

Find the equation of the tangent plane to the surface defined by the function [latex]f\,(x,y)=\sin{(2x)}\cos{(3y)}[/latex] at point [latex](\pi /3,\pi /4)[/latex].

A tangent plane to a surface does not always exist at every point on the surface. Consider the function

[latex]f\,(x,\ y)=\begin{cases}\frac{xy}{\sqrt{x^{2}+y^{2}}}\ \ (x,\ y)\neq(0,\ 0) \\ 0\ \ \ \ \ \ \ \ \ \ \ \ (x,\ y)=(0,\ 0).\end{cases}[/latex]

 

The graph of this function follows.

A curved surface that passes through (0, 0, 0) and that folds up on either side of the z axis.

Figure 3. Graph of a function that does not have a tangent plane at the origin.

If either [latex]x=0[/latex] or [latex]y=0[/latex], then [latex]f\,(x,\ y)=0[/latex], so the value of the function does not change on either the [latex]x-[/latex] or [latex]y-[/latex]axis. Therefore, [latex]f_x\,(x,\ 0)=f_y\,(0,\ y)=0[/latex], so as either [latex]x[/latex] or [latex]y[/latex] approach zero, these partial derivatives stay equal to zero. Substituting them into our definition gives [latex]z=0[/latex] as the equation of the tangent line. However, if we approach the origin from the different direction, we get a different story. For example, suppose we approach the origin along the line [latex]y=x[/latex]. If we put [latex]y=x[/latex] into the original function, it becomes

[latex]\LARGE{f\,(x,\ x)=\frac{x(x)}{\sqrt{x^{2}+(x)^{2}}}=\frac{x^{2}}{\sqrt{2x^{2}}}=\frac{|x|}{\sqrt{2}}}.[/latex]

 

When [latex]x>0[/latex], the slope of this curve is equal to [latex]\sqrt{2}/2[/latex]; when [latex]x<0[/latex], the slope of this curve is equal to [latex]-(\sqrt{2}/2)[/latex]. This presents a problem. In the definition of tangent plane, we presumed that all tangent lines through point [latex]P[/latex] (in this case, the origin) lay in the same plane. This is clearly not the case here. When we study differentiable functions, we will see that this function is not differentiable at the origin.

Linear Approximations

Recall from Linear Approximations and Differentials that the formula for the linear approximation of a function [latex]f\,(x)[/latex] at the point [latex]x=a[/latex] is given by

[latex]y\approx f\,(a)+f'\,(a)(x-a).[/latex]

 

The diagram for the linear approximation of a function of one variables appears in the following graph.

A curve in the xy plane with a point and a tangent to that point. The figure is marked tangent line approximation.

Figure 4. Linear approximation of a function in one variable.

The tangent line can be used as an approximation to the function [latex]f\,(x)[/latex] for values of [latex]x[/latex] reasonably close to [latex]x=a[/latex]. When working with a function of two variables, the tangent line is replaced by a tangent plane, but the approximation idea is much the same.

Definition


Given a  function [latex]z=f\,(x,\ y)[/latex] with continuous partial derivatives that exist at the point [latex](x_0,\ y_0)[/latex], the linear approximation of [latex]f[/latex] at the point [latex](x_0,\ y_0)[/latex] is given by the equation

[latex]\large{L\,(x,\ y)=f\,(x_0,\ y_0)+f_x\,(x_0,\ y_0)(x-x_0)+f_y\,(x_0,\ y_0)(y-y_0)}.[/latex]

 

Notice that this equation also represents the tangent plane to the surfaced defined by [latex]z=f\,(x,\ y)[/latex] at the point [latex](x_0,\ y_0)[/latex]. The idea behind using a linear approximation is that, if there is a point [latex](x_0,\ y_0)[/latex] at which the precise value of [latex]f\,(x,\ y)[/latex] is known, then for values of [latex](x,\ y)[/latex] reasonably close to [latex](x_0,\ y_0)[/latex], the linear approximation (i.e., tangent plane) yields a value that is also reasonably close to the exact value of [latex]f\,(x,\ y)[/latex] (Figure 5). Furthermore the plane that is used to find the linear approximation is also the tangent plane to the surface at the point [latex](x_0,\ y_0)[/latex].

A paraboloid with surface z = f(x, y). There is a point given on the paraboloid P (x0, y0) with a tangent plane at that point. There is a point on the plane which is marked as the linear approximation L(x, y) to f(x0, y0), which is close to the corresponding point on the paraboloid.

Figure 5. Using a tangent plane for linear approximation at a point.

Example: Using a Tangent Plane Approximation

Given the function [latex]f\,(x,\ y)=\sqrt{41-4x^{2}-y^{2}}[/latex], approximate [latex]f\,(2.1,\ 2.9)[/latex] using point [latex](2,\ 3)[/latex] for [latex](x_0,\ y_0)[/latex]. What is the approximate value of [latex]f\,(2.1,\ 2.9)[/latex] to four decimal places?

TRY IT

Given the function [latex]f\,(x,\ y)=e^{5-2x+3y}[/latex] approximate [latex]f\,(4.1,\ 0.9)[/latex] using point [latex](4,\ 1)[/latex] for [latex](x_0,\ y_0)[/latex]. What is the approximate value of [latex]f\,(4.1,\ 0.9)[/latex] to four decimal places?

Watch the following video to see the worked solution to the above Try It

You can view the transcript for “CP 4.20” here (opens in new window).