NOTE: You may view the original PDFs of the notes written in class by clicking on the link for the 1:30 Section or 2:30 Section, respectively.
Lecture 12: Higher Order Derivatives
GOAL: Compute derivatives of derivatives. Interpret the second and third derivative in a physics context.
Summary:
\[ \begin{gathered} \frac{d^n f}{dx^n} = \frac{d}{dx}\left(\frac{d^{n-1} f}{dx^{n-1}}\right) \\[0.5em] f^{(n)}(x) = [f^{(n-1)}(x)]' \\[0.5em] a(t) = v'(t) = s''(t) \quad\\[0.5em] j(t) = a'(t) = v''(t) = s'''(t) \end{gathered} \]Recall that the height of a ball tossed straight into the air can be modeled using a parabola. Say
\[ s(t) = -4.9t^2 + 7t + 6 \]Then the velocity of the ball is given by the derivative.
\[ v(t) = s'(t) = -9.8t + 7 \]\( v(t) \) is a differentiable function, so we can continue this process
\[ v'(t) = -9.8 \]Figure 1
Figure 2
Figure 3
Definition The quantity
\[ \begin{gathered} \frac{d}{dx}\left(\frac{df}{dx}\right) = \frac{d^2 f}{dx^2} \\[0.5em] [f'(x)]' = f''(x) \end{gathered} \]is called the second derivative of \( f \) with respect to \( x \).
Definition The acceleration of an object, whose position at time \( t \) is given by \( s(t) \), is defined by
\[ a(t) \stackrel{\text{def}}{=} v'(t) = s''(t) \]Example 1
Find \( f''(x) \) if \( f(x) = 2\sin x + 3\cos x \)
\[ \begin{aligned} f(x) &= 2\sin x + 3\cos x \\ f'(x) &= 2\cos x - 3\sin x \\ f''(x) &= -2\sin x - 3\cos x \end{aligned} \]NOTE
This is a fun fact (ie, you do not need to know this). If \( A \) and \( B \) are constants, then any function of the form \( f(x) = A\sin x + B\cos x \) satisfies the equation
\[ \frac{d^2 f}{dx^2} + f(x) = 0 \]Example 2
A particle is traveling along a straight line; its position at time \( t \) is given by
\[ s(t) = t^3 - 6t^2 + 9t \]-
Find the velocity and acceleration of the particle at time \( t \).
\[ \begin{gathered} v(t) = s'(t) = 3t^2 - 12t + 9 \\[0.5em] a(t) = v'(t) = 6t - 12 \end{gathered} \] -
If \( t \) is measured in seconds and \( s(t) \) is measured in meters, find \( v(4) \) and \( a(4) \).
-
What is the acceleration when the velocity is \( 24\ \frac{m}{s} \)?
Step 1 Find \( t \) when \( v(t) = 24 \)
\[ \begin{aligned} v(t) = 3t^2 - 12t + 9 &\stackrel{\text{set}}{=} 24 \\ 3t^2 - 12t - 15 &= 0 \\ t^2 - 4t - 5 &= 0 \\ (t+1)(t-5) &= 0 \end{aligned} \]Thus, \( t = -1 \) or \( t = 5 \). As \( t \) represents time, we get \( v(t) = 24 \) when \( t = 5 \).
Step 2 Find \( a(5) \)
\[ \begin{aligned} a(5) &= 6(5) - 12 \\ &= 30 - 12 \\ &= 18\ \frac{m}{s^2} \end{aligned} \]
Example 3
Suppose the position of a particle is given by
\[ s(t) = \frac{t}{t^2+1} \qquad (t \ge 0) \]When is the acceleration \( 0 \)?
\[ \begin{aligned} v(t) &= s'(t) \\ &= \frac{(1)(t^2+1) - t(2t)}{(t^2+1)^2} \end{aligned} \]NOTE:
When you need to take multiple derivatives, it is generally a good idea to simplify as much as possible before you continue.
The denominator is never \( 0 \), so we only need to check when the numerator is \( 0 \). We also disregard any negative solutions as \( t \ge 0 \).
\[ -2t = 0 \quad \text{OR} \quad t^2+1 = 0 \quad \text{OR} \quad 3-t^2 = 0 \] \[ \boxed{t = 0} \qquad \text{Never} \qquad \begin{aligned} &t^2 = 3 \\ &t = \pm\sqrt{3}\\ &\boxed{t =~ \sqrt{3}} \end{aligned} \]Higher Order Derivatives
As long as the derivative is differentiable, there is nothing stopping us from taking more derivatives.
NOTATION:
3rd Derivative:
\[ \begin{gathered} \frac{d^3 f}{dx^3} \stackrel{\text{def}}{=\!=} \frac{d}{dx}\left( \frac{d^2 f}{dx^2} \right) \\[0.5em] f'''(x) = \left[ f''(x) \right]' \end{gathered} \]4th Derivative:
\[ \begin{gathered} \frac{d^4 f}{dx^4} = \frac{d}{dx}\left( \frac{d^3 f}{dx^3} \right) \\[0.5em] f''''(x) = \left[ f'''(x) \right]' \end{gathered} \]nth Derivative:
\[ \begin{gathered} \frac{d^n f}{dx^n} = \frac{d}{dx}\left( \frac{d^{n-1} f}{dx^{n-1}} \right) \\[0.5em] f^{(n)}(x) = \left[ f^{(n-1)}(x) \right]' \end{gathered} \]NOTE:
In a physics context, the 3rd Derivative of a position function \( s(t) \) is called the jerk at time \( t \), denoted by:
\[ j(t) \stackrel{\text{def}}{=\!=} a'(t) = v''(t) = s'''(t) \]Example 4
If \( f^{(9)}(x) = 6\sec(2x-5) \), find \( f^{(10)}(x) \).
\[ \begin{aligned} f^{(10)}(x) = \left[ f^{(9)}(x) \right]' &= 6\sec(2x-5)\tan(2x-5)\,(2) \\ &= 12\sec(2x-5)\tan(2x-5) \end{aligned} \]Example 5
Examine the various derivatives of \( f(x) = \sin x \)
\[ \begin{aligned} f(x) &= \sin x \\ f'(x) &= \cos x \\ f''(x) &= -\sin x \\ f'''(x) &= -\cos x \\ f^{(4)}(x) &= \sin x \end{aligned} \]So we get a loop:
Figure 4
Example 6
Repeat for the function \( f(x) = x^4 + x^3 + x^2 + x + 1 \)
\[ \begin{aligned} f(x) &= x^3 + x^2 + x + 1 \\ f'(x) &= 3x^2 + 2x + 1 \\ f''(x) &= 6x + 2 \\ f'''(x) &= 6 \\ f^{(4)}(x) &= 0 \end{aligned} \]So \(f\) (and polynomials in general) go to \( 0 \) if you take enough (1 + the degree of the polynomial) derivatives
Figure 5
Example 7
Repeat for the function \( f(x) = e^{2x} \)
\[ \begin{aligned} f(x) &= e^{2x} \\ f'(x) &= e^{2x}(2) = 2e^{2x} \\ f''(x) &= 2e^{2x}(2) = 2^2 e^{2x} \\ f'''(x) &= 2^2 e^{2x}(2) = 2^3 e^{2x} \\ &\;\;\vdots \\ f^{(n)}(x) &= 2^{n-1} e^{2x}(2) = 2^n e^{2x} \end{aligned} \]So we get a never ending chain
Figure 6
Supplemental Examples from the Homework
Example 8 (HW 12, #2)
Find \( g''(x) \) if \(g(x) = 4e^{3x}\cos(4x)\)
\begin{align*} g(x) = 4e^{3x} \cos(4x) \end{align*} \begin{align*} g'(x) =&~ 4e^{3x}(3) \cos(4x) + 4e^{3x} (-\sin(4x))(4)\\[0.5em] =&~ 12e^{3x} \cos(4x) - 16 e^{3x}\sin(4x)\\[0.5em] =&~ 4e^{3x}[3 \cos(4x) - 4\sin(4x)] \end{align*} \begin{align*} g''(x) =&~ 12e^{3x} [3\cos(4x) - 4\sin(4x)] + 4e^{3x}[-12\sin(4x) - 16\cos(4x)]\\[0.5em] =&~ (36 - 64)e^{3x}\cos(4x) + (-48 - 48) e^{3x}\sin(4x)\\[0.5em] =&~ -28e^{3x} \cos(4x) - 96e^{3x}\sin(4x) \end{align*}