Tutorials › AP Calculus › Using Accumulation to Solve Rate-In/Rate-Out Problems
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Using Accumulation to Solve Rate-In/Rate-Out Problems

Learn how to turn rates of inflow and outflow into an accumulation integral, then use that integral to find the amount of material in a system at a later time.

The Basic Idea: What Goes In Minus What Comes Out

Many AP Calculus problems describe a quantity that changes because material, water, people, money, or some other quantity is entering and leaving a system. These are rate-in/rate-out problems.

The key idea is simple: the quantity in the system increases when more comes in than goes out, and decreases when more goes out than comes in.

If is the rate at which material enters and is the rate at which material leaves, then the net rate of change is:

Once you know the net rate, integration tells you how much the quantity changes over a time interval.

The Accumulation Formula

Suppose a tank contains units of water at time . If water enters at rate and leaves at rate , then the amount of water at time is:

The integral represents the net accumulated change between and . You start with the original amount and add the total net amount that entered the system.

This is one of the most important interpretations of a definite integral in AP Calculus:

So if the rate is measured in gallons per minute and time is measured in minutes, the integral has units of gallons.

A Step-by-Step Method

  1. Identify the initial amount. Find the quantity in the system at the beginning of the interval.
  2. Identify the rate in and rate out. Pay close attention to the units and what each function represents.
  3. Build the net rate. Use .
  4. Integrate the net rate over the appropriate time interval.
  5. Add the accumulated change to the initial amount.
  6. Check the units. The final answer should be in units of the quantity being measured, not units of rate.

Worked Examples

Example 1: Water Entering and Leaving a Tank

A tank initially contains 500 gallons of water. Water enters the tank at a rate of gallons per minute and leaves at a rate of gallons per minute. How much water is in the tank after 10 minutes?

Step 1: Initial amount:
Step 2: Net rate of change:
Step 3: Accumulated change over the first 10 minutes:
Step 4: Evaluate:
Result:
Example 2: Finding the Amount at an Intermediate Time

A reservoir contains 2,000 liters of water at time . Water enters at rate liters per hour and leaves at rate liters per hour. Find the amount of water in the reservoir at hours.

Step 1: The net rate is:
Step 2: Accumulated change from time 0 to time 4:
Step 3: The amount at time 4 is the initial amount plus the accumulated change:
Result:
Example 3: When the Amount Is Decreasing

A tank contains 800 gallons of liquid at time . The liquid enters at rate gallons per minute and leaves at rate gallons per minute. Find the amount in the tank after 5 minutes.

Step 1: Net rate:
Step 2: Notice that the net rate is negative. This means the tank is losing liquid:
Step 3: Accumulated change:
Step 4: Final amount:
Result:
Example 4: Finding When the Amount Is Largest

A tank contains water with inflow rate and outflow rate , where time is measured in hours. At what time between 0 and 6 hours is the amount of water in the tank greatest?

Step 1: The amount in the tank is increasing when the net rate is positive and decreasing when the net rate is negative. Therefore, examine:
Step 2: Find where the net rate is zero:
Step 3: Solving gives:
Step 4: The net rate changes from positive to negative at this time, so the amount reaches a maximum there.
Result:

The Most Important Interpretation: Net Accumulation

It is easy to think of an integral as simply "something you calculate." On the AP exam, the interpretation is often more important than the calculation.

If is the net rate of change, then:

This tells you that the definite integral gives the net change in the quantity. It does not necessarily give the final amount by itself.

To obtain the final amount, use:

Rate In vs. Rate Out: Keep the Signs Straight

One of the easiest ways to make a mistake is to use the wrong sign for the outflow.

If represents the rate entering and represents the rate leaving, then the net rate is:

You do not need to make the outflow function negative yourself if it is already described as a positive rate of leaving. The subtraction accounts for the fact that material is leaving the system.

Adding the outflow instead of subtracting it

If water enters at 20 gallons per minute and leaves at 8 gallons per minute, the tank is changing at , not . Leaving the system reduces the amount inside.

Forgetting the initial amount

The integral gives the change in the quantity. If the tank started with 500 gallons, you must add that initial 500 gallons to the accumulated change to find the final amount.

Confusing rate with amount

A rate such as gallons per minute is not an amount of water. Integrating a rate over time converts the units into gallons. Always check your units before giving the final answer.

Using the wrong time interval

If the problem asks for the amount at time 8 and gives the initial amount at time 2, your accumulation integral must run from 2 to 8, not from 0 to 8.

When Is the Quantity Increasing or Decreasing?

The same rate-in/rate-out setup can answer questions about when the amount is increasing or decreasing.

Let be the amount in the system. Then:

Therefore:

This is especially useful for questions asking when a tank has its maximum or minimum amount. Look for where the net rate changes sign.

A Useful AP Calculus Shortcut

When you see a problem involving material entering and leaving a system, immediately write:

Then ask three questions:

  1. What is the initial amount?
  2. What is the net rate?
  3. What time interval should I accumulate over?

Once those three pieces are identified, most rate-in/rate-out accumulation problems become straightforward.

Practice Problems

Question 1

A tank initially contains 300 gallons of water. Water enters at gallons per minute and leaves at gallons per minute. How much water is in the tank after 6 minutes?

Show answer
Question 2

A reservoir contains 1,500 liters at time . The net rate of change is liters per hour. Find the amount in the reservoir at time .

Show answer
Question 3

A tank has inflow rate and outflow rate . At what time is the amount in the tank greatest on the interval ?

Show answer
Question 4 (Interpretation)

The rate at which water enters a tank is gallons per minute and the rate at which water leaves is gallons per minute. Explain the meaning of .

Show answer

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon