# 2.3: Tangent Plane to a Surface

- Page ID
- 2252

In the previous section we mentioned that the partial derivatives \(\dfrac{∂f}{∂x}\) and \(\dfrac{∂f}{∂y}\) can be thought of as the rate of change of a function \(z = f (x, y)\) in the positive \(x\) and \(y\) directions, respectively. Recall that the derivative \(\dfrac{dy}{dx}\) of a function \(y = f (x)\) has a geometric meaning, namely as the slope of the tangent line to the graph of \(f\) at the point \((x, f (x))\) in \(\mathbb{R}^2\). There is a similar geometric meaning to the partial derivatives \(\dfrac{∂f}{∂x}\) and \(\dfrac{∂f}{∂y}\) of a function \(z = f (x, y)\): given a point \((a,b)\) in the domain \(D\) of \(f (x, y)\), the trace of the surface described by \(z = f (x, y)\) in the plane \(y = b\) is a curve in \(\mathbb{R}^ 3\) through the point \((a,b, f (a,b))\), and the slope of the tangent line \(L_x\) to that curve at that point is \(\dfrac{∂f}{∂x} (a,b)\). Similarly, \(\dfrac{∂f}{∂y} (a,b)\) is the slope of the tangent line \(L_y\) to the trace of the surface \(z = f (x, y)\) in the plane \(x = a\) (see Figure 2.3.1).

**Figure 2.3.1:** Partial derivatives as slopes

Since the derivative \(\dfrac{dy}{dx}\) of a function \(y = f (x)\) is used to find the tangent line to the graph of \(f\) (which is a curve in \(\mathbb{R}^2\)), you might expect that partial derivatives can be used to define a *tangent plane* to the graph of a surface \(z = f (x, y)\). This indeed turns out to be the case. First, we need a definition of a tangent plane. The intuitive idea is that a tangent plane “just touches” a surface at a point. The formal definition mimics the intuitive notion of a tangent line to a curve.

Definition 2.4: Tangent Planes

Let \(z = f (x, y)\) be the equation of a surface \(S\) in \(\mathbb{R}^ 3\) , and let \(P = (a,b, c)\) be a point on \(S\). Let \(T\) be a plane which contains the point \(P\), and let \(Q = (x, y, z)\) represent a generic point on the surface \(S\). If the (acute) angle between the vector \(\vec{PQ}\) and the plane \(T\) approaches zero as the point \(Q\) approaches \(P\) along the surface \(S\), then we call \(T\) the **tangent plane** to \(S\) at \(P\).

Note that since two lines in \(\mathbb{R}^ 3\) determine a plane, then the two tangent lines to the surface \(z = f (x, y)\) in the \(x\) and \(y\) directions described in Figure 2.3.1 are contained in the tangent plane at that point, *if the tangent plane exists at that point*. The existence of those two tangent lines does not by itself guarantee the existence of the tangent plane. It is possible that if we take the trace of the surface in the plane \(x − y = 0\) (which makes a 45◦ angle with the positive \(x\)-axis), the resulting curve in that plane may have a tangent line which is not in the plane determined by the other two tangent lines, or it may not have a tangent line at all at that point. Luckily, it turns out that if \(\dfrac{∂f}{∂x}\) and \(\dfrac{∂f}{∂y}\) exist in a region around a point \((a,b)\) and are continuous at \((a,b)\) then the tangent plane to the surface \(z = f (x, y)\) will exist at the point \((a,b, f (a,b))\). In this text, those conditions will always hold.

Suppose that we want an equation of the tangent plane \(T\) to the surface \(z = f (x, y)\) at a point \((a,b, f (a,b))\). Let \(L_x\) and \(L_y\) be the tangent lines to the traces of the surface in the planes \(y = b\) and \(x = a\), respectively (as in Figure 2.3.2), and suppose that the conditions for \(T\) to exist do hold. Then the equation for \(T\) is

\[A(x− a)+B(y− b)+C(z − f (a,b)) = 0 \label{Eq2.4}\]

where \(n = (A,B,C)\) is a normal vector to the plane \(T\). Since \(T\) contains the lines \(L_x\) and \(L_y\) , then all we need are vectors \(v_x\) and \(v_y\) that are parallel to \(L_x \text{and } L_y\) , respectively, and then let \(n = v_x × v_y\) .

**Figure 2.3.2:** Tangent plane

Since the slope of \(L_x\) is \(\dfrac{∂f}{∂x} (a,b)\), then the vector \(v_x = (1,0, \dfrac{∂f}{∂x} (a,b))\) is parallel to \(L_x\) (since \(v_x\) lies in the \(xz\)-plane and lies in a line with slope \(\dfrac{\dfrac{∂f}{∂x}(a,b)}{1} = \dfrac{∂f}{∂x} (a,b)\). See Figure 2.3.3). Similarly, the vector \(v_y = (0,1, \dfrac{∂f}{∂y} (a,b))\) is parallel to \(L_y\) . Hence, the vector

\[\textbf{n} = \mathbf{v_x} × \mathbf{v_y} = \begin{vmatrix} \textbf{i} & \textbf{j} & \textbf{k} \\ 1 & 0 & \dfrac{∂f}{∂x}(a,b) \\ 0 & 1 & \dfrac{∂f}{∂y} (a,b) \end{vmatrix} =-\dfrac{∂f}{∂x}(a,b)\textbf{i}-\dfrac{∂f}{∂y}(a,b)\textbf{j}+\textbf{k} \nonumber \]

is normal to the plant \(T\). Thus the equation of \(T\) is

\[-\dfrac{∂f}{∂x}(a,b)(x-a)-\dfrac{∂f}{∂y}(a,b)(y-b)+z-f(a,b)=0 \label{Eq2.5}\]

**Figure 2.3.3**

Multiplying both sides by −1, we have the following result:

The equation of the tangent plane to the surface \(z = f (x, y)\) at the point \((a,b, f (a,b))\) is

\[\dfrac{∂f}{∂x}(a,b)(x-a)+\dfrac{∂f}{∂y}(a,b)(y-b)-z+f(a,b)=0 \label{Eq2.6}\]

Example 2.13

Find the equation of the tangent plane to the surface \(z = x^2 + y^2\) at the point (1,2,5).

**Solution**

For the function \(f (x, y) = x^2 + y^2\), we have \(\dfrac{∂f}{∂x} = 2x\) and \(\dfrac{∂f}{∂y} = 2y\), so the equation of the tangent plane at the point \((1,2,5)\) is

\[\nonumber 2(1)(x−1)+2(2)(y−2)− z +5 = 0 \text{ , or }\]

\[\nonumber 2x+4y− z −5 = 0\]

In a similar fashion, it can be shown that if a surface is defined implicitly by an equation of the form \(F(x, y, z) = 0\), then the tangent plane to the surface at a point \((a,b, c)\) is given by the equation

\[\dfrac{∂F}{∂x}(a,b, c)(x− a)+ \dfrac{∂F}{∂y}(a,b, c)(y− b)+ \dfrac{∂F}{∂z}(a,b, c)(z − c) = 0 \label{Eq2.7}\]

Note that Equation \ref{Eq2.6} is the special case of Equation \ref{Eq2.7} where \(F(x, y, z) = f (x, y)− z\).

Example 2.14

Find the equation of the tangent plane to the surface \(x^2 + y^2 + z^2 = 9\) at the point (2,2,−1).

**Solution**

For the function \(F(x, y, z) = x^2 + y^2 + z^2 −9\), we have \(\dfrac{∂F}{∂x} = 2x\), \(\dfrac{∂F}{∂y} = 2y\), and \(\dfrac{∂F}{∂z} = 2z\), so the equation of the tangent plane at (2,2,−1) is

\[\nonumber 2(2)(x−2)+2(2)(y−2)+2(−1)(z +1) = 0 \text{, or}\]

\[\nonumber 2x+2y− z −9 = 0\]

## Contributors

Michael Corral (Schoolcraft College). The content of this page is distributed under the terms of the GNU Free Documentation License, Version 1.2.