• Practice
  • About 16 min
  • 5 practice questions

nth derivatives and relations between derivatives

Write the nth derivative of 1/(ax + b), ln(ax + b), sin(ax + b) and partial fractions, and prove relations such as y″ + 4y = 0 or (1 − x²)y″ − xy′ + m²y = 0 by differentiating twice.

If something looks wrong, please tell us.

Two more skills complete the topic of repeated differentiation. The first is finding a formula for the nth derivative of certain standard functions, by spotting a pattern in the first few derivatives. The second is showing that a function satisfies a given relation between y, y′ and y″. Both appear in exams and both reward neat, patient algebra.

Standard nth derivatives

yyₙ (nth derivative)
eᵃˣaⁿ eᵃˣ
1/(ax + b)(−1)ⁿ n! aⁿ/(ax + b)ⁿ⁺¹
ln(ax + b)(−1)ⁿ⁻¹ (n − 1)! aⁿ/(ax + b)ⁿ
sin(ax + b)aⁿ sin(ax + b + nπ/2)
cos(ax + b)aⁿ cos(ax + b + nπ/2)

The sine rule works because differentiating sin θ gives cos θ = sin(θ + π/2), so each differentiation adds π/2 to the angle and multiplies by a. You can check each entry at n = 1: for 1/(ax + b) the first derivative is −a/(ax + b)², matching the formula.

Split into partial fractions, then use the standard nth derivative on each part. To prove a relation, differentiate until y″ is reached, substitute, and watch for cancellation.

Worked example 1: partial fractions

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). Applying the standard result to each part gives yₙ = (−1)ⁿ n! [1/(x − 2)ⁿ⁺¹ − 1/(x − 1)ⁿ⁺¹]. Check at n = 1 and x = 3: the formula gives −[1/1² − 1/2²] = −3/4. Directly, y = 1/((x − 1)(x − 2)), and y′ = −(2x − 3)/((x − 1)(x − 2))², which is −3/4 at x = 3. They agree.

Worked example 2: a trigonometric relation

If y = a cos 2x + b sin 2x, prove that y″ + 4y = 0. y′ = −2a sin 2x + 2b cos 2x, so y″ = −4a cos 2x − 4b sin 2x = −4y. Hence y″ + 4y = 0. The arbitrary constants a and b disappear, which is typical: a relation of this kind holds for every choice of a and b.

Worked example 3: a repeated exponential

If y = (A + Bx)e^(2x), prove y″ − 4y′ + 4y = 0. Differentiating, y′ = (B + 2A + 2Bx)e^(2x), and y″ = (4A + 4B + 4Bx)e^(2x). Then y″ − 4y′ + 4y = e^(2x)[(4A + 4B + 4Bx) − (4B + 8A + 8Bx) + (4A + 4Bx)] = e^(2x) × 0 = 0, because the A terms give 4A − 8A + 4A = 0, the B terms give 4B − 4B = 0 and the Bx terms give 4Bx − 8Bx + 4Bx = 0.

Worked example 4: an inverse-sine relation

If y = sin(m sin⁻¹x), prove (1 − x²)y″ − xy′ + m²y = 0. Let θ = sin⁻¹x. Then dθ/dx = 1/√(1 − x²), and y′ = m cos(mθ)/√(1 − x²). So √(1 − x²) y′ = m cos(mθ). Differentiating again: √(1 − x²) y″ − x y′/√(1 − x²) = −m² sin(mθ)/√(1 − x²) = −m²y/√(1 − x²). Multiplying through by √(1 − x²) gives (1 − x²)y″ − xy′ = −m²y, which is the required relation.

Tips for relations

  • Differentiate step by step and keep the answer in terms of y and y′ where possible.
  • Clear a square root by squaring or by multiplying at the right moment, as in the last example.
  • If there are two constants, differentiate twice; one constant needs only one derivative.

Key takeaways: use the table for eᵃˣ, 1/(ax + b), ln(ax + b) and sin(ax + b); split a fraction into partial fractions first. To prove a relation, differentiate the right number of times and substitute; arbitrary constants must cancel.

Check your understanding

  1. 1. What is the third derivative of 1/(2x + 1)?

    1. −48/(2x + 1)⁴
    2. −6/(2x + 1)⁴
    3. 48/(2x + 1)⁴
    4. −24/(2x + 1)⁴
    Show answer

    Answer: A. With a = 2, n = 3: (−1)³ 3! 2³/(2x + 1)⁴ = −6 × 8/(2x + 1)⁴ = −48/(2x + 1)⁴.

  2. 2. What is the third derivative of ln(1 + 2x)?

    1. −16/(1 + 2x)³
    2. 8/(1 + 2x)³
    3. 16/(1 + 2x)³
    4. 12/(1 + 2x)³
    Show answer

    Answer: C. Use (−1)ⁿ⁻¹(n − 1)! aⁿ/(ax + b)ⁿ with a = 2, n = 3: (+1)(2)(8)/(1 + 2x)³ = 16/(1 + 2x)³.

  3. 3. If y = a cos 3x + b sin 3x, which relation holds?

    1. y″ − 9y = 0
    2. y″ + 9y = 0
    3. y″ + 3y = 0
    4. y″ + y = 0
    Show answer

    Answer: B. y″ = −9a cos 3x − 9b sin 3x = −9y, so y″ + 9y = 0.

  4. 4. If y = a e^(2x) + b e^(−x), which relation holds?

    1. y″ + y′ − 2y = 0
    2. y″ − y′ + 2y = 0
    3. y″ − 2y′ − y = 0
    4. y″ − y′ − 2y = 0
    Show answer

    Answer: D. For e^(2x) the left side gives 4 − 2 − 2 = 0 and for e^(−x) it gives 1 + 1 − 2 = 0, so both terms satisfy y″ − y′ − 2y = 0.

  5. 5. If y = (tan⁻¹x)², what is the value of (1 + x²)²y″ + 2x(1 + x²)y′?

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

    Answer: B. y′ = 2 tan⁻¹x/(1 + x²), so (1 + x²)y′ = 2 tan⁻¹x. Differentiating, (1 + x²)y″ + 2xy′ = 2/(1 + x²). Multiplying by (1 + x²) gives the value 2.

Privacy · Terms · Refunds · Delivery