Skip to content

Analytical Applications of Differentiation

AP Calculus AB · Topic 5

Video lesson for this topic Open the video page
10:27

Analysing Functions: The Mean Value Theorem

Imagine a road trip. Over two hours, you cover one hundred and twenty kilometres — an average speed of sixty. Here is a surprising promise: at some instant…

English narration · English + 中文 subtitles burned in

5.1

The Mean Value Theorem

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-1
Existence theorems allow us to draw conclusions about a function's behavior on an interval without precisely locating that behavior.

FUN-1.B
Justify conclusions about functions by applying the Mean Value Theorem over an interval.

  • FUN-1.B.1 If a function $f$ is continuous over the interval $[a, b]$ and differentiable over the interval $(a, b)$, then the Mean Value Theorem guarantees a point within that open interval where the instantaneous rate of change equals the average rate of change over the interval.

Source: College Board AP Course and Exam Description

The Mean Value Theorem

The Mean Value Theorem 中值定理 (MVT) links the average rate of change to an instantaneous one:

If $f$ is continuous on $[a,b]$ and differentiable on $(a,b)$, then there is at least one point $c$ in $(a,b)$ where

$$f'(c) = \frac{f(b)-f(a)}{b-a}.$$

In words: somewhere inside the interval, the instantaneous rate equals the average rate. Geometrically, some tangent line is parallel to the line joining the endpoints.

The Mean Value Theorem: some tangent is parallel to the secant over the interval
The Mean Value Theorem: some tangent is parallel to the secant over the interval

Exam skill. Like the IVT, the MVT is an existence theorem, and questions ask you to justify. Full credit needs: (1) state $f$ is continuous on $[a,b]$ and differentiable on $(a,b)$; (2) compute the average rate $\frac{f(b)-f(a)}{b-a}$; (3) conclude "by the MVT there is a $c$ in $(a,b)$ with $f'(c)$ equal to that value." Both hypotheses must be named.

Worked example. Verify the MVT for $f(x)=x^2$ on $[1,3]$. It is a polynomial, so continuous and differentiable everywhere. The average rate is $\dfrac{f(3)-f(1)}{3-1}=\dfrac{9-1}{2}=4$. Setting $f'(c)=2c=4$ gives $c=2$, which does lie in $(1,3)$ – the guaranteed point.

Explore

The Mean Value Theorem

y = ax³ + bx² + cx + d

The MVT guarantees a point where the tangent is parallel to the secant — the instantaneous rate equals the average rate somewhere inside the interval.

Vocabulary Train
English
Mean Value Theorem/miːn ˈvæljuː ˈθɪərəm/
5.2

Extreme Values and Critical Points

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-1
Existence theorems allow us to draw conclusions about a function's behavior on an interval without precisely locating that behavior.

FUN-1.C
Justify conclusions about functions by applying the Extreme Value Theorem.

  • FUN-1.C.1 If a function $f$ is continuous over the interval $(a, b)$, then the Extreme Value Theorem guarantees that $f$ has at least one minimum value and at least one maximum value on $[a, b]$.
  • FUN-1.C.2 A point on a function where the first derivative equals zero or fails to exist is a critical point of the function.
  • FUN-1.C.3 All local (relative) extrema occur at critical points of a function, though not all critical points are local extrema.

Source: College Board AP Course and Exam Description

A mountain peak reflected in a lake: extrema and critical points mark highest and lowest values
A mountain peak reflected in a lake: extrema and critical points mark highest and lowest values

The Extreme Value Theorem 极值定理 (EVT) guarantees extremes exist: a function continuous on a closed interval $[a,b]$ attains both an absolute maximum and an absolute minimum on it.

At a differentiable interior extremum the derivative is zero
At a differentiable interior extremum the derivative is zero

A critical point 临界点 is an interior point where $f'(x)=0$ or $f'(x)$ does not exist. All local (relative) extrema 局部极值 occur at critical points – but not every critical point is an extremum. So critical points are the candidates; you must test each.

Vocabulary Train
English
Extreme Value Theorem/ekˈstriːm ˈvæljuː ˈθɪərəm/
critical point/ˈkrɪtɪkl pɔɪnt/
local (relative) extrema/ˈləʊkl ekˈstremə/
5.3

Increasing and Decreasing Intervals

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.1 The first derivative of a function can provide information about the function and its graph, including intervals where the function is increasing or decreasing.

Source: College Board AP Course and Exam Description

The first derivative tells you where $f$ rises or falls:

  • $f'(x) > 0$ on an interval $\Rightarrow$ $f$ is increasing 递增 there;
  • $f'(x) < 0$ $\Rightarrow$ $f$ is decreasing 递减.

On the exam, "find the intervals where $f$ is increasing" means: find the critical points, then test the sign of $f'$ between them, and justify with the sign of $f'$ (a stated reason, not just an interval).

Vocabulary Train
English
increasing/ɪnˈkriːsɪŋ/
decreasing/ˈdiːkriːsɪŋ/
5.4

The First Derivative Test

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.2 The first derivative of a function can determine the location of relative (local) extrema of the function.

Source: College Board AP Course and Exam Description

To classify a critical point $x=c$ as a local max, local min, or neither, check how $f'$ changes sign there:

  • $f'$ changes $+$ to $-$ at $c$ $\Rightarrow$ local maximum 极大值;
  • $f'$ changes $-$ to $+$ at $c$ $\Rightarrow$ local minimum 极小值;
  • $f'$ does not change sign $\Rightarrow$ neither.

Always state the sign change as your justification.

Worked example. Classify the critical points of $f(x)=x^3-3x^2$. Here $f'(x)=3x^2-6x=3x(x-2)$, zero at $x=0$ and $x=2$. Testing signs: $f'>0$ for $x<0$, $f'<0$ on $(0,2)$, and $f'>0$ for $x>2$. So $f'$ turns $+\to-$ at $x=0$ (a local maximum, $f(0)=0$) and $-\to+$ at $x=2$ (a local minimum, $f(2)=-4$).

Vocabulary Train
English
local maximum/ˈləʊkl ˈmæksɪməm/
local minimum/ˈləʊkl ˈmɪnɪməm/
5.5

The Candidates Test for Absolute Extrema

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.3 Absolute (global) extrema of a function on a closed interval can only occur at critical points or at endpoints.

Source: College Board AP Course and Exam Description

On a closed interval, absolute (global) extrema occur only at critical points or endpoints. The candidates test:

  1. List all critical points in $[a,b]$ and the two endpoints.
  2. Evaluate $f$ at each candidate.
  3. The largest output is the absolute maximum; the smallest is the absolute minimum.

Show the table of values – the comparison is the argument.

5.6

Concavity and Points of Inflection

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.4 The graph of a function is concave up (down) on an open interval if the function's derivative is increasing (decreasing) on that interval.
  • FUN-4.A.5 The second derivative of a function provides information about the function and its graph, including intervals of upward or downward concavity.
  • FUN-4.A.6 The second derivative of a function may be used to locate points of inflection for the graph of the original function.

Source: College Board AP Course and Exam Description

The second derivative describes bending:

  • $f'' > 0$ $\Rightarrow$ $f$ is concave up 上凹 (curving like a cup; $f'$ is increasing);
  • $f'' < 0$ $\Rightarrow$ $f$ is concave down 下凹 ($f'$ is decreasing).

A point of inflection 拐点 is a continuous point where concavity changes. Where the second derivative exists on neighbouring intervals, use its sign change; a zero alone is insufficient. Report its $x$-coordinate and justify with the sign change of $f''$.

Concavity comes from the sign of the second derivative; it flips at an inflection point
Concavity comes from the sign of the second derivative; it flips at an inflection point

Worked counterexample: a zero is only a candidate

For $h(x)=x^4$, $h''(x)=12x^2$ is positive on both sides of 0, so there is no inflection. Yet $h(x)\ge h(0)=0$, so 0 is a minimum even though $h''(0)=0$. For $k(x)=x^3$, $k''(x)=6x$ changes from negative to positive, giving an inflection at 0. Check neighbouring concavity; the second derivative need not exist at the point itself. The function must be continuous at an inflection point.

Explore

Where concavity flips

y = ax³ + bx² + cx + d

Concavity is the sign of $f''$: concave up holds water, concave down spills it. A point of inflection is where it switches.

Vocabulary Train
English
concave up/kɒnˈkeɪv ʌp/
concave down/kɒnˈkeɪv daʊn/
point of inflection/pɔɪnt ɒv ɪnˈflekʃn/
5.7

The Second Derivative Test

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.7 The second derivative of a function may determine whether a critical point is the location of a relative (local) maximum or minimum.
  • FUN-4.A.8 When a continuous function has only one critical point on an interval on its domain and the critical point corresponds to a relative (local) extremum of the function on the interval, then that critical point also corresponds to the absolute (global) extremum of the function on the interval.

Source: College Board AP Course and Exam Description

An alternative way to classify a critical point $c$ where $f'(c)=0$:

  • $f''(c) > 0$ $\Rightarrow$ concave up $\Rightarrow$ local minimum;
  • $f''(c) < 0$ $\Rightarrow$ concave down $\Rightarrow$ local maximum;
  • $f''(c) = 0$ $\Rightarrow$ the test is inconclusive – fall back on the first derivative test.

Special case: if a continuous function has only one critical point on an interval and it is a local extremum, that point is also the absolute extremum there.

5.8

Sketching a Function and Its Derivatives

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.9 Key features of functions and their derivatives can be identified and related to their graphical, numerical, and analytical representations.
  • FUN-4.A.10 Graphical, numerical, and analytical information from $f'$ and $f''$ can be used to predict and explain the behavior of $f$.

Source: College Board AP Course and Exam Description

Worked example: connect the same three graphs

For $f(x)=x^3-3x^2$, the derivative is $f'(x)=3x(x-2)$ and the second derivative is $f''(x)=6x-6$.

The same cubic and its two derivatives

On $(-1,0)$, $(0,2)$ and $(2,3)$, the signs of $f'$ are positive, negative and positive. Hence $f$ increases, decreases and increases. The sign changes give a local maximum at $(0,0)$ and minimum at $(2,-4)$. On $(-1,0)$ the function is increasing but concave down: $f'>0$ while $f'$ decreases. Concavity changes at 1 because $f''$ changes from negative to positive; the inflection is $(1,-2)$, where $f'(1)=-3$.

Adding 5 to $f$ leaves both derivatives unchanged. The shape and turning-point x coordinates stay the same; the vertical position needs a given function value.

5.9

Connecting f, f-prime, and f-double-prime

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.A
Justify conclusions about the behavior of a function based on the behavior of its derivatives.

  • FUN-4.A.11 Key features of the graphs of $f$, $f'$, and $f''$ are related to one another.

Source: College Board AP Course and Exam Description

Original 2018 AB Q 3(c–d): read the displayed derivative

Original 2018 graph of g, where g equals f-prime

The given $g$ is $f'$. For $f$ to be increasing and concave up, $g$ must be positive and increasing: $(0,1)$ and $(4,6)$. At 4, $g$ changes from decreasing to increasing, so $f$ has an inflection. Since $g$ is positive on both sides of 4, $f$ has no extremum there. The official scheme awards both the interval answer and its reason.

Original 2025 AB Q 4B: the notation changes

Original 2025 graph of f, where f equals g-prime

Here $g(x)=\int_6^x f(t)\,dt$, so $g'=f$. The inflections of $g$ occur at $x=-3,3,6$: the displayed $f$ changes decreasing/increasing behaviour there. At 0, $f$ increases on both sides, so $g$ remains concave up. At 6 the change of concavity is valid even though $f'$ is undefined at its corner. The official scheme requires evidence tied to the given graph, not simply naming a change in concavity.

Explore

Slope and bend from the graph

y = ax³ + bx² + cx + d

Where $f'>0$ the function rises; where $f''>0$ it bends up. Slide the tangent to link the shape of $f$ to the signs of its derivatives.

5.10

Introduction to Optimization

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.B
Calculate minimum and maximum values in applied contexts or analysis of functions.

  • FUN-4.B.1 The derivative can be used to solve optimization problems; that is, finding a minimum or maximum value of a function on a given interval.

Source: College Board AP Course and Exam Description

Optimisation: the best box

Optimization 最优化 uses the derivative to find the largest or smallest value of a quantity on an interval. It is the candidates/derivative-test machinery applied to a real goal.

Fenced enclosures: optimization finds the dimensions that maximise area for a fixed fence length
Fenced enclosures: optimization finds the dimensions that maximise area for a fixed fence length
Vocabulary Train
English
Optimization/ˌɒptɪmaɪˈzeɪʃn/
5.11

Solving Optimization Problems

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.C
Interpret minimum and maximum values calculated in applied contexts.

  • FUN-4.C.1 Minimum and maximum values of a function take on specific meanings in applied contexts.

Source: College Board AP Course and Exam Description

A dependable procedure:

  1. Write the quantity to optimize as a function of one variable (use a constraint equation to eliminate extras).
  2. State the interval of allowed inputs.
  3. Find critical points ($f'=0$ or undefined) and test them (first- or second-derivative test, or candidates test if the interval is closed).
  4. Answer the question asked, with units and interpretation in context – the maximum area, the minimum cost, etc.

Worked example. A farmer has $100\ \text{m}$ of fence for a rectangular pen against a wall, so only three sides need fencing. Maximize the area. Let the two ends be $x$ and the side parallel to the wall be $y$; the constraint is $2x+y=100$, so $y=100-2x$. The area is

$$A(x)=x(100-2x)=100x-2x^2,\qquad A'(x)=100-4x=0\;\Rightarrow\;x=25.$$
Since $A''=-4<0$ this is a maximum, giving $y=50$ and $A=25\times50=1250\ \text{m}^2$.

5.12

Behaviors of Implicit Relations

Syllabus
Enduring UnderstandingLearning ObjectiveEssential Knowledge

FUN-4
A function's derivative can be used to understand some behaviors of the function.

FUN-4.D
Determine critical points of implicit relations.

  • FUN-4.D.1 A point on an implicit relation where the first derivative equals zero or does not exist is a critical point of the function.

FUN-4.E
Justify conclusions about the behavior of an implicitly defined function based on evidence from its derivatives.

  • FUN-4.E.1 Applications of derivatives can be extended to implicitly defined functions.
  • FUN-4.E.2 Second derivatives involving implicit differentiation may be relations of $x$, $y$, and $\dfrac{dy}{dx}$.

Source: College Board AP Course and Exam Description

All of this extends to implicitly defined relations. A critical point of an implicit relation is where $\dfrac{dy}{dx}=0$ (horizontal tangent) or is undefined (vertical tangent). Because $\dfrac{dy}{dx}$ is usually a relation in $x$ and $y$, and the second derivative involves $x$, $y$, and $\dfrac{dy}{dx}$, substitute your first-derivative expression back in when finding $\dfrac{d^2y}{dx^2}$, then reason about concavity from its sign.

5.12

Exam tips

  • $f'>0$ means increasing, $f'<0$ decreasing; candidates for extrema are where $f'=0$ or is undefined.
  • Classify a critical point with the first-derivative sign change or the second-derivative test ($f''>0$ minimum, $f''<0$ maximum).
  • $f''>0$ is concave up, $f''<0$ concave down; a point of inflection is where concavity changes ($f''$ changes sign).
  • For an absolute extremum on a closed interval, also check the endpoints.
  • Justify every conclusion by citing the sign of $f'$ or $f''$ — the exam demands the reasoning, not just the answer.

Interactive lessons on this topic

Work through it step by step, with instant-check exercises.

Past Papers

More topics in AP Calculus AB

Log in or create account

IGCSE, A-Level & AP