Steply

Mean value theorem for f(x) = x^2 + 4x on [0, 2]

Step by step, with the reason for every step · The mean value theorem / Rolle's theorem · Calculus 1

Step by step

The question

Question: find the number c from the mean value theorem for f(x) = x² + 4x on [0, 2].

f(x) = x2 + 4x

The theorem: for some c between a and b, the slope at c equals the average slope from a to b.

f′(c) = f(b) − f(a)b − a
for some c between a and b

1 Check the conditions

f is a polynomial.

Its graph has no breaks and no sharp corners.

So it is continuous on [0, 2], and smooth between.

The theorem can be used.

a polynomial: no breaks, no corners ✓

The ends: f of 0 is 0.

f(0) = 02 + 4(0) = 0 + 0 = 0

And f of 2 is 12.

f(2) = 22 + 4(2) = 4 + 8 = 12

2 The average slope

The average slope from 0 to 2: the change in f over the change in x.

It is 6.

f(2) − f(0)2 − 0 = 12 − 02 − 0 = 122 = 6

Careful!

Divide by the width, 2 minus 0.

The average slope is 6, not 12.

Careful: not f(2) − f(0) = 12 ✗

3 Find c

The slope: use the power rule.

f′(x) = 2x^(2 − 1) + 4 × 1

Now we have f′(x) = 2x + 4.

= 2x + 4

At c the slope is the average slope: f′(c) = 6.

2c + 4 = 6

Take away 4 on both sides, so they stay equal.

2c = 2

Divide by 2: c = 1.

c = 22 = 1

4 Keep the ones inside

c = 1 is between 0 and 2.

Keep it.

c = 1 between 0 and 2 ✓

So c = 1.

= c = 1

5 Check

Let's check: put c into f′.

We get 6, the average slope.

Right!

f′(1) = 6

Let's look back.

First: check the conditions.

Then: the average slope.

Then: find c.

Then: keep the ones inside.

Last: check.

Answer
= c = 1

Your turn

Try this one yourself, then check:

Find the number c from the mean value theorem for f(x) = x2 + x
Show the answer
c = 2

More from The mean value theorem / Rolle's theorem

The whole lesson: The mean value theorem / Rolle's theorem →