Chapter 13Higher order derivatives
Introduction
In the next chapter, about Taylor series, I make frequent reference to higher order derivatives. If you're already comfortable with second derivatives, third derivatives and such, great! Feel free to skip right ahead to that lesson now.
Somehow I've managed not to bring up higher order derivatives at all so far this series, so for the sake of completeness, I thought I'd give this little footnote to briefly go over them. I'll focus mainly on the second derivative, showing what it looks like in the context of graphs and motion, and leave you to think about the analogies for higher orders.
Graphical meaning
Given some function , the derivative can be interpreted as the slope of its graph above some input, right? A steep slope means a high value for the derivative, a downward slope means a negative derivative.
Review question: what is the slope at and ?
The second derivative, whose notation I'll explain in a moment, is the derivative of the derivative, meaning it tells you how that slope is changing. The way to see this at a glance is to think of how the graph of curves. At points where it curves upward, the slope is increasing, so the second derivative is positive. At points where it curves downward, the slope is decreasing, so the second derivative is negative.
For example, let's plot the derivative and second derivative alongside the original function. The plot tells us a lot about how the slope is changing: At the slope is decreasing at a rate of , at the slope isn't changing at all, and at the slope is increasing at a rate of .
Notation
As far as notation goes, you could try writing it like this:
... indicating some small change to the derivative function divided by some small change to , where as always the use of that letter suggests that you really want to consider what this ratio approach as , both 's in this case, approach . That's pretty awkward and clunky, so the standard is to abbreviate it as .
It's not terribly important for getting an intuition of the second derivative, but perhaps it's worth showing how you can read this notation. Think of starting at some input to your function, and taking two small steps to the right, each with a size . I'm choosing rather big steps here so that we'll better see what's going on, but in principle think of them as rather tiny.
The first step causes some change to the function, which I'll call , and the second step causes some similar, but possibly slightly different change, which I'll call .
The difference between these; the change in how the function changes, is what we'll call .
You should think of this as really small, typically proportional to the size of . So if your choice for was , you'd expect this to be proportional to .
And the second derivative is the size of this change to the change, divide by the size of . Or, more precisely, it's whatever that ratio approaches as approaches . Even though it's not like the letter is a variable being multiplied by , for the sake of more compact notation you write this as , and you don't bother with any parentheses on the bottom.
For higher order derivatives, like the third derivative, fourth derivative and so are are written using the same compact notation.
Physical meaning
Maybe the most visceral understanding of the second derivative is that it represents acceleration.
Given some movement along a line, suppose you have some function that records distance traveled vs. time, and maybe its graph looks something like this, steadily increasing over time.
Then its derivative tells you velocity at each point in time, right? For the example, the graph might look like this bump, increasing to some maximum, then decreasing back to .
Then its second derivative tells you the rate of change for velocity, the acceleration at each point in time.
In the example, the second derivative is positive for the first half of the journey, which indicates indicates speeding up. That's sensation of being pushed back into your car seat with a constant force. Or rather, having the car seat push you with a constant force.
The third derivative, and this is not a joke, is called jerk. So if the jerk is not zero, it means the strength of the acceleration itself is changing.
Comprehensive Question
A Pi Creature is aboard a spaceship and is set to journey into space. The height of the spaceship from the ground, in meters, as a function of time , in seconds, is given by:
Based on the displacement function , determine the velocity function of the spaceship.
Given the velocity function from the previous question, what is the acceleration function of the spaceship?
Determine the jerk function of the spaceship, which is the rate of change of acceleration.
If you plot the acceleration of the function , how would you interpret the motion of the spaceship at second?
If you plot the acceleration function , you'll notice that at second, the acceleration dips to be before increasing again.
One explanation is that this as a two-stage rocket where the first stage completes its burn and then there's a momentary pause before the second stage ignites. The momentary standstill in the change of acceleration, or the point where the jerk becomes zero, is when the spaceship is making that transition.
Next Lesson
One of the most useful things about higher order derivatives is how they help in approximating functions, which is the topic of the next chapter on Taylor series, so I'll see you there .