How to differentiate a derivative again, what second and third derivatives mean for motion, how to differentiate a product many times, and what smoothness classes measure.
A derivative is itself a function, so you can ask how fast it changes. For a car, velocity is the rate of change of position, and acceleration is the rate of change of velocity. When you press the brake harder, the acceleration itself changes, and that rate has a name too. Repeating differentiation gives a whole ladder of functions, each describing how the one before it changes.
Key terms
Second derivative
Definition Suppose f is differentiable on an open interval containing a. If the derivative f′ is itself differentiable at a, the second derivative of f at a is
f′′(a)=(f′)′(a)=h→0limhf′(a+h)−f′(a).
Then f is called twice differentiable at a.
In plain words The second derivative measures how fast the slope is changing. A positive f′′ means the slope is going up as you move right.
Example For f(x)=x4−3x2 the first derivative is f′(x)=4x3−6x, and differentiating again gives f′′(x)=12x2−6. So f′′(1)=6 and f′′(0)=−6.
Higher derivatives defined recursively
Definition Set f(0)=f. For n≥1, if f(n−1) is defined on an open interval containing a and is differentiable at a, the nth derivative of f at a is
f(n)(a)=(f(n−1))′(a).
A function is n times differentiable on an open interval I if f(n)(x) exists for every x in I.
In plain words To get the nth derivative, differentiate n times in a row, one step at a time. Often a pattern shows up after a few steps and lets you jump ahead.
Example The derivatives of sinx repeat with period 4.
n
0
1
2
3
4
f(n)(x)
sinx
cosx
−sinx
−cosx
sinx
Since 27=4⋅6+3, the 27th derivative of sinx is −cosx. For a polynomial the ladder ends. If f(x)=x5 then f(5)(x)=5!=120 and f(6)(x)=0.
Notation
Definition For y=f(x) the common notations for higher derivatives are
Primes are used up to the third derivative. From the fourth on, the order goes in parentheses, f(4), to avoid confusion with a power f4.
In plain words The Leibniz form dx2d2y reads as “differentiate twice with respect to x”. The 2 sits on d in the top and on x in the bottom because it counts the steps, not a power of x.
Example For y=x1 with x=0,
dxdy=−x−2,dx2d2y=2x−3,dx3d3y=−6x−4,
and in general, for every n≥1,
dxndny=(−1)nn!x−(n+1).
Acceleration and jerk
Definition If s(t) is the position of an object moving along a line at time t, then its velocity is v(t)=s′(t), its acceleration is
a(t)=v′(t)=s′′(t),
and its jerk is j(t)=a′(t)=s′′′(t), whenever these derivatives exist.
In plain words Acceleration tells you how quickly the velocity changes. Jerk tells you how quickly the acceleration changes, which is what you feel as a sudden lurch in a train or an elevator.
Example Let s(t)=t3−6t2+9t meters after t seconds. Then v(t)=3t2−12t+9, a(t)=6t−12 and j(t)=6. At t=1 the object is momentarily at rest, v(1)=0, but its acceleration is a(1)=−6 meters per second squared, so it is about to move backwards.
Higher derivatives of products
Definition If f and g are n times differentiable on an open interval I, then so is fg, and on I
(fg)(n)=k=0∑n(kn)f(k)g(n−k).
This is the general Leibniz rule. For n=2 it reads
(fg)′′=f′′g+2f′g′+fg′′.
In plain words The pattern is the same as in the binomial expansion of (a+b)n, with powers replaced by numbers of derivatives. It is proved by applying the product rule repeatedly.
Example Take f(x)=x2 and g(x)=ex with n=3. Since f′=2x, f′′=2 and f′′′=0, while every derivative of g is ex,
(x2ex)′′′=x2ex+3⋅2xex+3⋅2ex+0=(x2+6x+6)ex.
Smoothness classes
Definition Let I be an open interval. The class C0(I) is the set of functions continuous on I. For k≥1, Ck(I) is the set of functions that are k times differentiable on I with f(k) continuous on I. The class C∞(I) is the set of functions with derivatives of every order on I. These classes are nested,
C∞(I)⊂⋯⊂C2(I)⊂C1(I)⊂C0(I).
In plain words The class number says how many times you can differentiate and still get a continuous function. Polynomials, ex, sinx and cosx are in C∞(R).
Example Let f(x)=x∣x∣. For x>0, f(x)=x2 and f′(x)=2x. For x<0, f(x)=−x2 and f′(x)=−2x. At 0 the difference quotient is
hf(h)−f(0)=hh∣h∣=∣h∣→0as h→0,
so f′(0)=0. Hence f′(x)=2∣x∣ for every x, which is continuous but has a corner at 0, so f′′(0) does not exist. Therefore f is in C1(R) but not in C2(R).
Check yourself
Find f′′(x) for f(x)=lnx, x>0.
Show the answer
The first derivative is f′(x)=x1=x−1, so f′′(x)=−x−2=−x21.
What is the 100th derivative of e2x?
Show the answer
Each differentiation multiplies by 2, so
dx100d100e2x=2100e2x.
A particle has position s(t)=t4. Find its acceleration and jerk at t=2.
Show the answer
Differentiating gives s′=4t3, then s′′=12t2 and s′′′=24t, so a(2)=48 and j(2)=48.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details