Calculus3Analyzing Functions2 of 6
Analyzing Functions · 2

Mean Value Theorem

1

Rolle's theorem

A continuous function on a closed interval [a,b][a, b] always has a largest value and a smallest value. If one of those values happens strictly inside the interval, at a point where the derivative exists, the derivative there must be 00, so the tangent line is horizontal.

What if the function starts and ends at the same height, so f(a)=f(b)\sct{f(a) = f(b)}? Does the tangent line have to be horizontal somewhere between aa and bb?

Rolle's theorem says it does, as long as ff is continuous on [a,b][a, b] and its derivative exists at every point inside (a,b)(a, b).

f continuous on [a,b]f \text{ continuous on } [a, b]f′(x) exists for every x in (a,b)f'(x) \text{ exists for every } x \text{ in } (a, b)f(a)=f(b)\sct{f(a) = f(b)}
f′(c)\displaystyle \tng{f'(c)} =0\displaystyle = \sct{0}
for at least one c in (a,b)\displaystyle \text{for at least one } \mch{c} \text{ in } (a, b)

The theorem says that at least one such number c\mch{c} exists, but it doesn't give the value of c\mch{c}. Let's see why there has to be one, on f(x)=4x−x3\gap{f(x) = 4x - x^3} over [0,2][0, 2], and then find it.

Find where the tangent to f(x)=4x−x3f(x) = 4x - x^3 on [0,2][0, 2] is horizontal
22
xx
yy
00
Text solution
The largest value is insideBoth ends are at height 00, and 4x−x3=x(4−x2)\gap{4x - x^3} = x(4 - x^2) is positive between them, so the largest value can't be at 00 or at 22.
f(0)=0\displaystyle \sct{f(0) = 0}
f(2)=0\displaystyle \sct{f(2) = 0}
f(x)>0  on (0,2)\displaystyle \gap{f(x)} > 0 \ \text{ on } (0, 2)
The tangent there is flatA polynomial is differentiable everywhere, so the derivative at that highest point is 00. If a function dips below its ends instead, its lowest point is inside, and if it's constant, its slope is 00 everywhere. That's why Rolle's theorem holds.

To find c\mch{c}, we set f′(x)\tng{f'(x)} equal to 0\sct{0} and keep only the solution inside (0,2)(0, 2).

−2-2
22
xx
yy
00
−23\htmlClass{lc-mute}{-\frac{2}{\sqrt3}}
c=23\htmlClass{lc-green}{c=\frac{2}{\sqrt3}}
y=4x−x3\htmlClass{lc-violet}{y=4x-x^3}
f(x)=4x−x3\displaystyle \gap{f(x) = 4x - x^3}
f(0)=0\displaystyle \sct{f(0) = 0}
f(2)=8−8=0\displaystyle {\sct{f(2)} = 8 - 8 = \sct{0}}
f′(x)=4−3x2\displaystyle \tng{f'(x) = 4 - 3x^2}
4−3c2=0  →  c2=43  →  c=±23\displaystyle {\tng{4 - 3c^2} = \sct{0}} \;\to\; {c^2 = \frac43} \;\to\; {\mch{c = \pm\frac{2}{\sqrt3}}}
4−3c2=0  →  c2=43\displaystyle {\tng{4 - 3c^2} = \sct{0}} \;\to\; {c^2 = \frac43}
→  c=±23\displaystyle \to\; {\mch{c = \pm\frac{2}{\sqrt3}}}
−23<0, not in (0,2)\displaystyle \mut{{-\frac{2}{\sqrt3} < 0}, \ \text{not in } (0, 2)}
c=23≈1.15, in (0,2)\displaystyle {\mch{c = \frac{2}{\sqrt3}} \approx 1.15}, \ \text{in } (0, 2)
2

The Mean Value Theorem

In Rolle's theorem, the endpoints were at the same height, so f(a)=f(b)\sct{f(a) = f(b)} forced a horizontal tangent somewhere inside the interval. What happens if the endpoints are at different heights?

The fraction f(b)−f(a)b−a\sct{\frac{f(b) - f(a)}{b - a}} is the average rate of change of ff on [a,b][a, b], which is the slope of the secant line connecting (a,f(a))\sct{(a, f(a))} and (b,f(b))\sct{(b, f(b))}. The Mean Value Theorem says that as long as ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), there is at least one point c\mch{c} in (a,b)(a, b) where the instantaneous rate of change f′(c)\tng{f'(c)} equals that average rate of change.

f continuous on [a,b]f \text{ continuous on } [a, b]f′(x) exists for every x in (a,b)f'(x) \text{ exists for every } x \text{ in } (a, b)
f′(c)\displaystyle \tng{f'(c)} =f(b)−f(a)b−a\displaystyle = \sct{\frac{f(b) - f(a)}{b - a}}
for at least one c in (a,b)\displaystyle \text{for at least one } \mch{c} \text{ in } (a, b)

On a graph, the tangent line at c\mch{c} is parallel to the secant line. The conditions are the same as in Rolle's theorem, but the two endpoints no longer need the same height. Let's find this c\mch{c} for f(x)=x3f(x) = x^3 on [0,2][0, 2], and see why it has to exist.

Find where the tangent slope to y=x3y = x^3 equals the secant slope on [0,2][0, 2]
11
22
88
xx
yy
00
Text solution
The secant slopeThe secant line joins (0,0)\sct{(0, 0)} and (2,8)\sct{(2, 8)}.
f(2)−f(0)2−0=8−02=4\displaystyle \sct{\frac{f(2) - f(0)}{2 - 0} = \frac{8 - 0}{2} = 4}
Match the tangent slopeSet the derivative 3c2\tng{3c^2} equal to 4\sct{4} and keep the solution inside (0,2)(0, 2).
f′(c)=3c2=4\displaystyle {\tng{f'(c) = 3c^2} = \sct{4}}
→  c=±23  →  c=23\displaystyle \to\; {\mch{c = \pm\frac{2}{\sqrt3}}} \;\to\; {\mch{c = \frac{2}{\sqrt3}}}
On a driveGoing from mile 2020 at hour 11 to mile 140140 at hour 33 is an average of 60\sct{60} mph, so the speedometer read exactly 60\sct{60} mph at some moment. With a speed limit of 55\tng{55} mph, you were speeding at some point.
140−203−1=60 mph\displaystyle \sct{\frac{140 - 20}{3 - 1} = 60}\text{ mph}

Notice that c=23\mch{c = \frac{2}{\sqrt3}} is about 1.151.15, not the midpoint x=1x = 1. It's also the exact value of c\mch{c} we found for 4x−x3\gap{4x - x^3}, and that's no coincidence. The secant line is y=4x\sct{y = 4x}, so if we define d(x)\gap{d(x)} as the height of the secant line minus the height of the curve, we get d(x)=4x−x3\gap{d(x) = 4x - x^3}.

11
22
22
44
66
88
xx
yy
00
c=23\htmlClass{lc-green}{c=\frac{2}{\sqrt3}}
d(x)\htmlClass{lc-violet}{d(x)}
y=4x\htmlClass{lc-blue}{y=4x}
y=x3y=x^3
d(x)=4x−x3\displaystyle \gap{d(x) = 4x - x^3}
d(0)=0,d(2)=0\displaystyle {\sct{d(0) = 0}}, \qquad {\sct{d(2) = 0}}
d′(x)=4−3x2=4−f′(x)\displaystyle \begin{aligned} \gap{d'(x)} &= \gap{4 - 3x^2} \\ &= \sct{4} - \tng{f'(x)} \end{aligned}
d′(c)\displaystyle \gap{d'(c)} =0\displaystyle = \sct{0}
  ⟺    f′(c)=4\displaystyle \iff\; {\tng{f'(c)} = \sct{4}}

The gap is 00 at both ends, so Rolle's theorem gives a c\mch{c} in (0,2)(0, 2) where d′(c)=0\gap{d'(c)} = \sct{0}, which means f′(c)=4\tng{f'(c)} = \sct{4}. The same gap works for any function that meets the two conditions, and that's why the Mean Value Theorem is true. When f(a)=f(b)\sct{f(a) = f(b)}, the secant slope is 00, and we get back Rolle's theorem.

The theorem guarantees at least one value of c\mch{c}, but there can be more. A curve that intersects the secant line several times can have several parallel tangents, and a straight line matches the secant's slope at every single point. Where does the instantaneous rate equal the average rate here?

3

Why both conditions are needed

Rolle's theorem and the Mean Value Theorem both need ff to be continuous on [a,b][a, b], and f′(x)f'(x) to exist for every xx in (a,b)(a, b). The Mean Value Theorem needs the same two because we proved it with Rolle's theorem on the gap d(x)\gap{d(x)}, and d(x)\gap{d(x)} is continuous and differentiable wherever ff is. If either condition fails, the conclusion can fail too.

A smooth curve with both ends at the same height can't avoid a flat tangent. Let's see two ways a curve can avoid one, and then check the conditions on two functions whose derivative doesn't exist at a point.

Why Rolle's theorem and the Mean Value Theorem need continuity on [a,b][a, b] and differentiability on (a,b)(a, b)
−1-1
11
xx
yy
(−1,1)\htmlClass{lc-blue}{(-1,1)}
(1,1)\htmlClass{lc-blue}{(1,1)}
Text solution
A corner: f(x)=∣x∣f(x) = |x|Its smallest value is at x=0x = 0, but the corner means f′(0)\brk{f'(0)} doesn't exist, and everywhere else the slope is −1-1 or 11. So the derivative has to exist at every point inside (a,b)(a, b).
A jump: j(x)j(x)Its slope is 11 everywhere inside (−1,1)(-1, 1). As xx approaches 11, j(x)j(x) approaches 33 without reaching it, so there's no largest value. The jump at x=1x = 1 breaks continuity at an endpoint, so ff has to be continuous on the whole closed interval [a,b][a, b].
x23x^{\frac23} on [−1,8][-1, 8]: a cusp insidef′(0)\brk{f'(0)} doesn't exist, and 00 is inside (−1,8)(-1, 8), so the theorem doesn't apply. Solving anyway gives only the endpoint.
f(8)−f(−1)8−(−1)=13\displaystyle \sct{\frac{f(8) - f(-1)}{8 - (-1)} = \frac13}
23c3\displaystyle \tng{\frac{2}{3\sqrt[3]{c}}} =13  →  c=8\displaystyle = \sct{\frac13} \;\to\; \mut{c = 8}
x\sqrt{x} on [0,4][0, 4]: only at an endpointf′(0)\mut{f'(0)} doesn't exist either, but 00 is an endpoint, and the theorem only needs f′(x)\tng{f'(x)} strictly inside (0,4)(0, 4). So the theorem applies.
f(4)−f(0)4−0=12\displaystyle \sct{\frac{f(4) - f(0)}{4 - 0} = \frac12}
12c\displaystyle \tng{\frac{1}{2\sqrt{c}}} =12  →  c=1\displaystyle = \sct{\frac12} \;\to\; \mch{c = 1}

Here are the corner and the jump side by side, the two ways a curve with equal ends can avoid a slope of 00.

−1-1
11
11
33
xx
y=∣x∣y=|x|
f(x)\displaystyle f(x) =∣x∣\displaystyle = |x|
f(−1)=f(1)=1\displaystyle \sct{f(-1) = f(1) = 1}
f′(x)=−1  (x<0)\displaystyle {\tng{f'(x) = -1}} \ \ (x < 0)
f′(x)=1  (x>0)\displaystyle {\tng{f'(x) = 1}} \ \ (x > 0)
f′(0) does not exist\displaystyle \brk{f'(0) \text{ does not exist}}
−1-1
11
11
33
xx
y=j(x)y=j(x)
j(x)={x+2,−1≤x<11,x=1\displaystyle j(x) = \begin{cases} x + 2, & -1 \le x < 1 \\ 1, & x = 1 \end{cases}
j(−1)=j(1)=1\displaystyle \sct{j(-1) = j(1) = 1}
j′(x)=1  for −1<x<1\displaystyle {\tng{j'(x) = 1}} \ \ \text{for } {-1 < x < 1}
j not continuous at 1\displaystyle \brk{j \text{ not continuous at } 1}
4

Counting roots without finding them

We don't have a simple formula to write down the solutions to x3+x−1=0x^3 + x - 1 = 0. But we can still prove it has exactly one real solution. "Exactly one" means there has to be at least one solution, and there can't be more than one.

Show that x3+x−1=0x^3 + x - 1 = 0 has exactly one real solution
x3+x−1\displaystyle x^3+x-1=0\displaystyle =0
exactly one real solution?\displaystyle \text{exactly one real solution?}
Text solution
At least oneLet f(x)=x3+x−1f(x) = x^3 + x - 1. It's negative at 00 and positive at 11, and a polynomial is continuous, so the Intermediate Value Theorem gives a root between 00 and 11.
Two roots would need a flat tangentIf f(a)=f(b)=0\sct{f(a) = f(b) = 0} with a<ba < b, Rolle's theorem gives f′(c)=0\tng{f'(c)} = \sct{0} for some c\mch{c} between them.
The slope is never 00Because 3x2≥03x^2 \ge 0, the derivative 3x2+1\tng{3x^2 + 1} is always at least 11. So there's no such c\mch{c}, and no second root.

Written out, the proof has the same two parts, each with the theorem it uses.

−1-1
11
xx
yy
f(0)=−1f(0)=-1
f(1)=1f(1)=1
y=x3+x−1y=x^3+x-1
f(x)\displaystyle f(x) =x3+x−1\displaystyle = x^3 + x - 1
f(0)\displaystyle f(0) =−1<0\displaystyle = -1 < 0
f(1)\displaystyle f(1) =1>0\displaystyle = 1 > 0
→  f(x)=0  for some x in (0,1)\displaystyle \to\; {f(x) = 0} \ \text{ for some } x \text{ in } (0, 1)
(IVT)(\text{IVT})
f(a)=f(b)=0,  a<b\displaystyle {\sct{f(a) = f(b) = 0}}, \ \ a < b
→  f′(c)=0  for some c in (a,b)\displaystyle \to\; {\tng{f'(c)} = \sct{0}} \ \text{ for some } \mch{c} \text{ in } (a, b)
(Rolle)(\text{Rolle})
f′(x)=3x2+1≥1  →  f′(x)≠0  for every x\displaystyle {\tng{f'(x) = 3x^2 + 1 \ge 1}} \;\to\; {\tng{f'(x) \ne 0}} \ \text{ for every } x
f′(x)=3x2+1≥1\displaystyle \tng{f'(x) = 3x^2 + 1 \ge 1}
→  f′(x)≠0  for every x\displaystyle \to\; {\tng{f'(x) \ne 0}} \ \text{ for every } x
5

What a table guarantees

Suppose we know a particle's position s(t)s(t) only at a few times, and we're told ss is differentiable. We have no formula and no graph. What values can we still be certain about?

t (seconds)t \ (\text{seconds})00335588
s(t) (meters)s(t) \ (\text{meters})4410104411
v(t)=2  for some t in (0,8)?\displaystyle {\tng{v(t)} = 2} \ \text{ for some } t \text{ in } (0, 8)?
s(t)=7  for some t in (0,8)?\displaystyle {s(t) = 7} \ \text{ for some } t \text{ in } (0, 8)?

Remember, velocity is the derivative of position, v(t)=s′(t)\tng{v(t) = s'(t)}. Since ss is differentiable, it's also continuous everywhere, so the Mean Value Theorem and the Intermediate Value Theorem apply on any interval we choose.

Decide whether v(t)=2v(t) = 2 and whether s(t)=7s(t) = 7 for some tt in (0,8)(0, 8)
tt
s(t)s(t)
00
33
55
88
44
1010
44
11
00
11
22
33
44
55
66
77
88
55
1010
tt
ss
Text solution
Velocity is a derivative, so use the MVTWe look for two rows whose average velocity is 22. The whole table gives −38\sct{-\frac38}, but t=0t = 0 to t=3t = 3 gives exactly 2\sct{2}.
Position is the function itself, so use the IVT77 is between s(0)=4s(0) = 4 and s(3)=10s(3) = 10, and ss is continuous, so the particle passes through position 77 between those times.
Two equal rows, so use Rolle's theoremThe position is 4\sct{4} at both t=0t = 0 and t=5t = 5, so the average velocity between them is 00, and the particle stops at some time in between.

Each answer is written with the theorem that guarantees it.

s(8)−s(0)8−0=1−48=−38\displaystyle \sct{\frac{s(8) - s(0)}{8 - 0} = \frac{1 - 4}{8} = -\frac38}
s(3)−s(0)3−0=10−43=2\displaystyle \sct{\frac{s(3) - s(0)}{3 - 0} = \frac{10 - 4}{3} = 2}
→  v(t)=2  for some t in (0,3)\displaystyle \to\; {\tng{v(t)} = \sct{2}} \ \text{ for some } t \text{ in } (0, 3)
(MVT)(\text{MVT})
s(0)=4<7<10=s(3)\displaystyle {s(0) = 4 < 7 < 10 = s(3)}
→  s(t)=7  for some t in (0,3)\displaystyle \to\; {s(t) = 7} \ \text{ for some } t \text{ in } (0, 3)
(IVT)(\text{IVT})
s(0)=s(5)=4\displaystyle \sct{s(0) = s(5) = 4}
→  v(t)=0  for some t in (0,5)\displaystyle \to\; {\tng{v(t)} = \sct{0}} \ \text{ for some } t \text{ in } (0, 5)
(Rolle)(\text{Rolle})
6

Bounding a function with its derivative

Suppose we know that f(0)=1f(0) = 1, and that the derivative f′(x)\tng{f'(x)} is never greater than 2\tng{2}. How large could f(4)f(4) possibly be?

If f(0)=1f(0) = 1 and f′(x)≤2f'(x) \le 2 for every xx, how large can f(4)f(4) be?
44
55
1010
xx
yy
(0,1)(0,1)
f(4)= ?f(4)=\,?
Text solution
Could f(4)f(4) be 11\brk{11}?The average rate of change would be 52\sct{\frac52}, so the Mean Value Theorem would need f′(c)=52\tng{f'(c)} = \sct{\frac52} somewhere in (0,4)(0, 4). But f′(x)\tng{f'(x)} is never more than 2\tng{2}.
11−14−0=52\displaystyle \sct{\frac{11 - 1}{4 - 0} = \frac{5}{2}}
Any value of f(4)f(4)Since f′\tng{f'} exists everywhere, ff is continuous, so the Mean Value Theorem applies on [0,4][0, 4]. Multiply by 4\sct{4} and use f′(c)≤2\tng{f'(c) \le 2}.
f(4)−f(0)4−0=f′(c)\displaystyle {\sct{\frac{f(4) - f(0)}{4 - 0}} = \tng{f'(c)}}
→  f(4)\displaystyle \to\; f(4) =1+4 f′(c)\displaystyle = 1 + \sct{4}\,\tng{f'(c)}
f′(c)≤2  →  f(4)\displaystyle {\tng{f'(c) \le 2}} \;\to\; f(4) ≤1+4⋅2\displaystyle \le 1 + \sct{4} \cdot \tng{2} =9\displaystyle = 9
A lower bound works the same wayIf the derivative is at least −1\tng{-1}, the smallest possible value is −3-3.
f′(x)≥−1  →  f(4)\displaystyle {\tng{f'(x) \ge -1}} \;\to\; f(4) ≥1+4(−1)\displaystyle \ge 1 + \sct{4}(\tng{-1}) =−3\displaystyle = -3

The line y=1+2x\sct{y = 1 + 2x} has slope 2\sct{2} everywhere and reaches y=9y = 9 at x=4x = 4, so the largest possible value of f(4)f(4) is 99. No allowed ff can get above that line.

11
22
33
44
11
55
99
xx
yy
(4,9)(4,9)
y=1+2x\htmlClass{lc-blue}{y=1+2x}

For any b>ab > a, the Mean Value Theorem gives the same equation, so a bound on the derivative becomes a bound on f(b)f(b).

f(b)\displaystyle f(b) =f(a)+f′(c) (b−a)\displaystyle = f(a) + \tng{f'(c)}\,\sct{(b - a)}

Summary

The Mean Value Theorem and Rolle's theorem
xx
aa
bb
c\htmlClass{lc-green}{c}
The Mean Value Theorem
f′(c)\displaystyle \tng{f'(c)} =f(b)−f(a)b−a\displaystyle = \sct{\frac{f(b) - f(a)}{b - a}}
Rolle's theorem
f(a)=f(b)  →  f′(c)=0\displaystyle {\sct{f(a) = f(b)}} \;\to\; {\tng{f'(c)} = \sct{0}}

If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), the tangent line at some point c\mch{c} inside the interval has the same slope as the secant line between the endpoints.

When f(a)=f(b)\sct{f(a) = f(b)}, the secant line is horizontal, so f′(c)=0\tng{f'(c)} = \sct{0}. That special case is Rolle's theorem.

Finding cc
4x−x3  on [0,2]\displaystyle \gap{4x - x^3} \ \text{ on } [0, 2]
4−3c2=0  →  c=±23\displaystyle {\tng{4 - 3c^2} = \sct{0}} \;\to\; {\mch{c = \pm\frac{2}{\sqrt3}}}
c=23, in (0,2)\displaystyle {\mch{c = \frac{2}{\sqrt3}}}, \ \text{in } (0, 2)

To find c\mch{c}, set f′(c)\tng{f'(c)} equal to the secant slope f(b)−f(a)b−a\sct{\frac{f(b) - f(a)}{b - a}}, solve for c\mch{c}, and keep only the solutions inside the open interval (a,b)(a, b). There can be more than one valid c\mch{c}.

For 4x−x3\gap{4x - x^3} on [0,2][0, 2], the equation 4−3c2=0\tng{4 - 3c^2} = \sct{0} gives two solutions, but only c=23\mch{c = \frac{2}{\sqrt3}} lies inside (0,2)(0, 2).

Checking the conditions

Before using either theorem, check both conditions. The function must be continuous on the closed interval [a,b][a, b], ends included, and its derivative must exist at every point strictly inside (a,b)(a, b).

If ff has a jump, a hole, or a vertical asymptote anywhere on [a,b][a, b], or a sharp corner, cusp, or vertical tangent inside (a,b)(a, b), neither theorem guarantees a value c\mch{c}. But if f′\tng{f'} is undefined only at an endpoint, like x\sqrt{x} at x=0x = 0 on [0,4][0, 4], that's fine because the theorems only need the derivative to exist inside the interval.

Showing an equation has exactly one solution

To show an equation has exactly one real root, prove there is at least one, and then prove there cannot be two.

Use the Intermediate Value Theorem to show at least one root exists. If ff is continuous and changes sign between two numbers, say f(0)=−1f(0) = -1 and f(1)=1f(1) = 1, then f(x)=0f(x) = 0 somewhere between them.

Then use Rolle's theorem to rule out a second root. If there were two roots, f′(c)\tng{f'(c)} would have to be 00 somewhere between them. If f′(x)≠0\tng{f'(x) \ne 0} everywhere, having two roots is impossible.

Reading values from a table

To guarantee a value of the derivative, use the Mean Value Theorem. Find two rows in the table whose average rate of change f(b)−f(a)b−a\sct{\frac{f(b) - f(a)}{b - a}} equals that value. If two rows have the exact same function value, Rolle's theorem guarantees that the derivative is 00 at some point between them.

To guarantee a value of the function itself, use the Intermediate Value Theorem. If ff is continuous, it must take every value between two given heights. If a function is differentiable, it is also continuous.

Bounding a function with its derivative
f(b)\displaystyle f(b) =f(a)+f′(c) (b−a)\displaystyle = f(a) + \tng{f'(c)}\,\sct{(b - a)}

When we know a starting value f(a)f(a) and bounds on the derivative, the Mean Value Theorem gives bounds on f(b)f(b).

For b>ab > a, the largest allowed derivative gives the largest possible value for f(b)f(b), and the smallest allowed derivative gives the smallest.

7

Practice

Enter exact values, separated by commas if there is more than one.

1
Find every value of cc in (0,π)(0, \pi) that satisfies the conclusion of Rolle's theorem for f(x)=sin⁡2xf(x) = \sin 2x on [0,π][0, \pi].

The derivative is f′(x)=2cos⁡2xf'(x) = 2\cos 2x. If xx is in (0,π)(0, \pi), then 2x2x is in (0,2π)(0, 2\pi). Where is cosine 00 on (0,2π)(0, 2\pi)?

If you got π4\dfrac{\pi}{4} only Check the interval for 2x2x. When xx is between 00 and π\pi, 2x2x goes from 00 to 2π2\pi, so cos⁡2x=0\cos 2x = 0 at two angles in that interval.

Both endpoints give 00, and sin⁡2x\sin 2x is continuous and differentiable everywhere, so Rolle's theorem applies.
f(0)=sin⁡0=0,f(π)=sin⁡2π=0\displaystyle {\sct{f(0) = \sin 0 = 0}}, \qquad {\sct{f(\pi) = \sin 2\pi = 0}}
Set the derivative equal to 00. Because xx is in (0,π)(0, \pi), the angle 2x2x is in (0,2π)(0, 2\pi).
f′(x)=2cos⁡2x=0  →  cos⁡2x=0,0<x<π  →  0<2x<2π\displaystyle {\tng{f'(x) = 2\cos 2x} = \sct{0}} \;\to\; {\cos 2x = 0}, \qquad {0 < x < \pi} \;\to\; {0 < 2x < 2\pi}
On (0,2π)(0, 2\pi), cosine is 00 at π2\frac{\pi}{2} and 3π2\frac{3\pi}{2}, and dividing each by 22 gives two values inside (0,π)(0, \pi).
2c=π2, 3π2  →  c=π4, 3π4\displaystyle {2\mch{c} = \frac{\pi}{2}, \ \frac{3\pi}{2}} \;\to\; \mch{c = \frac{\pi}{4}, \ \frac{3\pi}{4}}
2
At what value of xx between 11 and 44 is the tangent line to y=1xy = \dfrac{1}{x} parallel to the secant line through (1,1)(1, 1) and (4,14)\left(4, \tfrac14\right)?

The secant line has rise 14−1=−34\frac14 - 1 = -\frac34. What is the run from x=1x = 1 to x=4x = 4?

Parallel lines have the same slope, so we start with the slope of the secant line.
14−14−1=−343=−14\displaystyle \sct{\frac{\frac14 - 1}{4 - 1} = \frac{-\frac34}{3} = -\frac14}
The derivative gives the slope of the tangent line, so we set y′\tng{y'} equal to −14\sct{-\frac14}.
y′=−1x2:−1c2=−14  →  c2=4  →  c=±2\displaystyle {\tng{y' = -\frac{1}{x^2}}}: \qquad {\tng{-\frac{1}{c^2}} = \sct{-\frac14}} \;\to\; {c^2 = 4} \;\to\; \mch{c = \pm 2}
We only keep values strictly between 11 and 44, so we discard −2\mut{-2}.
−2 not in (1,4)  →  x=2\displaystyle \mut{-2 \text{ not in } (1, 4)} \;\to\; \mch{x = 2}
3
Let f(x)=tan⁡xf(x) = \tan x. Then f(0)=f(π)=0f(0) = f(\pi) = 0, but f′(x)=sec⁡2xf'(x) = \sec^2 x is never 00. Explain why this does not contradict Rolle's theorem.

Is there a value of xx in (0,π)(0, \pi) where tan⁡x\tan x is undefined?

If you got tan⁡x\tan x is not differentiable at 00 and π\pi The derivative sec⁡2x\sec^2 x exists at both 00 and π\pi. Check whether tan⁡x\tan x is defined everywhere inside the interval.

The denominator cos⁡x\cos x is 00 at π2\frac{\pi}{2}, so tan⁡x\tan x has a vertical asymptote inside [0,π][0, \pi].
tan⁡x=sin⁡xcos⁡x,cos⁡π2=0  →  tan⁡x undefined at π2, in [0,π]\displaystyle {\tan x = \frac{\sin x}{\cos x}}, \qquad {\cos\frac{\pi}{2} = 0} \;\to\; {\brk{\tan x \text{ undefined at } \frac{\pi}{2}}, \ \text{in } [0, \pi]}
Because tan⁡x\tan x is not continuous on [0,π][0, \pi], the conditions of Rolle's theorem are not met, so it makes no promise that f′(c)=0\tng{f'(c)} = \sct{0}.
tan⁡x not continuous on [0,π]  →  Rolle’s theorem does not apply\displaystyle \brk{\tan x \text{ not continuous on } [0, \pi]} \;\to\; \text{Rolle's theorem does not apply}
4
Let f(x)=x2f(x) = x^2 for x≤1x \le 1 and f(x)=2x−1f(x) = 2x - 1 for x>1x > 1. Find every value of cc in (0,2)(0, 2) that satisfies the conclusion of the Mean Value Theorem for ff on [0,2][0, 2].

Check the boundary at x=1x = 1. Do the two pieces have the same value and the same derivative there?

If you got the theorem does not apply Check the boundary at x=1x = 1. Both pieces give a value of 11 and a slope of 22, so the function is continuous and differentiable there.

Check the boundaryAt x=1x = 1, both pieces give a value of 11 and a derivative of 22, so ff is continuous on [0,2][0, 2] and differentiable on (0,2)(0, 2).
x=1:12=1,2⋅1−1=1;(x2)′=2x=2,(2x−1)′=2\displaystyle {x = 1}: \quad {1^2 = 1}, \quad {2 \cdot 1 - 1 = 1}; \qquad {\tng{(x^2)' = 2x = 2}}, \quad {\tng{(2x - 1)' = 2}}
The Mean Value Theorem applies, so we find the average rate of change on [0,2][0, 2].
f(0)=0,f(2)=3  →  3−02−0=32\displaystyle {f(0) = 0}, \quad {f(2) = 3} \;\to\; \sct{\frac{3 - 0}{2 - 0} = \frac32}
On (1,2)(1, 2), the derivative is always 22, so f′(c)=32\tng{f'(c)} = \sct{\frac32} can only happen on (0,1)(0, 1).
0<c<1: 2c=32  →  c=34;1<c<2: f′(c)=2≠32\displaystyle {0 < c < 1}: \ {\tng{2c} = \sct{\frac32}} \;\to\; {\mch{c = \frac34}}; \qquad {1 < c < 2}: \ {\tng{f'(c) = 2} \ne \sct{\frac32}}
5
A particle's velocity v(t)v(t) is differentiable, with v(0)=2v(0) = 2, v(4)=10v(4) = 10, v(6)=10v(6) = 10 and v(10)=4v(10) = 4. (a) Must the particle's acceleration be 00 at some time between t=0t = 0 and t=10t = 10? Explain. (b) Must its velocity be 77 at some time between t=0t = 0 and t=10t = 10? Explain.

Acceleration is the derivative of velocity. Which two times have the same velocity?

Which two velocities in the table does 77 lie between?

If you got (a) no Check the times t=4t = 4 and t=6t = 6. The average acceleration across the whole interval is not 00, but Rolle's theorem applies between these two times.

If you got (b) yes, by the Mean Value Theorem 77 is a value of the velocity v(t)v(t) itself, not of its derivative, so this is the Intermediate Value Theorem.

AccelerationAcceleration is a(t)=v′(t)\tng{a(t) = v'(t)}. Because v(4)=v(6)=10\sct{v(4) = v(6) = 10} and vv is differentiable, Rolle's theorem guarantees v′(t)=0\tng{v'(t)} = \sct{0} for some tt in (4,6)(4, 6), so the answer is yes.
v(4)=v(6)=10  →  a(t)=v′(t)=0  for some t in (4,6)(Rolle)\displaystyle \sct{v(4) = v(6) = 10} \;\to\; {\tng{a(t) = v'(t)} = \sct{0}} \ \text{ for some } t \text{ in } (4, 6) \quad (\text{Rolle})
VelocityBecause vv is differentiable, it is continuous. Since 77 lies between v(0)=2v(0) = 2 and v(4)=10v(4) = 10, the Intermediate Value Theorem guarantees v(t)=7v(t) = 7 for some tt in (0,4)(0, 4), so the answer is yes.
v(0)=2<7<10=v(4)  →  v(t)=7  for some t in (0,4)(IVT)\displaystyle {v(0) = 2 < 7 < 10 = v(4)} \;\to\; {v(t) = 7} \ \text{ for some } t \text{ in } (0, 4) \quad (\text{IVT})
6
Suppose f(1)=3f(1) = 3 and −1≤f′(x)≤4-1 \le f'(x) \le 4 for all xx. What are the smallest and largest possible values of f(5)f(5)?

By the Mean Value Theorem, f(5)=f(1)+f′(c)(5−1)f(5) = f(1) + f'(c)(5 - 1). What are the smallest and largest values that f′(c)f'(c) can take?

By the Mean Value Theorem on [1,5][1, 5], the change in ff equals the width times the derivative at some point c\mch{c}.
f(5)−f(1)5−1=f′(c)  for some c in (1,5)  →  f(5)=3+4 f′(c)\displaystyle {\sct{\frac{f(5) - f(1)}{5 - 1}} = \tng{f'(c)}} \ \text{ for some } \mch{c} \text{ in } (1, 5) \;\to\; {f(5) = 3 + \sct{4}\,\tng{f'(c)}}
Use the smallest derivative, −1\tng{-1}, to find the smallest possible value, and the largest derivative, 4\tng{4}, to find the largest.
−1≤f′(c)≤4  →  3+4(−1)≤f(5)≤3+4⋅4  →  −1≤f(5)≤19\displaystyle {\tng{-1 \le f'(c) \le 4}} \;\to\; {3 + \sct{4}(\tng{-1}) \le f(5) \le 3 + \sct{4} \cdot \tng{4}} \;\to\; {-1 \le f(5) \le 19}
Lines through (1,3)(1, 3) with slopes −1\sct{-1} and 4\sct{4} reach −1-1 and 1919 at x=5x = 5, so the smallest possible value is −1-1 and the largest is 1919.
y=3−(x−1): y=−1  at x\displaystyle {\sct{y = 3 - (x - 1)}}: \ {y = -1} \ \text{ at } x =5;y=3+4(x−1): y=19  at x\displaystyle = 5; \qquad {\sct{y = 3 + 4(x - 1)}}: \ {y = 19} \ \text{ at } x =5\displaystyle = 5
7
Show that 2x+cos⁡x=02x + \cos x = 0 has exactly one real solution.

To show there is at least one solution, find an xx where 2x+cos⁡x2x + \cos x is negative and an xx where it is positive.

If there were two solutions, what would Rolle's theorem say about the derivative between them?

If you got only that there is at least one solution That shows there is a solution, but not that it is the only one. Check the derivative to show there cannot be a second solution.

At least one solutionAt x=0x = 0, f(0)=1>0f(0) = 1 > 0, and at x=−1x = -1, f(−1)=−2+cos⁡1<0f(-1) = -2 + \cos 1 < 0 because cos⁡1≤1\cos 1 \le 1. By the Intermediate Value Theorem, f(x)=0f(x) = 0 for some xx in (−1,0)(-1, 0).
f(x)\displaystyle f(x) =2x+cos⁡x:f(−1)\displaystyle = 2x + \cos x: \qquad f(-1) =−2+cos⁡1<0,f(0)\displaystyle = -2 + \cos 1 < 0, \qquad f(0) =1>0  →  f(x)\displaystyle = 1 > 0 \;\to\; f(x) =0 for some x in (−1,0)(IVT)\displaystyle = 0 \text{ for some } x \text{ in } (-1, 0) \quad (\text{IVT})
At most one solutionBecause sin⁡x≤1\sin x \le 1, the derivative 2−sin⁡x\tng{2 - \sin x} is always at least 11, so it is never 00.
f′(x)=2−sin⁡x≥2−1=1  →  f′(x)≠0  for every x\displaystyle {\tng{f'(x) = 2 - \sin x} \ge 2 - 1 = 1} \;\to\; {\tng{f'(x) \ne 0}} \ \text{ for every } x
If there were two solutions aa and bb, Rolle's theorem would require f′(c)=0\tng{f'(c)} = \sct{0} between them. Since f′\tng{f'} is never 00, there cannot be a second solution.
f(a)=f(b)=0, a<b  →  f′(c)=0  for some c in (a,b)(Rolle)  →  no second solution\displaystyle {\sct{f(a) = f(b) = 0}}, \ a < b \;\to\; {\tng{f'(c)} = \sct{0}} \ \text{ for some } \mch{c} \text{ in } (a, b) \quad (\text{Rolle}) \;\to\; \text{no second solution}
8
Suppose ff is twice differentiable, with f(0)=0f(0) = 0, f(1)=1f(1) = 1 and f(2)=0f(2) = 0. Show that f′′(c)<0f''(c) < 0 for some cc between 00 and 22. (Challenge)

Apply the Mean Value Theorem to ff on [0,1][0, 1], and then on [1,2][1, 2]. What values do you get for f′f'?

The second derivative is the derivative of f′f'. What does the Mean Value Theorem give when applied to f′f' between those two points?

If you got f′(c)=0f'(c) = 0 for some cc in (0,2)(0, 2), and stopped That gives a point where the first derivative is 00. To reach the second derivative, apply the Mean Value Theorem to ff on two separate intervals first.

The Mean Value Theorem on [0,1][0, 1] gives a point p\mch{p} where the derivative is 11.
[0,1]:f′(p)=1−01−0=1,0<p<1\displaystyle [0, 1]: \quad {\tng{f'(\mch{p})} = \sct{\frac{1 - 0}{1 - 0} = 1}}, \qquad {0 < \mch{p} < 1}
The Mean Value Theorem on [1,2][1, 2] gives a point q\mch{q} where the derivative is −1-1.
[1,2]:f′(q)=0−12−1=−1,1<q<2\displaystyle [1, 2]: \quad {\tng{f'(\mch{q})} = \sct{\frac{0 - 1}{2 - 1} = -1}}, \qquad {1 < \mch{q} < 2}
Since p<1<q\mch{p} < 1 < \mch{q}, we have p<q\mch{p} < \mch{q}. Because ff is twice differentiable, we can apply the Mean Value Theorem to f′\tng{f'} on [p,q][\mch{p}, \mch{q}].
f′ on [p,q]:f′′(c)=f′(q)−f′(p)q−p=−2q−p<0,p<c<q\displaystyle {\tng{f'} \text{ on } [\mch{p}, \mch{q}]}: \quad {\tng{f''(c)} = \sct{\frac{f'(q) - f'(p)}{q - p} = \frac{-2}{q - p}} < 0}, \qquad {\mch{p} < c < \mch{q}}