Unit 5: Analytical Applications of Differentiation
Extrema on Closed Intervals and Critical Points
A major goal of Unit 5 is learning how derivatives let you guarantee and locate maximum and minimum values of a function. In calculus language, maximum/minimum values are called extrema (plural of extremum). You’ll work with two main kinds:
- Absolute (global) maximum/minimum: the highest/lowest value of on a specified domain (often an interval). No other function value on the domain is higher/lower.
- Local (relative) maximum/minimum: a value of that is highest/lowest compared to nearby points (not necessarily the whole interval).
The derivative helps because derivatives measure instantaneous change. At many “peaks” and “valleys,” the function stops increasing and starts decreasing (or vice versa), which often corresponds to a derivative of zero.
Local extrema and critical numbers
A critical number of is a number in the domain of such that either:
- , or
- does not exist.
Critical numbers matter because local maxima/minima can only occur at critical numbers (or at endpoints of an interval, if endpoints are included). If a function is smooth and has a local high or low point in the interior of its domain, the tangent line there is horizontal.
Be careful: “critical number” refers to an -value, not a -value.
Why might not exist
Even if a function is continuous, its derivative can fail to exist. Typical reasons:
- Corner or cusp (sharp turn)
- Vertical tangent line (slope becomes infinite)
- Discontinuity (though if it’s discontinuous at , then is not even in the domain)
A classic example is . The graph has a corner at , so does not exist, but is still a critical number.
The Extreme Value Theorem (EVT)
The Extreme Value Theorem is what turns “maybe there’s a max/min” into “there must be a max/min.”
Extreme Value Theorem (EVT): If is **continuous** on a **closed interval** , then attains both an **absolute maximum** value and an **absolute minimum** value on .
This theorem is powerful because it gives you a guarantee, but only under its conditions:
- The interval must be closed (includes endpoints).
- The interval must be bounded (finite length).
- The function must be continuous on the entire interval.
If any condition fails, absolute extrema might not exist.
What can go wrong if EVT conditions fail
- On an open interval , the function might approach a max/min but never reach it.
- If the function is discontinuous, it might “jump over” the highest/lowest value.
Example idea (open interval):
on
has no absolute maximum because values get arbitrarily close to but never equal .
The closed interval method (candidate’s test)
When EVT applies, you know absolute extrema exist. To find them on , you use the closed interval method (often called the candidate’s test):
- Find all critical numbers of in .
- Include the endpoints and .
- Make a quick table of these candidate -values.
- Plug each candidate into your original function (not into ).
- Compare all resulting function values. The largest is the absolute maximum; the smallest is the absolute minimum.
Why endpoints matter: an absolute max/min on can occur at endpoints even when the derivative is not zero there. Endpoints are not “surrounded” by points on both sides, so the usual horizontal-tangent logic for local extrema does not apply.
Worked example: absolute extrema on a closed interval
Find the absolute max and min of on .
Step 1: derivative and critical numbers.
Set
Factor:
So critical numbers are and . But for the closed interval method, we include only critical numbers in the interior , so is the interior critical number. (We will still evaluate the endpoint separately as an endpoint.)
Step 2: evaluate at critical numbers and endpoints.
Step 3: compare values.
- Smallest value is at , so the absolute minimum is .
- Largest value is , which occurs at both and , so the absolute maximum is (attained at two points).
Notice how the absolute maximum occurred at endpoints here. If you only checked , you could easily miss it.
Worked example: EVT guarantee vs not guaranteed
Consider
on . It is continuous on , so EVT applies and absolute extrema must exist.
Now consider
on . This function is not continuous at , so EVT does not apply, and indeed it does not have an absolute maximum or minimum on that interval (it becomes unbounded near ).
Exam Focus
- Typical question patterns
- “Find the absolute maximum and minimum values of on ” (requires checking endpoints and critical points).
- “Does have an absolute maximum on ? Justify.” (often expects EVT conditions: continuity and closed interval).
- “Find critical points of ” including where is undefined.
- Common mistakes
- Forgetting to evaluate endpoints when asked for absolute extrema on .
- Listing points where but the point is not in the domain (critical numbers must be in the domain).
- Using EVT on an interval that is open or where the function is discontinuous.
The Mean Value Theorem and What Derivatives Guarantee
Derivatives connect local behavior (instantaneous slope) to global behavior (overall change). The Mean Value Theorem (MVT) is the key statement that makes that connection precise: it links average rate of change to instantaneous rate of change.
Average rate of change vs instantaneous rate of change
On an interval , the **average rate of change** of is the slope of the secant line connecting the endpoints:
The instantaneous rate of change at is the derivative:
MVT says that, under the right conditions, there is at least one point where the instantaneous rate equals the average rate. In geometric terms, there must be some point in the interval where the slope of the tangent line equals the slope of the secant line.
Mean Value Theorem (MVT)
Mean Value Theorem: If is **continuous** on and **differentiable** on , then there exists at least one number in such that:
Interpretation: somewhere between and , the tangent line is parallel to the secant line connecting and .
The conditions matter:
- Continuous on ensures the graph has no jumps or holes.
- Differentiable on ensures no corners/cusps/vertical tangents inside.
If either condition fails, the conclusion may be false.
Rolle’s Theorem (special case of MVT)
Rolle’s Theorem: If is continuous on , differentiable on , and , then there exists in such that:
This is MVT with average slope zero:
Geometrically, if you start and end at the same height and you travel smoothly, you must have at least one point where you are “flat.” In other words, a continuous, differentiable curve with equal endpoint values has a horizontal tangent somewhere between those endpoints.
Why MVT matters in function analysis
MVT is not just a “find ” theorem. It supports big conclusions like:
- If for all in an interval, then is constant on that interval.
- If for all in an interval, then is increasing on that interval.
- If for all in an interval, then is decreasing on that interval.
These conclusions are used constantly in calculus proofs and in AP-style justifications.
Worked example: using MVT to find a point
Let on . Find a value that satisfies MVT.
First check conditions: is continuous on and differentiable on .
Compute average slope:
Compute derivative:
Set derivative equal to average slope:
So:
That value lies in , so it works.
Worked example: when MVT does not apply
Let on .
- Continuous on : yes.
- Differentiable on : no, because it’s not differentiable at .
So MVT does not apply. The average slope is:
MVT would claim there exists with . But for and for , and at it does not exist. So there is no such .
This is exactly why the differentiability condition is necessary.
Exam Focus
- Typical question patterns
- “Verify that MVT applies on and find all that satisfy the conclusion.”
- “Explain why MVT cannot be applied” (expects you to name the failed condition: continuity on or differentiability on ).
- “Use MVT to justify that is increasing/decreasing/constant.”
- Common mistakes
- Checking differentiability on instead of only on (endpoints don’t matter for differentiability in MVT).
- Forgetting to verify conditions before solving for .
- Solving but giving a outside .
Using the First Derivative to Describe Increasing, Decreasing, and Local Extrema
Once you can compute derivatives, the next step is learning how to read behavior from them. The first derivative tells you how the function is changing: positive derivative means the function is increasing; negative means decreasing.
Increasing and decreasing behavior
A function is **increasing** on an interval if, as increases, increases. It is **decreasing** on an interval if, as increases, decreases.
The derivative gives a precise test:
- If on an interval, then is increasing on that interval.
- If on an interval, then is decreasing on that interval.
Why this makes sense: is the slope of the tangent line. If slopes are positive everywhere, your graph is consistently rising.
A subtle but important point: knowing at one point does not tell you increasing/decreasing by itself. You need the sign of in an interval around the point.
A reliable procedure for intervals of increase/decrease
When you’re given a formula for and asked where it increases/decreases, a standard workflow is:
- Take the derivative .
- Set (and also note where is undefined) to find critical numbers.
- Break the number line into intervals using those critical numbers.
- Pick a test value in each interval and plug it into to determine whether is positive or negative.
For instance, if is a critical number, you might test a number less than 1 (like 0) and a number greater than 1 (like 2). If , then is increasing to the left of 1; if , then is decreasing to the right of 1.
Local maxima and minima via sign changes (First Derivative Test idea)
A local maximum at means is greater than nearby values. A typical pattern is that changes from positive to negative at .
A local minimum at typically corresponds to changing from negative to positive at .
These sign-change ideas are the heart of the First Derivative Test.
The First Derivative Test
Suppose is a critical number of .
- If for (near ) and for (near ), then has a **local maximum** at .
- If for and for , then has a **local minimum** at .
- If does not change sign, then has **no local extremum** at (it could be a “flat” point where the function keeps increasing or keeps decreasing).
A good mental image is walking along a hill: if your slope changes from uphill to downhill, you passed a peak.
Worked example: intervals of increase/decrease and local extrema
Let . Find where is increasing/decreasing and identify local extrema.
Step 1: compute derivative.
Step 2: critical numbers.
Step 3: analyze sign of .
Test intervals:
- For (say ), so increasing on .
- For (say ), so decreasing on .
- For (say ), so increasing on .
Step 4: local extrema via sign changes.
- At , changes from positive to negative, so local maximum at .
- At , changes from negative to positive, so local minimum at .
Local max/min values:
Worked example: increasing/decreasing for a cubic with a constant term
Let
Find where the function is increasing or decreasing.
Different constants shift a graph up or down but do not change , so the increasing/decreasing intervals come entirely from the derivative.
Compute the derivative:
Set to zero:
Divide by 3:
Factor:
So the critical numbers are and .
Now test the sign of :
- If (say ), then , so is **increasing** on .
- If (say ), then , so is **decreasing** on .
- If (say ), then , so is **increasing** on .
Therefore, is increasing on and , and decreasing on .
From the sign changes, this function has a relative (local) maximum at (positive to negative) and a **relative (local) minimum** at (negative to positive).
A common “false positive”: critical point that is not an extremum
Consider .
Critical number at because . But is nonnegative everywhere and positive for , so is increasing everywhere. The point is not a local max/min; it is a point where the tangent is horizontal but the function keeps increasing. (Later in this unit, you’ll connect this to concavity and inflection points.)
Exam Focus
- Typical question patterns
- “Find intervals where is increasing/decreasing” (requires sign of ).
- “Find and classify local extrema” using the first derivative test.
- “Given a graph of , describe ” (increasing where is above the axis).
- Common mistakes
- Assuming automatically means a max or min (you need a sign change).
- Mixing up the meaning of (it means increases, not that ).
- Checking only one test point and forgetting that sign might differ on different intervals.
Concavity, the Second Derivative, and Inflection Points
The first derivative tells you whether the function is increasing or decreasing. The second derivative tells you how the rate of change itself is changing. This is where ideas like “bending upward” or “bending downward” become precise, and it explains phrases like “increasing, but at a decreasing rate.”
What concavity means (graph shape, not just slope)
A function is concave up on an interval if its graph bends like a cup: as you move left to right, the slopes tend to increase (they become less negative, then positive, then more positive). A function can be increasing and concave up (increasing faster), but it can also be increasing and concave down (still increasing, just at a decreasing rate).
A function is concave down on an interval if its graph bends like a frown: as you move left to right, the slopes tend to decrease.
Concavity is about the behavior of :
- Concave up means is increasing.
- Concave down means is decreasing.
The second derivative and concavity test
The second derivative is the derivative of the derivative:
A standard concavity test is:
- If on an interval, then is concave up on that interval.
- If on an interval, then is concave down on that interval.
Why this makes sense: measures how the slope changes. If , slopes are increasing, so the curve bends upward.
Points of inflection
A point of inflection is a point on the graph where the concavity changes (from up to down or down to up).
A common way to find candidates is to solve and also check where does not exist. However, a point is an inflection point only if concavity actually changes sign there.
A practical sign-chart process is:
- Take the second derivative .
- Set (and note where is undefined) to find candidate -values.
- Test a point on each side of each candidate to see whether changes sign.
The Second Derivative Test (for local extrema)
The Second Derivative Test is a shortcut for classifying a critical point when .
If and exists:
- If , has a local minimum at .
- If , has a local maximum at .
- If , the test is inconclusive.
A key limitation is that does not tell you anything by itself. You have to do more analysis.
Worked example: concavity and inflection points
Let .
Step 1: compute derivatives.
Step 2: concavity intervals.
Solve:
Test intervals for the sign of :
- For , so concave down on
- For , so concave up on
By symmetry it is also concave up on
Step 3: inflection points.
Concavity changes at , so those are inflection points. Find the corresponding -values:
So the inflection points are:
and
Worked example: second derivative test (and when it fails)
Let . Critical numbers are and .
so local maximum at .
so local minimum at .
Now compare with :
At , and , so the second derivative test is inconclusive. In fact, is an inflection point, not a max or min.
Worked example: concavity for a polynomial used earlier
Suppose
Find where the function is concave up or concave down.
Compute derivatives:
Set the second derivative equal to zero:
Test the sign of :
- If (say ), then so is concave down on .
- If (say ), then so is concave up on .
Because the sign changes at , is an inflection point (and on an actual free-response question you’d typically report the coordinate by also finding ).
Exam Focus
- Typical question patterns
- “Find intervals of concavity and points of inflection” (requires sign analysis of ).
- “Use the second derivative test to classify critical points.”
- “Given a graph of , determine where is concave up/down.”
- Common mistakes
- Declaring an inflection point whenever (concavity must actually change).
- Confusing concavity with increasing/decreasing (concave up does not necessarily mean increasing).
- Using the second derivative test when (it only applies at critical points where ).
Connecting , , and Through Graphs and Tables
AP Calculus frequently asks you to move between a function and its derivatives without doing heavy algebra. You might be given a graph of and asked about , or given a graph of and asked to sketch . The key is to translate each graph feature into a derivative meaning.
A quick notation reference
You’ll see derivatives written in several equivalent ways:
| Meaning | Common notation |
|---|---|
| derivative of with respect to | |
| derivative of | |
| second derivative | |
| derivative evaluated at a point |
Reading from the graph of
From a graph of :
- Where is increasing, .
- Where is decreasing, .
- Where has a horizontal tangent (often at a local extremum), .
- Where has a corner/cusp/vertical tangent, may not exist.
Steepness matters: a very steep positive slope means is a large positive number.
Reading concavity and from the graph of
From a graph of :
- Concave up means .
- Concave down means .
- Inflection point means changes sign.
A useful visual cue is to track tangent slopes: if the tangents are getting steeper (slopes increasing), concave up; if the tangents are getting less steep (slopes decreasing), concave down.
Reading from a graph of
From a graph of :
- Where is above the -axis (positive), is increasing.
- Where is below the -axis (negative), is decreasing.
- Where crosses the -axis (changes sign), has a local extremum.
- Positive to negative crossing: local maximum.
- Negative to positive crossing: local minimum.
- Where is increasing, is concave up (because ).
- Where is decreasing, is concave down (because ).
Reading from a table of values of
Sometimes you are given a table of function values and asked to estimate or determine signs.
- You can approximate average rate of change on subintervals:
Those slopes approximate at points between and (MVT logic).
- If the table shows values rising as increases, that suggests is positive over that region.
Be cautious: tables give limited data, so questions often ask for conclusions supported by the information (like sign or an estimate), not an exact derivative formula.
Worked example: describing given a sign chart for
Suppose you know:
- on
- on
- on
Then:
- is decreasing on .
- is increasing on .
- is decreasing on .
Local extrema:
- At , changes from negative to positive, so has a local minimum at .
- At , changes from positive to negative, so has a local maximum at .
Worked example: relating concavity of to monotonicity of
If you are told is increasing on , then on (at least where exists), and is concave up on .
A common confusion to avoid: “ increasing” does **not** mean “ increasing.” “ increasing” means slopes are increasing, which is concavity information.
Exam Focus
- Typical question patterns
- “Given the graph of , sketch or describe the graph of .”
- “Given the graph of , identify intervals where is increasing/decreasing and where has local extrema.”
- “Use a table/graph of to determine concavity of and locate inflection points.”
- Common mistakes
- Confusing the value of with the value of (a high does not mean a high slope).
- Saying has a local extremum wherever even if does not change sign.
- Mixing up “concave up” with “increasing” (a function can be decreasing and concave up at the same time).
Sketching a Function Using Derivative Information
In many calculus problems you are not asked for an exact graph; instead, you’re asked to create a qualitative sketch based on derivative information. This is a powerful analytical skill: you turn algebraic or derivative facts into a coherent picture.
What a derivative-based sketch should show
A good calculus sketch (even if it’s rough) should reflect:
- Intercepts or key points that you can compute.
- Where the function increases/decreases (from ).
- Where it is concave up/down (from ).
- Locations of local maxima/minima (from critical points and sign change of ).
- Locations of inflection points (from sign change of ).
You’re not trying to “connect the dots randomly.” You’re building a graph that is consistent with the derivative constraints.
A process you can rely on
When you’re given and asked to sketch using calculus, a typical workflow is:
- Compute and .
- Find critical numbers from or where is undefined.
- Use the sign of to determine increasing/decreasing and local extrema.
- Find possible inflection points from or where is undefined.
- Use the sign of to determine concavity and confirm inflection points.
- Evaluate at key -values (critical points, inflection points, intercepts) to plot anchor points.
- Draw a smooth curve consistent with all the above.
On the AP Exam, you might not be asked to compute all of these from scratch; sometimes you’re given a graph of or a table. But the logic is the same.
Worked example: full analysis and sketch features
Analyze : find local extrema, concavity, and inflection point.
Step 1: first derivative and critical points.
Set :
Divide by 3:
Factor:
So critical numbers are and .
Step 2: increasing/decreasing via sign of .
Since
Test intervals:
- For , choose : so increasing on .
- For , choose : so decreasing on .
- For , choose : so increasing on .
Local extrema:
- At , changes positive to negative, so local maximum at .
- At , changes negative to positive, so local minimum at .
Compute the values:
So local max at and local min at .
Step 3: concavity via second derivative.
Set :
Test concavity:
- For , say : so concave down on .
- For , say : so concave up on .
So there is an inflection point at . Compute:
Inflection point at .
What your sketch should reflect:
- Increasing up to , then decreasing until , then increasing afterward.
- Concave down until , then concave up afterward.
- A local max at .
- An inflection point at .
- A local min at .
Even without perfect scaling, a sketch consistent with these facts will look “cubic-like,” rising left to right, with a peak, then a dip, and concavity changing once.
Common sketching pitfalls
- Drawing a local maximum at a point where but does not change sign.
- Forgetting that concavity and increasing/decreasing are independent (you can be decreasing and concave up).
- Treating inflection points like “turning points.” An inflection point is about concavity change, not about switching from increasing to decreasing.
Exam Focus
- Typical question patterns
- “Use derivatives to sketch the graph of ” (expects critical points, monotonicity, concavity, inflection points).
- “Given a graph of , sketch a possible ” (many answers possible; must be consistent).
- “Find the x-coordinates of inflection points/local extrema and justify using sign changes.”
- Common mistakes
- Reporting critical numbers as points on the graph without computing (AP often wants coordinates).
- Claiming “inflection point” at every solution to without checking sign change.
- Overfocusing on algebra and not using sign reasoning (many questions are about interpretation).