---
title: "Mean Value Theorem, Extrema, and First-Derivative Analysis | FiveStudy"
description: "Use existence theorems and derivative signs to locate and justify critical behavior on open and closed intervals."
url: https://fivestudy.com/guides/ap-calculus-bc-mvt-extrema-first-derivative-analysis
---

[AP Calculus BC](https://fivestudy.com/ap-calculus-bc) · Study guide

# Mean Value Theorem, Extrema, and First-Derivative Analysis

[Figure: FiveStudy logo]

FiveStudy

AP Calculus BC · Unit 5

AP Calculus BC · Comprehensive Guide 9

# Mean Value Theorem, Extrema, and First-Derivative *Analysis*

Use existence theorems and derivative signs to locate and justify critical behavior on open and closed intervals.

5 topics · 5 worked examples

Prerequisite check

You should know continuity, differentiability, critical numbers, endpoint evaluation, and sign charts.

AP reasoning lens

State theorem hypotheses before conclusions, and distinguish local extrema from absolute extrema on a specified interval.

## In this guide

1. 5.1 · Using the Mean Value Theorem
2. 5.2 · Extreme Value Theorem, Global Versus Local Extrema, and Critical Points
3. 5.3 · Determining Intervals on Which a Function Is Increasing or Decreasing
4. 5.4 · Using the First Derivative Test to Determine Relative (Local) Extrema
5. 5.5 · Using the Candidates Test to Determine Absolute (Global) Extrema

Topic 5.1

## Using the Mean Value Theorem

The Mean Value Theorem (MVT) guarantees that, somewhere inside an interval, the instantaneous rate of change equals the average rate of change. It is one of the most-used tools in Unit 5 — but like every theorem, it only applies when its hypotheses hold. Invoke MVT on a function that fails a hypothesis and the conclusion can be simply false.

### Skills inside this topic

**5.1.a**Verifying MVT hypotheses

**5.1.b**Stating the MVT conclusion

**5.1.c**Finding the guaranteed c from MVT

**5.1.d**Rolle's theorem

**5.1.e**Rejecting MVT misapplications

### Core results and conditions

- **5.1.a · Verifying MVT hypotheses**If f is continuous on the closed interval [a,b] and differentiable on the open interval (a,b), then there exists at least one number c in (a,b) such that f′(c)=b−af(b)−f(a). In words: somewhere strictly between a and b, the tangent line is parallel to the secant line through the endpoints. The two hypotheses are the price of admission; this subtopic is about paying it correctly.
- **5.1.b · Stating the MVT conclusion**If f is continuous on [a,b] and differentiable on (a,b), then there exists c∈(a,b) such that f′(c)=b−af(b)−f(a). The right-hand side is the average rate of change of f over [a,b] — equivalently, the slope of the secant line through the endpoints (a,f(a)) and (b,f(b)). The left-hand side is the derivative at one interior point. The theorem says those two are equal somewhere strictly inside.
- **5.1.c · Finding the guaranteed c from MVT**Given f on [a,b] with the MVT hypotheses satisfied (continuous on [a,b], differentiable on (a,b)): Secant slope. Compute the number m=b−af(b)−f(a).; Solve. Find f′(x), set f′(c)=m, and solve for c — list every algebraic solution.; Filter. Keep only the solutions with a<c<b; discard the rest. Report all survivors.
- **5.1.d · Rolle's theorem**If f satisfies all three hypotheses on an interval [a,b]: f is continuous on the closed interval [a,b],; f is differentiable on the open interval (a,b),; f(a)=f(b), then there exists at least one number c in (a,b) such that f′(c)=0. AP justification language. To cite it on a free-response: “Because f is continuous on [a,b], differentiable on (a,b), and f(a)=f(b), Rolle's theorem guarantees a value c in (a,b) with f′(c)=0.” Name all three hypotheses, then the conclusion.
- **5.1.e · Rejecting MVT misapplications**To reject an MVT application, cite exactly one of the following — and verify the location: Failure | What it looks like | Where it must lie to block MVT; (A) Continuity | jump, removable hole, infinite discontinuity, undefined point | anywhere in the closed [a,b] — including an endpoint; (B) Differentiability | corner, cusp, vertical tangent | strictly inside the open (a,b) — an endpoint does not count

### Worked example · source skill 5.1.c

Find c for f(x)=x on [0,9].

Hypotheses. x is continuous on [0,9] and differentiable on (0,9) (the non-differentiable issue at x=0 sits at the endpoint, which the open interval excludes). The MVT applies.

Secant slope. f(0)=0, f(9)=3, so m=9−03−0=31.

Solve. f′(x)=2x1; set 2c1=31. Cross-multiply: 2c=3, so c=23 and c=49.

Filter. 49=2.25∈(0,9). Accept c=49.

**Result and interpretation**
Takeaway: A radical derivative gives a single positive candidate after squaring — squaring introduces no spurious second root here because c is already non-negative. The answer is often a tidy fraction.

[Figure: BC Topic 5.1: Under the Mean Value Theorem hypotheses, at least one tangent slope equals the secant slope over the interval.]

Under the Mean Value Theorem hypotheses, at least one tangent slope equals the secant slope over the interval.

**Common mistake**

Mistake: For f(x)=∣x∣ on [−1,1]: 'f is continuous on [−1,1], so MVT applies.'

**Correction:** Correct approach: Write BOTH lines. Hypothesis 1: ∣x∣ is continuous on [−1,1] (tick). Hypothesis 2: ∣x∣ is not differentiable at 0, and 0∈(−1,1), so Hypothesis 2 fails. Conclusion: MVT does NOT apply on [−1,1].

**Check your understanding**

Decide each, and state the rejection or the guarantee the AP way. (a) f(x)=tanx on [0,π]. (b) f(x)=3x on [−1,8]. (c) f(x)=3x on [1,8].

**Show answer**

(a) MVT does not apply. tanx has an infinite discontinuity at x=π/2∈[0,π], so f is not continuous on the closed interval — hypothesis (A) fails at x=π/2. (b) MVT does not apply. f′(x)=31x−2/3 blows up at x=0 (a vertical tangent), and 0 is interior to (−1,8), so f is not differentiable on the open interval — hypothesis (B) fails at x=0. (c) MVT applies. On [1,8] the only bad point x=0 is outside the interval; f is continuous on [1,8] and differentiable on (1,8), so MVT guarantees some c∈(1,8) with f′(c)=8−138−31=72−1=71. Rejecting (c) on the strength of the vertical tangent at x=0 would be a false rejection — that point is not in [1,8].

Topic 5.2

## Extreme Value Theorem, Global Versus Local Extrema, and Critical Points

The Extreme Value Theorem (EVT) is a guarantee about where a function reaches its largest and smallest values. It says: if a function behaves nicely across a stretch of inputs, then somewhere on that stretch it actually attains a highest value and a lowest value — both of them really occur, at genuine inputs.

### Skills inside this topic

**5.2.a**Verifying EVT hypotheses

**5.2.b**Defining a critical point

**5.2.c**Local vs. global extrema and endpoint considerations

**5.2.d**Identifying critical points from f' formula

### Core results and conditions

- **5.2.a · Verifying EVT hypotheses**If f is continuous on the closed interval [a,b], then there exist numbers c1,c2 in [a,b] such that f(c1)≤f(x)≤f(c2)for every x in [a,b]. The value f(c2) is the absolute (global) maximum of f on [a,b]; the value f(c1) is the absolute (global) minimum.
- **5.2.b · Defining a critical point**A number c is a critical point of f (also called a critical number) exactly when both of these hold: c∈dom(f)and(f′(c)=0 or f′(c) does not exist). The first clause is the domain clause: f must actually have a value at c. The second is the derivative clause, and its 'or' is inclusive — a horizontal-tangent point and a corner are both critical, by different branches of the same definition.
- **5.2.c · Local vs. global extrema and endpoint considerations**A function f has a local (relative) maximum at x=c if f(c)≥f(x) for every x in some open interval around c (intersected with the domain). It has a local (relative) minimum at x=c if f(c)≤f(x) for every such nearby x. local max at c: f(c)≥f(x) for all x near c. local min at c: f(c)≤f(x) for all x near c.
- **5.2.d · Identifying critical points from f' formula**Let c be a number in the domain of f. Then c is a critical point (equivalently, a critical number) of f provided f′(c)=0orf′(c) does not exist. Both conditions are tested against the same requirement: c is in the domain of f. If f(c) itself is undefined, c is not a critical point — there is nothing there to be a peak or valley of.

### Worked example · source skill 5.2.a

Does EVT apply to f(x)=x−6x+2 on [0,4]?

Step 1 (interval). [0,4] is closed and bounded. Pass.

Step 2 (continuity). A rational function is continuous everywhere except where its denominator is zero. Here the only discontinuity is at x=6.

Is that discontinuity inside the interval? x=6 is outside [0,4], so it is irrelevant; on [0,4] the function is continuous. Pass.

Both steps pass, so by EVT f attains an absolute maximum and an absolute minimum on [0,4].

**Result and interpretation**
Takeaway: The question is never 'does f have a discontinuity?' but 'does f have a discontinuity inside [a,b]?' A denominator zero outside the interval does nothing.

[Figure: BC Topic 5.2: Absolute extrema on a closed interval are found by comparing endpoint values with all interior critical-point values.]

Absolute extrema on a closed interval are found by comparing endpoint values with all interior critical-point values.

**Common mistake**

Mistake: For f(x)=x2 on [0,5]: 'EVT applies because f is differentiable on [0,5].'

**Correction:** Correct approach: Justify with continuity only: 'Because f(x)=x2 is continuous on the closed interval [0,5], EVT guarantees f attains an absolute maximum and minimum on [0,5].' Differentiability implies continuity, so it is enough — but the named hypothesis you cite must be continuity.

**Check your understanding**

Find all critical points of f(x)=(x−2)2/3. State the domain, then check both clauses.

**Show answer**

Domain: all reals (a cube root, then squared, is defined everywhere). Derivative: by the chain rule f′(x)=32(x−2)−1/3=3(x−2)1/32. Clause 1: the numerator is the constant 2, never zero — no critical points here. Clause 2: the denominator is zero at x=2, so f′(2) does not exist; and f(2)=02/3=0 IS defined. So x=2 qualifies. Answer: the only critical point is x=2 (a cube-root cusp shifted right by 2), found entirely from the second clause.

Topic 5.3

## Determining Intervals on Which a Function Is Increasing or Decreasing

A function f is increasing where its outputs rise as x moves right and decreasing where they fall. The derivative f′ measures that instantaneous rise or fall: where f′>0 the curve climbs, where f′<0 it descends. So the question 'where is f going up or down?' becomes the cleaner question 'where is f′ positive or negative?'

### Skills inside this topic

**5.3.a**Sign chart of f' across critical points

**5.3.b**Reading increasing/decreasing intervals from sign chart

**5.3.c**Reading increasing/decreasing of f from a graph of f'

**5.3.d**Endpoint and domain inclusion in increasing/decreasing intervals

### Core results and conditions

- **5.3.a · Sign chart of f' across critical points**A critical number of f is an x=c in the domain of f at which f′(c)=0orf′(c) does not exist. A continuous f′ can only switch between positive and negative by passing through zero or by breaking (becoming undefined). So the boundary points of a sign chart of f′ are exactly: (i) every x with f′(x)=0, and (ii) every x where f′(x) is undefined.
- **5.3.b · Reading increasing/decreasing intervals from sign chart**Let f be continuous on [a,b] and differentiable on (a,b). If f′(x)>0 for every x in (a,b), then f is increasing on [a,b]. If f′(x)<0 for every x in (a,b), then f is decreasing on [a,b]. This is a consequence of the Mean Value Theorem: between any two points the average rate x2−x1f(x2)−f(x1) equals f′(c) for some c, so a one-signed f′ forces a one-signed average rate.
- **5.3.c · Reading increasing/decreasing of f from a graph of f'**Let f be continuous on an interval and differentiable on its interior. f′(x)>0 for all x in the interval ⇒ f is increasing on the interval. f′(x)<0 for all x in the interval ⇒ f is decreasing on the interval. So when you are handed the graph of f′, the whole task is a sign reading: above the axis is a plus, below the axis is a minus, on the axis is a zero.
- **5.3.d · Endpoint and domain inclusion in increasing/decreasing intervals**The AP definition is stated on an interval I: f is increasing on I if for every pair x1<x2 in I, f(x1)<f(x2) (decreasing reverses the inequality). So the AP-graded phrasing is always ‘f is increasing on the interval I,’ never ‘f is increasing at x=c.’ ‘Increasing at a point’ is not standard AP language and earns no justification credit.

### Worked example · source skill 5.3.a

Build the sign chart of f′ given f′(x)=(x+1)2(x−3) directly.

Boundary points: x=−1 (from (x+1)2) and x=3. Both are critical numbers; f′ is defined everywhere.

Three intervals: (−∞,−1),(−1,3),(3,∞).

Test x=−2: (−1)2(−5)=−5<0. Test x=0: (1)2(−3)=−3<0. Test x=4: (5)2(1)=25>0.

Sign chart of f′: −,−,+. The sign does NOT flip across x=−1.

**Result and interpretation**
Takeaway: An even-multiplicity factor like (x+1)2 touches zero and returns to the same sign, so f′ does not change sign there. The point is still a critical number and still a boundary — it just is not a sign flip.

[Figure: BC Topic 5.3: The sign of the derivative partitions the domain into increasing and decreasing intervals and identifies first-derivative extrema.]

The sign of the derivative partitions the domain into increasing and decreasing intervals and identifies first-derivative extrema.

**Common mistake**

Mistake: For f(x)=x3−3x2: 'At x=1, f(1)=1−3=−2<0, so the sign chart is negative on (0,2).'

**Correction:** Correct approach: Differentiate first: f′(x)=3x2−6x. Then test f′(1)=3−6=−3<0, so f′<0 on (0,2) and f is decreasing there. Always substitute into f′.

**Check your understanding**

Two students report intervals. (a) For g(x)=lnx, a student writes ‘g is increasing on [0,∞).’ Is this AP-correct? If not, fix it and name the error class. (b) For f(x)=x2+12x with f′(x)=(x2+1)22(1−x2), a student writes ‘f is increasing on (−1,1) only.’ f is continuous everywhere and f′(±1)=0. Is this the AP-preferred form?

**Show answer**

(a) Not AP-correct. ln0 is undefined, so x=0 is not in the domain — closing the bracket there is error class 5.3.d.E3. Corrected: g is increasing on (0,∞). (b) Not the preferred form. The open report is technically accepted, but since f is continuous at ±1 and f′(±1)=0, the endpoint test passes and the closed-on-both form is informationally strongest: f is increasing on [−1,1].

Topic 5.4

## Using the First Derivative Test to Determine Relative (Local) Extrema

From the previous lessons you know that the sign of the first derivative tells you the direction of f: where f′(x)>0 the function is increasing, and where f′(x)<0 it is decreasing.

### Skills inside this topic

**5.4.a**FDT: sign change + to - at c means local max

**5.4.b**FDT: sign change − → + at c means local min

**5.4.c**FDT: critical point with no sign change (no extremum)

**5.4.d**AP justification language for FDT

### Core results and conditions

- **5.4.a · FDT: sign change + to - at c means local max**A critical point of f is an interior input c in the domain where f′(c)=0orf′(c) does not exist. A continuous function can have a local maximum or minimum only at a critical point, so critical points are the only candidates. Finding them is always step one: differentiate, set f′(x)=0, and also note any x (in the domain of f) where f′ is undefined.
- **5.4.b · FDT: sign change − → + at c means local min**Let c be a critical point of a continuous function f. Suppose f′ exists on an open interval around c except possibly at c itself. If f′(x)<0 just to the left of c and f′(x)>0 just to the right of c, then f has a local (relative) minimum at x=c. Equivalently: f is decreasing on the left of c and increasing on the right.
- **5.4.c · FDT: critical point with no sign change (no extremum)**Let c be a critical point of a function f that is continuous at c and differentiable on an open interval around c (except possibly at c). If f′ has the same sign on an interval just to the left of c and on an interval just to the right of c, then f has no relative extremum at x=c. Concretely: if f′>0 on both sides, f is increasing through c; if f′<0 on both sides, f is decreasing through c. Either way the monotone direction never reverses, so there is no local high point or low point at c.
- **5.4.d · AP justification language for FDT**Suppose f is continuous at a critical input x=c (where f′(c)=0 or f′ is undefined). Looking at f′ just to the left and just to the right of c: If f′ changes from positive to negative at c, then f has a relative maximum at x=c.; If f′ changes from negative to positive at c, then f has a relative minimum at x=c.; If f′ does not change sign at c, then f has neither a relative max nor min at x=c.

### Worked example · source skill 5.4.c

Classify the critical point of f(x)=(x−1)3.

Differentiate with the chain rule: f′(x)=3(x−1)2.

Critical point: (x−1)2=0 at x=1.

The factor (x−1)2 is squared (even multiplicity), so f′(x)≥0 on both sides of 1: test f′(0.9)=3(0.01)>0 and f′(1.1)=3(0.01)>0.

No sign change ⇒ f has neither a relative max nor a relative min at x=1. f is increasing through a horizontal tangent.

**Result and interpretation**
Takeaway: An odd power on f becomes one degree lower on f′: a cubic shape gives f′∝(x−1)2, a square — horizontal tangent, but no extremum.

[Figure: BC Topic 5.4: The sign of the derivative partitions the domain into increasing and decreasing intervals and identifies first-derivative extrema.]

The sign of the derivative partitions the domain into increasing and decreasing intervals and identifies first-derivative extrema.

**Common mistake**

Mistake: "At x=c the derivative is zero, so f has a local maximum there."

**Correction:** Correct approach: After finding a critical point, run the sign test. Conclude a local maximum only when f′ genuinely changes from positive to negative there, and say so.

**Check your understanding**

Let k(x)=xe−x, so by the product rule k′(x)=e−x(1−x). (a) Find the critical input. (b) Write the full AP-style FDT justification there, naming any error you must avoid.

**Show answer**

(a) Since e−x>0 always, k′(x)=0 only when 1−x=0, i.e. x=1. (b) The sign of k′ matches 1−x: at x=0, k′(0)=1>0; at x=2, k′(2)=e−2(−1)<0. So k′ changes from positive to negative at x=1. “k′ changes from positive to negative at x=1, so k has a relative maximum at x=1.” Avoid the zero-only fallacy (E1): do not write just ‘k′(1)=0, so …’ — the sign change is the justification.

Topic 5.5

## Using the Candidates Test to Determine Absolute (Global) Extrema

On a closed interval [a,b], a continuous function f is guaranteed to attain both an absolute (global) maximum and an absolute minimum — this is the Extreme Value Theorem. The remarkable part is that those extremes can occur in only a few places.

### Skills inside this topic

**5.5.a**Listing candidates for global extrema

**5.5.b**Evaluating f at each candidate

**5.5.c**Comparing candidate values for global max/min

**5.5.d**Justification with Candidates Test / EVT

### Core results and conditions

- **5.5.a · Listing candidates for global extrema**For a continuous function f on the closed interval [a,b]: candidates=(critical points of f in [a,b]) ∪ {a, b}. Three moves: differentiate to get f′; find every critical point (where f′=0 or f′ is undefined) and keep only those in [a,b]; then add the two endpoints.
- **5.5.b · Evaluating f at each candidate**For each candidate c on the list, the table row is (c, f(c)),f(c)=the original function evaluated at c. The derivative f′ already did its job back in 5.5.a, where its zeros and undefined points located the interior critical numbers. This step is about the function's height at each candidate, which is f(c) — not its slope f′(c).
- **5.5.c · Comparing candidate values for global max/min**Given a finished candidate-value table — a short list of inputs c (the candidates) each paired with its output f(c): global max value = the largest entry in the f(c) column, global min value = the smallest entry in the f(c) column. The candidate c sitting in that same row is the location. A complete answer always names both pieces: global max: value M at location(s) c=… global min: value m at location(s) c=…
- **5.5.d · Justification with Candidates Test / EVT**If f is continuous on the closed interval [a,b], then f attains an absolute maximum and an absolute minimum somewhere on [a,b].

### Worked example · source skill 5.5.a

Build the candidate list for f(x)=2x+1 on [0,4].

Differentiate: f′(x)=2.

Solve f′(x)=0: 2=0 has no solution, so f′ is never zero; and f′ is defined everywhere, so there are no interior critical points at all.

Add the endpoints 0 and 4.

Candidate list: {0, 4}.

**Result and interpretation**
Takeaway: The candidate list is never empty: even with no critical points, the two endpoints are always present. On a monotonic function the extremes must occur at the ends.

[Figure: BC Topic 5.5: Absolute extrema on a closed interval are found by comparing endpoint values with all interior critical-point values.]

Absolute extrema on a closed interval are found by comparing endpoint values with all interior critical-point values.

**Common mistake**

Mistake: "f′(x)=32x−1/3 is never zero, so f(x)=x2/3 on [−1,8] has no interior critical points — the candidate list is just {−1, 8}."

**Correction:** Correct approach: Always check both branches. The correct list is {−1, 0, 8}; cusps, corners, and vertical tangents all arrive through the undefined branch.

**Check your understanding**

A student writes: "On [0,5] the only critical number is x=2, where f′′(2)<0. By the Second Derivative Test the absolute maximum on [0,5] is f(2)=4." Given f is continuous with f(0)=1, f(2)=4, f(5)=7, name the error class and write a corrected justification.

**Show answer**

Error class 5.5.d.E1 — a LOCAL test (SDT) was used to certify a GLOBAL extremum. The SDT only shows f(2)=4 is a local max; on [0,5] an endpoint can beat it, and here f(5)=7>4. Corrected: "Since f is continuous on the closed interval [0,5], by the Extreme Value Theorem an absolute maximum exists. Comparing the candidate values f(0)=1, f(2)=4, f(5)=7, the largest is f(5)=7, so by the Candidates Test the absolute maximum on [0,5] is f(5)=7, at the endpoint x=5."

## Last-pass checklist

**5.1 · Using the Mean Value Theorem**5.1.a, 5.1.b, 5.1.c, 5.1.d, 5.1.e

**5.2 · Extreme Value Theorem, Global Versus Local Extrema, and Critical Points**5.2.a, 5.2.b, 5.2.c, 5.2.d

**5.3 · Determining Intervals on Which a Function Is Increasing or Decreasing**5.3.a, 5.3.b, 5.3.c, 5.3.d

**5.4 · Using the First Derivative Test to Determine Relative (Local) Extrema**5.4.a, 5.4.b, 5.4.c, 5.4.d

**5.5 · Using the Candidates Test to Determine Absolute (Global) Extrema**5.5.a, 5.5.b, 5.5.c, 5.5.d

FiveStudy · AP Calculus BC · Unit 5

Guide 9 of 23
