Lesson 2.8: Higher-Order Derivatives

Differentiation is an operation that takes in a function and also outputs a function. Of course, it’s mathematically reasonable that we could then put that function back in, differentiating the original function a second time. In fact, this is a common and useful process known as taking the second derivative. Naturally, we can extend this further to taking third derivatives and so forth.

You’ll hopefully recall that we notate the (first) derivative of a function $f(x)$ as $\frac{df}{dx}$ or $f'(x)$. The first notation can be more explicitly written as $\frac{d^1f}{dx^1}$. You will never actually see it written this way, but with that in mind it’s perfectly reasonable that we write a second derivative as $\frac{d^2f}{dx^2}$ or $f”(x)$, and so forth. Since large number of prime marks tend to get unwieldy, fourth derivatives in Lagrange’s notation are written $f^{(4)}(x)$, and so on.

This concept can further be extended to $n$th derivatives, $\frac{d^nf}{dx^n}$ or $f^{(n)}(x)$, and a couple of examples will hopefully suffice to make this clear.

Starting with a function $f(x)=x^3$, we already know that $f'(x)=3x^2$. As we’ve just discovered, we can differentiate again to get $f”(x)=6x$, and perhaps even another time for $f”'(x)=6$. (We could go on ad infinitum, if we really wanted to, but all higher derivatives are zero.)

It’s a little more interesting to repeatedly differentiate functions like $g(x)=\sin x$. First we get $\frac{dg}{dx}=\cos x$ as expected. And if we take the second derivative, we have $\frac{d^2g}{dx^2}=-\sin x$ and a third time, $\frac{d^3g}{dx^3}=-\cos x$ But if we shoot for the moon and take the fourth derivative, we’re back where we started: $\frac{d^4g}{dx^4}=\sin x=g$

Teachers like to exploit the cyclic nature of this by asking you for such seemingly crazy things as the 53rd derivative of $\cos x$. Rather than work through fifty-three iterations of repetitive hell, you’ll be better off realizing that every fourth derivative is the same as the original. Since $52$ is divisible by $4$ and $53=52+1$ (don’t use your calculator), the 53rd derivative is the same as the first, so $\frac{d^{53}}{dx^{53}}(\cos x)=\frac{d}{dx}(\cos x)=-\sin x$

What are higher derivatives good for? We’ll see some uses of them in related rates, and they’re the essence of Taylor series (hang on until April for those). More importantly, though, they’re very common in physics. If you have taken physics, you hopefully will remember that given position $\mathbf{x}$, velocity $\mathbf{v}$, and acceleration $\mathbf{a}$, we can define $\mathbf{v}=\frac{d\mathbf{x}}{dt}$ and $\mathbf{a}=\frac{d\mathbf{v}}{dt}$. We can combine these last two to get $\mathbf{a}=\frac{d^2\mathbf{x}}{dt^2}$ —all of these, you should definitely know. For some real fun, $\mathbf{j}=\frac{d\mathbf{a}}{dt}=\frac{d^2\mathbf{v}}{dt^2}=\frac{d^3\mathbf{x}}{dt^3}$ And that’s quite enough for today.

Valid XHTML 1.1!
Valid CSS!