Maxima, minima, critical numbers
Derivatives tell you where a function rises, falls, peaks, and bottoms out. That turns the hard question 'where is the biggest value?' into a short algebra problem.
Why extreme values matter
Businesses want maximum profit and minimum cost, engineers want the strongest beam for the least material, and drivers want the shortest route. All of these ask for the largest or smallest value of a function. Before calculus, you would have to test many inputs and hope. With derivatives, you can find the candidates exactly.
Absolute and local extrema
An absolute maximum is the largest value \(f\) takes on its whole domain; an absolute minimum is the smallest. A local maximum is higher than every nearby value, like a hilltop that may not be the tallest mountain. A local minimum is a valley bottom. A function can have many local extrema but at most one absolute maximum value.
The Extreme Value Theorem
If \(f\) is continuous on a closed interval \([a, b]\), it is guaranteed to have both an absolute maximum and an absolute minimum there. Both conditions matter: \(\frac{1}{x}\) on \((0, 1]\) has no maximum because the interval is not closed and the function blows up, and a function with a jump may skip its highest value.
Critical numbers
A critical number of \(f\) is a value \(c\) in the domain where \(f'(c) = 0\) or \(f'(c)\) does not exist. Fermat's theorem says that if \(f\) has a local extremum at \(c\) and is differentiable there, then \(f'(c) = 0\). So local extrema can only occur at critical numbers, although not every critical number is an extremum: \(x^3\) has \(f'(0) = 0\) but no peak or valley at \(0\).
f'(c) = 0 \text{ or } f'(c) \text{ undefined}The closed interval method
To find absolute extrema of a continuous \(f\) on \([a, b]\): find the critical numbers inside the interval, evaluate \(f\) at each of them and at both endpoints, and compare. The largest value is the absolute maximum and the smallest is the absolute minimum. Do not forget the endpoints; they are often where the answer lies.
Worked example: the closed interval method
Find the absolute extrema of \(f(x) = x^3 - 3x^2 + 1\) on \([-1, 4]\). \(f'(x) = 3x^2 - 6x = 3x(x - 2)\), so the critical numbers are \(0\) and \(2\). Evaluate: \(f(-1) = -3\), \(f(0) = 1\), \(f(2) = -3\), \(f(4) = 17\). The absolute maximum is \(17\) at \(x = 4\), and the absolute minimum is \(-3\), reached at both \(x = -1\) and \(x = 2\).
f(-1) = -3,\ f(0) = 1,\ f(2) = -3,\ f(4) = 17Increasing, decreasing, and the first derivative test
If \(f' > 0\) on an interval, \(f\) is increasing there; if \(f' < 0\), it is decreasing. The first derivative test classifies a critical number by checking the sign of \(f'\) on each side: from positive to negative means a local maximum, from negative to positive means a local minimum, and no sign change means neither. A sign chart with test values in each interval makes this quick and reliable.
Concavity and the second derivative
If \(f'' > 0\), the slope is increasing and the graph is concave up, shaped like a cup. If \(f'' < 0\), the graph is concave down, like a cap. A point where concavity changes is an inflection point. For \(f(x) = x^3\), \(f''(x) = 6x\) changes sign at \(0\), so the origin is an inflection point.
The second derivative test
At a critical number where \(f'(c) = 0\): if \(f''(c) > 0\), the graph is concave up there, so \(c\) is a local minimum; if \(f''(c) < 0\), it is a local maximum. If \(f''(c) = 0\), the test is inconclusive and you should fall back on the first derivative test. For \(x^4\), \(f''(0) = 0\), yet \(0\) is a minimum.
f'(c) = 0,\ f''(c) > 0 \Rightarrow \text{local min}The Mean Value Theorem
If \(f\) is continuous on \([a, b]\) and differentiable on \((a, b)\), there is at least one point \(c\) where the tangent slope equals the average slope: \(f'(c) = \frac{f(b) - f(a)}{b - a}\). If you drive 120 km in 1.5 hours, at some moment your speedometer read exactly 80 km/h. The theorem is the foundation for the fact that functions with zero derivative are constant.
f'(c) = \frac{f(b)-f(a)}{b-a}Curve sketching with derivatives
Put it together: find the domain and intercepts, find critical numbers and use \(f'\) to mark where the function rises and falls, use \(f''\) to mark concavity and inflection points, then check asymptotes and end behaviour with limits. With these features plotted, a sketch almost draws itself, and it will match a graphing calculator's picture.
Common mistakes
Forgetting to test the endpoints in the closed interval method. Assuming every critical number is a maximum or minimum. Confusing the critical number \(c\) with the extreme value \(f(c)\): the question 'what is the maximum?' asks for \(f(c)\). Concluding anything from \(f''(c) = 0\) in the second derivative test.
Try it yourself
Find and classify the critical numbers of \(f(x) = x^3 - 12x\). Answer: \(f'(x) = 3x^2 - 12 = 0\) gives \(x = \pm 2\). \(f''(x) = 6x\): \(f''(2) = 12 > 0\), a local minimum with value \(-16\); \(f''(-2) = -12 < 0\), a local maximum with value \(16\).
Key takeaways
Extrema occur at critical numbers or at endpoints. On a closed interval, compare \(f\) at critical numbers and endpoints. The sign of \(f'\) shows increasing and decreasing; the sign of \(f''\) shows concavity. The first derivative test always works for classification; the second derivative test is faster but can be inconclusive.
Flashcard
The largest value on the whole domain
Check your understanding
For f(x) = x^3 - 3x^2 + 1 on [-1, 4], what is the absolute maximum value?
