Chalk−1

Math · Calculus I · Worked example

Find the average value of a function

Find the average value of f⁡(x)=x2 on [0,3], and find where f takes that value.

f⁡(x)=x2

Use the average value formula

The average value is the integral divided by the length of the interval. It is the height of the rectangle on [0,3] with the same area as the region under the curve.

favg=1b−a∫abf⁡(x)d⁢x

Integrate

x2 is continuous on [0,3], and x3/3 is an antiderivative, so Part 2 applies.

f⁡(x)=x2∫03x2d⁢x=333−033=9

Divide by the width

The interval has length 3−0=3.

93−0=3

Find where f equals its average

x2=3 gives x=3≈1.73, which is in [0,3]. The Mean Value Theorem for integrals guarantees such a point for every function that is continuous on the interval.

3≈1.73

Result

The average value is 3, and f⁡(3)=3, where 3≈1.73.

Your turn

1. One like the example

Find the average value of f⁡(x)=2⁢x+1 on [1,4].

Show the answer and explanation

6.

∫14 (2⁢x+1) d⁢x =(16+4)−(1+1) =18, and 18⁢/3=6. For a linear function the average is the value at the midpoint, and f⁡(2.5)=6 agrees.

f⁡(x)=2⁢x+1∫14(2⁢x+1)d⁢x=(42+4)−(12+1)=18184−1=6
f⁡(x)=2⁢x+1∫14(2⁢x+1)d⁢x=18184−1=6

2. A variation

Find the average value of f⁡(x)=sinx on [0,π]. This time the function is not a polynomial.

Show the answer and explanation

2⁢/⁢π≈0.637.

An antiderivative of sinx is −cosx, so the integral is −cosπ−(−cos0) =1+1 =2. Dividing by the width π gives 2⁢/⁢π≈0.637. The average sits below the peak height 1, as it must.

f⁡(x)=sinx∫0πsinxd⁢x=−cosπ+cos0=22π−0=2π2π≈0.637

3. Somewhere new

A greenhouse’s temperature t hours after 6 a.m. is T⁢(t)=20+6⁢t−t2 °⁢C. Find the average temperature from 6 a.m. to noon, and the times when the temperature equals it.

Show the answer and explanation

The average is 26 °⁢C. It is reached at t=3−3≈1.27 and t=3+3≈4.73, about 7:16 a.m. and 10:44 a.m.

∫06 (20+6⁢t−t2) d⁢t =120+108−72 =156, and 156⁢/6=26 °⁢C. Setting 20+6⁢t−t2=26 gives t2−6⁢t+6=0, so t=3±3. Both times lie in [0,6], as the Mean Value Theorem for integrals promises.

T⁢(t)=20+6⁢t−t2∫06(20+6⁢t−t2)d⁢t=120+108−72=1561566−0=26T⁢(t)=26t=3−3 or ⁢t=3+3
T⁢(t)=20+6⁢t−t2∫06(20+6⁢t−t2)d⁢t=120+108−72=1561566−0=26T⁢(t)=26t=3−3 or ⁢t=3+3

Keep exploring

In Graph, the line y=3 crosses y=x2 at x=3≈1.73. The 3-by-3 rectangle under the line has the same area, 9, as the region under the parabola.

Return to the concept →
Sources and scope

Authored study material. Tool results depend on the stated inputs and model assumptions.

After reading

Try it, then study it

Open the example in its tool to check steps or change values, then review the key terms as flashcards.

See the average height in Graph Check the average in Math Study the 6 key terms Open worked example on a board Fundamental Theorem in Math Reference

Your existing work stays on this device. Examples open as editable copies.