Tutorials › AP Calculus › Setting Up Integrals from Word Problems: A Step-by-Step Method
← All AP Calculus Tutorials
AP Calculus AB & BC Intermediate

Setting Up Integrals from Word Problems: A Step-by-Step Method

A practical method for translating words into definite integrals. Learn how to identify the quantity being accumulated, choose the correct rate or function, determine the limits, and write the integral before doing any unnecessary computation.

Why Setting Up the Integral Is Often the Hardest Part

Many AP Calculus integration problems are not really testing whether you can integrate. They are testing whether you can translate a situation into mathematics.

A word problem might describe water flowing into a tank, bacteria growing, a particle moving, a region bounded by curves, or a force acting on an object. The wording changes, but the mathematical structure is often the same: find the amount contributed by many small pieces and add those pieces together.

The definite integral is the tool that performs that accumulation:

The most important skill is therefore not memorizing dozens of formulas. It is learning to ask the right questions about the words in the problem.

The Four Questions to Ask First

  1. What quantity am I trying to find? Total distance? Total amount of water? Area? Volume? Total change?
  2. What is being accumulated? Usually this is a rate, density, height, width, or another quantity describing each small piece.
  3. What variable am I accumulating with respect to? Look carefully at the units and the interval.
  4. What are the limits? The lower and upper limits should describe the starting and ending values of the variable of integration.

Once you can answer those four questions, the integral is usually much easier to construct.

The Master Pattern: Amount = Integral of Rate

The most useful general pattern for word problems is:

For example, if is a rate measured in gallons per minute, then integrating it with respect to time produces gallons:

This is the basic idea behind accumulation problems. A rate tells you how fast something is changing. Integration adds that change over an interval.

A Five-Step Method

Step 1: Identify the target quantity

Read the final question before doing any calculations. Circle or mentally identify exactly what the problem wants.

Words such as total, amount, accumulated, change, area, and volume are strong signals that an integral may be needed.

Step 2: Identify the quantity being accumulated

Look for the function or rate that describes what happens over a small interval. If the problem gives a rate of water entering a tank, that rate is the quantity you integrate.

If the problem gives a height and width of thin rectangles, the product of those dimensions may be the quantity you integrate.

Step 3: Choose the variable of integration

The variable matters. If a rate is given as a function of time, integrate with respect to time. If a region is described using vertical slices, integrating with respect to is often natural. For horizontal slices, may be more convenient.

Step 4: Determine the limits

The limits tell you where accumulation begins and ends. If a tank is filling from to minutes, those are the natural limits of a time integral.

Step 5: Write the integral and check the units

Before evaluating anything, check the units. Units are one of the best ways to catch a setup error.

If the integrand has units of gallons per minute and has units of minutes, then the result should have units of gallons.

Worked Examples

Example 1: Accumulation from a Rate

Water flows into a tank at a rate of gallons per minute, where is measured in minutes. How much water enters the tank from to minutes?

Step 1: Target quantity: the total amount of water entering the tank.
Step 2: Accumulated quantity: the inflow rate .
Step 3: Variable: time, so integrate with respect to .
Step 4: Limits: from to .
Step 5: Set up the integral:
Units check: , so the answer is in gallons.
Example 2: Total Change from a Rate

A particle moves along a line with velocity , measured in meters per second. Find the particle's displacement from to seconds.

Step 1: Target quantity: displacement.
Step 2: The rate associated with displacement is velocity.
Step 3: Velocity is a function of time, so integrate with respect to .
Step 4: Limits: to .
Step 5: Set up the integral:
Important: This gives displacement, not necessarily total distance traveled. Direction matters because velocity can be negative.
Example 3: Total Distance from Velocity

Suppose a particle has velocity on the interval . Set up an integral for the particle's total distance traveled.

Step 1: Target quantity: total distance.
Step 2: Distance accumulates from the magnitude of velocity, so use .
Step 3: Integrate with respect to time.
Step 4: Since the velocity changes sign at , split the integral at that point.
Step 5: The setup is
Key idea: displacement adds signed velocity, while distance adds speed.
Example 4: Area from a Word Description

A region lies between the curves and from to . Set up an integral for the area of the region.

Step 1: Target quantity: area.
Step 2: Using vertical slices, each thin rectangle has height and width .
Step 3: Therefore, the small amount of area is .
Step 4: The limits are to .
Step 5: Set up the integral:
Interpretation: This is the general pattern area = integral of height × width.
Example 5: A Rate Depending on Position

A cable has linear density kilograms per meter, where is the distance in meters from one end. Find the total mass of a -meter section of the cable.

Step 1: Target quantity: total mass.
Step 2: The density tells us the mass per unit length: .
Step 3: Accumulate along the length of the cable, so integrate with respect to .
Step 4: The section runs from to .
Step 5: Set up the integral:
Units check: kilograms per meter multiplied by meters gives kilograms.

How to Translate Common Words into Integrals

These are not separate tricks to memorize. They are all applications of the same principle: integrate a quantity describing each small contribution to obtain the total contribution.

The Units Test

One of the most powerful habits you can develop is checking units before evaluating your integral.

Suppose is measured in liters per hour. Then:

The units simplify to liters. If your proposed integral instead produces liters per hour, you probably have not actually accumulated the quantity yet.

Wrong limits

The limits must correspond to the variable of integration. If you integrate with respect to time, the limits should be times. If you integrate with respect to , the limits should be -values.

Using the wrong rate

Ask what quantity is changing into the quantity you want. Velocity accumulates to displacement. A rate of water flow accumulates to volume. A density accumulates to mass. Using a related-looking function is not enough—the units should match.

Confusing displacement and distance

Velocity can be positive or negative. Integrating velocity gives signed displacement. Total distance requires speed, which is , or an equivalent split-integral setup when the velocity changes sign.

Doing calculations before setting up the integral

On many AP Calculus problems, the setup itself is the key mathematical step. Write the integral first. Only then decide whether it should be evaluated numerically, symbolically, or left as an integral.

A Fast AP Exam Checklist

When you see a word problem asking for an accumulated quantity, run through this checklist:

  1. What do they want? Name the final quantity.
  2. What accumulates into it? Identify the rate, density, area element, or other contribution.
  3. What variable am I using? Match the variable to the information given.
  4. What are the limits? Identify the starting and ending values.
  5. Do the units work? Integrand units × differential units should equal the desired units.
  6. Does the sign make sense? Especially for velocity, rates of change, and areas involving curves that cross.

If you can explain what every part of that integral means in words, you have probably set it up correctly.

Practice Problems

Question 1

A tank fills at a rate of gallons per minute. Set up an integral for the amount of water entering the tank during the first minutes.

Show answer
Question 2

A particle has velocity meters per second. Set up an integral for its displacement from to seconds.

Show answer
Question 3

A region is bounded above by and below by for . Set up an integral for its area.

Show answer
Question 4

A chemical enters a reactor at kilograms per hour. Set up an integral for the amount entering between and hours.

Show answer
Question 5 (Conceptual)

Explain why integrating a velocity function gives displacement rather than automatically giving total distance.

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