Local Maximum: A point where the function value is greater than nearby points.
Local Minimum: A point where the function value is less than nearby points.
- Find the first derivative f'(x)
- Find critical points by solving f'(x) = 0
- Find the second derivative f''(x)
- Apply the second derivative test to each critical point
- Alternatively, use the first derivative test to determine nature of extrema
f'(x) = d/dx(x³ - 3x² - 9x + 5) = 3x² - 6x - 9
f'(x) = 3x² - 6x - 9 = 3(x² - 2x - 3) = 3(x - 3)(x + 1)
Setting f'(x) = 0: 3(x - 3)(x + 1) = 0 → x = 3 or x = -1
f''(x) = d/dx(3x² - 6x - 9) = 6x - 6 = 6(x - 1)
At x = -1: f''(-1) = 6(-1 - 1) = 6(-2) = -12 < 0 → local maximum
At x = 3: f''(3) = 6(3 - 1) = 6(2) = 12 > 0 → local minimum
At x = -1: f(-1) = (-1)³ - 3(-1)² - 9(-1) + 5 = -1 - 3 + 9 + 5 = 10
At x = 3: f(3) = (3)³ - 3(3)² - 9(3) + 5 = 27 - 27 - 27 + 5 = -22
For x < -1: f'(x) = 3(x - 3)(x + 1) = 3(-)(-) = positive → increasing
For -1 < x < 3: f'(x) = 3(x - 3)(x + 1) = 3(+)(-) = negative → decreasing
For x > 3: f'(x) = 3(x - 3)(x + 1) = 3(+)(+) = positive → increasing
At x = -1: function changes from increasing to decreasing → local maximum
At x = 3: function changes from decreasing to increasing → local minimum
The function f(x) = x³ - 3x² - 9x + 5 has a local maximum at (-1, 10) and a local minimum at (3, -22).
• Second derivative test: f''(c) < 0 → local maximum, f''(c) > 0 → local minimum
• First derivative test: Sign change in f'(x) indicates extrema
• Factoring: Factor quadratic expressions to find zeros easily
• Power rule: d/dx(xⁿ) = nxⁿ⁻¹
Rational Functions: Functions expressed as ratios of polynomials, requiring quotient rule for differentiation.
f'(x) = [(x² + 1)(1) - x(2x)] / (x² + 1)² = [x² + 1 - 2x²] / (x² + 1)² = (1 - x²) / (x² + 1)²
f'(x) = (1 - x²) / (x² + 1)² = 0
Since (x² + 1)² > 0 for all real x, we need the numerator to be zero:
1 - x² = 0 → x² = 1 → x = ±1
Using the quotient rule on f'(x) = (1 - x²)/(x² + 1)²:
f''(x) = [(x² + 1)²(-2x) - (1 - x²)·2(x² + 1)(2x)] / (x² + 1)⁴
f''(x) = [(x² + 1)(-2x)(x² + 1) - 4x(1 - x²)(x² + 1)] / (x² + 1)⁴
f''(x) = [-2x(x² + 1) - 4x(1 - x²)] / (x² + 1)³ = [-2x³ - 2x - 4x + 4x³] / (x² + 1)³
f''(x) = [2x³ - 6x] / (x² + 1)³ = 2x(x² - 3) / (x² + 1)³
At x = -1: f''(-1) = 2(-1)[(-1)² - 3] / [((-1)² + 1)³] = -2(1 - 3) / (2³) = -2(-2) / 8 = 4/8 = 1/2 > 0 → local minimum
At x = 1: f''(1) = 2(1)[(1)² - 3] / [((1)² + 1)³] = 2(1 - 3) / (2³) = 2(-2) / 8 = -4/8 = -1/2 < 0 → local maximum
At x = -1: f(-1) = -1/((-1)² + 1) = -1/2
At x = 1: f(1) = 1/(1² + 1) = 1/2
Since (x² + 1)² > 0 always, sign of f'(x) depends on numerator (1 - x²)
For x < -1: 1 - x² < 0 → f'(x) < 0 → decreasing
For -1 < x < 1: 1 - x² > 0 → f'(x) > 0 → increasing
For x > 1: 1 - x² < 0 → f'(x) < 0 → decreasing
At x = -1: function changes from decreasing to increasing → local minimum
At x = 1: function changes from increasing to decreasing → local maximum
The function f(x) = x/(x² + 1) has a local minimum at (-1, -1/2) and a local maximum at (1, 1/2).
• Quotient rule: d/dx[u/v] = (v·u' - u·v')/v²
• Second derivative test: f''(c) > 0 → local minimum, f''(c) < 0 → local maximum
• Rational function properties: Domain is all real numbers since denominator never zero
• Sign determination: Focus on numerator when denominator is always positive
Second Derivative Test Inconclusive: When f'(c) = 0 and f''(c) = 0, the test provides no information about the nature of the critical point.
f'(x) = 4x³ - 12x² + 12x - 4 = 4(x³ - 3x² + 3x - 1)
f'(x) = 4(x³ - 3x² + 3x - 1) = 4(x - 1)³
Note: x³ - 3x² + 3x - 1 = (x - 1)³ (perfect cube)
Setting f'(x) = 0: 4(x - 1)³ = 0 → x = 1
f''(x) = 12x² - 24x + 12 = 12(x² - 2x + 1) = 12(x - 1)²
At x = 1: f''(1) = 12(1 - 1)² = 12(0) = 0
Since f''(1) = 0, the second derivative test is inconclusive
f'(x) = 4(x - 1)³
For x < 1: (x - 1) < 0 → (x - 1)³ < 0 → f'(x) = 4(negative) < 0 → decreasing
For x > 1: (x - 1) > 0 → (x - 1)³ > 0 → f'(x) = 4(positive) > 0 → increasing
Since f changes from decreasing to increasing at x = 1, there is a local minimum
At x = 1: f(1) = 1⁴ - 4(1)³ + 6(1)² - 4(1) + 1 = 1 - 4 + 6 - 4 + 1 = 0
f(x) = x⁴ - 4x³ + 6x² - 4x + 1 = (x - 1)⁴
This is a perfect fourth power, which is always non-negative and equals zero only at x = 1
Therefore, x = 1 gives an absolute minimum
The function f(x) = x⁴ - 4x³ + 6x² - 4x + 1 has a local minimum at (1, 0). The second derivative test is inconclusive at x = 1, but the first derivative test confirms it's a minimum.
• Second derivative test limitations: When f''(c) = 0, test is inconclusive
• First derivative test: Always reliable when second derivative test fails
• Perfect powers: Recognizing (x - 1)⁴ reveals the function's behavior
• Sign analysis: Cubic expressions maintain sign of their base
Local Maximum: A point (c, f(c)) where f(c) ≥ f(x) for all x in some open interval containing c.
Local Minimum: A point (c, f(c)) where f(c) ≤ f(x) for all x in some open interval containing c.
Local Extremum: Either a local maximum or local minimum.
Critical Point: A point where f'(x) = 0 or f'(x) does not exist.
First Derivative Test: Determines the nature of critical points by examining the sign of f'(x) around the point.
Second Derivative Test: Determines the nature of critical points using f''(x) when f'(c) = 0.
- Find f'(x): Compute the first derivative of the function
- Find critical points: Solve f'(x) = 0 and identify where f'(x) does not exist
- Find f''(x): Compute the second derivative of the function
- Apply second derivative test: For each critical point c where f'(c) = 0
- Handle inconclusive cases: Use first derivative test when f''(c) = 0
- Calculate function values: Find f(c) for each local extremum at x = c
- State results: Clearly identify local maxima and minima with coordinates
• Second derivative test: f'(c) = 0 and f''(c) < 0 → local maximum
• Second derivative test: f'(c) = 0 and f''(c) > 0 → local minimum
• Second derivative test: f'(c) = 0 and f''(c) = 0 → inconclusive
• First derivative test: Sign change from positive to negative → local maximum
• First derivative test: Sign change from negative to positive → local minimum
Product Rule: For functions of the form f(x) = u(x)v(x), f'(x) = u'(x)v(x) + u(x)v'(x).
f'(x) = d/dx(x) · e⁻ˣ + x · d/dx(e⁻ˣ) = 1 · e⁻ˣ + x · (-e⁻ˣ) = e⁻ˣ - xe⁻ˣ = e⁻ˣ(1 - x)
f'(x) = e⁻ˣ(1 - x) = 0
Since e⁻ˣ > 0 for all real x, we need (1 - x) = 0 → x = 1
f'(x) = e⁻ˣ(1 - x)
f''(x) = d/dx[e⁻ˣ(1 - x)] = e⁻ˣ(-1) + (1 - x)(-e⁻ˣ) = -e⁻ˣ - (1 - x)e⁻ˣ = -e⁻ˣ[1 + (1 - x)] = -e⁻ˣ(2 - x) = e⁻ˣ(x - 2)
At x = 1: f''(1) = e⁻¹(1 - 2) = e⁻¹(-1) = -1/e < 0 → local maximum
At x = 1: f(1) = 1 · e⁻¹ = 1/e ≈ 0.368
Since e⁻ˣ > 0 for all x, sign of f'(x) depends on (1 - x)
For x < 1: (1 - x) > 0 → f'(x) = e⁻ˣ(positive) > 0 → increasing
For x > 1: (1 - x) < 0 → f'(x) = e⁻ˣ(negative) < 0 → decreasing
At x = 1: function changes from increasing to decreasing → local maximum
The function f(x) = xe⁻ˣ has a local maximum at (1, 1/e).
• Product rule: For differentiating products of functions
• Exponential properties: eˣ > 0 for all x, so sign depends on other factors
• Sign analysis: Factor out positive terms to analyze sign
• Local extrema: Occur where function changes from increasing to decreasing
Trigonometric Derivatives: d/dx(sin x) = cos x, d/dx(cos x) = -sin x.
f'(x) = d/dx[sin(x) + cos(x)] = cos(x) - sin(x)
f'(x) = cos(x) - sin(x) = 0 → cos(x) = sin(x) → tan(x) = 1
On [0, 2π]: x = π/4 and x = 5π/4
f''(x) = d/dx[cos(x) - sin(x)] = -sin(x) - cos(x)
At x = π/4: f''(π/4) = -sin(π/4) - cos(π/4) = -√2/2 - √2/2 = -√2 < 0 → local maximum
At x = 5π/4: f''(5π/4) = -sin(5π/4) - cos(5π/4) = -(-√2/2) - (-√2/2) = √2/2 + √2/2 = √2 > 0 → local minimum
At x = π/4: f(π/4) = sin(π/4) + cos(π/4) = √2/2 + √2/2 = √2 ≈ 1.414
At x = 5π/4: f(5π/4) = sin(5π/4) + cos(5π/4) = -√2/2 + (-√2/2) = -√2 ≈ -1.414
For x slightly less than π/4: cos(x) > sin(x) → f'(x) > 0 → increasing
For x slightly greater than π/4: cos(x) < sin(x) → f'(x) < 0 → decreasing
For x slightly less than 5π/4: cos(x) < sin(x) → f'(x) < 0 → decreasing
For x slightly greater than 5π/4: cos(x) > sin(x) → f'(x) > 0 → increasing
At x = π/4: function changes from increasing to decreasing → local maximum
At x = 5π/4: function changes from decreasing to increasing → local minimum
The function f(x) = sin(x) + cos(x) has a local maximum at (π/4, √2) and a local minimum at (5π/4, -√2) on [0, 2π].
• Trigonometric derivatives: Standard derivatives of sin and cos
• Trigonometric equations: Solving tan(x) = 1
• Special angles: Using known values of sine and cosine
• Periodic properties: Understanding behavior of trigonometric functions
Local Maximum: A point (c, f(c)) where f(c) ≥ f(x) for all x in some open interval containing c. The function value is greater than nearby values.
Local Minimum: A point (c, f(c)) where f(c) ≤ f(x) for all x in some open interval containing c. The function value is less than nearby values.
Local Extremum: Either a local maximum or local minimum.
Critical Point: A point where f'(x) = 0 or f'(x) does not exist. These are the only points where local extrema can occur.
First Derivative Test: Determines the nature of critical points by examining the sign of f'(x) on either side of the critical point.
Second Derivative Test: Determines the nature of critical points using f''(x) when f'(c) = 0.
Global/Absolute Extremum: The highest or lowest value on the entire domain or specified interval.
- Find f'(x): Compute the first derivative of the function
- Find critical points: Solve f'(x) = 0 and identify points where f'(x) does not exist
- Find f''(x): Compute the second derivative of the function
- Apply second derivative test: For each critical point c where f'(c) = 0
- Handle inconclusive cases: When f''(c) = 0, use the first derivative test
- Apply first derivative test: Examine sign changes of f'(x) around critical points
- Calculate function values: Find f(c) for each local extremum at x = c
- State results clearly: Identify local maxima and minima with coordinates
• Second derivative test: If f'(c) = 0 and f''(c) < 0, then f has a local maximum at x = c
• Second derivative test: If f'(c) = 0 and f''(c) > 0, then f has a local minimum at x = c
• Second derivative test: If f'(c) = 0 and f''(c) = 0, the test is inconclusive
• First derivative test: If f'(x) changes from positive to negative at c, then f has a local maximum at x = c
• First derivative test: If f'(x) changes from negative to positive at c, then f has a local minimum at x = c
• Critical points: Local extrema can only occur at critical points
Problem: Find local extrema of f(x) = x².
Solution: f'(x) = 2x, f''(x) = 2
Critical point: f'(x) = 2x = 0 → x = 0
Second derivative test: f''(0) = 2 > 0 → local minimum
Function value: f(0) = 0
Therefore, f has a local minimum at (0, 0).
Problem: Find local extrema of f(x) = x⁴ - 4x³.
Solution: f'(x) = 4x³ - 12x² = 4x²(x - 3), f''(x) = 12x² - 24x = 12x(x - 2)
Critical points: x = 0 (with multiplicity 2) and x = 3
At x = 0: f''(0) = 0 → inconclusive, use first derivative test
For x < 0: f'(x) = 4x²(x - 3) = positive × negative = negative → decreasing
For 0 < x < 3: f'(x) = 4x²(x - 3) = positive × negative = negative → decreasing
Since f'(x) doesn't change sign at x = 0, no extremum exists there.
At x = 3: f''(3) = 12(3)(3 - 2) = 36 > 0 → local minimum
Therefore, f has a local minimum at (3, -27).
Questions & Answers
Question: What happens if the second derivative test is inconclusive? Can I always use the first derivative test instead?
Answer: Yes, when the second derivative test is inconclusive (i.e., f'(c) = 0 and f''(c) = 0), you should always use the first derivative test, which is always reliable.
The second derivative test can fail in two ways:
- f'(c) ≠ 0 (not a critical point)
- f'(c) = 0 and f''(c) = 0 (inconclusive)
In the second case, the first derivative test examines the sign of f'(x) on either side of the critical point to determine if the function changes from increasing to decreasing (local maximum) or decreasing to increasing (local minimum).
The first derivative test is more general and works in all cases, while the second derivative test is a shortcut that only works when f''(c) ≠ 0.
Question: Can a function have a critical point that is not a local extremum? How do I identify such points?
Answer: Yes, a function can have a critical point that is not a local extremum. Such points are called "saddle points" or "points of inflection" (though the latter term is sometimes reserved for concavity changes).
To identify these points:
- Apply the first derivative test
- If f'(x) does not change sign around the critical point, then it's not an extremum
For example, f(x) = x³ has a critical point at x = 0 since f'(0) = 0, but f'(x) = 3x² ≥ 0 for all x, so f'(x) doesn't change sign. Therefore, x = 0 is not a local extremum—it's an inflection point where the function changes concavity.
Remember: critical points are only candidates for extrema, not guarantees.
Question: How do I know if a critical point corresponds to a local maximum or minimum? What's the difference between local and absolute extrema?
Answer: To determine if a critical point is a local maximum or minimum:
- Second derivative test: If f'(c) = 0 and f''(c) < 0 → local maximum; if f''(c) > 0 → local minimum
- First derivative test: Sign change from positive to negative → local maximum; from negative to positive → local minimum
Local vs. Absolute Extrema:
- Local extrema: The function has a maximum or minimum value compared to nearby points only
- Absolute extrema: The function has the maximum or minimum value over the entire domain or specified interval
Every absolute extremum is also a local extremum (except possibly at endpoints), but not every local extremum is an absolute extremum. To find absolute extrema on a closed interval, compare all local extrema with the function values at the endpoints.