Single-Variable-Calculus · Unit 4 · Video 4 · Interactive Practice

Higher Derivatives and Their Notation: Primes, D, and d²u/dx²

IKey Formulas

FormulaNameWhat it says
u=ddx ⁣(dudx)=D2u=d2udx2u'' = \dfrac{d}{dx}\!\left(\dfrac{du}{dx}\right) = D^{2}u = \dfrac{d^{2}u}{dx^{2}}Second derivativeDifferentiate, then differentiate the result
f(n)(x)=Dnf=dnfdxnf^{(n)}(x) = D^{n}f = \dfrac{d^{n}f}{dx^{n}}nn-th derivative, three notationsnn counts the differentiations in all three
D=ddxD = \dfrac{d}{dx}The operatorFunction in, function out
u=sinx    u=cosx, u=sinx, u=cosx, u(4)=sinxu = \sin x \;\Longrightarrow\; u' = \cos x,\ u'' = -\sin x,\ u''' = -\cos x,\ u^{(4)} = \sin xThe sine cycleFour differentiations return the function

Key Insight: The chain u=ddx ⁣(dudx)=(ddx)2u=D2u=d2udx2u'' = \dfrac{d}{dx}\!\left(\dfrac{du}{dx}\right) = \left(\dfrac{d}{dx}\right)^{2}u = D^{2}u = \dfrac{d^{2}u}{dx^{2}} carries no mathematical content beyond this: five ways of writing, one derivative. In the last form the denominator is (dx)2(dx)^{2}xx is never squared.

IIThe Sine Ring

Differentiate sinx\sin x four times and the curve lands back on the one you started from.

💡 The ring belongs to sine and cosine alone: a polynomial's derivatives fall in degree until they reach zero and stay there.

IIIOne Object, Three Spellings

Each application of DD takes one function in and hands a new function out.

💡 A fifth application separates the two for good: D5x4=0D^{5}x^{4} = 0, while D5sinx=cosxD^{5}\sin x = \cos x and the ring turns again.

IVReading the Denominator

The twos in d2udx2\dfrac{d^{2}u}{dx^{2}} count differentiations; the denominator is (dx)2(dx)^{2}, never d(x2)d(x^{2}).

Step 1 — Differentiate twice
u=ddx ⁣(dudx)u'' = \frac{d}{dx}\!\left(\frac{du}{dx}\right)

VQuiz Questions

Problem 1 · Three Steps Round the Ring

Given: u=cosxu = \cos xfind uu'''.

✅ Correct! cosxsinxcosxsinx\cos x \to -\sin x \to -\cos x \to \sin x: three prime marks, three differentiations.
❌ That is uu''. One differentiation short — ddx(cosx)=sinx\dfrac{d}{dx}(-\cos x) = \sin x, because the derivative of cosx\cos x is sinx-\sin x and the two minus signs cancel.
❌ That is uu'. Only one differentiation has been done; uu''' asks for three.
❌ That is u(4)u^{(4)}. One differentiation too many — the ring closes on the fourth step, and uu''' is the step before it.
❌ Not quite. Differentiate one step at a time, using ddxsinx=cosx\dfrac{d}{dx}\sin x = \cos x and ddxcosx=sinx\dfrac{d}{dx}\cos x = -\sin x.
Show solution

Each step uses one of the two trig derivatives, with the constant 1-1 coming out in front when it is there:

u=cosxu = \cos x u=sinxu' = -\sin x u=cosxu'' = -\cos x u=(sinx)=sinxu''' = -(-\sin x) = \sin x

At the third step the derivative of cosx-\cos x is (sinx)-(-\sin x), and that new minus sign cancels the one already there. One more differentiation would give u(4)=cosxu^{(4)} = \cos x: cosine sits on the same ring as sine and returns to itself after four steps too.

Problem 2 · What the Symbol Stands For

Given: the symbol d2udx2\dfrac{d^{2}u}{dx^{2}}choose the expression it is shorthand for.

✅ Correct! Both twos are counts of differentiations: dd=d2d \cdot d = d^{2} on top, dxdx=(dx)2dx \cdot dx = (dx)^{2} underneath.
❌ Squaring is a different operation. For u=sinxu = \sin x, (dudx)2=cos2x\left(\dfrac{du}{dx}\right)^{2} = \cos^{2}x, while d2udx2=sinx\dfrac{d^{2}u}{dx^{2}} = -\sin x.
❌ That is the reading the notation warns against. The denominator is the whole symbol dxdx, squared — no x2x^{2} appears anywhere, and nothing is being done to x2x^{2}.
❌ The exponent is not a multiplier. For u=sinxu = \sin x it would give 2cosx2\cos x, whereas the second derivative is sinx-\sin x.
Show solution

The second derivative is the first derivative differentiated, so it is ddx\dfrac{d}{dx} applied to dudx\dfrac{du}{dx}:

u=ddx ⁣(dudx)=(ddx)2u=D2u=d2udx2u'' = \frac{d}{dx}\!\left(\frac{du}{dx}\right) = \left(\frac{d}{dx}\right)^{2}u = D^{2}u = \frac{d^{2}u}{dx^{2}}

The last form is a bookkeeping abbreviation of the one before it: the two dd's of the two differentiations are collected as d2d^{2} in the numerator, and the two dxdx's as (dx)2(dx)^{2} in the denominator, which is written dx2dx^{2} for short.

Check with u=sinxu = \sin x: dudx=cosx\dfrac{du}{dx} = \cos x and d2udx2=sinx\dfrac{d^{2}u}{dx^{2}} = -\sin x. Neither cos2x\cos^{2}x nor 2cosx2\cos x is that.

Problem 3 · Six Times Round

Given: u=sinxu = \sin xfind D6uD^{6}u.

✅ Correct! D4u=sinxD^{4}u = \sin x puts you back at the start, so D6u=D2 ⁣(D4u)=D2sinx=sinxD^{6}u = D^{2}\!\left(D^{4}u\right) = D^{2}\sin x = -\sin x.
❌ That is D4uD^{4}u or D8uD^{8}u. The ring returns to sinx\sin x only after a whole number of full turns, and 66 is not a multiple of 44.
❌ That is D5uD^{5}u. Five steps round the ring, one short of six.
❌ That is D7uD^{7}u. Seven steps round the ring, one past six.
Show solution

Count the steps round the ring, four at a time:

D4u=sinx(back to the start)D^{4}u = \sin x \qquad\text{(back to the start)} D5u=cosxD^{5}u = \cos x D6u=sinxD^{6}u = -\sin x

In general, only the remainder of nn on division by 44 matters: remainder 00 gives sinx\sin x, 11 gives cosx\cos x, 22 gives sinx-\sin x, 33 gives cosx-\cos x. Here 6=4+26 = 4 + 2, so D6uD^{6}u is two steps past the start, which is sinx-\sin x.

The same answer in the other two notations: u(6)(x)=sinxu^{(6)}(x) = -\sin x and d6udx6=sinx\dfrac{d^{6}u}{dx^{6}} = -\sin x.

Problem 4 · A Function That Does Not Come Back

Given: f(x)=x4f(x) = x^{4}find D2fD^{2}f and d4fdx4\dfrac{d^{4}f}{dx^{4}}.

What is D2fD^{2}f?

And what is d4fdx4\dfrac{d^{4}f}{dx^{4}}?

✅ Correct! x44x312x224x24x^{4} \to 4x^{3} \to 12x^{2} \to 24x \to 24: the fourth derivative is the constant 2424, and no trace of x4x^{4} comes back.
❌ That is (Df)2=(4x3)2(Df)^{2} = (4x^{3})^{2}. The exponent on DD counts differentiations, not powers: D2fD^{2}f means differentiate 4x34x^{3} again.
❌ Check the count. Df=4x3Df = 4x^{3}, and one more differentiation gives D2f=12x2D^{2}f = 12x^{2}.
❌ Check the count. The four derivatives in order are 4x34x^{3}, 12x212x^{2}, 24x24x, 2424 — the constant arrives on the fourth step, and 00 only on the fifth.
Show solution

Differentiate four times, each step dropping the degree by one:

Df=4x3,D2f=12x2,D3f=24x,D4f=24Df = 4x^{3}, \qquad D^{2}f = 12x^{2}, \qquad D^{3}f = 24x, \qquad D^{4}f = 24

So D2f=12x2D^{2}f = 12x^{2} and d4fdx4=24=4!\dfrac{d^{4}f}{dx^{4}} = 24 = 4!, a constant. A fifth differentiation gives 00, and every one after it gives 00 as well.

This is the contrast with sinx\sin x: there the fourth derivative is the original function again, here it is a number. The returning behaviour is special to the sines and cosines, not a general fact about fourth derivatives.

Solved: 0 / 4