Unit 6 Foundations: Accumulation, Riemann Sums, and Definite Integrals

Exploring Accumulations of Change

What “accumulation” means (and why calculus cares)

In everyday terms, accumulation is what you get when you keep adding small contributions over time (or over distance, or over any input variable). Calculus formalizes this idea because many important quantities are naturally described by rates of change rather than by direct formulas.

For example:

  • Your car’s velocity tells you how fast position is changing; accumulating velocity over time gives change in position (displacement).
  • A tank’s inflow rate (liters per minute) tells you how fast volume is changing; accumulating inflow over time gives change in volume.
  • A marginal cost function (dollars per item) tells you how cost changes with production; accumulating it over an interval gives change in total cost.

The key perspective shift is:

  • A derivative answers “how fast is it changing right now?”
  • An integral answers “how much change built up over an interval?”
Rate-of-change models and net change

Suppose a quantity QQ depends on time tt. If you know the **rate of change** Q(t)Q'(t), then over a small time step Δt\Delta t, the change in QQ is approximately

ΔQQ(t)Δt\Delta Q \approx Q'(t)\Delta t

That approximation is the engine behind accumulation: break an interval into lots of small pieces, approximate the change on each piece, and add them up.

Over an interval from t=at=a to t=bt=b, you should distinguish:

  • Net change in QQ: the overall change, accounting for increases and decreases.
  • Total change (total accumulation): sometimes you want “how much was accumulated no matter the direction,” which may require absolute values (this comes up often with velocity and “total distance traveled”).

If Q(t)Q'(t) is positive, QQ is increasing; if Q(t)Q'(t) is negative, QQ is decreasing. When you “accumulate” the rate, negative contributions subtract from the total—this is why integrals naturally represent net change.

Accumulation as “area,” but with meaning

When the independent variable is xx and the rate function is f(x)f(x), the definite integral

abf(x)dx\int_a^b f(x)\,dx

represents the net accumulation of ff from aa to bb.

If f(x)f(x) is a **rate** like “gallons per hour,” then the integral has units “gallons.” If f(x)f(x) is velocity “meters per second,” integrating over seconds gives meters.

When f(x)f(x) is nonnegative, this net accumulation matches the geometric **area under the curve**. When f(x)f(x) dips below the xx-axis, the integral counts that part as negative area—so it is signed area.

This is not just a geometric trick; it’s a consistent way to compute net change:

Q(b)Q(a)=abQ(t)dtQ(b)-Q(a)=\int_a^b Q'(t)\,dt

That relationship is a core idea (it is a direct expression of the Fundamental Theorem of Calculus as “net change equals the integral of the rate”).

The accumulation function (building a new function from a rate)

Often you define a new function by accumulating a rate from a fixed starting point. Given a function ff, define

A(x)=axf(t)dtA(x)=\int_a^x f(t)\,dt

Here’s what this means conceptually:

  • You start at t=at=a.
  • You move to t=xt=x.
  • You add up all the contributions f(t)Δtf(t)\Delta t along the way.

So A(x)A(x) is not a number—it’s a **function** of the upper limit xx.

Two extremely important interpretations follow:

  1. A(x)A(x) measures accumulated net change from aa to xx.
  2. The derivative of AA is the original rate function:

A(x)=f(x)A'(x)=f(x)

This is powerful because it connects accumulation (integral) back to instantaneous rate (derivative). It also gives you a way to reason about graphs: if you know where f(x)f(x) is positive or negative, you know where A(x)A(x) is increasing or decreasing.

Example 1: Net change from a rate

A tank’s volume changes at rate r(t)=30.5tr(t)=3-0.5t liters/min for 0t60 \le t \le 6. If V(0)=10V(0)=10 liters, find V(6)V(6).

Step 1: Write net change.

V(6)=V(0)+06r(t)dtV(6)=V(0)+\int_0^6 r(t)\,dt

Step 2: Compute the integral.

06(30.5t)dt=[3t0.25t2]06\int_0^6 (3-0.5t)\,dt=\left[3t-0.25t^2\right]_0^6

Evaluate:

(360.2536)0=189=9\left(3\cdot 6-0.25\cdot 36\right)-0=18-9=9

Step 3: Add initial value.

V(6)=10+9=19V(6)=10+9=19

Interpretation: the net accumulated inflow over 6 minutes is 9 liters.

Example 2: Understanding signed area vs “total amount”

If v(t)v(t) is velocity, then

abv(t)dt\int_a^b v(t)\,dt

is displacement (net change in position). If you want total distance traveled, you need

abv(t)dt\int_a^b |v(t)|\,dt

A common mistake is to compute displacement when the question asks for total distance—always check whether direction matters.

Exam Focus
  • Typical question patterns:
    • You’re given a rate function (velocity, flow rate, marginal cost) and an initial value, and you must compute the accumulated quantity using an integral.
    • You’re asked to interpret a definite integral’s meaning in context, including units.
    • You’re given a graph of ff and asked about where the accumulation function A(x)=axf(t)dtA(x)=\int_a^x f(t)\,dt is increasing/decreasing or has maxima/minima.
  • Common mistakes:
    • Treating the integral as “area” even when ff is negative and the situation requires signed accumulation.
    • Forgetting to add the initial value (computing abr(t)dt\int_a^b r(t)\,dt but not converting it to the final quantity).
    • Mixing up displacement and total distance (using v\int v instead of v\int |v|).

Approximating Areas with Riemann Sums

Why you approximate at all

Not every accumulation problem starts with an easy-to-integrate formula. Sometimes you’re given:

  • A table of values of a rate.
  • A graph without an equation.
  • A function that is difficult to integrate exactly.

In these cases, you approximate the definite integral by breaking the interval into small subintervals and approximating the function on each piece with a rectangle. This is the idea behind Riemann sums.

Partitions and subinterval width

To approximate accumulation on [a,b][a,b], you choose a partition of the interval:

a=x0<x1<x2<<xn=ba=x_0<x_1<x_2<\dots<x_n=b

If the partition is equal-width, the width of each subinterval is

Δx=ban\Delta x=\frac{b-a}{n}

You will then pick a sample point in each subinterval [xi1,xi][x_{i-1},x_i] and build rectangles of width Δx\Delta x and height determined by the function value at the sample point.

Left, right, and midpoint sums (how the rectangles are chosen)

For an equal-width partition:

  • Left Riemann sum uses the left endpoint xi1x_{i-1} in each subinterval.
  • Right Riemann sum uses the right endpoint xix_i.
  • Midpoint Riemann sum uses the midpoint

mi=xi1+xi2m_i=\frac{x_{i-1}+x_i}{2}

Each method approximates

abf(x)dx\int_a^b f(x)\,dx

by a sum of rectangle areas.

Conceptually, you are using

accumulation(rate at a representative point)×(small change in input)\text{accumulation} \approx \sum \text{(rate at a representative point)}\times\text{(small change in input)}

In symbols, each rectangle contributes approximately f(sample point)Δxf(\text{sample point})\Delta x.

When approximations overestimate or underestimate

A big part of being fluent with Riemann sums is predicting bias from the shape of ff.

  • If ff is **increasing** on [a,b][a,b], left sums tend to underestimate and right sums tend to overestimate.
  • If ff is decreasing, left sums tend to overestimate and right sums tend to underestimate.

Why: for an increasing function, the left endpoint is lower than the function values to its right, so rectangles are “too short”; the right endpoint is higher, so rectangles are “too tall.”

For midpoint sums, the error often cancels more effectively (midpoint tends to be more accurate for many smooth functions), but you still need to treat it as an approximation unless you have a reason it’s exact.

Riemann sums from tables (a common AP skill)

If you’re given values of ff at evenly spaced inputs, you can build left/right/midpoint sums directly.

Suppose you have values at x0,x1,,xnx_0, x_1, \dots, x_n with equal spacing Δx\Delta x.

  • Left sum uses f(x0),f(x1),,f(xn1)f(x_0), f(x_1), \dots, f(x_{n-1}).
  • Right sum uses f(x1),f(x2),,f(xn)f(x_1), f(x_2), \dots, f(x_n).
  • Midpoint sum uses function values at midpoints; if the table doesn’t include midpoints, you might not be able to compute it without extra information.
Riemann sums and units

If f(x)f(x) has units “meters per second” and xx has units “seconds,” then each rectangle has units

  • height: meters/second
  • width: second
  • product: meters

So the sum and the integral have units of meters. This unit-check is a great self-correction tool.

Example 1: Left and right sums from a function

Approximate

04(x2+1)dx\int_0^4 (x^2+1)\,dx

using 4 subintervals of equal width with left and right Riemann sums.

Step 1: Partition and width.

Δx=404=1\Delta x=\frac{4-0}{4}=1

Subinterval endpoints: 0,1,2,3,40,1,2,3,4.

Step 2: Left sum. Use left endpoints 0,1,2,30,1,2,3.

L4=[f(0)+f(1)+f(2)+f(3)]ΔxL_4=\left[f(0)+f(1)+f(2)+f(3)\right]\Delta x

Compute values:

  • f(0)=1f(0)=1
  • f(1)=2f(1)=2
  • f(2)=5f(2)=5
  • f(3)=10f(3)=10

So

L4=(1+2+5+10)1=18L_4=(1+2+5+10)\cdot 1=18

Step 3: Right sum. Use right endpoints 1,2,3,41,2,3,4.

R4=[f(1)+f(2)+f(3)+f(4)]ΔxR_4=\left[f(1)+f(2)+f(3)+f(4)\right]\Delta x

Compute f(4)=17f(4)=17, so

R4=(2+5+10+17)1=34R_4=(2+5+10+17)\cdot 1=34

Because ff is increasing on [0,4][0,4], it makes sense that L4L_4 underestimates and R4R_4 overestimates.

Example 2: Riemann sum from a table (rate to accumulation)

A car’s velocity v(t)v(t) (m/s) is recorded every 2 seconds:

tt (s)02468
v(t)v(t) (m/s)13442

Approximate displacement from t=0t=0 to t=8t=8 using a right Riemann sum.

Here Δt=2\Delta t=2. A right sum uses t=2,4,6,8t=2,4,6,8:

displacement(v(2)+v(4)+v(6)+v(8))Δt\text{displacement} \approx (v(2)+v(4)+v(6)+v(8))\Delta t

=(3+4+4+2)2=132=26=(3+4+4+2)\cdot 2=13\cdot 2=26

Units check: (m/s) times s gives m, so 26 meters.

Exam Focus
  • Typical question patterns:
    • Approximate a definite integral from a table of values using left/right sums with a given Δx\Delta x.
    • Use increasing/decreasing behavior (or concavity) to justify whether an approximation is an overestimate or underestimate.
    • Interpret a Riemann sum in context (what quantity it approximates, and what the units mean).
  • Common mistakes:
    • Using the wrong endpoints (mixing left vs right, or accidentally including both f(a)f(a) and f(b)f(b)).
    • Forgetting to multiply by Δx\Delta x (adding heights but not converting to area/accumulation).
    • Treating the approximation as exact when the problem asks for an approximation (or rounding too early and compounding error).

Summation Notation and Definite Integral Notation

Why notation matters

Riemann sums quickly become messy if you write every term. Summation notation gives you a compact way to express “add this pattern many times.” The definite integral notation then captures what happens when your rectangles become infinitely thin, turning approximation into an exact accumulation (when the function is integrable, which is the standard setting in AP Calculus).

Summation notation (sigma notation)

The symbol \sum (sigma) means “sum over an index.” A typical form is

i=1nai\sum_{i=1}^n a_i

which means

a1+a2++ana_1+a_2+\dots+a_n

Key parts:

  • ii is the index.
  • The bottom number (like 1) is where ii starts.
  • The top number (like nn) is where ii ends.

A common pattern in Riemann sums is summing function values at points xix_i or xi1x_{i-1}.

Writing Riemann sums with sigma notation

For an equal-width partition of [a,b][a,b] into nn pieces:

Δx=ban\Delta x=\frac{b-a}{n}

Right endpoints are

xi=a+iΔxx_i=a+i\Delta x

Left endpoints are

xi1=a+(i1)Δxx_{i-1}=a+(i-1)\Delta x

So the left and right sums can be written compactly:

Ln=i=1nf(xi1)ΔxL_n=\sum_{i=1}^n f(x_{i-1})\Delta x

Rn=i=1nf(xi)ΔxR_n=\sum_{i=1}^n f(x_i)\Delta x

For midpoints, define

mi=xi1+xi2m_i=\frac{x_{i-1}+x_i}{2}

and then

Mn=i=1nf(mi)ΔxM_n=\sum_{i=1}^n f(m_i)\Delta x

The main skill is substituting the explicit expressions for the sample points (like a+iΔxa+i\Delta x) so your sum is entirely in terms of ii.

From Riemann sums to the definite integral (the limiting process)

The definite integral is defined (in the Riemann sense) as the limit of Riemann sums as the number of subintervals grows without bound:

abf(x)dx=limni=1nf(xi)Δx\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\Delta x

Here:

  • xix_i^* is a sample point in the iith subinterval [xi1,xi][x_{i-1},x_i].
  • Δx\Delta x is the width (for equal partitions).

This notation is deliberately flexible: it says that as long as the rectangles get thin (large nn), the specific sample point choice doesn’t matter for well-behaved functions.

Definite integral notation: what each piece means

The notation

abf(x)dx\int_a^b f(x)\,dx

encodes several ideas at once:

  • aa and bb are the bounds (start and end of accumulation).
  • f(x)f(x) is the accumulation rate (or height of rectangles).
  • dxdx reminds you the accumulation is with respect to xx (so widths are in the xx direction).

A frequent conceptual error is thinking dxdx is “just decoration.” In applications, it cues you to multiply by a small change in the input variable (like seconds, meters, years), and it’s essential for interpreting units.

Connecting equivalent notations (a quick reference)

These are different ways you might see the same integral expressed as a limit of sums (equal-width partition):

IdeaRiemann sum formWhat it means
WidthΔx=ban\Delta x=\frac{b-a}{n}Subinterval size
Right endpointsxi=a+iΔxx_i=a+i\Delta xSample points at right edges
Left sumi=1nf(a+(i1)Δx)Δx\sum_{i=1}^n f(a+(i-1)\Delta x)\Delta xRectangles use left endpoints
Right sumi=1nf(a+iΔx)Δx\sum_{i=1}^n f(a+i\Delta x)\Delta xRectangles use right endpoints
Definite integralabf(x)dx\int_a^b f(x)\,dxExact accumulation (limit as nn\to\infty)
Showing the connection in a worked example

The goal in many AP problems is not to compute a complicated limit directly, but to recognize it as a definite integral.

Example 1: Convert a limit of a sum into an integral

Evaluate

limni=1n(in)21n\lim_{n\to\infty}\sum_{i=1}^n \left(\frac{i}{n}\right)^2\frac{1}{n}

Step 1: Identify Δx\Delta x.
The factor 1n\frac{1}{n} plays the role of Δx\Delta x, so

Δx=1n\Delta x=\frac{1}{n}

This suggests an interval of length 1, typically [0,1][0,1].

Step 2: Identify sample points.
The expression inside the function is in\frac{i}{n}, which matches

xi=inx_i=\frac{i}{n}

for a right-endpoint partition of [0,1][0,1].

Step 3: Recognize the function.
The sum is

i=1n(xi2)Δx\sum_{i=1}^n (x_i^2)\Delta x

So the limit is

01x2dx\int_0^1 x^2\,dx

Step 4: Compute the integral.

01x2dx=[x33]01=13\int_0^1 x^2\,dx=\left[\frac{x^3}{3}\right]_0^1=\frac{1}{3}

Example 2: Build the integral from a general Riemann sum

Rewrite as a definite integral:

limni=1nsin(2+3in)3n\lim_{n\to\infty}\sum_{i=1}^n \sin\left(2+\frac{3i}{n}\right)\frac{3}{n}

Step 1: Match the width.

Δx=3n\Delta x=\frac{3}{n}

So the interval length is 3.

Step 2: Match the sample point.
The argument of sine looks like

2+3in=2+iΔx2+\frac{3i}{n}=2+i\Delta x

So it corresponds to right endpoints on the interval starting at 2:

  • lower bound a=2a=2
  • upper bound b=2+3=5b=2+3=5

Step 3: Write the integral.

25sin(x)dx\int_2^5 \sin(x)\,dx

Notice the key idea: the complicated-looking sum is just “function value times width,” repeated and then sent to the limit.

Common pitfalls when translating sums and integrals

When you practice these conversions, most errors come from misidentifying what plays the role of Δx\Delta x or from mixing left and right endpoints.

Two checks that prevent many mistakes:

  1. Interval length check: if Δx\Delta x is something like ban\frac{b-a}{n}, you should be able to identify bab-a as the numerator.
  2. Endpoint check: if the sample point looks like a+iΔxa+i\Delta x, that’s typically right endpoints; if it looks like a+(i1)Δxa+(i-1)\Delta x, that’s left endpoints.
Exam Focus
  • Typical question patterns:
    • Convert a given Riemann sum or limit of a sum into a definite integral (and sometimes evaluate it).
    • Write a Riemann sum expression for a definite integral using a specified method (left, right, midpoint) and number of subintervals.
    • Interpret the pieces f(xi)f(x_i^*) and Δx\Delta x in context (rate and small change in input).
  • Common mistakes:
    • Treating in\frac{i}{n} as the width instead of the sample point (or vice versa).
    • Getting the bounds wrong (for example, recognizing length 3 but placing it on [0,3][0,3] when the sum clearly starts at 2).
    • Dropping constants: forgetting that Δx\Delta x might be ban\frac{b-a}{n} rather than 1n\frac{1}{n}, especially when the interval is not length 1.