Higher-Order Derivatives

Higher-order derivatives are an important concept in calculus; they let us study higher-order rates of change of a function.

Definition of Higher-Order Derivatives

Higher-Order Derivatives

The nn-th derivative of a function f(x)f(x), written f(n)(x)f^{(n)}(x) or dnfdxn\frac{d^n f}{dx^n}, is defined as

f(n)(x)=ddx(f(n−1)(x))f^{(n)}(x) = \frac{d}{dx}(f^{(n-1)}(x))

Physical Meaning of Higher-Order Derivatives

  • First derivative: instantaneous velocity
  • Second derivative: instantaneous acceleration
  • Third derivative: the rate of change of acceleration, also called jerk

Higher-Order Derivatives of Common Functions

1. Power Functions

  • (xn)′=nxn−1(x^n)' = nx^{n-1}
  • (xn)′′=n(n−1)xn−2(x^n)'' = n(n-1)x^{n-2}
  • (xn)′′′=n(n−1)(n−2)xn−3(x^n)''' = n(n-1)(n-2)x^{n-3}
  • (xn)(k)=n!(n−k)!xn−k(x^n)^{(k)} = \frac{n!}{(n-k)!}x^{n-k} (where k≤nk \leq n)

2. Exponential Functions

  • (ex)′=ex(e^x)' = e^x
  • (ex)′′=ex(e^x)'' = e^x
  • (ex)′′′=ex(e^x)''' = e^x
  • (ex)(n)=ex(e^x)^{(n)} = e^x

3. Trigonometric Functions

Sine function:

  • (sin⁡x)′=cos⁡x(\sin x)' = \cos x
  • (sin⁡x)′′=−sin⁡x(\sin x)'' = -\sin x
  • (sin⁡x)′′′=−cos⁡x(\sin x)''' = -\cos x
  • (sin⁡x)(4)=sin⁡x(\sin x)^{(4)} = \sin x

Cosine function:

  • (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x
  • (cos⁡x)′′=−cos⁡x(\cos x)'' = -\cos x
  • (cos⁡x)′′′=sin⁡x(\cos x)''' = \sin x
  • (cos⁡x)(4)=cos⁡x(\cos x)^{(4)} = \cos x

4. Logarithmic Functions

  • (ln⁡x)′=1x(\ln x)' = \frac{1}{x}
  • (ln⁡x)′′=−1x2(\ln x)'' = -\frac{1}{x^2}
  • (ln⁡x)′′′=2x3(\ln x)''' = \frac{2}{x^3}
  • (ln⁡x)(n)=(−1)n−1(n−1)!xn(\ln x)^{(n)} = (-1)^{n-1}\frac{(n-1)!}{x^n}

Operation Rules for Higher-Order Derivatives

1. Linearity

  • (af+bg)(n)=af(n)+bg(n)(af + bg)^{(n)} = af^{(n)} + bg^{(n)}

2. Leibniz Formula

Leibniz Formula

(uv)(n)=∑k=0nCnku(k)v(n−k)(uv)^{(n)} = \sum_{k=0}^{n} C_n^k u^{(k)} v^{(n-k)}

where Cnk=n!k!(n−k)!C_n^k = \frac{n!}{k!(n-k)!} is the binomial coefficient.

3. Higher-Order Derivatives of Composite Functions

For a composite function f(g(x))f(g(x)) the computation of higher-order derivatives is comparatively involved, and the generalized form of the chain rule is usually needed.

Applications of Leibniz Formula

Example 1: Find (x2sin⁡x)′′(x^2 \sin x)''

Solution:

  • Use the Leibniz formula: n=2n = 2
  • (x2)′=2x(x^2)' = 2x, (x2)′′=2(x^2)'' = 2
  • (sin⁡x)′=cos⁡x(\sin x)' = \cos x, (sin⁡x)′′=−sin⁡x(\sin x)'' = -\sin x
  • (x2sin⁡x)′′=C20⋅2⋅sin⁡x+C21⋅2x⋅cos⁡x+C22⋅x2⋅(−sin⁡x)(x^2 \sin x)'' = C_2^0 \cdot 2 \cdot \sin x + C_2^1 \cdot 2x \cdot \cos x + C_2^2 \cdot x^2 \cdot (-\sin x)
  • =2sin⁡x+4xcos⁡x−x2sin⁡x= 2\sin x + 4x\cos x - x^2\sin x

Example 2: Find (exln⁡x)′′(e^x \ln x)''

Solution:

  • Use the Leibniz formula: n=2n = 2
  • (ex)′=ex(e^x)' = e^x, (ex)′′=ex(e^x)'' = e^x
  • (ln⁡x)′=1x(\ln x)' = \frac{1}{x}, (ln⁡x)′′=−1x2(\ln x)'' = -\frac{1}{x^2}
  • (exln⁡x)′′=C20⋅ex⋅ln⁡x+C21⋅ex⋅1x+C22⋅ex⋅(−1x2)(e^x \ln x)'' = C_2^0 \cdot e^x \cdot \ln x + C_2^1 \cdot e^x \cdot \frac{1}{x} + C_2^2 \cdot e^x \cdot (-\frac{1}{x^2})
  • =ex(ln⁡x+2x−1x2)= e^x(\ln x + \frac{2}{x} - \frac{1}{x^2})

Geometric Meaning of Higher-Order Derivatives

1. Geometric Meaning of the Second Derivative

  • f′′(x)>0f''(x) > 0: the function is convex in a neighborhood of that point
  • f′′(x)<0f''(x) < 0: the function is concave in a neighborhood of that point
  • f′′(x)=0f''(x) = 0: it may be an inflection point

2. Deciding an Inflection Point

If f′′(c)=0f''(c) = 0 and f′′′(c)≠0f'''(c) \neq 0, then x=cx = c is an inflection point of the function f(x)f(x).

Common Errors and Precautions

1. Mistakes in the Leibniz Formula

Mistake: (uv)′′=u′′v′′(uv)'' = u''v'' Correct: (uv)′′=u′′v+2u′v′+uv′′(uv)'' = u''v + 2u'v' + uv''

2. Sign Errors

Mistake: (cos⁡x)′′=cos⁡x(\cos x)'' = \cos x Correct: (cos⁡x)′′=−cos⁡x(\cos x)'' = -\cos x

3. Mistakes in the Order of the Derivative

Mistake: (x3)′′=3x2(x^3)'' = 3x^2 Correct: (x3)′′=6x(x^3)'' = 6x

4. Mistakes with Composite Functions

For the higher-order derivatives of a composite function, the Leibniz formula cannot simply be applied as it is.

Exercises

Exercise 1

Find the third derivative of f(x)=x3sin⁡xf(x) = x^3 \sin x.

derivative calculationdifferentiation rules

Approach: Use the Leibniz formula to compute the higher-order derivative.

Steps:

  1. Use the Leibniz formula: (uv)(3)=∑k=03C3ku(k)v(3−k)(uv)^{(3)} = \sum_{k=0}^{3} C_3^k u^{(k)} v^{(3-k)}
  2. (x3)′=3x2(x^3)' = 3x^2, (x3)′′=6x(x^3)'' = 6x, (x3)′′′=6(x^3)''' = 6
  3. (sin⁡x)′=cos⁡x(\sin x)' = \cos x, (sin⁡x)′′=−sin⁡x(\sin x)'' = -\sin x, (sin⁡x)′′′=−cos⁡x(\sin x)''' = -\cos x
  4. f′′′(x)=C30⋅6⋅sin⁡x+C31⋅6x⋅(−sin⁡x)+C32⋅3x2⋅(−cos⁡x)+C33⋅x3⋅(−cos⁡x)f'''(x) = C_3^0 \cdot 6 \cdot \sin x + C_3^1 \cdot 6x \cdot (-\sin x) + C_3^2 \cdot 3x^2 \cdot (-\cos x) + C_3^3 \cdot x^3 \cdot (-\cos x)
  5. f′′′(x)=6sin⁡x−18xsin⁡x−9x2cos⁡x−x3cos⁡xf'''(x) = 6\sin x - 18x\sin x - 9x^2\cos x - x^3\cos x

Answer: f′′′(x)=6sin⁡x−18xsin⁡x−9x2cos⁡x−x3cos⁡xf'''(x) = 6\sin x - 18x\sin x - 9x^2\cos x - x^3\cos x

Exercise 2

Find the second derivative of f(x)=exln⁡xf(x) = e^x \ln x.

derivative calculationdifferentiation rules

Approach: Use the Leibniz formula to compute the second derivative.

Steps:

  1. Use the Leibniz formula: (uv)′′=u′′v+2u′v′+uv′′(uv)'' = u''v + 2u'v' + uv''
  2. (ex)′=ex(e^x)' = e^x, (ex)′′=ex(e^x)'' = e^x
  3. (ln⁡x)′=1x(\ln x)' = \frac{1}{x}, (ln⁡x)′′=−1x2(\ln x)'' = -\frac{1}{x^2}
  4. f′′(x)=ex⋅ln⁡x+2ex⋅1x+ex⋅(−1x2)f''(x) = e^x \cdot \ln x + 2e^x \cdot \frac{1}{x} + e^x \cdot (-\frac{1}{x^2})
  5. f′′(x)=ex(ln⁡x+2x−1x2)f''(x) = e^x(\ln x + \frac{2}{x} - \frac{1}{x^2})

Answer: f′′(x)=ex(ln⁡x+2x−1x2)f''(x) = e^x(\ln x + \frac{2}{x} - \frac{1}{x^2})

Exercise 3

Find the fourth derivative of f(x)=x2cos⁡xf(x) = x^2 \cos x.

derivative calculationdifferentiation rules

Approach: Use the Leibniz formula to compute the fourth derivative.

Steps:

  1. Use the Leibniz formula: (uv)(4)=∑k=04C4ku(k)v(4−k)(uv)^{(4)} = \sum_{k=0}^{4} C_4^k u^{(k)} v^{(4-k)}
  2. (x2)′=2x(x^2)' = 2x, (x2)′′=2(x^2)'' = 2, (x2)′′′=0(x^2)''' = 0, (x2)(4)=0(x^2)^{(4)} = 0
  3. (cos⁡x)′=−sin⁡x(\cos x)' = -\sin x, (cos⁡x)′′=−cos⁡x(\cos x)'' = -\cos x, (cos⁡x)′′′=sin⁡x(\cos x)''' = \sin x, (cos⁡x)(4)=cos⁡x(\cos x)^{(4)} = \cos x
  4. f(4)(x)=C40⋅0⋅cos⁡x+C41⋅0⋅sin⁡x+C42⋅2⋅(−cos⁡x)+C43⋅2x⋅(−sin⁡x)+C44⋅x2⋅cos⁡xf^{(4)}(x) = C_4^0 \cdot 0 \cdot \cos x + C_4^1 \cdot 0 \cdot \sin x + C_4^2 \cdot 2 \cdot (-\cos x) + C_4^3 \cdot 2x \cdot (-\sin x) + C_4^4 \cdot x^2 \cdot \cos x
  5. f(4)(x)=0+0−12cos⁡x−8xsin⁡x+x2cos⁡xf^{(4)}(x) = 0 + 0 - 12\cos x - 8x\sin x + x^2\cos x

Answer: f(4)(x)=(x2−12)cos⁡x−8xsin⁡xf^{(4)}(x) = (x^2 - 12)\cos x - 8x\sin x

Exercise 4

Find the third derivative of f(x)=ln⁡(x2+1)f(x) = \ln(x^2 + 1).

derivative calculationdifferentiation rules

Approach: Use the rule for differentiating composite functions.

Steps:

  1. f′(x)=2xx2+1f'(x) = \frac{2x}{x^2 + 1}
  2. f′′(x)=2(x2+1)−2x⋅2x(x2+1)2=2(1−x2)(x2+1)2f''(x) = \frac{2(x^2 + 1) - 2x \cdot 2x}{(x^2 + 1)^2} = \frac{2(1 - x^2)}{(x^2 + 1)^2}
  3. f′′′(x)=ddx(2(1−x2)(x2+1)2)=2(−2x)(x2+1)2−2(1−x2)⋅2(x2+1)⋅2x(x2+1)4f'''(x) = \frac{d}{dx}(\frac{2(1 - x^2)}{(x^2 + 1)^2}) = \frac{2(-2x)(x^2 + 1)^2 - 2(1 - x^2) \cdot 2(x^2 + 1) \cdot 2x}{(x^2 + 1)^4}
  4. f′′′(x)=4x(3x2−1)(x2+1)3f'''(x) = \frac{4x(3x^2 - 1)}{(x^2 + 1)^3}

Answer: f′′′(x)=4x(3x2−1)(x2+1)3f'''(x) = \frac{4x(3x^2 - 1)}{(x^2 + 1)^3}

Exercise 5

Find the second derivative of f(x)=sin⁡(x2)f(x) = \sin(x^2).

derivative calculationdifferentiation rules

Approach: Use the rule for differentiating composite functions.

Steps:

  1. f′(x)=cos⁡(x2)⋅2x=2xcos⁡(x2)f'(x) = \cos(x^2) \cdot 2x = 2x\cos(x^2)
  2. f′′(x)=2cos⁡(x2)+2x⋅(−sin⁡(x2)⋅2x)=2cos⁡(x2)−4x2sin⁡(x2)f''(x) = 2\cos(x^2) + 2x \cdot (-\sin(x^2) \cdot 2x) = 2\cos(x^2) - 4x^2\sin(x^2)

Answer: f′′(x)=2cos⁡(x2)−4x2sin⁡(x2)f''(x) = 2\cos(x^2) - 4x^2\sin(x^2)


Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
ξ\xiGreek letterXiA point appearing in the mean value theorems

Found an issue with this content?

Tell us what could be improved.