← Return to lesson

Class materials · 8.1

Finding the Average Value of a Function on an Interval

Lecture transcript

0:00

A car starts from a stop and speeds up for six seconds. Its speed is t squared feet per second: zero at the start, thirty-six at six seconds. A second car sits on cruise control: one steady speed, the same six seconds, the same distance. What speed is that? Your gut says: halfway, eighteen. Hold that thought. Today we'll see where the real answer comes from, find the moment the speedometer actually reads it, and learn to keep two different averages apart.

0:33

Let's go get that five. Here's the speed curve. The distance is the area under it, from zero to six. That's t cubed over three, from zero to six: six cubed over three, seventy-two feet. Now the cruise-control car: one steady speed s for all six seconds. On the graph, that's a flat line, a rectangle, s by six. Same distance, same area: seventy-two. So s is twelve feet per second.

1:06

So halfway, eighteen? No. The car spends more of those six seconds going slow than going fast. So the steady speed is the area divided by the width: one over six minus zero, times the integral from zero to six of v. Seventy-two over six. Twelve. Now trade the car's numbers for letters. Zero becomes a, six becomes b, and v becomes any continuous function f.

1:36

The same steps: one over b minus a, the width, times the integral from a to b of f. That steady height has a name: the average value of f on that interval. And notice the units. Speed in, average speed out: twelve feet per second, the same units as v. Here's a fair question: did the speedometer ever read exactly twelve? To answer it for any f, take an antiderivative, capital F, so F prime is f.

2:09

For the car, F is its position. Then the integral from a to b of f is F of b minus F of a. So the average value is F of b minus F of a, over b minus a. That's the slope of a secant line of F. Now the Mean Value Theorem, from Unit 5. F is differentiable, because F prime is f. So it's continuous too. Picture it with the car. F is the position, t cubed over three, and the yellow secant has slope seventy-two over six: twelve.

2:47

So the theorem gives a tangent with that same slope, at least once, at some c between a and b. And F prime of c is f of c. So f of c is that same slope. Back to the speed graph. The same twelve is a slope on the position graph and a height on the speed graph. So here's the theorem. If f is continuous on the closed interval from a to b, then there's at least one c between a and b

3:19

where f of c equals one over b minus a, times the integral from a to b of f. This is the Mean Value Theorem for Integrals: the same theorem from Unit 5, used on F. For the car, f of c is c squared, and it has to be twelve. c is between zero and six, so it's positive. So c is two root three, root twelve, less than root thirty-six, which is six. Yes, it hits twelve between zero and six.

3:53

Same car. The average value of v is the yellow height, twelve. On the position graph, that was the secant slope of F: seventy-two minus zero, over six minus zero. The average rate of change of v is something else. It uses v itself, just its two ends: zero and thirty-six. Thirty-six minus zero, over six minus zero. That's six, the slope of the pink line. That's six feet per second, per second, on average: how fast the speed itself grew over the six seconds.

4:29

So both averages are slopes, but of different functions. The average value of f is a slope of F, the antiderivative. That's the twelve. The average rate of change of f is a slope of f itself. That's the six: the pink line, not the yellow height. One more check. Speed and flow rate are already rates. Their average speed or average flow rate is still an average value: the integral, divided by the time.

4:59

Take a slope only when the question asks for a rate of change. Example one. The temperature, in degrees Fahrenheit, t hours after nine a.m., is T of t equals fifty, plus six t, minus t squared, for t from zero to six. Part a: find the average temperature over that interval. Part b: find the average rate of change of T over that interval. Part c: find every time t when T of t equals the average temperature.

5:33

Here's T on a graph. The plan. Part a asks for an average temperature. That's a height, so it's the integral over six. Part b asks for a rate of change. That's a slope, so just the two ends. Part a. Put the one sixth in front first: one sixth, times the integral from zero to six of T of t, d t. That's one sixth of fifty t, plus three t squared, minus t cubed over three, from zero to six.

6:06

Plug in six; the zero end just gives zero. Three hundred, plus one hundred eight, minus seventy-two, all over six. Three thirty-six over six: fifty-six degrees. That's the yellow height: the average temperature. Part b uses only the two ends: the pink line. T of six minus T of zero, over six minus zero. Fifty minus fifty, over six: zero. Zero degrees per hour: the pink line is flat.

6:39

It started and ended at fifty, so on average it didn't change. And the average of the two ends, fifty, is not the average temperature either. The warm afternoon pulls it up to fifty-six. Part c asks where the curve meets that yellow height. Pause the video, and try it before I do. Part c: when does T hit its average? The plan: set T of t equal to fifty-six, and solve for t.

7:09

Fifty plus six t minus t squared equals fifty-six. Move everything to one side: t squared minus six t plus six equals zero. It doesn't factor nicely, so use the quadratic formula. Under the root: six squared minus four times six, thirty-six minus twenty-four. That's twelve, so t equals six, plus or minus root twelve, over two. Root twelve is two root three, so t is three plus or minus root three.

7:41

Two yellow dots on the curve. So t equals three plus or minus root three. Are both inside zero to six? Root three is less than three, so yes, both. More of these are in your workbook. Get the height first, then find where the function hits it. Try them before you look at the solutions. Before the next example, look at part a of example one again. It has two traps.

8:12

This is where people lose points. Trap one, a wrong line: the integral from zero to six of T equals three thirty-six over six, equals fifty-six. It looks fine at a glance. But the integral is three thirty-six, not three thirty-six over six. That first equals sign is false. Trap two, also wrong: the average temperature equals T of six minus T of zero, over six. That's the slope of T itself, its average rate of change.

8:45

It's not T's average height. The fix is one true line: one sixth, times the integral from zero to six of T of t, d t, equals fifty-six. An average value is a height, so it needs the integral. This happened on a real AP exam. On a twenty twenty-three free-response question, the average-value part was worth two points, and an answer that linked its steps with a false equals sign earned only one. Several lines are fine too, as long as every equals sign is true.

9:18

The cleanest habit: write one over b minus a in front of the integral, right from the start. Example two. The graph of f is line segments on zero to six, through the four points listed. What is the average value of f on zero to six? Here's the graph of f. The plan: find the signed area, piece by piece, then divide by the width, six. Area below the axis counts as negative.

9:49

Above the axis first. From zero to two, a triangle: one half, times two, times four. Four. Now below the axis. From two to four, a triangle under it: negative one half, times two, times two. Negative two. One more below. From four to six, a rectangle, two by two. Negative four. Now divide by the width, in one true line. One sixth of the integral is one sixth times the whole sum: four, minus two, minus four.

10:26

Negative one third. So the answer is B: negative one third. That's the yellow line at negative one third. An average height can sit below the axis too. And the traps. Choice A, negative two, is the area: the division by six got skipped. Choice D, five thirds, counts the area below the axis as positive. The graph problems in your workbook go the same way: signed area, then divide by the width.

10:56

A table works the same: estimate the integral with a Riemann or trapezoidal sum, like in 6.2, then divide by the width. So let's go back to the cruise-control car. Its one steady speed was twelve feet per second, not eighteen. That's the average value: area divided by width, one over b minus a, times the integral. If f is continuous on a to b, at least one c in between has f of c equal to the average value.

11:28

The curve really does hit its own average. And keep the two apart. The average value is a slope of F, so it needs the integral. The average rate of change is a slope of f itself, just its two ends. On the exam, put one over b minus a in front, and keep every equals sign true. Height problems and slope problems are both in your workbook. If you get stuck on a step, tell me in the comments. Next up: eight point two, position from velocity. See you there.