Skip to main content

Section 6.9 The Multivariable Differential

In Section 6.4, we considered the tangent line to the graph of a function \(f\) of one variable. What if \(f\) is a function of more than one variable?

Consider the tangent plane to the graph of \(z=f(x,y)\) at the point (\(x_0\text{,}\)\(y_0\text{,}\)\(z_0\)). What is the height difference \(\Delta z\) between two points on the tangent plane? Hold a piece of paper at an arbitrary angle in front of you, and imagine moving on it first to the right, then directly forwards. How high did you go? The sum of the height differences in each step. How big are these height differences? As above, they are precisely the horizontal distance traveled multiplied by the appropriate slope.

In other words, the equation of the tangent plane is given by

\begin{equation} z-z_0 = m_x \left( x-x_0 \right) + m_y \left( y-y_0 \right)\tag{6.9.1} \end{equation}

where \(m_x\) and \(m_y\) are the slopes in the \(x\) and \(y\) directions. But these slopes are (by definition) the partial derivatives of \(f\) with respect to \(x\) and \(y\) (at the given point).

In the \(xy\)-plane, the partial derivative of \(f\) with respect to \(x\) is written as \(\frac{\partial f}{\partial x}\text{,}\) and means “the derivative of \(f\) with respect to \(x\) with \(y\) held constant”. In some contexts, it is necessary to state explicitly what variables are being held constant, in which case this partial derivative may be written as \(\left(\frac{\partial f}{\partial x}\right)_y\text{.}\) Make sure you distinguish between \(d\) and \(\partial\text{;}\) writing the letter “d” so that it looks like a \(\partial\) is not correct mathematics.

Returning to our graph, we can therefore write the equation of the tangent plane as

\begin{equation} \Delta z = \frac{\partial f}{\partial x} \Delta x + \frac{\partial f}{\partial y} \Delta y\tag{6.9.2} \end{equation}

which leads to the following expression for the differential of \(f\)

\begin{equation} df = \frac{\partial f}{\partial x} \,dx + \frac{\partial f}{\partial y} \,dy\tag{6.9.3} \end{equation}

which again can be thought of as the small change in \(f\) corresponding to small changes in \(x\) and \(y\text{.}\) Similar expressions hold for functions of more than two variables.

Notice that there is nothing special about the variable names \(x\) and \(y\text{.}\) If \(f\) is a function of any two parameters \(\alpha\) and \(\beta\text{,}\) then we have a formula equivalent to (6.9.3)), namely

\begin{equation} df = \frac{\partial f}{\partial \alpha} \,d\alpha + \frac{\partial f}{\partial \beta} \,d\beta\tag{6.9.4} \end{equation}

In particular, it is not necessary for \(\alpha\) and \(\beta\) to have the same dimensions.