If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

## AP®︎/College Calculus AB

### Course: AP®︎/College Calculus AB>Unit 6

Lesson 1: Exploring accumulations of change

# Worked example: accumulation of change

An example relating rates of change with a leaky bathtub. Created by Sal Khan.

## Want to join the conversation?

• What if the graph was a curve? why is the integral of the function equal to the area function of the curve? like why is the area function of y=2x be x^2? i don't get how integrating a function can give you the area of the function :( • Really Great Questions. It is just as great that you are thinking this way! Your questions will be answered in the very next section of videos called "Riemann Sums", which will guide your intuition of how when dx, which can be thought of as length along the x axis, times f(x), which can be thought of as the height of the graph above the x axis at x, are multiplied together, they form a width x height = area argument the represents the area of the region under the curve. There is more to it than that, but the Riemann Sum videos will explain it in more detail.
Keep Studying!
• How can you find the area under R(t) when it is discontinuous? • Why did you multiply all of those numbers by 1/2? And why did you use 40 minutes? • The question doesn't indicate what happened to the leak after 20 minutes, by the time the drain valve was opened, the leak was contributing 2 gals / minute as a minimum, but the rate of change on that leak had been linearly increasing at a rate of 1 gal/minute for each 10 minutes leading up to this point.

As the plot does not continue beyond 20 minutes, I calculated both options, with the actual amount of water being in between the two points.

How did the leak stop after the drain valve opened, but before the tub was empty, and how are we to know that this should not be projected going forwards? • What would the area under the curve represent if the Y axis was NOT a rate?
ie. a temperature vs time graph or a position vs time graph.
(1 vote) • The integer always represents the accumulation of the quantity represented by the y-axis over the quantity represented by the x-axis. There are some that are very easy to understand, and other that apparently makes no sense.

In your examples, if the x-axis is time and the y-axis is temperature, the integral would represent the accumulation of temperature that happen in a certain time, this could be useful if you are dealing with a material that absorbs heat and want to know how much heat it has absorbed over a period of time.

Your second example is more complex to find a useful representation, if the x-axis represents time and the y-axis represents position, then the integral represents the total accumulated "position" that something accumulated over time. I really can't think of a useful interpretation of that one.
• I assume leaking and draining are the same thing here, cause we didn't count the gallons of water that was leaking during that 60 minutes. • There's no water leaking after we pull the plug, actually. Before the 20 minute mark, water was coming out without our knowledge (leaking). After we realise that, we pull the plug and now all the water is coming out (draining). So, whatever water would be leaking from t = 20 to t = 60 is a part of the water which is being drained out.

Yeah this isn't much of a Math answer😅The wording can definitely be a bit confusing.
• i tried solving problem myself using Riemann sums (left rule) using rectangles of width 5 for both the curves and i got the answer to be close to 600 gallons.. i realized that the difference should be 90 gallons because the value of the function at t=20 is 2 and not 20. where am i going wrong? • First off, remember that using a Riemann sum with intervals of width 5 is going to lead to an approximation which may be fairly far off from the actual area under the curve. If I write a left-hand approximation using 12 rectangles of width 5, here's what I get:

L_12 = 5(0 + 0.5 + 1 + 1.5 + 2 + 18.75 + 17.5 + 16.25 + 15 + 13.75 + 12.5 + 11.25) = 550

So it does underestimate the exact value, in large part because you are leaving off that highest point. Does that help?
• What is the reason Sal repeats things he says at least 2-3 times? • How would you model the level of water in the bathtub if water was also being put in at different rates?  