Chapter 09
Integral: Area and Accumulation, a Bridge to Probability
Integration is the inverse of differentiation. It is used for area under a curve, cumulative quantities, and for probability and expectation.
Math diagram by chapter
Select a chapter to see its diagram below. View the flow of basic math at a glance.
The gap between the rectangles and the curve shrinks as you use more slices; in the limit you get the exact area (the integral).
The definite integral represents the area under the curve. Find an antiderivative and plug in the upper and lower limits.
What is the integral?
The integral is the inverse of differentiation. If differentiation is like slicing bread very thin (finding the rate of change), integration is putting those thin slices back together to get the original amount (area or total quantity). The symbol (integral) is a stretched letter S for Sum. The Fundamental Theorem of Calculus rigorously proves that differentiation and integration are inverse operations. Thanks to it, we can compute definite integrals by finding an antiderivative instead of taking limits directly.
It is the precise tool for area under a curve. For a wiggly curve, we add infinitely many very thin rectangles (width almost 0) to get the exact area. Mathematically it means the total of accumulated change.
A definite integral has a fixed start and end . To compute it we first find the antiderivative (the function whose derivative is the integrand), then take — i.e. “later state minus initial state” — to get the accumulated result (area or total amount).
Essential for cumulative quantities in daily life. A car’s speed changes every moment; integrating it over time gives total distance. Integrating the flow from a tap gives total water in the bathtub. Whenever we “add up” a changing quantity, we use integration.
Key to continuous probability. For continuous data (height, weight), “probability that height is between 170–180 cm” is the area under the probability density curve over that interval — i.e. the integral. So the integral value is the probability of that event.
It underlies AI decision-making. When AI chooses under uncertainty, it computes expectation (each outcome times its probability, summed). That sum is mathematically an integral. Generative models (VAE, Diffusion) and reinforcement learning (expected cumulative reward) cannot move a single step without integration.
In physics, work and energy: integrating force over distance gives work; integrating acceleration gives velocity, integrating velocity gives position — used to predict trajectories and motion.
In economics, integration is used to find total demand or supply over time and to compute consumer and producer surplus for market efficiency.
AI performance and optimization: AUC (Area Under Curve) is literally an integral. Normalization (making total probability 1) also involves integration over the whole range. Every time we treat data flow probabilistically inside a network, integration is at work.
For a definite integral, use ① limits →
② antiderivative →
③ .
The antiderivative undoes the derivative of the expression inside .
Rules: — raise the power and divide by the new exponent; constant — ; — unchanged; sums — term by term. Differentiate your to verify; subtract (upper) − (lower).
An indefinite integral is only. For “value at ”, usually take and substitute.
Simplest example:
Antiderivative → . Answer 6.
The table below goes from easy to varied integrands. Each row: antiderivative, then evaluate at both limits and subtract.
- Problem
- SolutionAntiderivative →
- Problem
- SolutionAntiderivative →
- Problem
- SolutionAntiderivative →
- Problem, at ()
- Solution
| Problem | Solution |
|---|---|
| Antiderivative → | |
| Antiderivative → | |
| Antiderivative → | |
| , at () |
Problem types and how to solve
- TypeConstant definite
- Description
- How to get the answerAntiderivative . (upper) − (lower) = .
- TypeLinear definite
- Description
- How to get the answerAntiderivative . Compute .
- TypeAntiderivative value
- DescriptionIndefinite integral given, value at
- How to get the answerSubstitute into that expression. ( ⇒ .)
| Type | Description | How to get the answer |
|---|---|---|
| Constant definite | Antiderivative . (upper) − (lower) = . | |
| Linear definite | Antiderivative . Compute . | |
| Antiderivative value | Indefinite integral given, value at | Substitute into that expression. ( ⇒ .) |
Example (constant definite)
Find .
Solution
Antiderivative is . . → Answer 6
Example (linear definite)
Find .
Solution
Antiderivative is . . → Answer 8
Example (antiderivative value)
Given , find the value at . ()
Solution
Substitute into → . → Answer 4