Skip to main content

Section 6.14 Things not to do with Differentials

Differentials are a wonderful tool for manipulating derivatives. However, it is important to remember that differentials themselves always refer to the total change in a quantity. Ratios of differentials can often be interpreted as ordinary derivatives, but not as partial derivatives. Put differently, correct statements about differentials can be obtained by pulling apart an ordinary derivative, but never by pulling apart a partial derivative.

For instance, it is fine to convert the chain rule statement

\begin{equation} \frac{df}{dt} = \Partial{f}{x}\frac{dx}{dt} + \Partial{f}{y}\frac{dy}{dt}\tag{6.14.1} \end{equation}

to the statement

\begin{equation} df = \Partial{f}{x} \,dx + \Partial{f}{y} \,dy\tag{6.14.2} \end{equation}

by “multiplying” both sides by \(dt\text{.}\) In fact, we like to start with (6.14.2) and obtain the usual chain rule statement (6.14.1) by “dividing” both sides by \(dt\text{.}\) However, this can not be done with partial derivatives.

Consider for example the partial differential equation

\begin{equation} \Partial{u}{x} = x \Partial{u}{y}\tag{6.14.3} \end{equation}

One way to obtain a solution of (6.14.3) is by separation of variables. In the absence of boundary conditions, this approach would yield a general solution of the form

\begin{gather*} u = \int A( c )\, e^{c(y+\frac12 x^2)} \,dc \end{gather*}

in agreement with the “obvious” solution \(u=f(y+\frac12x^2)\) (which is however not in general separable):

\begin{align*} u(x,y) \amp= X(x) Y(y)\\ \Longrightarrow \amp \quad \frac{1}{xX}\,\frac{dX}{dx} = \hbox{constant} = \frac{1}{Y}\,\frac{dY}{dy}\\ \Longrightarrow \amp \quad \frac{dX}{X} = cx\,dx \qquad\hbox{and}\qquad \frac{dY}{Y} = c\,dy\\ \Longrightarrow \amp \quad u = A\, e^{c(y+\frac12 x^2)} . \end{align*}

Contrast this correct use of differentials with the following, incorrect, argument. Rewrite (6.14.3) as

\begin{equation} du\,dy = x\,du\,dx\tag{6.14.4} \end{equation}

Now cancel \(du\) from both sides, obtaining

\begin{equation} dy = x\,dx\tag{6.14.5} \end{equation}

suggesting that the “solution” to (6.14.3) is given by

\begin{equation} y = \frac12 x^2 .\tag{6.14.6} \end{equation}

The moral is that partial derivatives can not be treated as ratios of differentials. Do not be misled by (6.14.2) itself, which does indeed imply that

\begin{equation} df = \Partial{f}{x} \,dx\tag{6.14.7} \end{equation}

if \(y=\hbox{constant}\text{;}\) that assumption effectively turns the partial derivative into an ordinary derivative. If several variables are changing, “shortcuts” such as (6.14.7) are not valid.