TL;DR
A definite integral adds up the values of from to , each multiplied by a tiny width, and returns one number. Geometrically it is the area between the graph of and the horizontal axis, where area below the axis counts as negative. You rarely add anything up by hand: find an antiderivative and compute .
Where you'll see it: finding the area of a curved region, turning a speed curve into a distance, computing total charge or mass from a density, and computing the probability that a random variable lands in a range.
Intuition
Slice the region into thin strips
Suppose you want the area under a curve that is not a rectangle or a triangle. School geometry has no formula for it. But you can cut the region into thin vertical strips. Each strip is almost a rectangle: its width is tiny, and its height is roughly the function's value at one point. A rectangle's area is height times width, so add the rectangles up. Make the strips thinner and the total gets closer to the true area. The definite integral is what that total approaches as the strips become infinitely thin.
- f(x) = x^2
Why a limit is needed
A finite sum of rectangles is only an approximation. It is always a little off, and no finite number of strips gives the exact area. The integral is defined as the limit of the sums as the number of strips grows, which is the only way to get an exact answer for a curved region. Once the limit is in hand, a second idea does most of the work: the integral is the reverse of differentiation. That link, the Antiderivative and the fundamental theorem below, is why integrals can be computed in closed form at all.
Why signed area
Functions can dip below zero. The integral does not measure "how much ink is between the curve and the axis". It measures the net accumulation: area above the axis is positive, and area below it is negative. If a speed is negative, the integral of speed over time is the net displacement, not the total distance travelled. This sign convention is what makes the integral useful for physics, probability and accounting.
The math
For a function on a closed interval with , the definite integral is
where is the width of each of equal strips and is a sample point inside the -th strip. The limit must exist and be the same for every choice of sample points. For continuous it always does.
The symbol is an elongated S for "sum". The says the variable of integration is and that the strips are thin in that direction. The numbers and are the limits of integration. Because they are fixed, the result is a single number, not a function of . That is the difference from an Antiderivative, which is a function.
Riemann sums
The sum inside the limit is called a Riemann sum. Choosing as the left end, right end or midpoint of each strip gives three approximations. For on with strips, each width is . The midpoints are , so
The exact answer is . Four strips already get within about 1.6%. Doubling the number of strips roughly quarters the error for a smooth function like this.
The fundamental theorem of calculus
This is the result that makes integrals practical. Let be continuous on , and let be any antiderivative of , so . Then
Why does it hold? Define the area function . Then . Now compare with . The extra sliver between and is almost a rectangle of height and width , so . Dividing by and letting gives , which is the Derivative of the area function. So and have the same derivative, which means they differ by a constant: . Setting and using gives , so . Therefore .
The constant cancels in the difference, which is why a definite integral has no .
Basic properties
- Linearity: .
- Reversed bounds: .
- Splitting an interval: for any between and .
- Equal bounds: .
Worked examples
Find .
- An antiderivative of is .
- Apply the fundamental theorem: .
- The integral is .
- Check against the midpoint sum with four strips above: . The approximation is close and slightly low, as expected for this convex curve.
A particle moves with velocity metres per second for . Its displacement and its total distance are different things.
Displacement is the signed integral of velocity:
- .
- At the bracket is , and at it is .
- Displacement is metres: the particle ends where it started.
Distance adds up speed, so the negative part must be flipped. Velocity is negative on and positive on .
- metres.
- metres.
- Total distance is metres. The particle went out 2 metres and came back 2 metres.
For a standard Gaussian with density , the probability that lies between and is
- The antiderivative of has no elementary closed form, so we use the standard normal cumulative distribution function , which is tabulated.
- By the fundamental theorem, .
- From the table, and .
- The difference is . About 68% of the probability lies within one standard deviation of the mean.
This is the same fact as the 68-95-99.7 rule in Gaussian (Normal) Distribution. The idea that a probability is an integral of a Probability Density Function is what lets probabilities be read off as areas.
Tradeoffs and failure modes
Integrals are powerful, but several things go wrong in practice.
| Situation | Problem | Better choice |
|---|---|---|
| Antiderivative is known | Symbolic evaluation is exact and fast | Use the fundamental theorem directly |
| No closed-form antiderivative (for example, the Gaussian) | Symbolic methods stall | Numerical quadrature such as Simpson's rule, or a table of special values |
| Many dimensions | A grid of strips grows exponentially with dimension | Monte Carlo Method, which samples instead of gridding |
| Infinite bounds or a singularity inside the interval | The Riemann sum is not defined directly | Write it as a limit of proper integrals (an improper integral) |
| Oscillating or very jagged integrand | Coarse sums miss cancellations | Adaptive quadrature that refines where the function changes fast |
Common mistakes:
- Forgetting the sign. Area below the axis is negative. If you need the total area of a region, split the integral at the zeros and flip the signs of the negative pieces.
- Reversing the bounds. Computing gives the wrong sign. Always subtract the value at the lower limit from the value at the upper limit.
- Adding . It belongs to indefinite integrals, not definite ones. Including it is harmless, but it adds clutter.
- Confusing displacement with distance. The integral of velocity gives displacement. Distance needs the integral of .
History
The idea of computing areas by exhausting a region with simpler shapes goes back to the ancient Greeks. Archimedes, in the third century BCE, found the area of a parabolic segment by filling it with triangles, and showed that the total approached a fixed fraction of the triangle that encloses it. This is the method of exhaustion, and it is the same limiting idea in geometric form.
In the late 1600s, Isaac Newton and Gottfried Wilhelm Leibniz independently connected areas to rates of change. They showed that the area under a curve can be found by reversing differentiation, which is the fundamental theorem. Leibniz introduced the elongated S symbol , short for "sum", in the 1670s and 1680s. His notation has outlasted almost every alternative.
The rigorous limit definition took longer. Augustin-Louis Cauchy gave a limit-based definition of the integral in the 1820s. Bernhard Riemann refined it in 1854, and the Riemann sum definition used here is named after him. Henri Lebesgue later generalised integration in the early 1900s to handle functions that Riemann's version could not. Riemann's definition is still the one taught first because it matches the picture of thin strips exactly.
Check yourself
QuestionWhat does the in tell you?Show answer
It names as the variable of integration and says the strips are thin in the direction. It is what the strip width becomes in the limit of the Riemann sum.
QuestionCompute .Show answer
An antiderivative of is . Then . The answer is .
QuestionWhy does the constant of integration disappear when you compute a definite integral?Show answer
Any antiderivative has the form . Evaluating the definite integral gives . The two copies of cancel, so the result is for every choice of .
QuestionA car's velocity is in metres per second, and . Can you conclude that the car travelled a total distance of zero?Show answer
No. The integral is the signed displacement, so means the car ended where it started. The car could have driven forward for five seconds and then backward for five seconds, covering a total distance of , which is positive. Distance needs the absolute value of velocity inside the integral.