Navigation

Applications of the Derivative · Topic 15 of 23

Extreme Values and the Mean Value Theorem

An absolute extremum of a continuous ff on [a,b][a,b] can only occur at a critical number in (a,b)(a,b) (where f(c)=0f'(c)=0 or f(c)f'(c) does not exist) or at an endpoint, so evaluating ff on that finite list finds both. The Mean Value Theorem then supplies a cc inside with f(c)=f(b)f(a)baf'(c)=\frac{f(b)-f(a)}{b-a}: the tangent there is parallel to the secant.

5 min readFrequent on exams8 formulas6 quick checks
01

Key ideas

5 things to remember
  1. 1

    Critical number: zero or undefined

    cc is critical when cc is an interior point of the domain and either f(c)=0f'(c)=0 or f(c)f'(c) fails to exist. Almost every lost mark is on the second branch.

  2. 2

    Fermat narrows the search, nothing more

    A local extremum at an interior cc where ff' exists forces f(c)=0f'(c)=0. The converse is false: f(0)=0f'(0)=0 for x3x^3, which has no extremum there.

  3. 3

    EVT guarantees, it never locates

    Continuous on a closed, bounded [a,b][a,b] ⇒ both absolute extrema are attained somewhere. Drop closed, bounded or continuous and the guarantee dies, though the extrema may survive by luck.

  4. 4

    Endpoints are candidates too

    The Closed Interval Method compares ff at every critical number in (a,b)(a,b) and at f(a)f(a) and f(b)f(b). An endpoint is never a local extremum but is very often the absolute one.

  5. 5

    MVT: tangent parallel to secant

    Somewhere in (a,b)(a,b) the instantaneous rate equals the average rate. It asserts existence only — cc is rarely unique and usually not solvable — yet it is what makes f=0ff'=0\Rightarrow f constant true.

0.51.01.52.0246xysecant, slope 3tangent at c, slope 3(a, f(a))(b, f(b))c ≈ 1.155f(x) = x³ − x
The MVT on [0,2][0,2] for f(x)=x3xf(x)=x^3-x: the secant slope is f(2)f(0)20=3\frac{f(2)-f(0)}{2-0}=3, and at c=231.155c=\frac{2}{\sqrt3}\approx1.155 the tangent (amber) has that same slope. The theorem promises such a cc exists; it never says where.
2468-4-2246xyabsolute max 5cusp: f′ undefinedlocal max 1absolute min −4f(x) = 3∛x² − 2x
The Closed Interval Method for f(x)=3x2/32xf(x)=3x^{2/3}-2x on [1,8][-1,8]. The critical numbers are x=0x=0 (no derivative) and x=1x=1 (f=0f'=0), but comparing 5,0,1,45,\,0,\,1,\,-4 puts both absolute extrema at the endpoints — drop them and you get two wrong answers.
02

Formulas

What to have memorised
  • Critical number of ff

    f(c)=0orf(c) does not existf'(c)=0 \qquad\text{or}\qquad f'(c)\ \text{does not exist}

    And cc must be an interior point of the domain of ff.

  • Fermat's Theorem

    f has a local extremum at interior c, f(c) exists    f(c)=0f\ \text{has a local extremum at interior } c,\ f'(c)\ \text{exists}\implies f'(c)=0

    Use the contrapositive: extrema sit at critical numbers or endpoints.

  • Closed Interval Method

    max[a,b]f=max{f(a),f(b),f(c1),,f(cn)}\max_{[a,b]}f=\max\{f(a),\,f(b),\,f(c_1),\dots,f(c_n)\}

    The cic_i are the critical numbers in (a,b)(a,b); ff must be continuous on [a,b][a,b].

  • Rolle's Theorem

    f(a)=f(b)    f(c)=0  for some c(a,b)f(a)=f(b)\implies f'(c)=0\ \text{ for some } c\in(a,b)

    Needs ff continuous on [a,b][a,b] and differentiable on (a,b)(a,b).

  • Mean Value Theorem

    f(c)=f(b)f(a)ba  for some c(a,b)f'(c)=\frac{f(b)-f(a)}{b-a}\ \text{ for some } c\in(a,b)

    Same hypotheses as Rolle; Rolle is the case f(a)=f(b)f(a)=f(b).

  • MVT, increment form

    f(b)f(a)=f(c)(ba)f(b)-f(a)=f'(c)\,(b-a)

    The form to use for estimating, bounding or proving an inequality.

  • Derivative bounds transfer

    mf(x)M    m(ba)f(b)f(a)M(ba)m\le f'(x)\le M\implies m(b-a)\le f(b)-f(a)\le M(b-a)

    Immediate from the increment form, since ba>0b-a>0.

  • Equal derivatives on an interval

    f=g on an interval I    f(x)=g(x)+C on If'=g'\ \text{on an interval } I\implies f(x)=g(x)+C\ \text{on } I

    Only on an interval — this is the source of the +C+C in antiderivatives.

03

Absolute extrema on a closed interval

The steps, in order
  1. 1

    State that ff is continuous on [a,b][a,b] and why (polynomial, root, no pole inside). The EVT then guarantees both extrema exist.

  2. 2

    Differentiate. Solve f(x)=0f'(x)=0, then separately locate every point where ff' fails to exist.

  3. 3

    Keep only candidates lying in (a,b)(a,b) and in the domain of ff; discard the rest.

  4. 4

    Evaluate ff at each surviving critical number and at both endpoints aa and bb.

  5. 5

    Compare the numbers: largest is the absolute maximum, smallest the absolute minimum. Report each value and its location.

04

Watch out

The mistakes that cost marks
  • ✗ Wrong

    "Critical numbers are the solutions of f(x)=0f'(x)=0."

    ✓ Right

    Also every interior domain point where ff' fails to exist: x2/3x^{2/3} has critical number 00.

    Why: Cusps and vertical tangents are critical numbers too.

  • ✗ Wrong

    For f(x)=xx2f(x)=\frac{x}{x-2}, listing x=2x=2 because ff' blows up there.

    ✓ Right

    22 is not in the domain of ff, so it is not a critical number at all.

    Why: A critical number must be a point where ff itself is defined.

  • ✗ Wrong

    Running the Closed Interval Method on the critical numbers only.

    ✓ Right

    Evaluate f(a)f(a) and f(b)f(b) as well — the endpoints are very often the answer.

    Why: Fermat says nothing at an endpoint, so it must be tested by hand.

  • ✗ Wrong

    "f(c)=0f'(c)=0, therefore ff has a local extremum at cc."

    ✓ Right

    That is the false converse of Fermat: x3x^3 has f(0)=0f'(0)=0 and no extremum. Use a derivative test.

  • ✗ Wrong

    Applying the MVT to f(x)=1xf(x)=\frac1x on [1,1][-1,1] and solving f(c)=1f'(c)=1.

    ✓ Right

    ff is not continuous on [1,1][-1,1] — it is not even defined at 00 — so the MVT does not apply.

    Why: Here f(x)=1/x2<0f'(x)=-1/x^2<0 always, so no such cc exists.

  • ✗ Wrong

    "The absolute maximum is x=4x=4."

    ✓ Right

    "The absolute maximum value is 1717, attained at x=4x=4."

    Why: The value is f(c)f(c), the location is cc; markers want both named.

05

Quick check

Commit to an answer before you reveal one
  1. Q1easy

    Find all critical numbers of g(x)=x4/34x1/3g(x)=x^{4/3}-4x^{1/3}, and state which type each one is (g=0g'=0 or gg' undefined).

    Hint

    Factor out the most negative power of xx so you can see where gg' vanishes and where it blows up.

    Show answer

    Answer

    x=0x=0 (gg' undefined) and x=1x=1 (g=0g'=0).

    Steps

    The domain of gg is every real number, since x1/3x^{1/3} is defined for all xx.

    g(x)=43x1/343x2/3=43x2/3(x1)=4(x1)3x2/3g'(x)=\frac43x^{1/3}-\frac43x^{-2/3}=\frac43x^{-2/3}(x-1)=\frac{4(x-1)}{3x^{2/3}}

    The numerator vanishes at x=1x=1. The denominator vanishes at x=0x=0, so g(0)g'(0) does not exist — and 00 is in the domain of gg, which makes it a critical number too.

    Check at x=8x=8: 4(7)3(4)=73\frac{4(7)}{3(4)}=\frac73, and directly 43(2)43(14)=73\frac43(2)-\frac43(\frac14)=\frac73. ✓

  2. Q2easy

    Use the Closed Interval Method to find the absolute maximum and minimum values of f(x)=x33x2+1f(x)=x^3-3x^2+1 on [12,4]\left[-\frac12,4\right].

    Show answer

    Answer

    Absolute maximum value 1717 at x=4x=4; absolute minimum value 3-3 at x=2x=2.

    Steps

    ff is a polynomial, so it is continuous on this closed bounded interval and the EVT applies.

    f(x)=3x26x=3x(x2)=0  x=0, 2f'(x)=3x^2-6x=3x(x-2)=0\ \Longrightarrow\ x=0,\ 2

    Both lie in (12,4)\left(-\frac12,4\right), and ff' never fails to exist. Evaluate at the critical numbers and both endpoints:

    f ⁣(12)=18,f(0)=1,f(2)=3,f(4)=17f\!\left(-\tfrac12\right)=\tfrac18,\qquad f(0)=1,\qquad f(2)=-3,\qquad f(4)=17

    The largest of the four is 1717, the smallest is 3-3.

  3. Q3medium

    Find the absolute maximum and minimum values of f(x)=x4x2f(x)=x\sqrt{4-x^2} on its natural domain [2,2][-2,2].

    Hint

    Put the two product-rule terms over the common denominator 4x2\sqrt{4-x^2} before solving.

    Show answer

    Answer

    Absolute maximum value 22 at x=2x=\sqrt2; absolute minimum value 2-2 at x=2x=-\sqrt2.

    Steps

    4x204-x^2\ge0 exactly on [2,2][-2,2], where ff is continuous, so the EVT applies.

    f(x)=4x2+xx4x2=42x24x2f'(x)=\sqrt{4-x^2}+x\cdot\frac{-x}{\sqrt{4-x^2}}=\frac{4-2x^2}{\sqrt{4-x^2}}

    f(x)=0f'(x)=0 gives x2=2x^2=2, so x=±2x=\pm\sqrt2, both interior. (ff' also fails at x=±2x=\pm2, but those are the endpoints, which are tested anyway.)

    f(2)=0,f(2)=2,f(2)=2,f(2)=0f(-2)=0,\quad f(-\sqrt2)=-2,\quad f(\sqrt2)=2,\quad f(2)=0

    Check: ff is odd, so the two extreme values must be negatives of each other. ✓

  4. Q4medium

    Verify that f(x)=xx+2f(x)=\dfrac{x}{x+2} satisfies the hypotheses of the Mean Value Theorem on [1,4][1,4], and find the exact value of every cc the theorem guarantees.

    Show answer

    Answer

    c=3222.243c=3\sqrt2-2\approx2.243, the only such value in (1,4)(1,4).

    Steps

    ff is rational and undefined only at x=2x=-2, which is outside [1,4][1,4]; so ff is continuous on [1,4][1,4] and differentiable on (1,4)(1,4).

    Secant slope: f(1)=13f(1)=\frac13 and f(4)=23f(4)=\frac23, so f(4)f(1)41=1/33=19\dfrac{f(4)-f(1)}{4-1}=\dfrac{1/3}{3}=\dfrac19.

    f(x)=(x+2)x(x+2)2=2(x+2)2=19  (c+2)2=18f'(x)=\frac{(x+2)-x}{(x+2)^2}=\frac{2}{(x+2)^2}=\frac19\ \Longrightarrow\ (c+2)^2=18

    So c=2±32c=-2\pm3\sqrt2. Reject c=2326.24c=-2-3\sqrt2\approx-6.24; only c=3222.243c=3\sqrt2-2\approx2.243 lies in (1,4)(1,4).

  5. Q5medium

    (a) Does the Extreme Value Theorem guarantee that f(x)=1xf(x)=\frac1x attains both absolute extrema on (0,3](0,3]? Do they exist anyway?

    (b) h(x)=1x2/3h(x)=1-x^{2/3} is continuous on [1,1][-1,1] with h(1)=h(1)h(-1)=h(1), yet no cc in (1,1)(-1,1) has h(c)=0h'(c)=0. Why is Rolle's Theorem not contradicted?

    Show answer

    Answer

    (a) No — the interval is not closed. There is no absolute maximum; the absolute minimum 13\frac13 at x=3x=3 exists anyway. (b) hh is not differentiable at x=0x=0, so a hypothesis of Rolle fails.

    Steps

    (a) The EVT needs a closed bounded interval, and (0,3](0,3] omits its left endpoint, so the guarantee is void. Indeed 1x\frac1x\to\infty as x0+x\to0^+: no maximum. The minimum survives by luck — ff is decreasing, so its least value is f(3)=13f(3)=\frac13. The EVT is sufficient, not necessary.

    (b) h(x)=23x1/3h'(x)=-\dfrac{2}{3x^{1/3}} is never zero, and it does not exist at x=0x=0, a point of (1,1)(-1,1). Rolle's differentiability hypothesis fails, so the theorem claims nothing: the graph has a cusp peak at (0,1)(0,1), not a horizontal tangent.

  6. Q6hard

    Suppose ff is continuous on [2,6][2,6] and differentiable on (2,6)(2,6), with f(2)=5f(2)=5 and 2f(x)42\le f'(x)\le4 for every xx in (2,6)(2,6). Find the smallest and largest possible values of f(6)f(6), and show each bound is attained.

    Hint

    Write the MVT conclusion as f(6)=f(2)+f(c)(62)f(6)=f(2)+f'(c)\,(6-2).

    Show answer

    Answer

    13f(6)2113\le f(6)\le21: the smallest possible value is 1313, the largest is 2121.

    Steps

    The hypotheses are given, so the MVT supplies a cc in (2,6)(2,6) with

    f(6)f(2)=f(c)(62)=4f(c)f(6)-f(2)=f'(c)\,(6-2)=4f'(c)

    Since 2f(c)42\le f'(c)\le4 and the multiplier 44 is positive, 8f(6)f(2)168\le f(6)-f(2)\le16. Adding f(2)=5f(2)=5:

    13f(6)2113\le f(6)\le21

    Both ends occur: f(x)=5+2(x2)f(x)=5+2(x-2) satisfies every hypothesis and gives f(6)=13f(6)=13, while f(x)=5+4(x2)f(x)=5+4(x-2) gives f(6)=21f(6)=21.

06

On the exam

How this topic is marked
  • A Closed Interval Method answer needs three visible things: one sentence that ff is continuous on [a,b][a,b], the complete candidate list including both endpoints, and each extremum reported as a value and a location.

  • For Rolle or the MVT, check the hypotheses in writing before you solve — those marks are free, and any question phrased "explain why this is not a contradiction" is asking for exactly that check.

  • MVT-as-a-tool questions — prove an inequality, bound f(b)f(b), show an equation has at most one root — all open the same way: name ff, name the interval, write f(b)f(a)=f(c)(ba)f(b)-f(a)=f'(c)(b-a).

Keep going