AP® Calculus AB trainer

Accumulation

See an accumulation function build up from the graph of f.

About this tool

An accumulation function g(x)g(x)=∫axf(t)dt= \int_a^x f(t)\,dt adds up the signed area under ff from aa to xx. Drag xx and watch the area build while the graph of gg draws itself: where ff is positive gg climbs, where ff is negative it falls, and its slope is always f(x)f(x).

How the areas and the graph of g are computed

For graphs made of segments and semicircles the tool uses the same geometry you would: triangles, trapezoids, rectangles and quarter or half circles, kept exact (an answer like 4−2π4 - 2\pi is shown that way). For a formula it integrates numerically to many decimal places. The tangent line on the graph of gg always has slope f(x)f(x): that is the Fundamental Theorem, part 1. Net change shows part 2: the shaded area from one point to another equals the rise of gg between them.

  • Signed area. Area below the axis counts negative. When xx is less than aa, g(x)g(x)=−∫xaf(t)dt= -\int_x^a f(t)\,dt, so the sign flips again.
  • Reading gg from ff. gg increases where f>0f > 0, has a relative maximum where ff changes from positive to negative, and is concave up where ff is increasing.
  • In context (Unit 8). The amount in a tank is its starting amount plus the integral of rate in minus rate out.

Test yourself makes new problems from a seed (the problem code). Every key is recomputed independently by the validator, and a wrong answer is matched to the usual slip: unsigned area, a full circle for a half, the wrong lower limit, a dropped initial value, a missing chain-rule factor.

Notes for this topic: The Fundamental Theorem and Accumulation Functions