Integral as area and accumulation

6 visual steps · 3 worked examples · 5 exercises with solutions

First, let’s see the idea.

Does a negative velocity count as negative distance?

Move forward one step at a time. Change the values and observe what happens.

Add with signst (s)v (m/s)01,32,63,95,2-2,6-0,571,473,5
Drawing description

The graph shows v(t)=t−2 m/s and the endpoint t=5 s, where v=3 m/s.

Step 1 of 6

Read the direction of motion

Locate the yellow point at the final time and compare it with zero height.

The line represents v(t)=t−2, with t in seconds and v in m/s. Before 2 s the velocity is negative; afterwards it is positive. A reversal occurs within the interval only if b>2.

Final time
5 s
Final velocity
3 m/s

What if you change this?

1 s5 s
220

Before moving on

Set b=4. Does zero displacement mean the object stood still?

Compare with the explanation

No. It returned to its starting position: it travelled 2 m in one direction and 2 m in the other, a total of 4 m.

You decide when to mark this lesson as studied.

Add with signs

Slide the drawing to see the details.

Explore the full explanationThe foundations, principles, worked examples and all the exercises, at your own pace.

What you will understand

  • Interpret Riemann sums and units of accumulation.
  • Distinguish the definite integral, geometric area and antiderivative.
  • Apply the fundamental theorem under explicit conditions.

Before you start

You do not need to know everything by heart. The explanation revisits the necessary ideas and shows how they connect. If a foundation is still unclear, you can return to these lessons:

The accumulation problem

If a constant flow rate is 3 L/min for 4 min, the volume transferred is 12 L. Multiplying rate by duration works because the rate does not change. If the flow rate varies, a single product does not describe the whole interval exactly. We can divide it into short parts, approximate the rate by one value in each part and add the small quantities transferred.

The same structure appears in velocity and displacement, power and energy, linear density and mass. The accumulated output has unit equal to the rate's unit multiplied by the integration variable's unit. A velocity graph in m/s against time in s produces accumulation in metres. Therefore, the word area in the drawing does not necessarily mean square metres: it depends on the quantities on the axes. Identifying these units is part of the interpretation, not just the final presentation.

Construct the integral through sums

Divide [a,b] into n equal parts of width Δx=(b−a)/n. In each subinterval choose an input xᵢ* and calculate f(xᵢ*)Δx. The sum Σf(xᵢ*)Δx approximates the total accumulation. If the sums converge to the same value as the greatest subinterval width tends to zero, independently of the admissible choices, that value is the definite integral ∫abf(x) dx.

A continuous function on a closed interval is integrable. There are also integrable functions with certain discontinuities, but continuity is a simple sufficient condition for this unit. A left- or right-endpoint rectangle sum is a finite approximation, not generally the exact integral. For an increasing function, the left sum underestimates and the right sum overestimates. Refining the partition brings these two estimates closer, provided the model meets the conditions.

The sign changes the question

If f is nonnegative, the integral represents the area between the graph and the horizontal axis on the interval. If f is negative, the sum's terms are negative. The integral then measures signed accumulation: area above the axis minus the magnitude of the area below it. A zero integral can correspond to two large regions that cancel each other.

Total geometric area is obtained by integrating |f|, or by splitting the interval at zeros and making the geometric contributions positive. In kinematics, integrating velocity gives displacement; integrating speed, that is, |v|, gives distance travelled. An object may return to its starting point and have zero displacement after travelling a positive distance. Before calculating, ask whether the quantity sought preserves signs or requires adding magnitudes.

Antiderivatives and the constant of integration

An antiderivative F of f on an interval satisfies F′=f. For example, x³/3 is an antiderivative of x², because its derivative is x². Adding a constant does not change the derivative: all functions x³/3+C are antiderivatives. On an interval, two antiderivatives of the same function differ by a constant. The notation ∫f(x) dx, without bounds, represents this family, called the indefinite integral.

The rule ∫xⁿ dx=xⁿ⁺¹/(n+1)+C applies for n≠−1 on the appropriate real domain. For 1/x, an antiderivative is ln|x|+C on intervals that do not cross zero. Writing the power rule with n=−1 would produce division by zero. The safest check of an antiderivative is to differentiate it. The symbol dx identifies the variable; it should not be treated as dispensable decoration when several quantities are involved.

Why accumulation and differentiation connect

Define A(x)=∫axf(t) dt, with continuous f. When x increases by h, the change A(x+h)−A(x) accumulates only the small strip between x and x+h. Dividing by h gives an average rate of f over that strip. By continuity, this average approaches f(x). Thus A′(x)=f(x): the instantaneous rate of accumulation recovers the function being accumulated.

The second part of the fundamental theorem enables calculation: if f is continuous on [a,b] and F is an antiderivative, then ∫abf(x) dx=F(b)−F(a). The constants cancel. The definite integral is a number, whereas the indefinite integral is a family of functions. You do not need to add +C to the final number of a definite integral. If there are singularities within the interval, this direct application may fail and requires further study.

Properties and limits of use

Accumulations add: integrating f+g means adding the integrals, and a constant factor may be taken outside the integral. Dividing the interval at a point c lets us write ∫ from a to b as the sum from a to c and from c to b. Swapping the bounds changes the sign; integrating between equal bounds gives zero. These properties reflect the direction and composition of the small sums.

The average value of an integrable function on [a,b], with a<b, is the integral divided by b−a. It is not generally the average of just the endpoint values. For experimental data, methods such as trapezoids give approximations; quality depends on variation between measurements, resolution and uncertainties. An exact integral of a model does not make the measured phenomenon exact. Always state which function, interval, units and physical or geometric interpretation are being used.

Worked examples, without skipping steps

Follow the reasoning first. Then cover the solution and try to reconstruct it in your own words.

Example 1

A converging sum

Calculate ∫02x dx through sums with right endpoints.

  1. With n parts, Δx=2/n and xᵢ=2i/n. Each rectangle contributes 4i/n².
  2. The sum is (4/n²)·n(n+1)/2=2+2/n, using 1+…+n=n(n+1)/2.
  3. As n→∞, the sum tends to 2. The term 2/n describes the excess of the right sum.
Result

The integral is 2.

Check the result

The graph bounds a triangle with base 2 and height 2, whose area is 2·2/2=2.

Example 2

Displacement and distance

A velocity is v(t)=t−2 m/s from t=0 to t=5 s. Calculate displacement and distance.

  1. An antiderivative is t²/2−2t. Between 0 and 5, the difference is 12,5−10=2,5 m.
  2. Velocity is negative until t=2 and positive afterwards. The first region has magnitude 2 m and the second 4,5 m.
  3. Distance adds the magnitudes: 2+4,5=6,5 m; displacement subtracts them: −2+4,5.
Result

Displacement 2,5 m; distance 6,5 m.

Check the result

The units m/s multiplied by s give m. Displacement is smaller than distance, as it should be.

Example 3

Accumulated volume and average value

A flow rate is q(t)=2+0,5t L/min, between 0 and 6 min. What are the volume and average flow rate?

  1. The antiderivative is 2t+0,25t². The function is continuous on the interval.
  2. The difference at the bounds is 12+9=21 L.
  3. Divide the volume by the total time: 21/6=3,5 L/min.
Result

Volume 21 L and average flow rate 3,5 L/min.

Check the result

Since the flow rate is affine, the endpoint average (2+5)/2 is also 3,5. This coincidence does not hold for every function.

Now try it yourself

There is no timer. Write what you know, choose a relationship and justify each step. Hints and solutions are available whenever you need them.

Exercise 1

Find all antiderivatives of 3x²−4.
A hint
Each term can be integrated separately.
See the worked solution
The antiderivatives are x³−4x+C on a real interval, with constant C. Differentiating recovers 3x²−4; omitting C would present only one antiderivative.

Exercise 2

Calculate ∫132x dx.
A hint
Find an antiderivative and subtract the endpoint values in the correct order.
See the worked solution
An antiderivative is x². The result is 3²−1²=8. The function is continuous and positive on the interval, so the integral also represents geometric area.

Exercise 3

The integral of x between −1 and 1 is zero. Is the area zero too?
A hint
Separate the two regions at the function's zero.
See the worked solution
The integral is [x²/2] from −1 to 1=0. Each triangle has area 1/2; the total area is 1. The integral preserves the sign of the region below the axis.

Exercise 4

If A(x)=∫0x(1+t²) dt, calculate A′(2).
A hint
Use continuity and the first part of the fundamental theorem.
See the worked solution
The integrand is continuous, so A′(x)=1+x². Therefore A′(2)=5. This can be confirmed by differentiating A(x)=x+x³/3.

Exercise 5

A device maintains 40 W for 90 s. How much energy does it transfer?
A hint
The integral of a constant is height times duration.
See the worked solution
E=∫ from 0 to 90 of 40 dt=40·90=3600 J. Watt means joule per second; integration over time produces joules, not watts.

Mistakes worth avoiding

A definite integral is always positive area.
It is signed accumulation; geometric area uses magnitudes.
Every integral gets +C in the final result.
The constant belongs to the family of antiderivatives; it cancels in the definite integral.
Finding an antiderivative at each endpoint is enough, even with a singularity between them.
The theorem requires conditions throughout the interval; singularities cannot be ignored.

The essentials to take with you

  • The integral is a limit of small accumulations.
  • Check units and signs before calculating.
  • Antiderivatives are verified through differentiation.
  • Continuity allows direct use of the fundamental theorem.

If you still cannot explain one of these ideas, return to the corresponding section and work through an example again. Recognising the difficulty is part of studying.

References for further study

Text and examples prepared for this learning path. These sources help check the principles and continue studying:

The grade organization is a suggested study sequence. Grade 13 provides general extension and preparation for higher education. Pedagogical review by teachers remains a stage of the project.