10 - Higher order derivatives
3.28M subscribers
SUBSCRIBED
A very quick primer on the second derivative, third derivative, etc. Full playlist: http://3b1b.co/calculus------------------ 3blue1brown is a channel about animating math, in all senses of the word animate. And you know the drill with YouTube, if you want to stay posted about new videos, subscribe, and click the bell to receive notifications (if you're into that). If you are new to this channel and want to see more, a good place to start is this playlist: http://3b1b.co/recommendedVarious social media stuffs: Website: https://www.3blue1brown.comTwitter: https://twitter.com/3Blue1BrownPatreon: https://patreon.com/3blue1brownFacebook: https://www.facebook.com/3blue1brownReddit: https://www.reddit.com/r/3Blue1Brown
00:04
In the next chapter, about Taylor series, I make frequent reference to higher order
00:08
derivatives.
00:09
And, if you’re already comfortable with second derivatives, third derivatives and
00:13
such, great!
00:14
Feel free to skip right ahead to the main event now, you won’t hurt my feelings.
00:19
But somehow I’ve managed not to bring up higher order derivatives at all so far this
00:23
series, so for the sake of completeness, I thought I’d give this little footnote to
00:27
very briefly go over them.
00:29
I’ll focus mainly on the second derivative, showing what it looks like in the context
00:33
of graphs and motion, and leave you to think about the analogies for higher orders.
00:40
Given some function f(x), the derivative can be interpreted as the slope of its graph above
00:46
some input, right?
00:47
A steep slope means a high value for the derivative, a downward slope means a negative derivative.
00:53
The second derivative, whose notation I’ll explain in a moment, is the derivative of
00:58
the derivative, meaning it tells you how that slope is changing.
01:03
The way to see this at a glance is to think of how the graph of f(x) curves.
01:08
At points where it curves upward, the slope is increasing, so the second derivative is
01:14
positive.
01:17
At points where it curves downward, the slope is decreasing, so the second derivative is
01:22
negative.
01:24
For example, a graph like this has a very positive second derivative at the input 4,
01:33
since the slope is rapidly increasing around that point, whereas a graph like this still
01:39
has a positive second derivative at that same point, but it’s smaller, since the slope
01:44
is increasing only slowly.
01:46
At points where there’s not really any curvature, the second derivative is zero.
01:53
As far as notation goes, you could try writing it like this, indicating some small change
01:59
to the derivative function divided by some small change to x, where as always the use
02:05
of that letter d suggests that you really want to consider what this ratio approach
02:10
as dx, both dx’s in this case, approach 0.
02:15
That’s pretty awkward and clunky, so the standard is to abbreviate it as d2f/dx2.
02:22
It’s not terribly important for getting an intuition of the second derivative, but
02:28
perhaps it’s worth showing how you can read this notation.
02:34
Think of starting at some input to your function, and taking two small steps to the right, each
02:39
with a size dx.
02:41
I’m choosing rather big steps here so that we’ll better see what’s going on, but
02:46
in principle think of them as rather tiny.
02:50
The first step causes some change to the function, which I’ll call df1, and the second step
02:56
causes some similar, but possibly slightly different change, which I’ll call df2.
03:03
The difference between these; the change in how the function changes, is what we’ll
03:10
call d(df).
03:12
You should think of this as really small, typically proportional to the size of (dx)2.
03:17
So if your choice for dx was 0.01, you’d expect this d(df) to be proportional to 0.001.
03:30
And the second derivative is the size of this change to the change, divide by the size of
03:35
(dx)2.
03:36
Or, more precisely, it’s whatever that ratio approaches as dx approaches 0.
03:43
Even though it’s not like the letter d is a variable being multiplied by f, for the
03:48
sake of more compact notation you write this as d2f/dx2, and you don’t bother with any
03:56
parentheses on the bottom.
03:59
Maybe the most visceral understanding of the second derivative is that it represents acceleration.
04:05
Given some movement along a line, suppose you have some function that records distance
04:09
traveled vs. time, and maybe its graph looks something like this, steadily increasing over
04:15
time.
04:16
Then its derivative tells you velocity at each point in time, right?
04:20
For the example, the graph might look like this bump, increasing to some maximum, then
04:24
decreasing back to 0.
04:27
So its second derivative tells you the rate of change for velocity, the acceleration at
04:32
each point in time.
04:34
In the example, the second derivative is positive for the first half of the journey, which indicates
04:39
indicates speeding up.
04:40
That’s sensation of being pushed back into your car seat with a constant force.
04:44
Or rather, having the car seat push you with a constant force.
04:47
A negative second derivative indicates slowing down, negative acceleration.
04:54
The third derivative, and this is not a joke, is called jerk.
04:57
So if the jerk is not zero, it means the strength of the acceleration itself is changing.
05:06
One of the most useful things about higher order derivatives is how they help in approximating
05:11
functions, which is the topic of the next chapter on Taylor series, so I’ll see you
05:16
there.