next up previous
Next: Tangent Planes and Normal Up: Partial Derivatives Previous: Computation

Higher Order Partial Derivatives

Since a partial derivative of a function is itself a function, we can take derivatives of it as well. Since it will be a function of more than one variable (usually) we can take partial derivatives of the derivative functions with respect to either variable. Thus, we can compute

\begin{displaymath}
\frac{\partial }{\partial x}\left(\frac{\partial f}{\partial...
 ...partial }{\partial y}\left(\frac{\partial f}{\partial y}\right)\end{displaymath}

for a function of x and y. These are all of the possibilities. Usually, they are denoted, respectively, as

\begin{displaymath}
\frac{\partial^2 f}{\partial x^2} \qquad
\frac{\partial^2 f}...
 ...\partial x \partial y} \qquad
\frac{\partial^2 f}{\partial y^2}\end{displaymath}

or as fxx, fyx, fxy and fyy. For most reasonable functions (ie. those with continuous partial derivatives) the mixed partial derivatives fxy and fyx are equal.

For practice, let's compute all of the first and second partials of the function $g(s,t) = 2t\sin s + e^{st}$.

\begin{displaymath}
g_s = \frac{\partial }{\partial s}(2t\sin s + e^{st}) = 2t \...
 ...l s} + \frac{\partial e^{st}}{\partial s} =
2t\cos s + t e^{st}\end{displaymath}

\begin{displaymath}
g_t = \frac{\partial }{\partial t}(2t\sin s + e^{st}) = 2\si...
 ...al t} + \frac{\partial e^{st}}{\partial t} =
2\sin s + s e^{st}\end{displaymath}

\begin{displaymath}
g_{tt} = \frac{\partial g_t}{\partial t} = \frac{\partial }{\partial t}(2\sin s + s e^{st}) = s^2e^{st}\end{displaymath}

\begin{displaymath}
g_{ss} = \frac{\partial g_s}{\partial s} = \frac{\partial }{\partial s}(2t\cos s + t e^{st}) = -2t\sin s + t^2
e^{st}\end{displaymath}

\begin{displaymath}
g_{st} = \frac{\partial g_s}{\partial t} = \frac{\partial }{\partial t}(2t\cos s + t e^{st}) = 2\cos s + e^{st} +
st e^{st}\end{displaymath}

\begin{displaymath}
g_{ts} = \frac{\partial g_t}{\partial s} = \frac{\partial }{\partial s}(2t\cos s + t e^{st}) = 2\cos s + e^{st} +
st e^{st}\end{displaymath}

We can compute third order partial derivatives of f(x,y). There are eight possibilities: fxxx, fxxy, fxyx, fyxx, fxyy, fyxy, fyyx, and fyyy. However, for most reasonable functions (those with continuous second partials) fxxy = fxyx = fyxx and fxyy = fyxy = fyyx.

Higher and higher derivatives can be computed for functions of any number of variables, provided that the function is smooth enough. As another quick example, let's list all the first and second partial derivatives of a function of three variables h(x,y,z):

\begin{displaymath}
\mbox{First order partials:} \qquad h_x, h_y, h_z\end{displaymath}

\begin{displaymath}
\mbox{Second order partials:} \qquad h_{xx}, h_{yy}, h_{zz}, h_{xy},
h_{xz}, h_{yz}.\end{displaymath}

Note that again, the mixed partials are equal.

Note that we can always return to the good old limit definition of a derivative. To compute $\frac{\partial f(x,y)}{\partial x}$ at the point (x0, y0) we have

\begin{displaymath}
\left. \frac{\partial f}{\partial x} \right\vert _{(x_0,y_0)...
 ...tarrow 0}
\frac{f(x_0 + \Delta x, y_0) - f(x_0,y_0)}{\Delta x}.\end{displaymath}

For obvious reasons, we won't be using this very much. But keep in mind, it's actually the basis for everything that we do with derivatives.


next up previous
Next: Tangent Planes and Normal Up: Partial Derivatives Previous: Computation
Vector Calculus
1/12/1998