Unit 5: Analytical Applications of Differentiation
Mean Value Theorem and Rolle’s Theorem
Derivatives start as a local idea: the derivative at a point gives the slope of the tangent line right there. In this unit, you learn to scale that local information into global conclusions about an entire interval, such as where a function increases or decreases and where it must have peaks, valleys, or horizontal tangents.
The main bridge from local to global is the Mean Value Theorem (MVT). Intuitively, MVT says that if a function is continuous and smooth enough on an interval, then somewhere in that interval the instantaneous rate of change matches the average rate of change over the whole interval. Equivalently: there must be some point where the slope of the tangent line equals the slope of the secant line connecting the endpoints.
Average rate of change vs. instantaneous rate of change
The average rate of change on the interval from to is the slope of the secant line:
The instantaneous rate of change at is the derivative:
MVT guarantees these match at least once inside the interval (when its conditions are met).
Mean Value Theorem (MVT)
If is continuous on the closed interval and differentiable on the open interval , then there exists at least one number in such that:
Why the conditions matter
Continuity on rules out jumps, holes, and vertical asymptotes on the interval. Differentiability on rules out corners, cusps, and vertical tangents inside the interval. If either condition fails, the tangent slope that MVT promises may not exist.
A common mistake is applying MVT on an interval that includes a point where the function is not continuous or not differentiable.
Rolle’s Theorem (special case of MVT)
Rolle’s Theorem is the special case where the endpoints have the same function value:
Then the average slope is:
So there exists at least one in such that:
Interpretation: a continuous, differentiable curve that starts and ends at the same height must have at least one horizontal tangent between those two points.
What MVT lets you prove (beyond finding )
MVT is often used on AP problems to justify existence or global behavior.
If the derivative is zero everywhere on an interval, then the function is constant there. (If two outputs differed, the average slope would be nonzero, and MVT would force a nonzero derivative somewhere—contradiction.)
If the derivative is positive everywhere on an interval, then the function is increasing on that interval.
- One-to-one (uniqueness) arguments: if the derivative is positive everywhere on an interval, then the function is strictly increasing there and cannot repeat an output value (so it is one-to-one on that interval).
Example 1: Verifying MVT and finding a valid
Let on .
- Conditions: polynomials are continuous and differentiable everywhere, so MVT applies.
- Average rate of change:
- Derivative:
- Set tangent slope equal to secant slope:
Example 2: When MVT does not apply
Let on .
The function is continuous on but not differentiable at (a corner).
Average slope:
If MVT applied, there would be a in with:
But for ,
and for ,
So no derivative value of 0 occurs. This is exactly why differentiability is required.
Exam Focus
Typical question patterns:
- “Verify that the hypotheses of the Mean Value Theorem are satisfied on and find all values of that satisfy the conclusion.”
- “Use the Mean Value Theorem to justify that there exists a point where equals a given value.”
- “Use Rolle’s Theorem / MVT to prove a function has at least one critical point.”
Common mistakes:
- Forgetting to check continuity on the closed interval and differentiability on the open interval.
- Solving for correctly but choosing a value not in .
- Treating MVT as giving a unique ; it guarantees at least one.
Extreme Values and Critical Points
A major goal in analytical applications of differentiation is to locate where a function achieves large or small values. You distinguish between local (relative) extrema and absolute (global) extrema, because the conclusions and methods differ.
Local vs. absolute extrema
A local (relative) maximum at means is greater than nearby values of the function. A local (relative) minimum means is less than nearby values.
An absolute (global) maximum on an interval is the largest value on the entire interval, and an absolute (global) minimum is the smallest value on the entire interval.
Critical points (where extrema can happen)
Any place an extremum could exist is a critical point (often called a critical number). A critical point occurs at a number in the domain of where either:
or
does not exist.
Critical points are candidates for extrema, not guarantees; you must test/classify them.
The Extreme Value Theorem (EVT)
If is continuous on a closed interval , then must attain both an absolute maximum and an absolute minimum on .
This theorem is about existence (not location). A key subtlety is that the interval must be closed: continuity alone does not guarantee extrema on an open interval.
The Closed Interval Method (Candidate’s Test)
To find absolute (global) extrema on for a continuous function, you use the closed interval method (also called the candidate’s test):
- Confirm the function is continuous on a closed interval .
- Find all critical points in .
- Evaluate the original function at each critical point and at the endpoints.
- Compare values: the largest is the absolute maximum and the smallest is the absolute minimum.
Many students do this most reliably by making a small table of candidates (endpoints and critical numbers) and the corresponding original function values.
Example: Absolute extrema on a closed interval
Find absolute extrema of on .
- Since is a polynomial, it is continuous on , so EVT guarantees absolute extrema exist.
- Derivative:
- Critical points in :
- Evaluate at endpoints and critical points:
So the absolute maximum value is (at and ), and the absolute minimum value is (at and ).
Exam Focus
Typical question patterns:
- “Find the absolute maximum and minimum of on .”
- “Justify that has an absolute maximum on .”
- “Find critical points and classify them (sometimes with sign charts).”
Common mistakes:
- Forgetting to check endpoints for absolute extrema.
- Treating every critical point as an extremum without testing.
- Confusing “critical point” with “point where .”
First Derivative Analysis: Increasing/Decreasing and the First Derivative Test
Once you know the derivative measures slope, the next big translation is: the sign of the derivative tells you whether the function rises or falls.
How the sign of the derivative controls behavior
A function is increasing on an interval where the derivative is positive throughout that interval:
A function is decreasing on an interval where the derivative is negative throughout that interval:
Sign charts (test-interval method)
A standard workflow is:
- Compute the derivative.
- Set the derivative equal to zero to find critical numbers (and also note where the derivative is undefined, if those points are in the domain).
- Use critical numbers to split the number line into intervals.
- Plug in a test value from each interval to determine whether the derivative is positive or negative there.
Between critical numbers, the derivative’s sign typically stays consistent (especially when the derivative is continuous), which is why sign charts work.
The First Derivative Test (classifying local extrema)
Let be a critical number.
- If the derivative changes from positive to negative at , then has a local (relative) maximum at .
- If the derivative changes from negative to positive at , then has a local (relative) minimum at .
- If the derivative does not change sign at , then is not a local extremum (it may be a “flat” point).
Example: Increasing/decreasing and local extrema for
- Derivative:
- Critical numbers:
- Test intervals , , .
- At , the derivative is positive, so increasing on .
- At , the derivative is negative, so decreasing on .
- At , the derivative is positive, so increasing on .
So has a local maximum at (positive to negative), and a local minimum at (negative to positive).
Example (polynomial from test-interval method): where is increasing or decreasing?
Compute the derivative:
Set equal to zero to find critical numbers:
Factor:
So the critical numbers are:
and
Now test the sign of the derivative:
- For (for example, ), the derivative is positive, so is increasing on .
- For (for example, ), the derivative is negative, so is decreasing on .
- For (for example, ), the derivative is positive, so is increasing on .
From the first derivative test, is a local maximum (positive to negative), and is a local minimum (negative to positive).
When but there is no extremum
It is not true that every point where the derivative is zero is a max or min.
Example: .
At , the derivative is zero, but the derivative does not switch from positive to negative or negative to positive; the function continues increasing. This point is a point of inflection with a horizontal tangent, not an extremum.
Exam Focus
Typical question patterns:
- “Find intervals where is increasing/decreasing given or given a graph of .”
- “Use the first derivative test to classify critical points.”
- “Find local extrema and justify your conclusions.”
Common mistakes:
- Mixing up the sign of the derivative with the sign of the function.
- Forgetting that critical points include where the derivative is undefined (but the function is defined).
- Concluding “local max/min” just because the derivative is zero without checking a sign change.
Second Derivative Analysis: Concavity, Inflection Points, and the Second Derivative Test
If the first derivative describes slope, the second derivative describes how that slope is changing. This connects directly to concavity and “rate of change of the rate of change.” For instance, a function can be increasing while increasing at a decreasing rate, which corresponds to a positive first derivative but a negative second derivative.
Concavity and what it means
A function is concave up where the second derivative is positive:
A function is concave down where the second derivative is negative:
Concave up means slopes are increasing as you move right; concave down means slopes are decreasing as you move right.
Inflection points
An inflection point is a point on the graph where concavity changes (up to down or down to up). Solving
(or finding where is undefined) gives possible inflection points, but to confirm an inflection point you must show the second derivative changes sign across that point.
A practical procedure is:
- Compute the second derivative.
- Set it equal to zero to find possible inflection points.
- Check the sign of the second derivative on either side to verify a sign change.
The Second Derivative Test (classifying critical points)
If
and
then has a local minimum at .
If
and
then has a local maximum at .
If
and
the test is inconclusive.
Example: Concavity and inflection points for
First derivative:
Second derivative:
Possible inflection points:
Testing intervals shows concave up for and concave down for , so concavity changes at both values and both are inflection points.
Example: Second derivative test limitation using
The critical point is at .
At ,
so the second derivative test is inconclusive. In fact, is not a max or min; it is an inflection point.
Example (concavity from second derivative):
Compute derivatives:
Solve for possible inflection point:
Test the sign of the second derivative:
- For , the second derivative is negative, so the function is concave down on .
- For , the second derivative is positive, so the function is concave up on .
Since concavity changes at , the graph has an inflection point there.
Exam Focus
Typical question patterns:
- “Determine intervals of concavity and locate inflection points.”
- “Classify critical points using the second derivative test (when applicable).”
- “Given the graph of or , determine where is concave up/down.”
Common mistakes:
- Claiming “inflection point” just because without checking a concavity change.
- Mixing up concave up with increasing (they are different properties).
- Using the second derivative test when is not zero.
Curve Sketching from Derivative Information
Curve sketching is about combining derivative-based facts into a coherent story about a function. On AP questions, you usually are not expected to draw a perfect graph; you are expected to identify key features (increasing/decreasing, extrema, concavity, inflection points) and sketch something consistent with them.
A structured analysis pipeline
When you have a formula for , a useful routine is:
- Domain: where the function is defined.
- Intercepts (if asked).
- First derivative: critical points, increasing/decreasing, local extrema.
- Second derivative: concavity, inflection points.
- Endpoints and asymptotic behavior (if relevant).
Translating derivative graphs into function behavior
From a graph of the first derivative:
- Where the first derivative is above the horizontal axis, the function is increasing.
- Where it is below, the function is decreasing.
- Where it crosses the axis with a sign change, the function has a local extremum.
- Larger magnitude suggests the function is steeper.
From a graph of the second derivative:
- Where it is positive, the function is concave up.
- Where it is negative, the function is concave down.
- Where it changes sign, the function has an inflection point.
From the second derivative to the first derivative:
- If the second derivative is positive, the first derivative is increasing.
- If the second derivative is negative, the first derivative is decreasing.
Example: Full analysis of a rational function (with common pitfalls)
Analyze
Domain. Since
is never zero, the domain is all real numbers.
First derivative. Using the quotient rule:
Simplify:
Critical points come from the numerator:
Because the denominator is always positive, the sign of the derivative is controlled by
So the function decreases on , increases on , and decreases on . Therefore it has a local minimum at and a local maximum at . The function values are:
Second derivative (concavity). Rewrite:
Differentiate and simplify to:
Possible inflection points come from the numerator:
Testing intervals gives concave down on , concave up on , concave down on , and concave up on . So there are inflection points at
and
Common pitfalls highlighted here include forgetting that the denominator of the derivative is always positive (so only the numerator controls sign), making algebra mistakes while simplifying derivatives, and declaring inflection points without verifying a concavity sign change.
Exam Focus
Typical question patterns:
- “Sketch a graph of given graphs of and/or .”
- “Given , find intervals of increase/decrease and identify local extrema.”
- “Given , find concavity and possible inflection points.”
Common mistakes:
- Confusing where the first derivative is zero with where the function is zero.
- Forgetting endpoints can matter for absolute extrema even if they are not critical points.
- Assuming a graph must be symmetric or smooth without justification.
Optimization
Optimization problems are where derivatives become a decision-making tool. The calculus part is usually straightforward: at an interior optimum (not an endpoint), the derivative of the objective function is often zero or undefined. The challenge is modeling—writing the quantity you want to optimize as a function of a single variable and correctly identifying constraints and domain.
General optimization strategy
- Choose a variable for the key independent quantity.
- Write an objective function you want to maximize or minimize.
- Use constraints to rewrite in terms of one variable.
- Identify the feasible domain for the variable.
- Differentiate to get .
- Find critical points and check endpoints if the domain is closed.
- Decide which candidate gives the max/min and interpret with correct units.
Why endpoints and constraints matter
In applications, variables usually have restricted domains (lengths nonnegative, dimensions limited by materials, etc.). Many optimization problems become absolute-extrema-on-a-closed-interval problems, so the closed interval method applies.
Example 1: Maximizing area with a fencing constraint
A rectangular pen is built along a straight wall, so no fencing is needed along the wall side. You have 100 meters of fencing for the other three sides. Find the dimensions that maximize area.
Let be the width perpendicular to the wall and be the length parallel to the wall.
Constraint:
So:
Area:
Substitute:
Domain requires and , so:
Differentiate:
Set equal to zero:
Then:
So the maximum area occurs at width 25 m and length 50 m. This makes sense because is a downward-opening parabola, so the critical point is a maximum.
Example 2: Minimizing distance (typical geometry setup)
Many “shortest cable” or “minimum distance/cost” problems reduce to minimizing a distance found by the Pythagorean theorem. The standard modeling pattern is: choose a horizontal variable, write the distance as a function (often a square root), differentiate, and locate the minimum within the feasible domain.
How AP optimization questions are commonly graded
Free-response points commonly come from correct variable definitions, a correct constraint and objective function, correct derivative/critical point work, and a correct conclusion interpreted in context with units. A strong setup can earn substantial credit even if later algebra is messy.
Common modeling errors to avoid
- Differentiating before substituting constraints, leaving more than one independent variable.
- Ignoring domain restrictions (a critical point might be infeasible).
- Forgetting endpoints when the domain is closed.
Exam Focus
Typical question patterns:
- “Maximize area/volume given a fixed perimeter/surface area/amount of material.”
- “Minimize cost/time/distance with a geometric or physical constraint.”
- “Find dimensions that optimize something and justify that it’s a max/min.”
Common mistakes:
- Differentiating before reducing to one variable.
- Reporting the critical number but not the requested quantity (dimensions, max area, etc.).
- Failing to interpret results in context (units, feasibility).
Justifying Conclusions with Theorems and Derivative Tests
This unit is not only computational. AP free-response frequently asks you to “show,” “justify,” or “explain,” which usually means naming an appropriate theorem or derivative test and verifying its hypotheses.
Common justification tools
Extreme Value Theorem (existence of absolute extrema). If you need to justify that an absolute maximum and minimum exist, you typically argue that the function is continuous on a closed interval and then invoke EVT.
Mean Value Theorem (existence of a point with a specified derivative value). If you know two function values on an interval and need to guarantee some derivative value in between, you check continuity/differentiability and invoke MVT.
First derivative sign analysis / first derivative test. Used to justify increasing/decreasing behavior and local extrema.
Second derivative test / concavity analysis. Used to classify some critical points quickly and to justify inflection points via a concavity sign change.
Example: Complete justification using MVT (no formula needed)
Suppose is continuous on , differentiable on , with and . Show that there exists in such that:
Compute average rate of change:
Since the hypotheses hold, MVT guarantees some in such that:
Interpreting derivative-based conclusions in context
If represents a real quantity (position, temperature, profit), then the sign of the derivative tells you whether that quantity is increasing or decreasing, and the sign of the second derivative tells you whether the rate of change is increasing or decreasing.
“Increasing at an increasing rate” means:
and
“Increasing at a decreasing rate” means:
and
Exam Focus
Typical question patterns:
- “Justify that a maximum exists” (EVT) or “justify that there is a point where equals a value” (MVT).
- “Explain why the function is one-to-one on an interval” (often via a derivative being positive on that interval).
- “Use derivative tests to justify conclusions from a model.”
Common mistakes:
- Citing the right theorem but not stating hypotheses (continuity/differentiability, closed interval).
- Using EVT to claim extrema exist on an open interval.
- Stating inflection points without showing a concavity sign change.
Graphical and Tabular Analysis
AP questions often provide a graph of a derivative, a table of derivative values, or a piecewise definition. The goal is to reason from limited information.
Reading increasing/decreasing from a table of first-derivative values
If you are given values of the first derivative at selected points, you can often infer where the function increases or decreases—especially if the problem states the derivative is continuous or otherwise indicates no sign changes between sample points. However, a table alone does not automatically guarantee what happens between listed points unless additional information is provided.
What you can always say safely is: where the first derivative is positive at representative points and there is no indication of a sign change, the function is increasing there; where it is negative, the function is decreasing there.
Local extrema from a graph of the first derivative
A local maximum of the function occurs where the first derivative crosses the horizontal axis from positive to negative. A local minimum occurs where it crosses from negative to positive. If the derivative touches zero and turns around without crossing, the function has a horizontal tangent but not necessarily an extremum.
Concavity from a graph of the first derivative
Because the second derivative is the slope of the first derivative, you can determine concavity without explicitly computing a second derivative:
- If the first-derivative graph is increasing on an interval, then the second derivative is positive there and the function is concave up.
- If the first-derivative graph is decreasing on an interval, then the second derivative is negative there and the function is concave down.
Example: Inferring behavior from derivative information
Suppose you are told the first derivative is negative for , equals zero at , and is positive for . Also suppose the first derivative is increasing for all .
Then the function decreases before 2 and increases after 2, so it has a local minimum at . Since the first derivative is increasing everywhere, the second derivative is positive everywhere, so the function is concave up everywhere.
Exam Focus
Typical question patterns:
- “Given a graph of the first derivative, sketch the function with correct increasing/decreasing and extrema.”
- “Given a graph of the function, sketch the first derivative (qualitatively).”
- “Use a table of first- or second-derivative values to identify extrema or concavity intervals.”
Common mistakes:
- Treating a single table value as if it guarantees the sign on an entire interval without justification.
- Confusing where the derivative is largest with where the function is largest.
- Assuming inflection points occur where the first derivative is zero; inflection points depend on concavity (second derivative behavior), not on where the first derivative equals zero.