The derivative is a function in its own right, so it has a derivative too. That derivative, the second derivative , measures how fast the slope of is changing. If gives position, is velocity and is acceleration; on a graph, tells you which way the curve bends.
Differentiating again
The second derivative is the derivative of the first: , at every where is differentiable. Differentiating gives the third derivative , and so on. Each one is computed with the same rules you already have, applied to the previous derivative.
For :
Each differentiation lowers the degree of a polynomial by one. So a polynomial of degree has a constant th derivative, and every derivative after that is 0. The constant comes from the leading term: the 4th derivative of is .
The units of are the units of divided by the units of twice. If is a position in meters and is in seconds, is in meters per second, and is in meters per second per second (). Topic 4.2 uses as acceleration, and topic 5.6 reads concavity from the sign of .
Notation
Each notation for the first derivative extends to higher ones.
| Order | Prime notation | With | Leibniz notation |
|---|---|---|---|
| first | |||
| second | |||
| third | |||
| th |
The Leibniz form comes from applying to : the "" is applied twice on top, and appears twice on the bottom, written . That means , not the differential of , and is not .
After three primes, the order goes in parentheses: , . The parentheses matter, because would be read as . To say "evaluated at ", write or .
When a second derivative doesn't exist
exists only if exists near and is differentiable at . A function can be differentiable everywhere while its derivative has a corner, and then fails at the corner.
Take . For it equals , and for it equals . Both pieces have slope 0 at , so , and for and for . Together, , which is continuous but has a corner at 0. Its slope is 2 just right of 0 and just left, so does not exist, even though looks perfectly smooth at the origin.
When an exam question says is "twice differentiable", it is guaranteeing that exists everywhere, which also makes and continuous (topic 2.4).
Patterns in repeated derivatives
Some functions repeat or scale in a predictable way each time you differentiate, so you can jump to any order without computing every step.
- Exponentials. Each derivative of multiplies by , so . For example, the 10th derivative of is .
- Sine and cosine. The derivatives of run , , , , and then repeat. Only the remainder of divided by 4 matters.
- Reciprocals. For , the power rule pulls down , then , then : the derivatives are , , , . The signs alternate and the numerators are .
Second derivatives with the other rules
Computing means differentiating , whatever looks like, so every rule from Units 2 and 3 can appear in the second round.
Simplify the first derivative before differentiating it again. Combining fractions, cancelling and factoring after the first derivative shrinks the second one. Example 1 shows the payoff.
Use the product rule on products inside the first derivative. Differentiating a product twice gives
because shows up once from each term of . A chain-rule derivative like is itself a product, so its derivative needs the product rule too. Example 3 works through both.
With implicit differentiation (topic 3.2), usually contains . When you differentiate it again, is still a function of , so each produces a by the chain rule. Then you replace that with the expression you already found, so the final answer is in terms of and only. Example 4 is this kind of question.
Worked examples
Let . Find and .
Show solution
By the chain rule, . This is a quotient, so use the quotient rule:
At :
The factored form shows at a glance that changes sign at , which is what a concavity question (topic 5.6) would ask next.
Let . Find and .
Show solution
Each derivative multiplies by 2 (the chain rule factor) and moves one step through the cosine cycle:
After four derivatives the trig function is back to , and the coefficient is . So every four derivatives multiply by 16, and , since . One more derivative gives
The pattern to use is "a factor of 2 per derivative, and the trig part at step is the same as at step ". Writing out four steps and then using the remainder of 25 divided by 4, which is 1, avoids sign errors.
The function is twice differentiable, with , and .
(a) Let . Find .
(b) Let . Find .
Show solution
(a) The chain rule gives . That is a product of and , so the second round needs the product rule, and differentiating needs the chain rule again:
At , the inside is :
(b) First, . That is a product, so
At :
In both parts, the second derivative depends on as well as . Writing or drops a term from the product rule.
Consider the curve .
(a) Show that .
(b) Find in terms of and .
(c) Find the value of at the point .
Show solution
(a) Differentiate both sides with respect to , treating as a function of :
(b) Differentiate with the quotient rule. The derivative of the denominator is , not 0:
Now replace with , so that :
where the last step multiplies the top and bottom by .
(c) The point is on the curve, since . Substituting , :
You can check this by substituting into the unsimplified form instead: at , , and . When a question asks only for the value at a point, this route (find at the point first, then substitute everything) avoids the algebra in (b).
Where students lose points
On the exam
A free-response question that gives as an expression in and (a differential equation or an implicit curve) can ask for next. The method is Example 4(b): differentiate implicitly, then substitute the given . Second derivatives of functions known only through tables of values are computed like Example 3. On no-calculator parts, an unsimplified numerical value such as is acceptable.
Check yourself
Question 1
If , then
- A
- B
- C
- D
Show answer
D
The product rule gives , and again . Choice A stops at the first derivative, and choice B squares the first derivative instead of differentiating it.
- A
Question 2
Let . Does exist? Explain.
Show answer
No. exists everywhere, but is undefined at .
The first derivative is continuous with , but its graph has a cusp with a vertical tangent at the origin, so is not differentiable at 0. A function can be differentiable everywhere while its second derivative fails at a point.
Question 3
Let . What is the smallest positive integer for which for all ?
Show answer
The derivatives of return to only when is a multiple of 4, and the th derivative of is , which equals only for even . Both conditions first hold at .
Question 4
A particle moves along a line with position meters at time seconds. What is its acceleration at ?
- A
m/s
- B
m/s
- C
m/s
- D
m/s
Show answer
C
Acceleration is the second derivative: and , so . Choice A is the velocity, and choice D forgets to evaluate .
- A
Question 5
A function satisfies . Find in terms of and .
Show answer
Differentiate with respect to , remembering depends on : . Substituting gives .