Mean value and accumulation · Mathematics Class 11–12 | StemPy Lab
Course 12.3·Lesson 2 of 3
Mean value and accumulation
The mean value of a function on [a,b] is b−a1∫abf(x)dx
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find the mean value of a function on an interval, and the point where the function reaches it;
find the total change of a quantity from its rate;
tell displacement from total distance when the velocity changes sign.
Where this sits. The mean value of a function is not in the Indian syllabus (NCERT Class 12 and JEE Main). Do not mix it up with the mean value theorem for derivatives of Chapter 5. AP Calculus AB and BC include the average value of a function. Some A-Level Further Maths specifications include it, and A-Level Maths and IB use integration of velocity for displacement and distance. Check your own syllabus for the exact list.
The average of a list and the average of a function
The average of n numbers is their sum divided by n. A graph has a height at every point, so it has too many heights to add one by one. We take thin strips instead. The sum of the strip areas is the integral. Dividing by the width b−a gives the average height.
fmean=b−a1∫abf(x)dx
Read it as a picture. The area under the curve equals the area of a rectangle of the same width, whose height is the mean value.
The graph of y = x squared for x from 0 to 3, with the area under it shaded light blue. A red dashed horizontal line at height 3 runs across the graph and is labelled mean value = 3. A green dotted vertical line at x equal to the square root of 3, labelled c, meets the curve at the height 3.
A first example
Find the mean value of f(x)=x2 on [0,3]. The integral is 333=9, and the width is 3, so the mean value is 3.
Notice what the answer is not. It is not f at the middle, which is f(1.5)=2.25. It is not the average of the end heights either, which is 20+9=4.5. The curve is not a straight line, so those shortcuts fail.
The mean value theorem for integrals
If f is continuous on [a,b], its mean value lies between its smallest and its largest value. A continuous function takes every value between those two, by the Intermediate Value Theorem. So there is a point c in [a,b] with f(c)=fmean. For x2 on [0,3] this point is c=3, because c2=3.
Mean values in real life
The mean of a velocity over a time is the mean velocity, in metres per second.
The mean of a power p(t) over a time is the mean power. A heater with p(t)=Psin2(ωt) has mean power 2P, because the mean of sin2 over a full period is 21.
The mean of a temperature over a day is the average temperature of the day.
Accumulation: a total from a rate
A rate tells how much of a quantity arrives in one unit of time. In a short time dt, the amount that arrives is r(t)dt. Adding these small amounts gives the net change theorem:
total change from t=a to t=b=∫abr(t)dt.
The unit of the answer is the unit of the rate times the unit of time. Litres per minute times minutes gives litres. Amperes times seconds gives coulombs. Watts times seconds gives joules. Always bring the time unit of the rate and the time unit of the limits to match.
Displacement and distance
Let a cart move on a line with velocity v(t). The integral of v is the displacement, the change of position. If v is negative for a while, that part counts backwards. The distance travelled counts every metre, forwards or backwards, so it is the integral of the speed ∣v(t)∣. Find the times where v=0 and split the integral there.
A worked example
A cart moves with v(t)=t2−5t+4 metres per second for 0≤t≤5 seconds. Find the displacement and the distance.
Where is v=0?t2−5t+4=(t−1)(t−4), so t=1 and t=4. The velocity is positive on [0,1], negative on [1,4] and positive on [4,5].
An antiderivative.F(t)=3t3−25t2+4t. Then F(1)=611, F(4)=−38 and F(5)=−65, all in metres.
Displacement.F(5)−F(0)=−65 m. The cart ends a little behind its start.
Distance. Take the size of each piece: 611+−38−611+(−65+38)=611+29+611=649 m, about 8.17 m.
Practise with new numbers
Try it in Python
The first program finds the mean value of x2 on [0,3] by averaging more and more heights. The second one adds up vdt and ∣v∣dt for the cart of the worked example.
Common mistakes
Forgetting to divide by b−a. Without it you have the integral, the total, not the mean value.
Averaging the end values. This works only when the graph is a straight line.
Using displacement for distance. When v changes sign, the integral of v is smaller than the distance.
Not splitting at the zeros of v. The integral of ∣v∣ must be done piece by piece.
Mixing time units. A rate per minute needs a time in minutes.
Remember these
Mean value: b−a1∫abf(x)dx. It is the height of the rectangle with the same area.
A continuous function reaches its mean value at some point c.
Total change =∫abr(t)dt, with units of the rate times the unit of time.
Displacement is ∫vdt. Distance is ∫∣v∣dt.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the mean value of f(x)=2x+1 on [1,5]. At which x does f reach it?
Find the mean value of sin2x on [0,π].
A tank fills at the rate r(t)=4t litres per minute. How many litres arrive in the first 5 minutes?
A cart has velocity v(t)=3−t metres per second for 0≤t≤5 seconds. Find the displacement and the distance.
Find the mean value of ex on [0,ln4].
References
OpenStax, Calculus Volume 1, Chapter 5, section 5.3 (the mean value theorem for integrals and the average value of a function).
OpenStax, Calculus Volume 1, Chapter 5, section 5.4 (the net change theorem).
Enroll free in Volumes, Averages and Other Uses of the Integral
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.
, the height of the rectangle with the same area. The integral of a rate over a time gives the total change, so the integral of velocity is displacement, and the integral of speed is distance.
about 35 min2 simulations2 practice questions2 Python programs5 questions to check yourself
This lesson is free to read. Enroll free to keep your place and take the tests.