MATH 140 Calculus 1 • McGill University, Montreal

Corrected exercises: Rolle's theorem and the Mean Value Theorem (MATH 140)

This is the corrected exercise set for Rolle's theorem and the Mean Value Theorem in MATH 140, Calculus 1, at McGill University, section 4.2 of Stewart. It is the most theoretical chapter of the course and the one where a correct number earns the least: an examiner who asks for cc expects the hypotheses checked first, and one who asks to prove an inequality or count roots expects the theorem named and its conclusion used, not a computation. Every number is exact and chosen to be done by hand.

The thread running through the whole set: the Mean Value Theorem is an existence statement bought with hypotheses. It is licensed only once continuity on the CLOSED interval [a,b][a, b] and differentiability on the OPEN interval (a,b)(a, b) are checked, with a reason. It then promises a number cc without locating it, and its real power lies in what it forbids: a slope never reached, a second root, a non-constant function with zero derivative, a change of value larger than the bound on f′f'.

The traps named in the solutions: reading f(a)=f(b)f(a) = f(b) and skipping the other two hypotheses, forgetting continuity at an endpoint, keeping a value of cc outside (a,b)(a, b), believing the conclusion fails whenever a hypothesis does, concluding that a function with zero derivative is constant on a domain that is not an interval, trying to compute cc in a proof of an inequality, claiming exactly one root from the Intermediate Value Theorem alone, and assuming that cc is unique or is the midpoint.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → Every MATH 140 chapter →

Self-checking set Type your answers under each question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points.

Course recap

  • • Rolle: ff continuous on [a,b][a, b], differentiable on (a,b)(a, b), f(a)=f(b)f(a) = f(b) ⇒\Rightarrow f′(c)=0f'(c) = 0 for some c∈(a,b)c \in (a, b).
  • • Mean Value Theorem: ff continuous on [a,b][a, b], differentiable on (a,b)(a, b) ⇒\Rightarrow f(b)−f(a)=f′(c)(b−a)f(b) - f(a) = f'(c)(b - a) for some c∈(a,b)c \in (a, b).
  • • f′=0f' = 0 on an INTERVAL ⇒\Rightarrow ff constant there; f′=g′f' = g' on an interval ⇒\Rightarrow f=g+Cf = g + C there.
  • • Bounds: m≤f′(x)≤Mm \le f'(x) \le M on (a,b)(a, b) ⇒\Rightarrow m(b−a)≤f(b)−f(a)≤M(b−a)m(b - a) \le f(b) - f(a) \le M(b - a).
  • • Roots: IVT for AT LEAST one; Rolle by contradiction for AT MOST one (if f′f' never vanishes); both for EXACTLY one.
  • • If f′f' has nn distinct zeros, ff has at most n+1n + 1 distinct roots.

Part A: the basics (/50)

Exercise 1: Rolle's theorem: three hypotheses, checked one by one

Rolle's theorem. Let ff be a function such that (1) ff is continuous on the CLOSED interval [a,b][a, b]; (2) ff is differentiable on the OPEN interval (a,b)(a, b); (3) f(a)=f(b)f(a) = f(b). Then there is at least one number cc in (a,b)(a, b) such that f′(c)=0f'(c) = 0.

A theorem is a contract: the conclusion is owed only when every hypothesis has been checked, with a reason, on the right interval. The figure shows y=x4−2x2y = x^4 - 2x^2 on [−2,2][-2, 2].

-2.5-2-1.5-1-0.50.511.522.5-2246810y = x⁴ - 2x²f(-2) = 8f(2) = 8x
  • a) Verify the three hypotheses of Rolle's theorem for f(x)=x4−2x2f(x) = x^4 - 2x^2 on [−2,2][-2, 2], then find ALL the numbers cc that satisfy the conclusion.
  • b) Same question for g(x)=sin⁡x+cos⁡xg(x) = \sin x + \cos x on [0,π2]\left[0, \frac{\pi}{2}\right].
  • c) Let h(x)=x4/5h(x) = x^{4/5} on [−1,1][-1, 1]. Show that h(−1)=h(1)h(-1) = h(1) but that h′(c)=0h'(c) = 0 has no solution in (−1,1)(-1, 1). Which hypothesis fails, and where?
  • d) tan⁡0=tan⁡π=0\tan 0 = \tan \pi = 0, yet ddxtan⁡x=sec⁡2x\frac{d}{dx}\tan x = \sec^2 x never vanishes. Does this contradict Rolle's theorem?
  • e) Let k(x)=xk(x) = x for 0≤x<10 \le x < 1 and k(1)=0k(1) = 0. Check each hypothesis on [0,1][0, 1] and decide whether the conclusion holds.

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) All three hold; c=−1c = -1, c=0c = 0 and c=1c = 1.
  • b) All three hold (g(0)=g(π2)=1g(0) = g(\frac{\pi}{2}) = 1); c=π4c = \frac{\pi}{4}.
  • c) h(±1)=1h(\pm 1) = 1 and h′(x)=45x1/5≠0h'(x) = \frac{4}{5x^{1/5}} \ne 0; hypothesis (2) fails at x=0x = 0.
  • d) No: tan⁡x\tan x is not defined at π2∈[0,π]\frac{\pi}{2} \in [0, \pi], so hypothesis (1) fails.
  • e) (2) and (3) hold, (1) fails at x=1x = 1; k′(x)=1k'(x) = 1, so the conclusion is false.

a) Hypothesis (1): ff is a polynomial, so it is continuous on R\mathbb{R}, in particular on [−2,2][-2, 2]. Hypothesis (2): a polynomial is differentiable on R\mathbb{R}, in particular on (−2,2)(-2, 2). Hypothesis (3): f(−2)=16−8=8f(-2) = 16 - 8 = 8 and f(2)=16−8=8f(2) = 16 - 8 = 8. The theorem applies. By the power rule, f′(x)=4x3−4x=4x(x−1)(x+1)f'(x) = 4x^3 - 4x = 4x(x - 1)(x + 1), which vanishes at x=−1x = -1, 00 and 11, all three in (−2,2)(-2, 2). So c∈{−1,0,1}c \in \{-1, 0, 1\}: the theorem promised AT LEAST one number and there are three, the two low points at height −1-1 and the local high point at the origin that the figure shows. Writing only the hypotheses that happen to be easy, or writing them without a reason (polynomial, hence continuous), loses the method marks even with the right cc.

b) Sine and cosine are continuous and differentiable on R\mathbb{R}, so (1) and (2) hold on [0,π2]\left[0, \frac{\pi}{2}\right] and (0,π2)\left(0, \frac{\pi}{2}\right). For (3): g(0)=0+1=1g(0) = 0 + 1 = 1 and g(π2)=1+0=1g\left(\frac{\pi}{2}\right) = 1 + 0 = 1. Then g′(x)=cos⁡x−sin⁡x=0g'(x) = \cos x - \sin x = 0 means sin⁡x=cos⁡x\sin x = \cos x; on (0,π2)\left(0, \frac{\pi}{2}\right), cos⁡x>0\cos x > 0, so we may divide: tan⁡x=1\tan x = 1, and x=π4x = \frac{\pi}{4}. The other solutions of tan⁡x=1\tan x = 1, such as 5π4\frac{5\pi}{4}, lie outside the interval and are not answers. At c=π4c = \frac{\pi}{4} the curve reaches g(π4)=22+22=2g\left(\frac{\pi}{4}\right) = \frac{\sqrt 2}{2} + \frac{\sqrt 2}{2} = \sqrt 2, its top on the interval.

c) The fifth root is defined for every real number, so h(x)=(x1/5)4h(x) = \left(x^{1/5}\right)^4 is continuous on [−1,1][-1, 1], and h(−1)=(−1)4=1=h(1)h(-1) = (-1)^4 = 1 = h(1): hypotheses (1) and (3) hold. For x≠0x \ne 0, the power rule gives h′(x)=45x−1/5=45x1/5h'(x) = \frac{4}{5}x^{-1/5} = \frac{4}{5x^{1/5}}, a fraction with numerator 44, never 00. At x=0x = 0, the difference quotient is h(t)−h(0)t=t−1/5\frac{h(t) - h(0)}{t} = t^{-1/5}, which tends to +∞+\infty as t→0+t \to 0^+ and to −∞-\infty as t→0−t \to 0^-: h′(0)h'(0) does not exist. Hypothesis (2) fails at ONE point, 00, inside (−1,1)(-1, 1), and that is enough to lose the conclusion. The graph has a cusp at the origin: a lowest point without a horizontal tangent.

d) No contradiction, because the theorem does not apply. tan⁡x=sin⁡xcos⁡x\tan x = \frac{\sin x}{\cos x} is not defined at x=π2x = \frac{\pi}{2}, which lies in [0,π][0, \pi], and ∣tan⁡x∣→∞|\tan x| \to \infty near it: hypothesis (1) fails (and (2) with it). The equal values at the ends are only one hypothesis out of three. Here sec⁡2x=1cos⁡2x≥1\sec^2 x = \frac{1}{\cos^2 x} \ge 1 wherever it is defined, so the slope is never 00, and it cannot be, since the graph is made of two separate branches. The trap is to read hypothesis (3) and stop there.

e) Hypothesis (3): k(0)=0=k(1)k(0) = 0 = k(1). Hypothesis (2): on (0,1)(0, 1), k(x)=xk(x) = x, so kk is differentiable there with k′(x)=1k'(x) = 1. Hypothesis (1) fails at the right endpoint: lim⁡x→1−k(x)=1≠0=k(1)\lim_{x \to 1^-} k(x) = 1 \ne 0 = k(1), so kk is not continuous at 11. The conclusion is false, since k′(x)=1≠0k'(x) = 1 \ne 0 everywhere in (0,1)(0, 1). The closed bracket in hypothesis (1) is not decoration: continuity AT the endpoints is what forbids the graph from jumping back down to its starting height at the last moment.

Tick the exercises you have done or want to review: a free account, no password, keeps your ticks from one visit to the next and tells you which chapter to tackle next. Create your space, an email is enough.

Exercise 2: The Mean Value Theorem: finding c, and keeping only the c in (a, b)

Mean Value Theorem. If ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), then there is at least one cc in (a,b)(a, b) such that f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}, or equivalently f(b)−f(a)=f′(c)(b−a)f(b) - f(a) = f'(c)(b - a).

Geometrically, somewhere strictly between aa and bb the tangent is parallel to the chord joining the endpoints. Rolle's theorem is the special case of a horizontal chord. The figure shows y=x3−xy = x^3 - x and its chord over [0,2][0, 2].

-0.50.511.522.5-11234567y = x³ - xchord, slope 3x
  • a) Verify the hypotheses of the Mean Value Theorem for f(x)=x3−xf(x) = x^3 - x on [0,2][0, 2] and find every number cc it produces.
  • b) Same question for f(x)=exf(x) = e^x on [0,1][0, 1]. Give cc exactly, and prove without a calculator that it lies in (0,1)(0, 1).
  • c) Same question for f(x)=ln⁡xf(x) = \ln x on [1,e][1, e]. Compare with b).
  • d) For f(x)=1xf(x) = \frac{1}{x} on [−1,1][-1, 1], show that no cc satisfies the conclusion, and explain why.
  • e) For f(x)=x1/3f(x) = x^{1/3} on [−1,1][-1, 1], show that a hypothesis fails, then find the numbers cc anyway. What does this say about the hypotheses?

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Slope 33; c=233c = \frac{2\sqrt 3}{3} (−233-\frac{2\sqrt 3}{3} rejected, outside (0,2)(0, 2)).
  • b) Slope e−1e - 1; c=ln⁡(e−1)c = \ln(e - 1), in (0,1)(0, 1) because 1<e−1<e1 < e - 1 < e.
  • c) Slope 1e−1\frac{1}{e - 1}; c=e−1c = e - 1, in (1,e)(1, e).
  • d) Slope 11 but f′(x)=−1x2<0f'(x) = -\frac{1}{x^2} < 0; ff is not continuous on [−1,1][-1, 1] (undefined at 00).
  • e) Not differentiable at 00; yet c=±39c = \pm\frac{\sqrt 3}{9}. Hypotheses are sufficient, not necessary.

a) ff is a polynomial, hence continuous on [0,2][0, 2] and differentiable on (0,2)(0, 2). The slope of the chord is f(2)−f(0)2−0=6−02=3\frac{f(2) - f(0)}{2 - 0} = \frac{6 - 0}{2} = 3. By the power rule f′(c)=3c2−1f'(c) = 3c^2 - 1, and 3c2−1=33c^2 - 1 = 3 gives c2=43c^2 = \frac{4}{3}, so c=±23=±233c = \pm\frac{2}{\sqrt 3} = \pm\frac{2\sqrt 3}{3}. The theorem speaks about cc in (0,2)(0, 2) only: −233-\frac{2\sqrt 3}{3} is rejected, and 233\frac{2\sqrt 3}{3} is kept because it is positive and (233)2=43<4\left(\frac{2\sqrt 3}{3}\right)^2 = \frac{4}{3} < 4, so it is less than 22. Answering with both values is the most common loss on this question: solving f′(c)=mf'(c) = m is algebra, choosing cc is the theorem. The solution figure shows the tangent at cc, parallel to the chord.

b) exe^x is continuous and differentiable on R\mathbb{R}. The chord has slope e1−e01−0=e−1\frac{e^1 - e^0}{1 - 0} = e - 1, and f′(c)=ecf'(c) = e^c, so ec=e−1e^c = e - 1 and c=ln⁡(e−1)c = \ln(e - 1). That e−1>0e - 1 > 0 is needed for the logarithm to exist. Now 2<e2 < e, so e−1>1e - 1 > 1, and obviously e−1<ee - 1 < e. Since ln⁡\ln is increasing, ln⁡1<ln⁡(e−1)<ln⁡e\ln 1 < \ln(e - 1) < \ln e, that is 0<c<10 < c < 1. No decimal is required: the exact answer is ln⁡(e−1)\ln(e - 1), and the inequality is proved with e>2e > 2 alone.

c) ln⁡x\ln x is continuous and differentiable on (0,∞)(0, \infty), which contains [1,e][1, e]. The chord has slope ln⁡e−ln⁡1e−1=1e−1\frac{\ln e - \ln 1}{e - 1} = \frac{1}{e - 1}, and f′(c)=1cf'(c) = \frac{1}{c}, so 1c=1e−1\frac{1}{c} = \frac{1}{e - 1} and c=e−1c = e - 1, which lies in (1,e)(1, e) by the same two inequalities as in b). The two answers are linked: ln⁡\ln is the inverse of exp⁡\exp, the graph of ln⁡\ln on [1,e][1, e] is the mirror image of the graph of exe^x on [0,1][0, 1] in the line y=xy = x, the chord is reflected into a chord and the tangent into a tangent, so the point of contact (ln⁡(e−1),e−1)(\ln(e - 1), e - 1) becomes (e−1,ln⁡(e−1))(e - 1, \ln(e - 1)).

d) The chord has slope f(1)−f(−1)1−(−1)=1−(−1)2=1\frac{f(1) - f(-1)}{1 - (-1)} = \frac{1 - (-1)}{2} = 1, but f′(x)=−1x2f'(x) = -\frac{1}{x^2} is negative wherever it exists: no cc can give 11. No contradiction: 1x\frac{1}{x} is not defined at 00, which lies in [−1,1][-1, 1], so ff is not continuous on [−1,1][-1, 1] and hypothesis (1) fails. The graph goes down on each branch and jumps from −∞-\infty to +∞+\infty at 00, and it is the jump that lets the endpoints be in increasing order.

e) x1/3x^{1/3} is continuous on R\mathbb{R}, but at 00 the difference quotient t1/3t=t−2/3→+∞\frac{t^{1/3}}{t} = t^{-2/3} \to +\infty: vertical tangent, no derivative, so hypothesis (2) fails at 0∈(−1,1)0 \in (-1, 1). Yet the chord has slope 1−(−1)2=1\frac{1 - (-1)}{2} = 1 and, for x≠0x \ne 0, f′(x)=13x2/3=1f'(x) = \frac{1}{3x^{2/3}} = 1 gives x2/3=13x^{2/3} = \frac{1}{3}, so ∣x∣=(13)3/2=133=39|x| = \left(\frac{1}{3}\right)^{3/2} = \frac{1}{3\sqrt 3} = \frac{\sqrt 3}{9}, and c=±39c = \pm\frac{\sqrt 3}{9}, both in (−1,1)(-1, 1). The conclusion holds although a hypothesis fails. The hypotheses are SUFFICIENT, not necessary: when one fails, the theorem simply guarantees nothing, and the conclusion may hold, as here, or fail, as in d).

-0.50.511.522.5-11234567y = x³ - xchord, slope 3green: tangent at cx

Exercise 3: Zero derivative: constant on an interval, and only on an interval

Two consequences of the Mean Value Theorem carry the rest of the course. If f′(x)=0f'(x) = 0 for every xx in an INTERVAL (a,b)(a, b), then ff is constant on (a,b)(a, b). If f′(x)=g′(x)f'(x) = g'(x) for every xx in an interval, then f−gf - g is constant there: f(x)=g(x)+Cf(x) = g(x) + C.

The word interval is not a detail: the proof applies the Mean Value Theorem between any two points of the set, which requires the whole segment between them to be inside it.

  • a) Prove the first consequence from the Mean Value Theorem.
  • b) Prove that arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac{\pi}{2} for every xx in [−1,1][-1, 1].
  • c) A function ff is differentiable on R\mathbb{R}, with f′(x)=3x2f'(x) = 3x^2 for every xx and f(2)=5f(2) = 5. Prove that f(x)=x3−3f(x) = x^3 - 3 for every xx.
  • d) Prove that if f′′(x)=0f''(x) = 0 for every real xx, then f(x)=mx+bf(x) = mx + b for some constants mm and bb.
  • e) Let D(x)=arctan⁡(1+x1−x)−arctan⁡xD(x) = \arctan\left(\frac{1 + x}{1 - x}\right) - \arctan x for x≠1x \ne 1. Show that D′(x)=0D'(x) = 0 at every point of its domain. A student concludes that D(x)=D(0)=π4D(x) = D(0) = \frac{\pi}{4} for all x≠1x \ne 1. Compute D(3)D(\sqrt 3) and explain.

Type your answers, the page tells you right or wrong 0/4

b)
c)
e)
Show the solution

Answers

  • a) For x1<x2x_1 < x_2 in (a,b)(a, b): f(x2)−f(x1)=f′(c)(x2−x1)=0f(x_2) - f(x_1) = f'(c)(x_2 - x_1) = 0.
  • b) F′=11−x2−11−x2=0F' = \frac{1}{\sqrt{1 - x^2}} - \frac{1}{\sqrt{1 - x^2}} = 0 on (−1,1)(-1, 1), F(0)=π2F(0) = \frac{\pi}{2}, and F(±1)=π2F(\pm 1) = \frac{\pi}{2} directly.
  • c) g=f−x3g = f - x^3 has g′=0g' = 0 on R\mathbb{R}, so g=C=f(2)−8=−3g = C = f(2) - 8 = -3.
  • d) f′=mf' = m constant, then f−mxf - mx has zero derivative: f=mx+bf = mx + b.
  • e) D(3)=−3π4D(\sqrt 3) = -\frac{3\pi}{4}: D=π4D = \frac{\pi}{4} on (−∞,1)(-\infty, 1) and −3π4-\frac{3\pi}{4} on (1,∞)(1, \infty); the domain is not an interval.

a) Take any two numbers x1<x2x_1 < x_2 in (a,b)(a, b). The segment [x1,x2][x_1, x_2] lies inside (a,b)(a, b), because (a,b)(a, b) is an interval; there ff is differentiable, hence continuous on [x1,x2][x_1, x_2] and differentiable on (x1,x2)(x_1, x_2). The Mean Value Theorem gives cc in (x1,x2)(x_1, x_2) with f(x2)−f(x1)=f′(c)(x2−x1)f(x_2) - f(x_1) = f'(c)(x_2 - x_1). Since cc is in (a,b)(a, b), f′(c)=0f'(c) = 0, so f(x2)=f(x1)f(x_2) = f(x_1). Any two values of ff are equal: ff is constant. The unknown cc is never computed; all we need is that it lands where f′=0f' = 0. For the second consequence, apply this to h=f−gh = f - g, whose derivative is f′−g′=0f' - g' = 0.

b) Let F(x)=arcsin⁡x+arccos⁡xF(x) = \arcsin x + \arccos x. On (−1,1)(-1, 1), F′(x)=11−x2+(−11−x2)=0F'(x) = \frac{1}{\sqrt{1 - x^2}} + \left(-\frac{1}{\sqrt{1 - x^2}}\right) = 0, and (−1,1)(-1, 1) is an interval, so FF is constant there, equal to F(0)=0+π2=π2F(0) = 0 + \frac{\pi}{2} = \frac{\pi}{2}. The endpoints need their own line, since the derivatives do not exist at ±1\pm 1: F(1)=π2+0F(1) = \frac{\pi}{2} + 0 and F(−1)=−π2+π=π2F(-1) = -\frac{\pi}{2} + \pi = \frac{\pi}{2}. The identity holds on all of [−1,1][-1, 1]. The shape of the proof is the one to learn: derivative zero, constant on the interval, the constant read at one convenient point.

c) Let g(x)=f(x)−x3g(x) = f(x) - x^3. By the difference and power rules, g′(x)=3x2−3x2=0g'(x) = 3x^2 - 3x^2 = 0 for every xx in R\mathbb{R}, which is an interval, so gg is a constant CC. At x=2x = 2: C=g(2)=f(2)−8=5−8=−3C = g(2) = f(2) - 8 = 5 - 8 = -3. Hence f(x)=x3−3f(x) = x^3 - 3 for every xx, and no other function fits. This is the uniqueness behind every initial value problem: two functions with the same derivative on an interval differ by a constant, and one value fixes it.

d) f′′(x)=(f′)′(x)=0f''(x) = (f')'(x) = 0 for every real xx, so by a) applied to f′f' on R\mathbb{R}, f′f' is a constant, call it mm. Then k(x)=f(x)−mxk(x) = f(x) - mx has k′(x)=m−m=0k'(x) = m - m = 0 on R\mathbb{R}, so kk is a constant bb, and f(x)=mx+bf(x) = mx + b. The consequence is used twice, once per derivative: a function whose second derivative vanishes has a graph that is a straight line, and the proof says why, instead of saying that it is obvious.

e) Let u=1+x1−xu = \frac{1 + x}{1 - x}. The quotient rule gives u′=(1)(1−x)−(1+x)(−1)(1−x)2=2(1−x)2u' = \frac{(1)(1 - x) - (1 + x)(-1)}{(1 - x)^2} = \frac{2}{(1 - x)^2}, and 1+u2=(1−x)2+(1+x)2(1−x)2=2+2x2(1−x)21 + u^2 = \frac{(1 - x)^2 + (1 + x)^2}{(1 - x)^2} = \frac{2 + 2x^2}{(1 - x)^2}. By the chain rule with inner function uu, ddxarctan⁡u=u′1+u2=22+2x2=11+x2\frac{d}{dx}\arctan u = \frac{u'}{1 + u^2} = \frac{2}{2 + 2x^2} = \frac{1}{1 + x^2}, so D′(x)=11+x2−11+x2=0D'(x) = \frac{1}{1 + x^2} - \frac{1}{1 + x^2} = 0 for x≠1x \ne 1. At x=3x = \sqrt 3: 1+31−3=(1+3)21−3=−(2+3)\frac{1 + \sqrt 3}{1 - \sqrt 3} = \frac{(1 + \sqrt 3)^2}{1 - 3} = -(2 + \sqrt 3), and tan⁡5π12=tan⁡(π4+π6)=1+131−13=3+13−1=2+3\tan\frac{5\pi}{12} = \tan\left(\frac{\pi}{4} + \frac{\pi}{6}\right) = \frac{1 + \frac{1}{\sqrt 3}}{1 - \frac{1}{\sqrt 3}} = \frac{\sqrt 3 + 1}{\sqrt 3 - 1} = 2 + \sqrt 3, so arctan⁡(−(2+3))=−5π12\arctan(-(2 + \sqrt 3)) = -\frac{5\pi}{12}. Hence D(3)=−5π12−π3=−3π4≠π4D(\sqrt 3) = -\frac{5\pi}{12} - \frac{\pi}{3} = -\frac{3\pi}{4} \ne \frac{\pi}{4}. The student's error: the domain (−∞,1)∪(1,∞)(-\infty, 1) \cup (1, \infty) is NOT an interval, and the Mean Value Theorem cannot be applied on [0,3][0, \sqrt 3], which contains the point 11 where DD is not even defined. DD is constant on EACH piece: π4\frac{\pi}{4} on the left, −3π4-\frac{3\pi}{4} on the right, as the solution figure shows.

-4-3-2-11234-3-2.5-2-1.5-1-0.50.511.5value π/4 for x < 1value -3π/4 for x > 1x

Exercise 4: Inequalities from the Mean Value Theorem: bound f', not c

The Mean Value Theorem turns a bound on the derivative into a bound on the function: if m≤f′(x)≤Mm \le f'(x) \le M for every xx in (a,b)(a, b), and ff satisfies the hypotheses on [a,b][a, b], then m(b−a)≤f(b)−f(a)≤M(b−a)m(b - a) \le f(b) - f(a) \le M(b - a). The number cc stays unknown; we only use the interval it lives in.

The figure shows y=xy = x, y=arctan⁡xy = \arctan x and y=x1+x2y = \frac{x}{1 + x^2} for x≥0x \ge 0.

0.511.522.533.50.511.52y = xy = arctan xy = x/(1 + x²)x
  • a) Prove that ∣sin⁡a−sin⁡b∣≤∣a−b∣|\sin a - \sin b| \le |a - b| for all real numbers aa and bb. Deduce that ∣sin⁡x∣≤∣x∣|\sin x| \le |x| for every xx.
  • b) Prove that x1+x2<arctan⁡x<x\frac{x}{1 + x^2} < \arctan x < x for every x>0x > 0.
  • c) Deduce from b), with x=13x = \frac{1}{\sqrt 3}, that 332<π<23\frac{3\sqrt 3}{2} < \pi < 2\sqrt 3.
  • d) A function ff is differentiable on R\mathbb{R}, with f(2)=−3f(2) = -3 and f′(x)≤5f'(x) \le 5 for every xx. How large can f(7)f(7) possibly be? Show that this value is reached.
  • e) Prove that 1+x<1+x2\sqrt{1 + x} < 1 + \frac{x}{2} for every x>0x > 0.

Type your answers, the page tells you right or wrong 0/3

c)
d)
Show the solution

Answers

  • a) sin⁡b−sin⁡a=cos⁡c (b−a)\sin b - \sin a = \cos c\,(b - a) and ∣cos⁡c∣≤1|\cos c| \le 1; with b=0b = 0, ∣sin⁡x∣≤∣x∣|\sin x| \le |x|.
  • b) arctan⁡x=x1+c2\arctan x = \frac{x}{1 + c^2} with 0<c<x0 < c < x, and 11+x2<11+c2<1\frac{1}{1 + x^2} < \frac{1}{1 + c^2} < 1.
  • c) 34<π6<33\frac{\sqrt 3}{4} < \frac{\pi}{6} < \frac{\sqrt 3}{3}, so 332<π<23\frac{3\sqrt 3}{2} < \pi < 2\sqrt 3.
  • d) f(7)≤22f(7) \le 22, reached by f(x)=5x−13f(x) = 5x - 13.
  • e) 1+x−1=x21+c<x2\sqrt{1 + x} - 1 = \frac{x}{2\sqrt{1 + c}} < \frac{x}{2} with 0<c<x0 < c < x.

a) If a=ba = b both sides are 00. Otherwise, by symmetry of the inequality we may assume a<ba < b. Sine is continuous and differentiable on R\mathbb{R}, so the Mean Value Theorem on [a,b][a, b] gives cc in (a,b)(a, b) with sin⁡b−sin⁡a=cos⁡c (b−a)\sin b - \sin a = \cos c\,(b - a). Whatever cc is, ∣cos⁡c∣≤1|\cos c| \le 1, hence ∣sin⁡b−sin⁡a∣=∣cos⁡c∣ ∣b−a∣≤∣b−a∣|\sin b - \sin a| = |\cos c|\,|b - a| \le |b - a|. With b=0b = 0: ∣sin⁡a∣≤∣a∣|\sin a| \le |a| for every aa. The student who tries to find cc is stuck: it depends on aa and bb and has no formula. The whole method is to bound f′f' on the interval and let cc be anywhere in it.

b) Fix x>0x > 0. arctan⁡\arctan is continuous and differentiable on R\mathbb{R}, with derivative 11+t2\frac{1}{1 + t^2}. The Mean Value Theorem on [0,x][0, x] gives cc in (0,x)(0, x) with arctan⁡x−arctan⁡0=x1+c2\arctan x - \arctan 0 = \frac{x}{1 + c^2}. From 0<c<x0 < c < x: 1<1+c2<1+x21 < 1 + c^2 < 1 + x^2, so 11+x2<11+c2<1\frac{1}{1 + x^2} < \frac{1}{1 + c^2} < 1, and multiplying by x>0x > 0 keeps the directions: x1+x2<arctan⁡x<x\frac{x}{1 + x^2} < \arctan x < x. The inequalities are strict because cc is STRICTLY between 00 and xx. The figure shows the three curves in that order for every x>0x > 0, touching only at the origin.

c) With x=13x = \frac{1}{\sqrt 3}: arctan⁡13=π6\arctan\frac{1}{\sqrt 3} = \frac{\pi}{6}, and x1+x2=1/34/3=343=34\frac{x}{1 + x^2} = \frac{1/\sqrt 3}{4/3} = \frac{3}{4\sqrt 3} = \frac{\sqrt 3}{4}. So 34<π6<13=33\frac{\sqrt 3}{4} < \frac{\pi}{6} < \frac{1}{\sqrt 3} = \frac{\sqrt 3}{3}, and multiplying by 66: 332<π<23\frac{3\sqrt 3}{2} < \pi < 2\sqrt 3. In decimals, about 2.60<π<3.462.60 < \pi < 3.46: a crude bracket, but a proved one, obtained by hand from a derivative bound. The same method on a smaller angle gives a sharper bracket, since cc is then trapped in a shorter interval.

d) ff is differentiable on R\mathbb{R}, hence continuous on [2,7][2, 7] and differentiable on (2,7)(2, 7). By the Mean Value Theorem, f(7)−f(2)=f′(c)(7−2)=5f′(c)f(7) - f(2) = f'(c)(7 - 2) = 5f'(c) for some cc in (2,7)(2, 7), and f′(c)≤5f'(c) \le 5, so f(7)−f(2)≤25f(7) - f(2) \le 25 and f(7)≤−3+25=22f(7) \le -3 + 25 = 22. The bound is reached: f(x)=5x−13f(x) = 5x - 13 has f(2)=−3f(2) = -3, f′(x)=5≤5f'(x) = 5 \le 5 and f(7)=22f(7) = 22. So the largest possible value is 2222. A bound is only the answer to how large can it be when it is shown to be attained: that second line earns its own mark.

e) Fix x>0x > 0 and let f(t)=1+tf(t) = \sqrt{1 + t}, continuous on [0,x][0, x] and differentiable on (0,x)(0, x) since 1+t>01 + t > 0 there, with f′(t)=121+tf'(t) = \frac{1}{2\sqrt{1 + t}} by the chain rule. The Mean Value Theorem gives cc in (0,x)(0, x) with 1+x−1=x21+c\sqrt{1 + x} - 1 = \frac{x}{2\sqrt{1 + c}}. Since c>0c > 0, 1+c>1\sqrt{1 + c} > 1, so x21+c<x2\frac{x}{2\sqrt{1 + c}} < \frac{x}{2}, and 1+x<1+x2\sqrt{1 + x} < 1 + \frac{x}{2}. Check at x=3x = 3: 4=2<2.5\sqrt 4 = 2 < 2.5. The same four lines prove every inequality of the form f(x)−f(0)f(x) - f(0) against xx times a bound: choose ff, name the interval, apply the theorem, bound f′(c)f'(c) using only where cc lies.

Exercise 5: At most one root, exactly one root: Rolle by contradiction

The Intermediate Value Theorem proves that a root EXISTS. Rolle's theorem proves that there cannot be TWO: if f(r1)=f(r2)=0f(r_1) = f(r_2) = 0 with r1<r2r_1 < r_2, and ff is continuous on [r1,r2][r_1, r_2] and differentiable on (r1,r2)(r_1, r_2), then f′(c)=0f'(c) = 0 for some cc between them. So if f′f' never vanishes, ff has at most one root; existence plus this gives exactly one.

The figure, for part e), shows y=x3−4xy = x^3 - 4x on [−3,3][-3, 3].

-3-2-1123-16-12-8-4481216f(-3) = -15 < 0f(3) = 15 > 0y = x³ - 4xx
  • a) Prove that x5+3x+1=0x^5 + 3x + 1 = 0 has exactly one real root, and locate it between two consecutive integers.
  • b) Prove that 3x+cos⁡x=23x + \cos x = 2 has exactly one real solution, and that it lies in (0,1)(0, 1).
  • c) Prove that for every constant kk, the equation x4+4x+k=0x^4 + 4x + k = 0 has at most two real roots.
  • d) Prove that for every constant kk, the equation x3−15x+k=0x^3 - 15x + k = 0 has at most one root in [−2,2][-2, 2].
  • e) For f(x)=x3−4xf(x) = x^3 - 4x, f(−3)=−15<0<15=f(3)f(-3) = -15 < 0 < 15 = f(3). A student writes: by the Intermediate Value Theorem, ff has exactly one root in (−3,3)(-3, 3). Correct this using the figure, and say which argument is missing.

Type your answers, the page tells you right or wrong 0/10

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) One root, in (−1,0)(-1, 0): f(−1)=−3f(-1) = -3, f(0)=1f(0) = 1, and f′(x)=5x4+3>0f'(x) = 5x^4 + 3 > 0.
  • b) One solution, in (0,1)(0, 1): f(0)=−1f(0) = -1, f(1)=1+cos⁡1>0f(1) = 1 + \cos 1 > 0, f′(x)=3−sin⁡x≥2f'(x) = 3 - \sin x \ge 2.
  • c) Three roots would give two zeros of f′(x)=4(x3+1)f'(x) = 4(x^3 + 1), which has only x=−1x = -1.
  • d) Two roots would give c∈(−2,2)c \in (-2, 2) with 3c2=153c^2 = 15, but ∣c∣=5>2|c| = \sqrt 5 > 2.
  • e) Three roots, −2-2, 00, 22; the IVT gives AT LEAST one, and f′f' vanishes at ±233\pm\frac{2\sqrt 3}{3}.

a) Let f(x)=x5+3x+1f(x) = x^5 + 3x + 1, a polynomial, so continuous and differentiable on R\mathbb{R}. Existence: f(−1)=−1−3+1=−3<0f(-1) = -1 - 3 + 1 = -3 < 0 and f(0)=1>0f(0) = 1 > 0, so by the Intermediate Value Theorem on [−1,0][-1, 0] there is a root in (−1,0)(-1, 0). Uniqueness, by contradiction: suppose ff had two roots r1<r2r_1 < r_2. Then ff is continuous on [r1,r2][r_1, r_2], differentiable on (r1,r2)(r_1, r_2), and f(r1)=f(r2)=0f(r_1) = f(r_2) = 0, so Rolle's theorem gives cc with f′(c)=0f'(c) = 0. But f′(x)=5x4+3≥3>0f'(x) = 5x^4 + 3 \ge 3 > 0 for every xx: contradiction. The equation has exactly one real root, and it lies in (−1,0)(-1, 0). The three hypotheses of Rolle must be named in the contradiction as in any other use of the theorem.

b) Let f(x)=3x+cos⁡x−2f(x) = 3x + \cos x - 2, continuous and differentiable on R\mathbb{R}. f(0)=0+1−2=−1<0f(0) = 0 + 1 - 2 = -1 < 0 and f(1)=3+cos⁡1−2=1+cos⁡1>0f(1) = 3 + \cos 1 - 2 = 1 + \cos 1 > 0, because 0<1<π20 < 1 < \frac{\pi}{2} gives cos⁡1>0\cos 1 > 0. The Intermediate Value Theorem gives a solution in (0,1)(0, 1). If there were two, Rolle's theorem would give cc with f′(c)=0f'(c) = 0; but f′(x)=3−sin⁡x≥3−1=2>0f'(x) = 3 - \sin x \ge 3 - 1 = 2 > 0. Exactly one solution, in (0,1)(0, 1). No value of cos⁡1\cos 1 is needed, only its sign: the no-calculator rule is met by an inequality, not by a decimal.

c) Let f(x)=x4+4x+kf(x) = x^4 + 4x + k. Its derivative f′(x)=4x3+4=4(x3+1)f'(x) = 4x^3 + 4 = 4(x^3 + 1) vanishes only at x=−1x = -1, the only real cube root of −1-1. Suppose ff had three roots r1<r2<r3r_1 < r_2 < r_3. Rolle's theorem on [r1,r2][r_1, r_2] and on [r2,r3][r_2, r_3] (a polynomial satisfies the first two hypotheses on any interval, and the values at the ends are 00) gives c1c_1 in (r1,r2)(r_1, r_2) and c2c_2 in (r2,r3)(r_2, r_3) with f′(c1)=f′(c2)=0f'(c_1) = f'(c_2) = 0. The two intervals do not overlap, so c1<r2<c2c_1 < r_2 < c_2 and c1≠c2c_1 \ne c_2: two distinct zeros of f′f', which has only one. Contradiction: at most two real roots, whatever kk is. Saying why c1≠c2c_1 \ne c_2 is the step most papers forget.

d) Let f(x)=x3−15x+kf(x) = x^3 - 15x + k. Suppose ff had two roots r1<r2r_1 < r_2 in [−2,2][-2, 2]. A polynomial satisfies Rolle's hypotheses on [r1,r2][r_1, r_2], so f′(c)=3c2−15=0f'(c) = 3c^2 - 15 = 0 for some cc in (r1,r2)(r_1, r_2), which is inside (−2,2)(-2, 2). But 3c2=153c^2 = 15 gives c=±5c = \pm\sqrt 5, and 5>2\sqrt 5 > 2 since 5>45 > 4: neither value is in (−2,2)(-2, 2). Contradiction: at most one root in [−2,2][-2, 2]. Whether there is one depends on kk: f(−2)=22+kf(-2) = 22 + k and f(2)=k−22f(2) = k - 22, so the Intermediate Value Theorem gives one as soon as −22≤k≤22-22 \le k \le 22. The restriction to [−2,2][-2, 2] is essential; on R\mathbb{R}, k=0k = 0 gives the three roots 00 and ±15\pm\sqrt{15}.

e) x3−4x=x(x−2)(x+2)x^3 - 4x = x(x - 2)(x + 2) has three roots in (−3,3)(-3, 3): −2-2, 00 and 22, the three red points of the figure. The Intermediate Value Theorem only says that there is AT LEAST one root between two values of opposite signs; it never says how many. Uniqueness needs the second argument, Rolle by contradiction, and here it cannot even start: f′(x)=3x2−4f'(x) = 3x^2 - 4 vanishes at ±23=±233\pm\frac{2}{\sqrt 3} = \pm\frac{2\sqrt 3}{3}, both inside (−3,3)(-3, 3), so nothing forbids several roots. Correct statement: ff has at least one root in (−3,3)(-3, 3). The word exactly costs the whole question when only the IVT has been used.

Part B: problems and reasoning (/50)

Exercise 6: A function known by three values: the slopes it must take

A function ff is differentiable on R\mathbb{R}, and all we know about it is the table f(0)=1f(0) = 1, f(2)=7f(2) = 7, f(5)=4f(5) = 4. The theorems of the chapter still force some of its slopes, whatever ff is.

The figure shows two different functions consistent with the table: the parabola q(x)=−45x2+235x+1q(x) = -\frac{4}{5}x^2 + \frac{23}{5}x + 1 in blue, and a wavier function ww in orange.

-1-0.50.511.522.533.544.555.5-2246810blue: qorange: w(2, 7)(5, 4)(0, 1)x
  • a) Prove that there are numbers c1c_1 in (0,2)(0, 2) and c2c_2 in (2,5)(2, 5) such that f′(c1)=3f'(c_1) = 3 and f′(c2)=−1f'(c_2) = -1.
  • b) Prove that f′(c3)=35f'(c_3) = \frac{3}{5} for some c3c_3 in (0,5)(0, 5).
  • c) Prove that f′(c)=0f'(c) = 0 for some cc in (0,5)(0, 5), although f(0)≠f(5)f(0) \ne f(5).
  • d) Can one guarantee that f′(x)=5f'(x) = 5 for some xx in (0,5)(0, 5)?
  • e) On the figure, count the horizontal tangents of qq and of ww on (0,5)(0, 5). Which of the conclusions a) to d) depend on which function ff is?

Type your answers, the page tells you right or wrong 0/4

d)
e)
Show the solution

Answers

  • a) MVT on [0,2][0, 2]: slope 7−12=3\frac{7 - 1}{2} = 3; on [2,5][2, 5]: slope 4−73=−1\frac{4 - 7}{3} = -1.
  • b) MVT on [0,5][0, 5]: slope 4−15=35\frac{4 - 1}{5} = \frac{3}{5}.
  • c) IVT: f(d)=4f(d) = 4 for some dd in (0,2)(0, 2); Rolle on [d,5][d, 5] gives f′(c)=0f'(c) = 0.
  • d) No: q′(x)=23−8x5<235<5q'(x) = \frac{23 - 8x}{5} < \frac{23}{5} < 5 on (0,5)(0, 5).
  • e) qq: one (x=238x = \frac{23}{8}); ww: three. The existence in a) to c) holds for both; the number and position of the cc depend on ff.

a) ff is differentiable on R\mathbb{R}, so on any closed interval it is continuous and on the open interval differentiable: the Mean Value Theorem applies everywhere, and this sentence must still be written. On [0,2][0, 2]: f′(c1)=f(2)−f(0)2−0=7−12=3f'(c_1) = \frac{f(2) - f(0)}{2 - 0} = \frac{7 - 1}{2} = 3 for some c1c_1 in (0,2)(0, 2). On [2,5][2, 5]: f′(c2)=f(5)−f(2)5−2=4−73=−1f'(c_2) = \frac{f(5) - f(2)}{5 - 2} = \frac{4 - 7}{3} = -1 for some c2c_2 in (2,5)(2, 5). Each pair of values in the table gives one guaranteed slope, and nothing more: we know neither c1c_1 nor c2c_2.

b) The third pair of values: on [0,5][0, 5], f′(c3)=f(5)−f(0)5−0=4−15=35f'(c_3) = \frac{f(5) - f(0)}{5 - 0} = \frac{4 - 1}{5} = \frac{3}{5} for some c3c_3 in (0,5)(0, 5). Three data points give three chords and three guaranteed slopes, 33, −1-1 and 35\frac{3}{5}. On the parabola qq, where q′(x)=23−8x5q'(x) = \frac{23 - 8x}{5}, these are reached at x=1x = 1, x=72x = \frac{7}{2} and x=52x = \frac{5}{2}, the midpoints of the three intervals: for a quadratic, and only for a quadratic, cc is always the midpoint.

c) Rolle's theorem cannot be applied on [0,5][0, 5] directly, since f(0)=1≠4=f(5)f(0) = 1 \ne 4 = f(5). First create two equal values. ff is continuous on [0,2][0, 2] and 44 lies between f(0)=1f(0) = 1 and f(2)=7f(2) = 7, so by the Intermediate Value Theorem there is dd in (0,2)(0, 2) with f(d)=4f(d) = 4. Now f(d)=f(5)=4f(d) = f(5) = 4, ff is continuous on [d,5][d, 5] and differentiable on (d,5)(d, 5), and Rolle's theorem gives cc in (d,5)⊂(0,5)(d, 5) \subset (0, 5) with f′(c)=0f'(c) = 0. The two theorems work in sequence: the IVT manufactures the equal values that Rolle needs. Another route, the Extreme Value Theorem on [0,5][0, 5] and Fermat's theorem, works too, provided one proves that the maximum is not at an endpoint, which f(2)=7>f(0)f(2) = 7 > f(0) and f(2)>f(5)f(2) > f(5) do.

d) No. A guarantee must hold for EVERY function matching the table, so one counterexample is enough. The parabola qq matches: q(0)=1q(0) = 1, q(2)=−165+465+1=7q(2) = -\frac{16}{5} + \frac{46}{5} + 1 = 7, q(5)=−20+23+1=4q(5) = -20 + 23 + 1 = 4. Its derivative q′(x)=23−8x5q'(x) = \frac{23 - 8x}{5} decreases from 235\frac{23}{5} at 00 to −175-\frac{17}{5} at 55, so on (0,5)(0, 5) it stays strictly below 235<5\frac{23}{5} < 5: q′q' never equals 55 there. The theorem gives only the slopes of chords; a slope steeper than every chord may or may not occur.

e) On the figure, qq has one horizontal tangent on (0,5)(0, 5), at its vertex x=238x = \frac{23}{8}, where q′(x)=0q'(x) = 0. The orange function ww has three: a low point near x=0.5x = 0.5, a high point near x=2.8x = 2.8, and a low point near x=4.7x = 4.7. Both satisfy a), b) and c), because those conclusions were proved from the table alone. What differs is how many cc there are and where they sit; the theorems are statements of existence and are silent on both. The answer to d) is the one that depends on ff: for qq the slope 55 never occurs on (0,5)(0, 5), while ww, which dips before climbing to 77, is steeper than 55 on part of its climb and so takes the slope 55, near x=0.9x = 0.9 for instance. This is why only a proof, never a drawing, answers a question of the form must there be.

Exercise 7: Proving the Mean Value Theorem from Rolle's theorem

Rolle's theorem is the special case of the Mean Value Theorem where the chord is horizontal, and the general case reduces to it by one idea: subtract the chord. Assume ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), let m=f(b)−f(a)b−am = \frac{f(b) - f(a)}{b - a}, and define

h(x)=f(x)−[f(a)+m(x−a)]h(x) = f(x) - \left[f(a) + m(x - a)\right].

  • a) Interpret h(x)h(x) geometrically, and compute h(a)h(a) and h(b)h(b).
  • b) Prove that hh satisfies the three hypotheses of Rolle's theorem on [a,b][a, b].
  • c) Complete the proof of the Mean Value Theorem.
  • d) Illustrate with f(x)=x3f(x) = x^3 on [0,3][0, 3]: write hh, find cc, and show that at cc the vertical distance between the curve and the chord is the largest on [0,3][0, 3].
  • e) Rolle's theorem itself is proved with the Extreme Value Theorem and Fermat's theorem. Say at which step each hypothesis of the Mean Value Theorem is used, and why the proof gives no formula for cc.

Type your answers, the page tells you right or wrong 0/5

a)
d)
Show the solution

Answers

  • a) h(x)h(x) is the signed vertical gap between the curve and the chord; h(a)=h(b)=0h(a) = h(b) = 0.
  • b) hh = ff minus a linear function: continuous on [a,b][a, b], differentiable on (a,b)(a, b), equal ends.
  • c) Rolle: h′(c)=f′(c)−m=0h'(c) = f'(c) - m = 0, so f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}.
  • d) h(x)=x3−9xh(x) = x^3 - 9x, c=3c = \sqrt 3, largest gap ∣h(3)∣=63|h(\sqrt 3)| = 6\sqrt 3.
  • e) Continuity on [a,b][a, b] feeds the EVT, differentiability at cc feeds Fermat; the EVT only asserts existence.

a) The chord through (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)) is the line L(x)=f(a)+m(x−a)L(x) = f(a) + m(x - a), so h(x)=f(x)−L(x)h(x) = f(x) - L(x) is the signed vertical distance from the chord to the curve: positive where the curve is above the chord. At the ends, h(a)=f(a)−f(a)−m⋅0=0h(a) = f(a) - f(a) - m \cdot 0 = 0 and h(b)=f(b)−f(a)−m(b−a)=f(b)−f(a)−(f(b)−f(a))=0h(b) = f(b) - f(a) - m(b - a) = f(b) - f(a) - (f(b) - f(a)) = 0, by the definition of mm. The whole proof rests on this choice: subtracting the chord makes the endpoint values equal, which is the one hypothesis Rolle has and the Mean Value Theorem lacks.

b) LL is a polynomial of degree at most 11, continuous and differentiable on R\mathbb{R}. Hypothesis (1): ff and LL are continuous on [a,b][a, b], so their difference hh is. Hypothesis (2): ff and LL are differentiable on (a,b)(a, b), so hh is, with h′(x)=f′(x)−mh'(x) = f'(x) - m. Hypothesis (3): h(a)=h(b)=0h(a) = h(b) = 0 by a). Each hypothesis of Rolle is inherited from a hypothesis of the Mean Value Theorem, and the write-up must say from which one, since this is the entire content of the step.

c) By Rolle's theorem there is cc in (a,b)(a, b) with h′(c)=0h'(c) = 0, that is f′(c)−m=0f'(c) - m = 0, so f′(c)=m=f(b)−f(a)b−af'(c) = m = \frac{f(b) - f(a)}{b - a}. This is the conclusion of the Mean Value Theorem. The proof takes four lines once hh is chosen, which is why an exam may ask for it: the marks are in the definition of hh, the check h(a)=h(b)h(a) = h(b), and the derivative h′=f′−mh' = f' - m.

d) With f(x)=x3f(x) = x^3, a=0a = 0, b=3b = 3: m=27−03=9m = \frac{27 - 0}{3} = 9, the chord is L(x)=9xL(x) = 9x, and h(x)=x3−9xh(x) = x^3 - 9x, with h(0)=0h(0) = 0 and h(3)=27−27=0h(3) = 27 - 27 = 0. Then h′(x)=3x2−9=0h'(x) = 3x^2 - 9 = 0 gives x=±3x = \pm\sqrt 3, and only c=3c = \sqrt 3 lies in (0,3)(0, 3); indeed f′(3)=3⋅3=9=mf'(\sqrt 3) = 3 \cdot 3 = 9 = m. On the closed interval [0,3][0, 3], the continuous function hh has its extreme values at the critical number or at the ends: h(0)=0h(0) = 0, h(3)=0h(3) = 0, h(3)=33−93=−63h(\sqrt 3) = 3\sqrt 3 - 9\sqrt 3 = -6\sqrt 3. So the curve is below the chord, and the gap ∣h∣|h| is largest, 636\sqrt 3, exactly at c=3c = \sqrt 3. The tangent parallel to the chord touches the curve where the curve is farthest from the chord. Note c=3c = \sqrt 3 is not the midpoint 32\frac{3}{2}: 3>32\sqrt 3 > \frac{3}{2} since 3>943 > \frac{9}{4}.

e) Proof of Rolle: if hh is constant, h′=0h' = 0 everywhere and any cc works. Otherwise hh takes a value different from h(a)=h(b)h(a) = h(b), say larger. Because hh is continuous on the CLOSED interval [a,b][a, b], the Extreme Value Theorem gives a point where hh reaches its maximum, and that maximum exceeds h(a)=h(b)h(a) = h(b), so the point cc is inside (a,b)(a, b). Because hh is differentiable at that interior point, Fermat's theorem gives h′(c)=0h'(c) = 0. So continuity on [a,b][a, b] is consumed by the Extreme Value Theorem, differentiability on (a,b)(a, b) by Fermat's theorem, and the equal values by the placement of cc away from the ends. The Extreme Value Theorem asserts that a maximum exists without saying where it is: that is why the Mean Value Theorem, built on it, never locates cc. To find cc one must solve f′(c)=mf'(c) = m, which is possible for x3x^3 and impossible in closed form for most functions.

Exercise 8: Five statements to correct

Each statement below was written by a student on a MATH 140 assignment, and each is false. Say what is wrong, give a counterexample, and write a correct statement.

  • a) If f(a)=f(b)f(a) = f(b), then f′(c)=0f'(c) = 0 for some cc in (a,b)(a, b).
  • b) The Mean Value Theorem says that the slope of the chord equals the average f′(a)+f′(b)2\frac{f'(a) + f'(b)}{2}.
  • c) If ∣f′(x)∣≤1|f'(x)| \le 1 at every point where ff is differentiable, then ∣f(b)−f(a)∣≤∣b−a∣|f(b) - f(a)| \le |b - a|.
  • d) Between two roots of ff there is always a root of f′f'.
  • e) The number cc of the Mean Value Theorem is unique.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) False: 1x2\frac{1}{x^2} on [−1,1][-1, 1]. True with continuity on [a,b][a, b] and differentiability on (a,b)(a, b).
  • b) False: x3x^3 on [0,1][0, 1], chord slope 11, average 32\frac{3}{2}. True only for quadratics.
  • c) False: ⌊x⌋\lfloor x \rfloor on [12,1]\left[\frac{1}{2}, 1\right]. True if ff is continuous on [a,b][a, b] and differentiable on (a,b)(a, b).
  • d) False: 1−x2/31 - x^{2/3}, roots ±1\pm 1, f′f' never 00. True if ff is differentiable between the roots.
  • e) False: x3x^3 on [−2,2][-2, 2] gives c=±233c = \pm\frac{2\sqrt 3}{3}. The theorem says at least one.

a) FALSE: the hypotheses have been dropped. f(x)=1x2f(x) = \frac{1}{x^2} has f(−1)=f(1)=1f(-1) = f(1) = 1, yet f′(x)=−2x3f'(x) = -\frac{2}{x^3} is never 00. The function is not defined at 00, so it is not continuous on [−1,1][-1, 1]; its graph climbs to infinity on both sides of 00 and never turns. Correct statement (Rolle): if ff is continuous on [a,b][a, b], differentiable on (a,b)(a, b) and f(a)=f(b)f(a) = f(b), then f′(c)=0f'(c) = 0 for some cc in (a,b)(a, b). Equal values at the ends are the least important of the three hypotheses.

b) FALSE. For f(x)=x3f(x) = x^3 on [0,1][0, 1]: the chord has slope 1−01−0=1\frac{1 - 0}{1 - 0} = 1, while f′(0)+f′(1)2=0+32=32\frac{f'(0) + f'(1)}{2} = \frac{0 + 3}{2} = \frac{3}{2}. The theorem says the chord slope is the derivative at SOME interior point, here 3c2=13c^2 = 1, c=13c = \frac{1}{\sqrt 3}, not the average of the derivatives at the ends. The student probably checked on x2x^2: for a quadratic, f′f' is linear, and the average of f′(a)f'(a) and f′(b)f'(b) is f′f' at the midpoint, which is the chord slope. A rule verified on one family is not a theorem.

c) FALSE. f(x)=⌊x⌋f(x) = \lfloor x \rfloor, the greatest integer ≤x\le x, is differentiable with f′(x)=0f'(x) = 0 at every non-integer xx, so ∣f′∣≤1|f'| \le 1 wherever f′f' exists. Yet on [12,1]\left[\frac{1}{2}, 1\right]: ∣f(1)−f(12)∣=∣1−0∣=1>12|f(1) - f(\frac{1}{2})| = |1 - 0| = 1 > \frac{1}{2}. The jump at 11 is where the function changes, and no derivative sees it. Correct statement: if ff is continuous on [a,b][a, b], differentiable on (a,b)(a, b), and ∣f′(x)∣≤1|f'(x)| \le 1 there, then ∣f(b)−f(a)∣≤∣b−a∣|f(b) - f(a)| \le |b - a|, by the Mean Value Theorem as in Exercise 4.

d) FALSE. f(x)=1−x2/3f(x) = 1 - x^{2/3} has roots −1-1 and 11, since (±1)2/3=1(\pm 1)^{2/3} = 1. For x≠0x \ne 0, f′(x)=−23x1/3f'(x) = -\frac{2}{3x^{1/3}}, never 00, and f′(0)f'(0) does not exist: the graph has a cusp at the top. Rolle's hypothesis (2) fails at one point and the conclusion goes with it. Correct statement: if ff is continuous on [r1,r2][r_1, r_2] and differentiable on (r1,r2)(r_1, r_2), where r1<r2r_1 < r_2 are roots, then f′f' has a root in (r1,r2)(r_1, r_2). For a polynomial the hypotheses always hold, which is why the statement feels true.

e) FALSE. f(x)=x3f(x) = x^3 on [−2,2][-2, 2]: the chord slope is 8−(−8)4=4\frac{8 - (-8)}{4} = 4, and 3c2=43c^2 = 4 gives c=±23=±233c = \pm\frac{2}{\sqrt 3} = \pm\frac{2\sqrt 3}{3}, both in (−2,2)(-2, 2), since 43<4\frac{4}{3} < 4. Two values. Correct statement: there is AT LEAST one cc. In a question that asks for all the numbers cc, stopping at the first one found is a lost mark; in a proof, assuming uniqueness is a lost argument.

Exercise 9: Average speed cameras: the theorem that writes the ticket

On some highways, speed is not measured at one point: two gantries A and B, 3030 km apart, photograph each vehicle and record the times. The speed limit is 100100 km/h. A car passes gantry A at 14:00 and gantry B at 14:15. Let s(t)s(t) be its position along the road, in km from A, at time tt; the motion is continuous and ss is differentiable, its derivative being the speed shown on the speedometer.

The figure shows ONE possible graph of ss (time in minutes after 14:00), for part e).

1234567891011121314151648121620242832stoppedchord: 30 km in 15 mingantry B at s = 30t (min)s (km)
  • a) Compute the average speed between the gantries and prove, naming the theorem and its hypotheses, that at some instant the car was driving at exactly 120120 km/h.
  • b) The driver shows that the cameras measured 100100 km/h at each gantry. Does this invalidate a)?
  • c) A truck whose speed is limited by its governor to 9090 km/h passes gantry A at 9:00. Prove that it cannot pass gantry B before 9:20.
  • d) The driver of a) now claims to have been stopped by an accident from 14:05 to 14:08. Assuming this is true, prove that at some instant the car was driving at 150150 km/h or more.
  • e) On the figure, the car covers 1111 km before the stop and 1919 km after it. On which stretch does the Mean Value Theorem guarantee a speed of 150150 km/h or more for this graph? Can the police say at what instant, and for how long, the limit was exceeded?

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 301/4=120\frac{30}{1/4} = 120 km/h; MVT on [0,14]\left[0, \frac{1}{4}\right] gives s′(c)=120s'(c) = 120.
  • b) No: the theorem gives an instant strictly between the gantries, whatever the speeds at the ends.
  • c) 30=s′(c) T≤90T30 = s'(c)\,T \le 90T, so T≥13T \ge \frac{1}{3} h =20= 20 min.
  • d) d1+d2=30d_1 + d_2 = 30; if both averages were below 2.52.5 km/min, d1<12.5d_1 < 12.5 and d2<17.5d_2 < 17.5: contradiction.
  • e) Second stretch: 197\frac{19}{7} km/min =11407= \frac{1140}{7} km/h >150> 150. Neither the instant nor the duration.

a) The car covers 3030 km in 1515 minutes, that is 14\frac{1}{4} hour: average speed 301/4=120\frac{30}{1/4} = 120 km/h. Measure tt in hours from 14:00. The position ss is continuous on [0,14]\left[0, \frac{1}{4}\right] and differentiable on (0,14)\left(0, \frac{1}{4}\right), as the statement says of any motion. By the Mean Value Theorem there is cc in (0,14)\left(0, \frac{1}{4}\right) with s′(c)=s(1/4)−s(0)1/4−0=30−01/4=120s'(c) = \frac{s(1/4) - s(0)}{1/4 - 0} = \frac{30 - 0}{1/4} = 120. At that instant the speedometer showed exactly 120120 km/h, above the limit of 100100: the offence is proved, although no camera saw the car speeding. Average speed cameras rest on exactly this theorem.

b) No. The theorem guarantees an instant cc STRICTLY between the gantries where s′(c)=120s'(c) = 120; the speeds at the two endpoints, s′(0)s'(0) and s′(14)s'\left(\frac{1}{4}\right), play no role in it and may be anything. On the figure the car passes each gantry at 100100 km/h (the slope at both ends is 53\frac{5}{3} km per minute) and still has to drive faster in between to cover 3030 km in 1515 minutes. Slowing down in front of the gantries changes the photographs, not the average.

c) Let TT be the time in hours taken by the truck, with s(0)=0s(0) = 0 and s(T)=30s(T) = 30. By the Mean Value Theorem on [0,T][0, T], 30=s(T)−s(0)=s′(c) T30 = s(T) - s(0) = s'(c)\,T for some cc in (0,T)(0, T), and s′(c)≤90s'(c) \le 90, so 30≤90T30 \le 90T and T≥3090=13T \ge \frac{30}{90} = \frac{1}{3} hour, that is 2020 minutes. The truck cannot pass gantry B before 9:20. This is the inequality form of the theorem: a bound on the speed at every instant bounds the distance covered.

d) Work in km and minutes, with t=0t = 0 at 14:00: the car moves on [0,5][0, 5] and [8,15][8, 15] and stands still on [5,8][5, 8]. Let d1=s(5)−s(0)d_1 = s(5) - s(0) and d2=s(15)−s(8)d_2 = s(15) - s(8); since s(8)=s(5)s(8) = s(5), d1+d2=30d_1 + d_2 = 30. The Mean Value Theorem on [0,5][0, 5] gives an instant where the speed is d15\frac{d_1}{5} km per minute, and on [8,15][8, 15] an instant where it is d27\frac{d_2}{7}. Suppose both were below 2.52.5 km per minute, that is 150150 km/h: then d1<12.5d_1 < 12.5 and d2<17.5d_2 < 17.5, so d1+d2<30d_1 + d_2 < 30, a contradiction. Hence one of the two instants has a speed of at least 2.52.5 km per minute, 150150 km/h. The alibi makes the case worse: 3030 km in the 1212 minutes of actual driving is an average of 150150 km/h.

e) For the graph shown, the first stretch has average speed 115=2.2\frac{11}{5} = 2.2 km per minute, 132132 km/h, and the second 197\frac{19}{7} km per minute, that is 19×607=11407\frac{19 \times 60}{7} = \frac{1140}{7} km/h, more than 162162 km/h since 7×162=1134<11407 \times 162 = 1134 < 1140. So for THIS graph the Mean Value Theorem places a speed above 150150 km/h on the second stretch, between 14:08 and 14:15. For another car with d1=15d_1 = 15, the first stretch would carry it, at 33 km per minute. As for when and how long: the theorem gives neither. It asserts that an instant exists; it does not say at what time, and a speed above the limit may have lasted two seconds or ten minutes. The ticket is for exceeding the limit, and existence is all it needs.

Exercise 10: A final exam question: exactly three roots, and one of them pinned down

A graphing program draws y=x5−5x+1y = x^5 - 5x + 1 as in the figure: three crossings of the axis. A picture is not a proof, and on the final exam you have no graphing program. This question is the shape of a long final exam problem: existence, then an upper bound on the number of roots, then a guaranteed location, all without a calculator.

Let fk(x)=x5−5x+kf_k(x) = x^5 - 5x + k, where kk is a constant, and f=f1f = f_1.

-2.5-2-1.5-1-0.50.511.522.5-24-18-12-66121824y = x⁵ - 5x + 1x
  • a) Prove that f(x)=x5−5x+1f(x) = x^5 - 5x + 1 has at least three real roots, and locate each between two consecutive integers.
  • b) Prove that ff has at most three real roots.
  • c) Let rr be the root in (0,1)(0, 1). Show that 0<r<140 < r < \frac{1}{4}, then apply the Mean Value Theorem on [0,r][0, r] to prove that 15<r<2561275\frac{1}{5} < r < \frac{256}{1275}.
  • d) Prove that for every kk with −4<k<4-4 < k < 4, the equation x5−5x+k=0x^5 - 5x + k = 0 has exactly three real roots.
  • e) For k=4k = 4, check that f4(x)=(x−1)2(x3+2x2+3x+4)f_4(x) = (x - 1)^2(x^3 + 2x^2 + 3x + 4) and find how many distinct real roots f4f_4 has. Why does the argument of d) break down?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
e)
Show the solution

Answers

  • a) f(−2)=−21f(-2) = -21, f(−1)=5f(-1) = 5, f(0)=1f(0) = 1, f(1)=−3f(1) = -3, f(2)=23f(2) = 23: roots in (−2,−1)(-2, -1), (0,1)(0, 1), (1,2)(1, 2).
  • b) Four roots would give three zeros of f′(x)=5(x2+1)(x−1)(x+1)f'(x) = 5(x^2 + 1)(x - 1)(x + 1), which has two.
  • c) f(14)=−2551024<0f\left(\frac{1}{4}\right) = -\frac{255}{1024} < 0; r=15−5c4r = \frac{1}{5 - 5c^4} with 0<c<140 < c < \frac{1}{4}, so 15<r<2561275\frac{1}{5} < r < \frac{256}{1275}.
  • d) fk(−2)<0<fk(−1)f_k(-2) < 0 < f_k(-1), fk(1)<0<fk(2)f_k(1) < 0 < f_k(2), and the bound of b) holds for every kk.
  • e) Two distinct roots: 11 (double) and one in (−2,−1)(-2, -1). The sign change at 11 disappears.

a) ff is a polynomial, so continuous on R\mathbb{R}. Its values: f(−2)=−32+10+1=−21f(-2) = -32 + 10 + 1 = -21, f(−1)=−1+5+1=5f(-1) = -1 + 5 + 1 = 5, f(0)=1f(0) = 1, f(1)=1−5+1=−3f(1) = 1 - 5 + 1 = -3, f(2)=32−10+1=23f(2) = 32 - 10 + 1 = 23. The sign changes on [−2,−1][-2, -1], on [0,1][0, 1] and on [1,2][1, 2], so by the Intermediate Value Theorem on each of these three intervals there is a root in (−2,−1)(-2, -1), one in (0,1)(0, 1) and one in (1,2)(1, 2). The open intervals are disjoint, so these are three DIFFERENT roots. Note that [−1,0][-1, 0] shows no sign change, and the IVT says nothing there, neither yes nor no.

b) f′(x)=5x4−5=5(x2−1)(x2+1)=5(x−1)(x+1)(x2+1)f'(x) = 5x^4 - 5 = 5(x^2 - 1)(x^2 + 1) = 5(x - 1)(x + 1)(x^2 + 1), and since x2+1>0x^2 + 1 > 0, f′f' has exactly two real zeros, −1-1 and 11. Suppose ff had four roots r1<r2<r3<r4r_1 < r_2 < r_3 < r_4. Rolle's theorem on [r1,r2][r_1, r_2], [r2,r3][r_2, r_3] and [r3,r4][r_3, r_4], whose hypotheses a polynomial meets, gives three zeros of f′f' in three disjoint open intervals, hence three distinct zeros. Contradiction: ff has at most three real roots, and with a), exactly three.

c) f(0)=1>0f(0) = 1 > 0 and f(14)=11024−54+1=1−1280+10241024=−2551024<0f\left(\frac{1}{4}\right) = \frac{1}{1024} - \frac{5}{4} + 1 = \frac{1 - 1280 + 1024}{1024} = -\frac{255}{1024} < 0, so the IVT gives a root in (0,14)\left(0, \frac{1}{4}\right); since ff has only one root in (0,1)(0, 1), by b), it is rr. Now apply the Mean Value Theorem to ff on [0,r][0, r]: f(r)−f(0)=f′(c) rf(r) - f(0) = f'(c)\,r for some cc in (0,r)(0, r), that is −1=(5c4−5) r-1 = (5c^4 - 5)\,r, so r=15−5c4r = \frac{1}{5 - 5c^4}. From 0<c<r<140 < c < r < \frac{1}{4}: 0<c4<12560 < c^4 < \frac{1}{256}, hence 5−5256<5−5c4<55 - \frac{5}{256} < 5 - 5c^4 < 5, that is 1275256<5−5c4<5\frac{1275}{256} < 5 - 5c^4 < 5, and taking reciprocals reverses the inequalities: 15<r<2561275\frac{1}{5} < r < \frac{256}{1275}. Since 2561275−15=11275\frac{256}{1275} - \frac{1}{5} = \frac{1}{1275}, the root is pinned down to within 11275\frac{1}{1275}, less than 0.0010.001, by hand. The unknown cc did its job without ever being found.

d) fkf_k is a polynomial for every kk. fk(−2)=−22+k<0f_k(-2) = -22 + k < 0 and fk(2)=22+k>0f_k(2) = 22 + k > 0 because ∣k∣<4<22|k| < 4 < 22; fk(−1)=4+k>0f_k(-1) = 4 + k > 0 because k>−4k > -4; fk(1)=k−4<0f_k(1) = k - 4 < 0 because k<4k < 4. So fkf_k changes sign on [−2,−1][-2, -1], [−1,1][-1, 1] and [1,2][1, 2], and the IVT gives three roots in three disjoint open intervals. The derivative fk′=f′f_k' = f' does not depend on kk, so the argument of b) gives at most three roots for every kk. Exactly three. The values fk(−1)=4+kf_k(-1) = 4 + k and fk(1)=k−4f_k(1) = k - 4 are the heights at the two points where the tangent is horizontal, and the condition −4<k<4-4 < k < 4 says that they have opposite signs.

e) Expanding, (x2−2x+1)(x3+2x2+3x+4)=x5+2x4+3x3+4x2−2x4−4x3−6x2−8x+x3+2x2+3x+4=x5−5x+4(x^2 - 2x + 1)(x^3 + 2x^2 + 3x + 4) = x^5 + 2x^4 + 3x^3 + 4x^2 - 2x^4 - 4x^3 - 6x^2 - 8x + x^3 + 2x^2 + 3x + 4 = x^5 - 5x + 4. So 11 is a root, and a double one. For g(x)=x3+2x2+3x+4g(x) = x^3 + 2x^2 + 3x + 4: g(−2)=−2<0<2=g(−1)g(-2) = -2 < 0 < 2 = g(-1) gives a root in (−2,−1)(-2, -1), and g′(x)=3x2+4x+3g'(x) = 3x^2 + 4x + 3 has discriminant 16−36<016 - 36 < 0, so g′>0g' > 0 never vanishes and, by Rolle, gg has no second root. Also g(1)=10≠0g(1) = 10 \ne 0. So f4f_4 has exactly two distinct real roots: 11 and one number in (−2,−1)(-2, -1). The argument of d) needed fk(1)<0f_k(1) < 0; at k=4k = 4, f4(1)=0f_4(1) = 0 and the graph touches the axis at x=1x = 1 without crossing it, so two of the three sign changes merge into a single tangency. The upper bound of b) still holds, three at most; it is the existence part that loses a root.

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/math140-mean-value-theorem. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

Struggling with MATH 140?

I tutor first-year calculus at McGill and Concordia, in English or in French, in Montreal or online. Get in touch for a first session.

Site by Studio Squalli