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.

Main content

Exploring accumulation of change

Definite integrals are interpreted as the accumulation of quantities. Learn why this is so and how this can be used to analyze real-world contexts.
The definite integral can be used to express information about accumulation and net change in applied contexts. Let's see how it's done.

Thinking about accumulation in a real world context

Say a tank is being filled with water at a constant rate of 5 L/min (liters per minute) for 6 min. We can find the volume of the water (in L) by multiplying the time and the rate:
Volume=Time×Rate=6min5Lmin=30minLmin=30L
Now consider this case graphically. The rate can be represented by the constant function r1(t)=5:
Function r sub 1 is graphed. Time in minutes is on the x-axis, from 0 to 10. Rate, in liters per minute, is on the y-axis. The graph is a line. The line starts at (0, 5), extends horizontally to the right, and ends at (10, 5).
Each horizontal unit in this graph is measured in minutes and each vertical unit is measured in liters per minute, so the area of each square unit is measured in liters:
minwidthLminheight=Larea
A square represents a unit on a graph. The horizontal width represents minutes and the vertical height represents liters per minute. The area within represents liters. The equation to calculate area is width times height = area, or minutes times liters per minute = liters.
Furthermore, the area of the rectangle bounded by the graph of r1 and the horizontal axis between t=0 and t=6 gives us the volume of water after 6 minutes:
Function r sub 1 is graphed. A rectangular area under the line is shaded. The area extends from 0 to 6 minutes and from 0 to 5 liters per minute . The area of the rectangle is calculated as 6 minutes times 5 liters per minute = 30 liters.
Now say another tank is being filled, but this time the rate isn't constant:
r2(t)=6sin(0.3t)
Function r sub 2 is graphed. Time in minutes is on the x-axis, from 0 to 10. Rate, in liters per minute, is on the y-axis. The graph is a curve. The curve starts at (0, 0), moves upward concave down to about (5.2, 6), moves downward concave down, and ends at about (10, 0.8).
How can we tell the volume of water in this tank after 6 minutes? To do that, let's think about the Riemann sum approximation of the area under this curve between t=0 and t=6. For the sake of convenience, let's use an approximation where each rectangle is 1 minute wide.
The previous function, r sub 2, is graphed. Six rectangular bars, each 1 unit, or 1 minute, wide rise vertically from the horizontal axis to the curve from 0 to 6 minutes. Each bar moves upward so that its top right vertex touches the curve. The top left vertex for the five rectangles from 0 to 5 are outside of the curve. Each rectangle has less outside of the curve than the previous. The sixth is completely within the curve. From left to right, the rectangles have the following approximate heights. 1.8, 3.4, 4.7, 5.6, 6, 5.9.
We saw how each rectangle represents a volume in liters. Specifically, each rectangle in this Riemann sum is an approximation of the volume of water that was added to the tank at each minute. When we add all the areas, i.e. when all the volumes are accumulated, we get an approximation for the total volume of water after 6 minutes.
As we use more rectangles with smaller widths, we will get a better approximation. If we take this to a limit of accumulating infinite rectangles, we will get the definite integral 06r2(t)dt. This means that the exact volume of water after 6 minutes is equal to the area bounded by the graph of r2 and the horizontal axis between t=0 and t=6 .
Function r sub 2 is graphed. The area between the curve and the t-axis, between t = 1 and t = 6, is shaded.
And so, integral calculus allows us to find the total volume after 6 minutes:
06r2(t)dt24.5L

Definite integral of the rate of change of a quantity gives the net change in that quantity.

In the example we saw, we had a function that describes a rate. In our case, it was the rate of volume over time. The definite integral of that function gave us the accumulation of volume—that quantity whose rate was given.
Another important feature here was the time interval of the definite integral. In our case, the time interval was the beginning (t=0) and 6 minutes after that (t=6). So the definite integral gave us the net change in the amount of water in the tank between t=0 and t=6.
These are the two ways we commonly think about definite integrals: they describe an accumulation of a quantity, so the entire definite integral gives us the net change in that quantity.

Why "net change" in the quantity and not simply the quantity?

Using the above example, notice how we weren't told whether there was any amount of water in the tank prior to t=0. If the tank was empty, then 06r2(t)dt24.5L is really the amount of water in the tank after 6 minutes. But if the tank already contained, say, 7 liters of water, then the actual volume of water in the tank after 6 minutes is:
7volume at t=0+06r2(t)dtchange in volume from t=0 to t=6
This is approximately 7+24.5=31.5 L.
Remember: The definite integral always gives us the net change in a quantity, not the actual value of that quantity. To find the actual quantity, we need to add an initial condition to the definite integral.
Problem 1.A
Problem set 1 will walk you through the process of analyzing a context that involves accumulation:
At time t, a population of bacteria grows at the rate of r(t) grams per day, where t is measured in days.
Function r is graphed. Time in days is on the x-axis, from 0 to 10. Growth rate, in grams per day, is on the y-axis. The graph is a curve. The curve starts at (0, 1), moves upward concave up through (8, 5), and ends at about (10, 7.3). The area between the curve and the x-axis, between t = 0 and t = 8, is shaded.
What are the units of the quantity represented by the definite integral 08r(t)dt?
Choose 1 answer:

Common mistake: Using inappropriate units

As with all applied word problems, units play an important role here. Remember that if r is a rate function measured in Quantity AQuantity B, then its definite integral is measured in Quantity A.
For example, in Problem set 1, r was measured in gramsday, and so the definite integral of r was measured in grams.
Problem 2
Eden walked at a rate of r(t) kilometers per hour (where t is the time in hours).
What does 23r(t)dt=6 mean?
Choose 1 answer:

Common mistake: Misinterpreting the interval of integration

For any rate function r, the definite integral abr(t)dt describes the accumulation of values between t=a and t=b.
A common mistake is to disregard one of the boundaries (usually the lower one), which results in a wrong interpretation.
For example, in Problem 2, it would be a mistake to interpret 23r(t)dt as the distance Eden walked in 3 hours. The lower boundary is 2, so 23r(t)dt is the distance Eden walked between the 2nd hour and the 3rd hour. Furthermore, in cases like that where the time interval is exactly one unit, we usually say "during the 3rd hour."
Problem 3
Julia's revenue is r(t) thousand dollars per month (where t is the month of the year). Julia had made 3 thousand dollars in the first month of the year.
What does 3+15r(t)dt=19 mean?
Choose 1 answer:

Common mistake: Ignoring initial conditions

For a rate function f and an antiderivative F, the definite integral abf(t)dt gives the net change in F between t=a and t=b. If we add an initial condition, we will get an actual value of F.
For example, in Problem 3, 15r(t)dt represents the change in the amount of money Julia made between the 1st and the 5th months. But since we added 3, which is the amount Julia had at the 1st month, the expression now represents the actual amount in the 5th month.

Connection with applied rates of change

In differential calculus, we learned that the derivative f of a function f gives the instantaneous rate of change of f for a given input. Now we're going the other way! For any rate function f, its antiderivative F gives the accumulated value of the quantity whose rate is described by f.
QuantityRate
Differential calculusf(x)f(x)
Integral calculusF(x)=axf(t)dtf(x)
Problem 4
The function k(t) gives the amount of ketchup (in kilograms) produced in a sauce factory by time t (in hours) on a given day.
What does 04k(t)dt represent?
Choose 1 answer:

Want more practice? Try this exercise.

Want to join the conversation?

  • starky tree style avatar for user Jeff Ma
    In cases where the time interval is exactly one unit (e.g. [2,3]), why do we usually say "during the third hour" instead of "during the second hour"?

    EDIT: Specifically, in the example where Eden walks "between the 2nd hour and the 3rd hour", wouldn't it make more sense to say "during the 2nd hour" because the first statement implies that Eden walked from the start of the 2nd hour to the start of the 3rd hour?
    (30 votes)
    Default Khan Academy avatar avatar for user
    • piceratops ultimate style avatar for user Garret Cervantez
      Think about if you were waiting for a friend. Waiting for your friend for the first hour would be from time 0-1, waiting for your friend for the second hour would be 1-2, and waiting for your friend for the third hour would be between 2-3. You may want to find a new friend though if he makes you wait that long.

      Time in centuries is similar. Between the years 0-99 AD is the first century, 100-199 is the second century, etc.
      (177 votes)
  • blobby green style avatar for user richard.monjed
    For the the calculation of the integral of r2(t)=6sin(0.3t) under "Thinking about accumulation in a real world context," why is the 6 divided by 0.3?

    Sorry, the answer given under Ryan's comment is not loading. Can someone please explain it? Thank you
    (23 votes)
    Default Khan Academy avatar avatar for user
  • hopper jumping style avatar for user Ryan Bose-Roy
    For the the calculation of the integral of r2(t)=6sin(0.3t) under "Thinking about accumulation in a real world context," why is the 6 divided by 0.3?
    (15 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Vicki R
    In problem 4... Why is the function in the integral called k′ instead of k?

    k is already a rate function, and in your other rate problems, like problem 2, you didn't make the rate function a derivative when writing the integral notation.
    (7 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user francklineotienofranckline
    what is the difference between definate integral calculus and indefinate integral calculus
    (4 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user elaw3670
    Why is the final problem 0~4 k′(t)dt, when the answer is, "The amount of ketchup produced over the first 4 hours"? To match that answer, shouldn't the integral be, 0~4 k(t)dt (while 0~4 k′(t)dt would be the accumulated rates of change over the first four hours -- or nothing at all if that notation does not apply to integrals)?
    (5 votes)
    Default Khan Academy avatar avatar for user
    • blobby green style avatar for user Matteo Europeo
      k(t) is not the amount of ketchup produced per hour (as it was the case in all previous examples); k(t) is the amount of ketchup produced during n hours.
      That is why k'(t) is now the rate of ketchup production, so that its integral is the "area under the curve", or the total amount of ketchup produced over n hours.
      Basically the integral gives you the area under the curve, starting from the rate of change. If the function allows you to calculate the volume (as in this example), you first take its derivative (which gives you the rate of change) and then the integral of its derivative (to go back to the calculation of the volume). We have done a full loop here..
      In reality you could have simply found k(t) at t=4 to have the same final answer...
      (9 votes)
  • blobby green style avatar for user bertil
    where did the 6sin(0.3) = 6/(0.3) [cos1.8] come from?
    (5 votes)
    Default Khan Academy avatar avatar for user
  • blobby green style avatar for user Aasharya
    What does DT or dx means in this equation?
    (3 votes)
    Default Khan Academy avatar avatar for user
  • aqualine ultimate style avatar for user Liang
    in problem 3, "between the 1st and the 5th months" means 4 months, right? From month 0 to month 1 is the 1st month.

    in "Common mistake: Ignoring initial conditions" section, it also uses the term antiderivative, which hasn't been taught in this course.
    (3 votes)
    Default Khan Academy avatar avatar for user
    • male robot donald style avatar for user Venkata
      Ahh not quite. When we say months 1 to 5, we mean the ending of month 1 to the end of month 5 (which does still account for 4 months though). The "3" in the question is the income from the end of month 0 the end of month 1 though. It's kinda confusing notation, so I hope I explained it well enough😅

      The antiderivative is pretty much the inverse of a derivative. If you apply the derivative to f(x), you get f'(x). And if you apply the antiderivative to f'(x), you get f(x) again (Pretty much how inverses work). The future lessons should cover it in depth (especially when you reach the "Fundamental Theorem of Calculus"). Just remember that the integral and the antidervative are different things. Many use them synonymously
      (5 votes)
  • old spice man green style avatar for user Usul
    I'm confused by the last part. There hasn't been any lessons on antiderivatives previously. It would be better to describe antiderivatives before this lesson, at least a basic idea of it not using integral calculus, just the concept with plain English. I hope there will be more clarification in the next lessons, and I hope you put more explanations or better yet, videos for the future generations. 🖐
    (3 votes)
    Default Khan Academy avatar avatar for user