• Advanced
  • About 18 min
  • 5 practice questions

Higher-order derivatives and differential relations

Write down nth derivatives of standard functions, use partial fractions and multiple angles first, apply Leibniz's rule for the nth derivative of a product, and prove relations such as (1 − x²)y₂ − xy₁ = 0.

If something looks wrong, please tell us.

Practice-level questions stop at the second derivative. Advanced questions ask for the 10th or the nth derivative, or for a relation between y, y₁ = dy/dx and y₂ = d²y/dx² that holds for every x. Both are pattern problems: differentiate a few times, see the pattern, and know the handful of standard results below.

Standard nth derivatives

nth derivatives (subscripts such as y₃ count derivatives)
f(x)nth derivative
e^(ax + b)aⁿ e^(ax + b)
sin(ax + b)aⁿ sin(ax + b + nπ/2)
cos(ax + b)aⁿ cos(ax + b + nπ/2)
1/(ax + b)(−1)ⁿ n! aⁿ/(ax + b)ⁿ⁺¹
ln(ax + b)(−1)ⁿ⁻¹ (n − 1)! aⁿ/(ax + b)ⁿ
xᵏ (k a whole number)k!/(k − n)! × xᵏ⁻ⁿ when n ≤ k, and 0 when n > k

Each comes from differentiating three or four times. For sine, each derivative multiplies by a and shifts the angle by π/2, because d/du sin u = cos u = sin(u + π/2). For 1/(ax + b), each derivative brings down the next negative power, so the signs alternate and a factorial builds up.

Worked example 1: partial fractions first

Find the nth derivative of y = 1/(x² − 3x + 2). Factorise: x² − 3x + 2 = (x − 1)(x − 2), and 1/((x − 1)(x − 2)) = 1/(x − 2) − 1/(x − 1). Now use the table with a = 1 on each part: yₙ = (−1)ⁿ n! [1/(x − 2)ⁿ⁺¹ − 1/(x − 1)ⁿ⁺¹]. A product of brackets has no simple nth derivative, but a sum of simple fractions does.

Worked example 2: reduce powers first

Find the nth derivative of sin² x. Write sin² x = (1 − cos 2x)/2 = 1/2 − (1/2) cos 2x. The constant disappears, and the table gives −(1/2) × 2ⁿ cos(2x + nπ/2) = −2ⁿ⁻¹ cos(2x + nπ/2). Products such as sin x cos 3x are handled the same way, by turning them into sums first.

Leibniz's rule for a product

For a product uv, (uv)ₙ = ⁿC₀ uₙ v + ⁿC₁ uₙ₋₁ v₁ + ⁿC₂ uₙ₋₂ v₂ + … + ⁿCₙ u vₙ, the same pattern as the binomial theorem, where the subscripts count derivatives. Choose v to be the polynomial factor: its derivatives soon become 0, so the sum stops early.

Worked example 3: the third derivative of x² eˣ

Take u = eˣ (every derivative is eˣ) and v = x² (v₁ = 2x, v₂ = 2, v₃ = 0). Then (uv)₃ = eˣ x² + 3eˣ(2x) + 3eˣ(2) + 0 = eˣ(x² + 6x + 6). At x = 0 only the term containing v₂ survives, which is a quick way to find values such as y₃(0) = 6.

Differential relations

To show that y satisfies a relation, differentiate once, rearrange so that the awkward part (a square root, an inverse function or an exponential) is isolated, square or clear fractions, and differentiate again. With two arbitrary constants, as in y = A cos x + B sin x, differentiate twice and eliminate them: y₂ = −A cos x − B sin x = −y, so y₂ + y = 0.

Worked example 4: y = sin⁻¹ x

y₁ = 1/√(1 − x²), so √(1 − x²) y₁ = 1. Squaring: (1 − x²) y₁² = 1. Differentiate: −2x y₁² + (1 − x²) × 2y₁ y₂ = 0. Divide by 2y₁, which is never 0: (1 − x²) y₂ − x y₁ = 0. Squaring first avoids differentiating the square root a second time.

Worked example 5: y = e^(m sin⁻¹ x)

y₁ = e^(m sin⁻¹ x) × m/√(1 − x²) = my/√(1 − x²), so √(1 − x²) y₁ = my. Squaring: (1 − x²) y₁² = m² y². Differentiate: −2x y₁² + 2(1 − x²) y₁ y₂ = 2m² y y₁. Divide by 2y₁: (1 − x²) y₂ − x y₁ = m² y. The left side is the same as in Worked example 4.

nth derivatives: split into partial fractions or reduce powers to multiple angles, then use the table. Leibniz: (uv)ₙ = sum of ⁿCᵣ uₙ₋ᵣ vᵣ, with v the polynomial. Relations: differentiate, isolate the awkward part, square, differentiate again.

Key takeaways: learn the six nth-derivative patterns and turn other functions into sums of them. Use Leibniz's rule when one factor is a polynomial, and at x = 0 keep only the term that survives. For relations, square away the root before the second differentiation, and divide by y₁ at the end.

Check your understanding

  1. 1. What is the 10th derivative of sin 2x?

    1. 1024 sin 2x
    2. −1024 cos 2x
    3. −1024 sin 2x
    4. 1024 cos 2x
    Show answer

    Answer: C. The nth derivative is 2ⁿ sin(2x + nπ/2). For n = 10: 1024 sin(2x + 5π) = −1024 sin 2x, since adding an odd multiple of π changes the sign.

  2. 2. What is the nth derivative of ln(2x + 3)?

    1. (−1)ⁿ⁻¹ (n − 1)! 2ⁿ/(2x + 3)ⁿ
    2. (−1)ⁿ n! 2ⁿ/(2x + 3)ⁿ⁺¹
    3. (−1)ⁿ⁻¹ (n − 1)!/(2x + 3)ⁿ
    4. (n − 1)! 2ⁿ/(2x + 3)ⁿ
    Show answer

    Answer: A. The first derivative is 2/(2x + 3) = 2(2x + 3)⁻¹. Each further derivative brings down the next negative power and another factor 2: the second is −2² (2x + 3)⁻², the third 2 × 2³ (2x + 3)⁻³, and so on. So the nth is (−1)ⁿ⁻¹ (n − 1)! 2ⁿ/(2x + 3)ⁿ.

  3. 3. If y = eˣ sin x, what is y₂ − 2y₁ equal to?

    1. 2y
    2. 0
    3. −y
    4. −2y
    Show answer

    Answer: D. y₁ = eˣ(sin x + cos x) and y₂ = eˣ(sin x + cos x) + eˣ(cos x − sin x) = 2eˣ cos x. Then y₂ − 2y₁ = 2eˣ cos x − 2eˣ sin x − 2eˣ cos x = −2eˣ sin x = −2y.

  4. 4. What is the 4th derivative of x³ eˣ at x = 0?

    1. 6
    2. 24
    3. 36
    4. 0
    Show answer

    Answer: B. Leibniz with v = x³: (uv)₄ = Σ ⁴Cᵣ eˣ vᵣ. At x = 0, v, v₁ and v₂ are 0 and v₄ = 0, leaving ⁴C₃ × eˣ × v₃ = 4 × 1 × 6 = 24.

  5. 5. If y = (x + √(1 + x²))ᵐ, then (1 + x²)y₂ + xy₁ equals:

    1. −m²y
    2. my
    3. m²y
    4. 0
    Show answer

    Answer: C. y₁ = m(x + √(1 + x²))ᵐ⁻¹ × [1 + x/√(1 + x²)] = my/√(1 + x²). So (1 + x²) y₁² = m² y². Differentiate: 2x y₁² + 2(1 + x²) y₁ y₂ = 2m² y y₁. Divide by 2y₁: (1 + x²) y₂ + x y₁ = m² y.

Privacy · Terms · Refunds · Delivery