• Foundation
  • About 13 min
  • 5 practice questions

Second and higher derivatives

Differentiate more than once, use the notation f″(x), d²y/dx² and fⁿ(x), spot the pattern of repeated derivatives of eᵃˣ, sin x and polynomials, and read the second derivative as the rate of change of the slope.

If something looks wrong, please tell us.

A derivative is itself a function, so it can be differentiated again. The result is the second derivative, and repeating the process gives the third, fourth and higher derivatives. The second derivative has a clear meaning: it is the rate at which the slope changes, and for a moving object it is the acceleration. In later study it decides whether a curve bends up or down. Here we learn the notation and the patterns.

Notation

MeaningNotation
first derivativef′(x), dy/dx, y′
second derivativef″(x), d²y/dx², y″
third derivativef‴(x), d³y/dx³, y‴
nth derivativef⁽ⁿ⁾(x), dⁿy/dxⁿ, yₙ

The symbol d²y/dx² is read 'd two y by d x squared'. It means d/dx(dy/dx), the derivative of the derivative, not the square of dy/dx. These are different things: if y = x³, then d²y/dx² = 6x but (dy/dx)² = 9x⁴.

Worked example 1: repeated differentiation of a polynomial

Take y = x⁴ − 3x³ + 2x. Then y′ = 4x³ − 9x² + 2, y″ = 12x² − 18x, y‴ = 24x − 18 and the fourth derivative is the constant 24. All derivatives after that are 0. A polynomial of degree n has a constant nth derivative, and every later derivative is 0.

Worked example 2: a sine function

Let y = sin 2x. Then y′ = 2 cos 2x and y″ = −4 sin 2x. Since −4 sin 2x = −4y, we get y″ + 4y = 0. Check: y″ + 4y = −4 sin 2x + 4 sin 2x = 0. Relations like this, which tie y″ to y, are very common.

Patterns in repeated derivatives

For eᵃˣ every differentiation multiplies by a, so the nth derivative is aⁿeᵃˣ. For example, the third derivative of e^(−2x) is (−2)³e^(−2x) = −8e^(−2x). For sin x the derivatives cycle with period 4: cos x, −sin x, −cos x, sin x, and then the cycle repeats. To find the nth derivative, divide n by 4 and look at the remainder.

Derivative number12345
of sin xcos x−sin x−cos xsin xcos x
of cos x−sin x−cos xsin xcos x−sin x

The nth derivative of eᵃˣ is aⁿeᵃˣ. The derivatives of sin x repeat every four steps: cos x, −sin x, −cos x, sin x. A polynomial of degree n has all derivatives beyond the nth equal to 0.

Worked example 3: the tenth derivative of sin x

Since 10 = 4 × 2 + 2, the tenth derivative is in the same position as the second one in the cycle, which is −sin x. As a check, the eighth derivative is sin x again (8 is a multiple of 4), so the ninth is cos x and the tenth is −sin x.

Worked example 4: a product

For y = x eˣ, y′ = eˣ + x eˣ = eˣ(1 + x) by the product rule. Then y″ = eˣ(1 + x) + eˣ = eˣ(2 + x). Each differentiation adds one more eˣ, which suggests that the nth derivative is eˣ(n + x). The first two cases agree with the pattern. For logarithms, y = ln x gives y′ = 1/x, y″ = −1/x² and y‴ = 2/x³.

Acceleration

If s(t) is position, then velocity is v = ds/dt and acceleration is a = d²s/dt². For s = t³ − 6t² + 2t, we get v = 3t² − 12t + 2 and a = 6t − 12. At t = 3 the acceleration is 6 m/s² if s is measured in metres and t in seconds.

Key takeaways: d²y/dx² means differentiate twice, which is not the same as squaring dy/dx. The nth derivative of eᵃˣ is aⁿeᵃˣ, the derivatives of sin x and cos x repeat in fours, and a polynomial eventually differentiates to 0. For motion, acceleration is the second derivative of position.

Check your understanding

  1. 1. What is d²y/dx² for y = x⁴?

    1. 4x³
    2. 24x
    3. 12x²
    4. 12x
    Show answer

    Answer: C. dy/dx = 4x³, and differentiating again gives d²y/dx² = 12x².

  2. 2. What is the third derivative of e^(2x)?

    1. 8e^(2x)
    2. 6e^(2x)
    3. 2e^(2x)
    4. 4e^(2x)
    Show answer

    Answer: A. Each differentiation multiplies by 2, so the third derivative is 2³e^(2x) = 8e^(2x).

  3. 3. What is the sixth derivative of sin x?

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

    Answer: D. The derivatives of sin x repeat every 4 steps. Since 6 = 4 + 2, the sixth derivative is the same as the second, which is −sin x.

  4. 4. A particle has position s = t³ − 6t² + 2t metres. What is its acceleration at t = 3 seconds?

    1. −6 m/s²
    2. 6 m/s²
    3. 12 m/s²
    4. 2 m/s²
    Show answer

    Answer: B. v = 3t² − 12t + 2 and a = 6t − 12. At t = 3, a = 18 − 12 = 6 m/s².

  5. 5. If y = x³ − 2x² + x, what is the value of d²y/dx² at x = 2?

    1. 8
    2. 4
    3. 12
    4. 6
    Show answer

    Answer: A. dy/dx = 3x² − 4x + 1 and d²y/dx² = 6x − 4. At x = 2 this is 12 − 4 = 8.

Privacy · Terms · Refunds · Delivery