Mean Value Theorem (MVT) and Rolleβs Theorem
Section titled βMean Value Theorem (MVT) and Rolleβs TheoremβTheorem (Mean Value Theorem). If is continuous on and differentiable on , then there exists such that
Rolleβs Theorem is the special case where .
The Mean Value Theorem says that under the right smoothness conditions, some instantaneous rate equals the average rate over the interval.
The hypotheses are essential:
If either hypothesis fails, the theorem may not apply, even if the conclusion happens to be true.
Rolleβs Theorem is the same idea when the average rate is zero. If a smooth function starts and ends at the same height, then somewhere in between it has a horizontal tangent.
Proof (MVT). Define the secant-line function through the endpoints:
Now define
Because and are continuous on and differentiable on , so is . Also,
and
By Rolleβs Theorem, there is some such that . Since
we get
Therefore,
Example. Verify Rolleβs Theorem for
on , then find the value of .
The function is a polynomial, so it is continuous on and differentiable on . Check the endpoint values:
and
Since , Rolleβs Theorem applies. Differentiate:
Set :
The value lies in , so it is the point guaranteed by Rolleβs Theorem.
Example. For on , find the value guaranteed by the Mean Value Theorem.
The function is a polynomial, so it is continuous on and differentiable on , and the theorem applies. The average rate of change is
Since , set the instantaneous rate equal to the average rate:
The value lies in , so it is the value guaranteed by the theorem.
Extreme Value Theorem (EVT) and critical points
Section titled βExtreme Value Theorem (EVT) and critical pointsβThe Extreme Value Theorem (EVT) guarantees that a continuous function on a closed interval has both an absolute maximum and an absolute minimum.
Theorem (EVT). If is continuous on , then there are numbers and in such that
for every in .
The proof for EVT is based in non-calculus fields like real analysis so it will not be shown here.
The two conditions matter. The interval must be closed, so endpoints are included, and the function must be continuous, so it cannot jump over or miss its highest or lowest value. EVT tells you the extrema exist; it does not tell you where they are. Critical points and endpoints are how you find the candidates.
Definition. A critical point of occurs at when:
- , or
- does not exist,
provided is in the domain of .
If has a local extremum at an interior point and exists, then
This theorem explains why critical numbers matter, but it does not say every critical number is an extremum. It only says that if an interior local extremum happens at a differentiable point, the derivative must be zero there. A sign test or value comparison is still needed.
There are two different candidate lists:
- for local extrema, check interior critical points,
- for absolute extrema on a closed interval, check interior critical points and endpoints.
Endpoints matter for absolute extrema because EVT guarantees the largest and smallest output somewhere on the whole closed interval. Endpoints are included in that interval, even though they are not usually called local extrema in AP Calculus.
When justifying an absolute maximum or minimum, compare function values, not derivative values. The derivative helps you find candidates, but the output values decide the final answer.
Graphical meaning of derivatives
Section titled βGraphical meaning of derivativesβWhen looking at a function, its first derivative can tell you a lot about the direction:
- on an interval implies is increasing there.
- on an interval implies is decreasing there.
Sign charts are the cleanest way to justify interval behavior.
When looking at a function, its second derivative can tell you a lot about the shape:
- , then is increasing. The graph of bends upward (concave up) because its slopes are becoming more positive or less negative.
- , then is decreasing. The graph of bends downward (concave down) because its slopes are becoming less positive or more negative.
An inflection point is a point where concavity changes. The equation only gives a possible location; you still need to check that the concavity actually changes.
The First Derivative Test
Section titled βThe First Derivative TestβA very useful test to find local extrema is the First Derivative Test. At points where (critical points), we can use this test to see if there is a local minimum, local maximum, or neither.
Theorem (First Derivative Test). If changes:
- positive to negative at : local maximum,
- negative to positive at : local minimum,
- no sign change: neither.
Proof (First Derivative Test). Suppose changes from positive to negative at . Then is increasing just to the left of and decreasing just to the right of . So values near on the left rise toward , and values near on the right fall away from . This makes a local maximum.
If changes from negative to positive, the same reasoning reverses: decreases into and increases after , so is a local minimum.
If does not change sign, then keeps increasing on both sides or keeps decreasing on both sides. In that case, is not a local extremum.
Example. Find and classify the critical points of .
Differentiate and factor:
So at and . Test the sign of on each interval:
Test one point in each interval:
The derivative goes positive to negative at , so has a local maximum there, with . The derivative goes negative to positive at , so has a local minimum there, with .
Absolute extrema on a closed interval
Section titled βAbsolute extrema on a closed intervalβDefinition. The absolute extrema of an interval is defined as the point where
- is at a maximum (for absolute maxima),
- is at a minimum (for absolute minima).
To find absolute max/min (extrema) of on :
The largest output is the absolute maximum, and the smallest output is the absolute minimum. Endpoints must be included because absolute extrema can occur at endpoints even though local extrema usually focus on interior points.
Example. Find the absolute maximum and minimum of on .
Differentiate to locate interior critical points:
so at . Only lies inside . Evaluate at this critical point and at both endpoints:
Comparing the candidate values, the absolute maximum is at , and the absolute minimum is at .
Concavity and the second derivative
Section titled βConcavity and the second derivativeβConcavity describes how the slopes of a function are changing.
- If , then is increasing and the graph is concave up.
- If , then is decreasing and the graph is concave down.
An inflection point occurs where concavity changes. The equation gives possible inflection points, but it is not enough by itself. You still need to check that changes sign or that the graph actually changes concavity.
Example. Find the concavity intervals and inflection point of
Compute the second derivative:
Set :
Test around . If , then , so the graph is concave down. If , then , so the graph is concave up. Since concavity changes at , there is an inflection point there:
The inflection point is .
The Second Derivative Test
Section titled βThe Second Derivative TestβThe Second Derivative Test is an alternate way of finding minima and maxima.
Theorem (Second Derivative Test). If and:
- , then has a local minimum at ,
- , then has a local maximum at ,
- , the test is inconclusive.
Example. Use the second derivative test to classify the critical points of .
First find the critical points:
so at and . The second derivative is
Evaluate at each critical point:
Since , there is a local minimum at , with . Since , there is a local maximum at , with .
Choosing between the tests
Section titled βChoosing between the testsβThe First Derivative Test is usually more reliable because it checks what the function is actually doing on both sides of the critical point. It works for critical points where and for critical points where does not exist, as long as you can test signs around .
The Second Derivative Test is faster when it applies, but it has two limits:
- it only applies when ,
- if , the test gives no conclusion.
Curve sketching framework
Section titled βCurve sketching frameworkβA solid derivative-based sketch includes:
- intercepts,
- asymptotes if relevant,
- intervals increasing/decreasing,
- local extrema,
- intervals concave up/down,
- inflection points,
- end behavior.
You do not need a perfect drawing at first. The goal is to collect enough structure that the graph has the correct shape. Start with the domain and discontinuities, then use derivatives to decide how the graph moves.
Example. Sketch the important derivative information for
First derivative:
The critical points are and . A sign chart for gives:
- increasing on ,
- decreasing on ,
- increasing on .
So is a local maximum and is a local minimum.
Second derivative:
The graph is concave down on and concave up on , so there is an inflection point at .
Evaluate the key points:
A good sketch should pass through those points, rise before , fall between and , rise after , and change concavity at .
Optimization
Section titled βOptimizationβOptimization problems mix modeling with calculus. The derivative only works after the quantity being optimized is written as a one-variable function. Most optimization problems ask for a local or absolute minimum (such as the least time) or maximum (such as the greatest profit).
The hardest part of optimization is usually building the one-variable function. A good setup keeps three pieces separate:
- the target quantity, which is what you want to maximize or minimize,
- the constraint equation, which connects the variables,
- the feasible domain, which says what values make sense in the context.
If the target quantity has two variables, use the constraint to solve for one variable and substitute. After that, the calculus part is standard: differentiate, find critical points, and test candidates.
Optimization problems often fail because the domain is ignored. After writing the target function, determine the allowed interval from the context:
- lengths must usually be positive,
- time may be restricted to a stated interval,
- square roots require nonnegative radicands,
- denominators cannot be zero.
If the allowed domain is closed, use endpoint comparison. If the domain is open or unbounded, use derivative signs and behavior at the ends.
Example. A rectangular pen is built with meters of fencing. What dimensions maximize the enclosed area?
Let the rectangle have width and height . The perimeter constraint is
The area, written as a one-variable function, is
Differentiate and find the critical point:
Since , this critical point is a maximum. Then , so the pen is a square with maximum area
Example. A rectangular box with a square base and no top must have volume cubic centimeters. Find the dimensions that minimize the surface area.
Let be the side length of the square base and be the height. The volume constraint is
so
The surface area includes the square base and four side rectangles:
Substitute the constraint:
Differentiate:
Set the derivative equal to zero:
Multiply by :
Then
Because as and as , the critical point gives the absolute minimum. The box should have square base side length cm and height cm.
Newtonβs method
Section titled βNewtonβs methodβAs a reminder, linearization is the process of estimating the value of a function using its derivative:
Using linearization, we can approximate the roots of a function using Newtonβs method (also known as the Newton-Raphson method) for approximating roots. Newtonβs method uses tangent lines to approximate roots.
Theorem (Newtonβs Method). To approximate a root of , start with a guess and repeatedly use
represents the th iteration, where you keep using your previous attempts to estimate the root. The first number always starts out as a guess, as after many iterations, the value will get closer and closer to the real root. However, the method works best when the starting guess is close to the root and the derivative is not near zero. If the tangent line is nearly horizontal, the next approximation can jump far away.
Proof (Newtonβs Method). The linearization of at is
Newtonβs method uses the root of this tangent line as the next guess, so set :
Solve for :
Therefore,
This new -value is called .
Example. Use Newtonβs method to approximate by solving , starting with .
Let
The Newton update is
Starting with :
Apply the formula again:
So .
Example. Use Newtonβs method to approximate a solution of , starting with .
Write the equation as a root problem:
Then
Newtonβs method gives
Starting with :
One more iteration gives
So the solution is approximately .
Tips for the exam
Section titled βTips for the examβAnalytical applications ask you to turn derivative information into a story about the original function. The safest approach is to separate where candidates occur from what those candidates mean.
For optimization, the derivative work is only the middle of the problem. A complete solution should also define variables, state the constraint, state the domain, and answer in the original units.