Second Derivative Test: A method to determine whether a critical point is a local maximum, local minimum, or neither by evaluating the second derivative at the critical point.
- Find critical points: Solve \(f'(x) = 0\)
- Find second derivative: Calculate \(f''(x)\)
- Evaluate at critical points: Compute \(f''(c)\) for each critical point \(c\)
- Apply test: If \(f''(c) > 0\) → local minimum, if \(f''(c) < 0\) → local maximum
Function: \(f(x) = x^3 - 6x^2 + 9x + 2\)
Domain: All real numbers \((-\infty, \infty)\)
Evaluate \(f''(c)\) at each critical point \(c\) where \(f'(c) = 0\).
\(f'(x) = 3x^2 - 12x + 9\)
\(3x^2 - 12x + 9 = 0\)
\(3(x^2 - 4x + 3) = 0\)
\(3(x - 1)(x - 3) = 0\)
So \(x = 1\) and \(x = 3\)
\(f''(x) = 6x - 12\)
At \(x = 1\): \(f''(1) = 6(1) - 12 = -6 < 0\) → Local Maximum
At \(x = 3\): \(f''(3) = 6(3) - 12 = 6 > 0\) → Local Minimum
\(f(1) = 1 - 6 + 9 + 2 = 6\)
\(f(3) = 27 - 54 + 27 + 2 = 2\)
Local maximum at \((1, 6)\) since \(f''(1) = -6 < 0\)
Local minimum at \((3, 2)\) since \(f''(3) = 6 > 0\)
The function is concave down at the maximum and concave up at the minimum.
• Power Rule: \(\frac{d}{dx}[x^n] = nx^{n-1}\)
• Second Derivative Test: \(f''(c) > 0\) → local minimum, \(f''(c) < 0\) → local maximum
• Quadratic Factoring: Factor to find critical points efficiently
Function: \(f(x) = x^4 - 4x^3 + 4x^2\)
Domain: All real numbers \((-\infty, \infty)\)
\(f'(x) = 4x^3 - 12x^2 + 8x = 4x(x^2 - 3x + 2) = 4x(x-1)(x-2)\)
\(4x(x-1)(x-2) = 0\)
So \(x = 0\), \(x = 1\), or \(x = 2\)
\(f''(x) = 12x^2 - 24x = 12x(x-2)\)
At \(x = 0\): \(f''(0) = 12(0)(-2) = 0\) → Test Inconclusive
At \(x = 1\): \(f''(1) = 12(1)(-1) = -12 < 0\) → Local Maximum
At \(x = 2\): \(f''(2) = 12(2)(0) = 0\) → Test Inconclusive
For \(x = 0\) and \(x = 2\), use the first derivative test:
Test intervals around \(x = 0\): \(f'(x) = 4x(x-1)(x-2)\)
For \(x\) slightly less than 0: \(f'(-0.5) = 4(-0.5)(-1.5)(-2.5) = -7.5 < 0\)
For \(x\) slightly greater than 0: \(f'(0.5) = 4(0.5)(-0.5)(-1.5) = 1.5 > 0\)
So \(x = 0\) is a local minimum.
For \(x\) slightly less than 2: \(f'(1.5) = 4(1.5)(0.5)(-0.5) = -1.5 < 0\)
For \(x\) slightly greater than 2: \(f'(2.5) = 4(2.5)(1.5)(0.5) = 7.5 > 0\)
So \(x = 2\) is a local minimum.
Local maximum at \((1, 1)\), local minima at \((0, 0)\) and \((2, 0)\)
When the second derivative test is inconclusive (\(f''(c) = 0\)), use the first derivative test.
Higher-degree polynomials may have multiple extrema.
• Polynomial Differentiation: Apply power rule to each term
• Test Inconclusive: When \(f''(c) = 0\), use alternative methods
• Factoring: Factor completely to identify all critical points
Function: \(f(x) = \cos(x)\)
Domain: \([0, 2\pi]\)
\(f'(x) = -\sin(x)\)
\(-\sin(x) = 0\)
On \([0, 2\pi]\): \(x = 0, \pi, 2\pi\)
\(f''(x) = -\cos(x)\)
At \(x = 0\): \(f''(0) = -\cos(0) = -1 < 0\) → Local Maximum
At \(x = \pi\): \(f''(\pi) = -\cos(\pi) = -(-1) = 1 > 0\) → Local Minimum
At \(x = 2\pi\): \(f''(2\pi) = -\cos(2\pi) = -1 < 0\) → Local Maximum
\(f(0) = \cos(0) = 1\)
\(f(\pi) = \cos(\pi) = -1\)
\(f(2\pi) = \cos(2\pi) = 1\)
Local maxima at \((0, 1)\) and \((2\pi, 1)\), local minimum at \((\pi, -1)\)
Periodic functions have predictable critical point patterns.
The cosine function reaches its maximum and minimum values at these points.
• Trig Derivatives: \(\frac{d}{dx}[\cos(x)] = -\sin(x)\)
• Trig Equations: Know where sine equals zero
• Periodic Analysis: Consider domain restrictions for periodic functions
Local Maximum: A point where the function value is greater than or equal to nearby values
Local Minimum: A point where the function value is less than or equal to nearby values
Concavity: The direction of curvature of the function graph
Positive Second Derivative: Concave up → Local minimum
Negative Second Derivative: Concave down → Local maximum
Zero Second Derivative: Test inconclusive → Use first derivative test
• Existence of First Derivative: \(f'(c) = 0\) at the critical point
• Existence of Second Derivative: \(f''(x)\) must exist at the critical point
• Non-zero Second Derivative: \(f''(c) \neq 0\) for the test to be conclusive
• Continuity: Function must be twice differentiable in an interval around the critical point
Function: \(f(x) = \frac{x^2}{x - 1}\)
Domain: \(x \neq 1\) (discontinuity at \(x = 1\))
\(f'(x) = \frac{(x-1)(2x) - x^2(1)}{(x-1)^2} = \frac{2x^2 - 2x - x^2}{(x-1)^2} = \frac{x^2 - 2x}{(x-1)^2} = \frac{x(x-2)}{(x-1)^2}\)
\(\frac{x(x-2)}{(x-1)^2} = 0\)
This occurs when numerator is zero: \(x(x-2) = 0\)
So \(x = 0\) or \(x = 2\)
Starting with \(f'(x) = \frac{x^2 - 2x}{(x-1)^2}\), apply quotient rule again:
\(f''(x) = \frac{(x-1)^2(2x-2) - (x^2-2x)(2)(x-1)}{(x-1)^4}\)
\(= \frac{(x-1)[(x-1)(2x-2) - 2(x^2-2x)]}{(x-1)^4}\)
\(= \frac{(2x-2)(x-1) - 2(x^2-2x)}{(x-1)^3}\)
\(= \frac{2x^2 - 2x - 2x + 2 - 2x^2 + 4x}{(x-1)^3} = \frac{2}{(x-1)^3}\)
At \(x = 0\): \(f''(0) = \frac{2}{(-1)^3} = -2 < 0\) → Local Maximum
At \(x = 2\): \(f''(2) = \frac{2}{(1)^3} = 2 > 0\) → Local Minimum
\(f(0) = \frac{0}{-1} = 0\)
\(f(2) = \frac{4}{1} = 4\)
Local maximum at \((0, 0)\), local minimum at \((2, 4)\)
The function is concave down at the maximum and concave up at the minimum.
Note: \(x = 1\) is a vertical asymptote, not a critical point.
• Quotient Rule: \(\frac{d}{dx}[\frac{u}{v}] = \frac{vu' - uv'}{v^2}\)
• Domain Consideration: Critical points must be in function's domain
• Multiple Derivatives: Apply quotient rule repeatedly for higher derivatives
Function: \(f(x) = x^4\)
Domain: All real numbers \((-\infty, \infty)\)
\(f'(x) = 4x^3\)
\(4x^3 = 0\)
So \(x = 0\)
\(f''(x) = 12x^2\)
At \(x = 0\): \(f''(0) = 12(0)^2 = 0\) → Test Inconclusive
Test intervals: \((-\infty, 0)\) and \((0, \infty)\)
For \(x < 0\): \(f'(x) = 4x^3 < 0\) (function is decreasing)
For \(x > 0\): \(f'(x) = 4x^3 > 0\) (function is increasing)
Since \(f'(x)\) changes from negative to positive at \(x = 0\), it's a local minimum.
Actually, it's a global minimum since \(x^4 \geq 0\) for all real \(x\).
At \((0, 0)\), the second derivative test is inconclusive since \(f''(0) = 0\)
However, using the first derivative test, we find it's a local minimum
This demonstrates why we need alternative methods when the second derivative test fails
• When \(f''(c) = 0\): Use first derivative test or higher-order derivatives
• When \(f'(c) \neq 0\): Not a critical point, cannot apply second derivative test
• When \(f''(c)\) DNE: Cannot apply second derivative test
Second Derivative Test: A method to determine the nature of critical points by examining the sign of the second derivative at those points.
Concavity: The direction of curvature of a function; upward (concave up) or downward (concave down).
Inflection Point: A point where the concavity of the function changes.
- Find critical points: Solve \(f'(x) = 0\) for points where first derivative is zero
- Compute second derivative: Find \(f''(x)\)
- Evaluate at critical points: Calculate \(f''(c)\) for each critical point \(c\)
- Apply test: Use sign of \(f''(c)\) to classify critical points
- Handle inconclusive cases: Use first derivative test when \(f''(c) = 0\)
- Find function values: Calculate \(f(c)\) to get coordinates of extrema
• Local Maximum: \(f'(c) = 0\) and \(f''(c) < 0\) (concave down)
• Local Minimum: \(f'(c) = 0\) and \(f''(c) > 0\) (concave up)
• Inconclusive: \(f'(c) = 0\) and \(f''(c) = 0\) (use first derivative test)
• Not Applicable: \(f'(c) \neq 0\) (not a critical point for this test)
- Local maximum: concave down (negative second derivative)
- Local minimum: concave up (positive second derivative)
- Inflection point: concavity changes sign
Visual analysis: Concavity determines the nature of critical points.
- Concave up functions curve upward like a cup
- Concave down functions curve downward like a frown
- Inflection points mark where concavity changes