Lesson 23 (10/23/26)
Today:
- Review of first Derivative test
- What does second derivative tell us
- Second Derivative Test
Office Hours: MWF 130pm - 230pm
Today:
Office Hours: MWF 130pm - 230pm
Critical points: \( f'(c) = 0 \) or \( f'(c) \text{ DNE} \)
increasing: \( f' > 0 \)
decreasing: \( f' < 0 \)
if \( f' \) changes sign at \( x = c \) then we have a Relative/Local min/max
Relative max: \( f' \) changes from \( > 0 \) to \( < 0 \)
Relative min: \( f' \) changes from \( < 0 \) to \( > 0 \)
\( f(x) = x e^{-x} \), Find Relative max/min using 1st Derivative Test.
\[ f'(x) = \frac{d}{dx} (x e^{-x}) = e^{-x} + x \cdot e^{-x}(-1) = e^{-x}(1-x) \]
\( x = 1 \) is the only critical point
Relative Max.
\[ f(x) \rightsquigarrow f'(x) = \frac{d}{dx} f(x) \quad \begin{aligned} &> 0 \implies f(x) \uparrow \\ &< 0 \implies f(x) \downarrow \end{aligned} \]
\[ f''(x) = \frac{d}{dx} (f'(x)) \rightsquigarrow \text{â‘ } f''(x) > 0 \quad \text{then} \quad f'(x) \uparrow \]
\[ f' > 0 \qquad\qquad\qquad\qquad\qquad\qquad f' < 0 \]
We say graph is concave up
if \( f'' < 0 \sim \) we say \( f(x) \) is Concave down.
eg: \( -x^2 \)
eg: \( x^2 \)
Apply Second Derivative test to Determine Relative max/min.
\[ f'(x) = 12x^3 - 12x^2 - 24x = 12x [x^2 - x - 2] \] \[ = 12x (x - 2)(x + 1) = 0 \]
points to check: \( x = 0, \, x = 2, \, x = -1 \)
\[ f''(x) = 36x^2 - 24x - 24 = 12 [3x^2 - 2x - 2] \]
\[ f''(0) = -24 < 0 \]
\( x = 0 \) is Local Max
\[ f''(2) = 12 [12 - 4 - 2] = 72 > 0 \]
\( x = -1, \, x = 2 \) is Local Min.
\[ f''(-1) = 36 + 24 - 24 = 36 > 0 \]
Apply second derivative test to determine Relative max/min.
\[ f'(x) = 2 \sin x \cos x = 0 \rightsquigarrow \sin x = 0 \quad \text{or} \quad \cos x = 0 \]
For \( \sin x = 0 \):
\[ 0, \pi, 2\pi \]
For \( \cos x = 0 \):
\[ \pi/2, 3\pi/2 \] \[ f''(x) = 2 \cos^2 x - 2 \sin^2 x \] \[ \left. \begin{aligned} f''(0) &= 2 \\ f''(\pi) &= 2 \\ f''(2\pi) &= 2 \end{aligned} \right\} > 0 \]
\( x = 0, x = \pi, x = 2\pi \), we have Local min.
\[ \left. \begin{aligned} f''(\pi/2) &= -2 \\ f''(3\pi/2) &= -2 \end{aligned} \right\} < 0 \]
\( x = \pi/2, x = 3\pi/2 \), we have Local Max.
eg: \( f(x) = x^3 \leadsto \)
\( f'(x) = 3x^2 \)
\( f''(x) = 6x \)
\( f''(x) > 0 \) on \( (0, \infty) \) Concave up
\( f''(x) < 0 \) on \( (-\infty, 0) \) Concave down
\( f''(0) = 0 \)
at \( x = 0 \), it changes from concave up to concave down.
\( x = 0 \) is called inflection points
\[ f(x) = -x^3 \]
\[ f'(x) = -3x^2 < 0 \quad \text{for } x \ne 0 \]
\[ f''(x) = -6x \]
\[ f''(x) > 0 \quad \text{on } (-\infty, 0) \]
\[ f''(x) < 0 \quad \text{on } (0, \infty) \]
\[ f''(0) = 0 \]
at \(x = 0\) concavity changes \(\Rightarrow\) it's an inflection.
\[ f(x) = x^4 \]
\[ f'(x) = 4x^3 \]
\[ f''(x) = 12x^2 \]
\[ f''(x) > 0 \text{ for } x \neq 0 \implies \text{Concave up except at } x = 0 \]
\[ f''(0) = 0 \]
\( x = 0 \) is NOT an inflection because concavity does change at \( x = 0 \).
eg: \(f(x) = xe^x\), find inflection points and intervals where the function is concave up and concave down.
\[ f'(x) = e^x + xe^x \] \[ f''(x) = e^x + e^x + xe^x = e^x[2+x] \] \[ e^x > 0 \quad \text{for all } x \] \[ 2+x > 0 \quad \text{for } x > -2 \] \[ 2+x < 0 \quad \text{for } x < -2 \] \[ 2+x = 0 \quad \text{for } x = -2 \]
\((-\infty, -2)\) c. down
\((-2, \infty)\) is c. up,
\(x = -2\) is inflection pt.
\( f(x) = x^4 - 4x^3 + 6x^2 \)
Find inflection points, intervals of concave up and concave down!
\[ f'(x) = 4x^3 - 12x^2 + 12x \]
\[ f''(x) = 12x^2 - 24x + 12 = 12(x^2 - 2x + 1) = 12(x - 1)^2 \]
\[ \begin{aligned} f''(x) > 0 & \quad x \neq 1 \\ = 0 & \quad x = 1 \end{aligned} \]
No inflection points
interval of c. up \( (-\infty, 1) \cup (1, \infty) \)