01 / 21

Higher-Order
Derivatives

Go beyond the first derivative: learn to compute and interpret second, third, and \(n\)th derivatives to unlock deeper insights about how functions behave.

Calculus 1

What Is a Higher-Order Derivative?

A higher-order derivative is the result of differentiating a function more than once. When you take the derivative of the derivative, you get the second derivative. Differentiate again and you get the third derivative, and so on.

Notation for Higher-Order Derivatives

Lagrange (Prime)
\( f'(x),\; f''(x),\; f'''(x),\; f^{(4)}(x) \)
Leibniz (Fraction)
\( \dfrac{dy}{dx},\; \dfrac{d^2y}{dx^2},\; \dfrac{d^3y}{dx^3},\; \dfrac{d^ny}{dx^n} \)
Euler (Operator)
\( Df,\; D^2f,\; D^3f,\; D^nf \)

Visualizing Successive Derivatives

Why Do They Matter?

Concavity
\( f''(x) > 0 \) means concave up; \( f''(x) < 0 \) means concave down.
Inflection
Inflection points occur where \( f''(x) \) changes sign: the curve switches curvature.
Physics
Position \(\to\) velocity \(\to\) acceleration \(\to\) jerk: each is a derivative of the previous.

The Core Rule: Iterate

$$ f^{(n)}(x) = \frac{d}{dx}\!\bigl[f^{(n-1)}(x)\bigr], \quad n \geq 1 $$

There is no shortcut that skips straight to the \( n \)th derivative for an arbitrary function. You differentiate step by step, applying standard rules (power, product, quotient, chain) at each stage.

Pattern: Power Functions

If \( f(x) = x^m \) where \( m \) is a positive integer: $$ f^{(n)}(x) = \frac{m!}{(m-n)!}\, x^{\,m-n}, \quad n \leq m $$ $$ f^{(n)}(x) = 0, \quad n > m $$

Terminating vs. Non-Terminating

Terminating Non-Terminating
Definition Eventually reaches 0 Never reaches 0
Prototype \( x^m \) (polynomial) \( e^x,\; \sin x,\; \ln x \)
\( f^{(n)} \) for large \( n \) \( 0 \) Non-zero (often cyclic)
Pattern length Finite Often periodic (e.g., cycle of 4)

Patterns: \( e^x \) and Trig

\( e^x \)
Every derivative is itself:
\( f^{(n)}(x) = e^x \) for all \( n \).
\( \sin x \)
Cycle of 4:
\( \sin x \to \cos x \to -\sin x \to -\cos x \to \sin x \)
\( \cos x \)
Cycle of 4:
\( \cos x \to -\sin x \to -\cos x \to \sin x \to \cos x \)

Step-by-Step Approach

1
Identify the function type: polynomial, exponential, trigonometric, product, or composition.
2
Simplify first: expand products or rewrite fractions before differentiating when possible.
3
Differentiate iteratively: compute \( f'(x) \), then \( f''(x) \), then \( f'''(x) \), etc.
4
Look for a pattern: after 3-4 iterations, check if a cycle or closed formula emerges.
5
Write the general formula for \( f^{(n)}(x) \) if a pattern is found; otherwise, state the specific result.

Example 1: Polynomial

Find \( f'''(x) \) for \( f(x) = 2x^4 - 5x^3 + x^2 - 7 \).

1
First derivative: \( f'(x) = 8x^3 - 15x^2 + 2x \)
2
Second derivative: \( f''(x) = 24x^2 - 30x + 2 \)
3
Third derivative: \( f'''(x) = 48x - 30 \)

Example 2: Exponential

Find \( f^{(4)}(x) \) for \( f(x) = 3e^{2x} \).

1
First: \( f'(x) = 3 \cdot 2e^{2x} = 6e^{2x} \)
2
Second: \( f''(x) = 12e^{2x} \)
3
Third: \( f'''(x) = 24e^{2x} \)
4
Fourth: \( f^{(4)}(x) = 48e^{2x} \)

Example 3: Trigonometric

Find \( f^{(7)}(x) \) for \( f(x) = \sin x \).

1
The cycle: \( \sin x \xrightarrow{1} \cos x \xrightarrow{2} -\sin x \xrightarrow{3} -\cos x \xrightarrow{4} \sin x \)
2
Period is 4. Compute \( 7 \div 4 = 1 \) remainder \(3\).
3
Remainder 3 corresponds to the 3rd derivative in the cycle: \( -\cos x \).

Example 4: Chain Rule Iteration

Find \( f''(x) \) for \( f(x) = \ln(3x + 1) \).

1
First derivative (chain rule): \( f'(x) = \dfrac{3}{3x+1} = 3(3x+1)^{-1} \)
2
Second derivative (power + chain): \( f''(x) = 3 \cdot (-1)(3x+1)^{-2} \cdot 3 = \dfrac{-9}{(3x+1)^2} \)

Common Mistakes to Avoid

✕ Forgetting the Chain Rule
When differentiating \( e^{2x} \), each step must multiply by the inner derivative (\(2\)). Missing it compounds errors across orders.
✕ Sign Errors in Trig Cycles
The derivative of \( \cos x \) is \( -\sin x \), not \( \sin x \). A wrong sign at step 1 propagates through all subsequent derivatives.
✕ Misusing Notation
Writing \( \frac{d^2y}{dx^2} \) as \( \bigl(\frac{dy}{dx}\bigr)^2 \). The Leibniz notation is NOT a fraction being squared: squaring the first derivative is a completely different quantity.

Summary of Key Patterns

Function \( f^{(n)}(x) \) Notes
\( x^m \) \( \frac{m!}{(m-n)!}\,x^{m-n} \) 0 when \( n > m \)
\( e^{kx} \) \( k^n\, e^{kx} \) Never zero
\( \sin(x) \) \( \sin\!\bigl(x + \tfrac{n\pi}{2}\bigr) \) Period 4
\( \cos(x) \) \( \cos\!\bigl(x + \tfrac{n\pi}{2}\bigr) \) Period 4
\( \ln(ax+b) \) \( \frac{(-1)^{n-1}(n-1)!\,a^n}{(ax+b)^n} \) \( n \geq 1 \)

Question 1 of 5

What is the third derivative of \( f(x) = x^5 - 3x^3 + 2x \)?

Question 2 of 5

If \( g(x) = e^{-3x} \), what is \( g^{(5)}(x) \)?

Question 3 of 5

What is the 50th derivative of \( \cos x \)?

Question 4 of 5

If \( h(x) = \ln(5x + 2) \), what is \( h''(x) \)?

Question 5 of 5

For any polynomial of degree \( m \), which statement about its higher-order derivatives is always true?