Calculus
What Is an Integral? A Beginner-Friendly Explanation
By MathSolver Pro Editorial Team · Published
An integral adds up infinitely many tiny pieces to find a total: an area, a distance, a volume or any accumulated quantity. The Fundamental Theorem of Calculus links this adding-up process to antiderivatives, which is what makes integrals practical to compute.
Integration as adding up
If a car drives at a constant 60 km per hour for 2 hours, it travels km. On a graph of speed against time, that distance is the area of a rectangle of height 60 and width 2. When the speed changes, the region under the graph is no longer a rectangle, but the distance is still the area under the speed curve. Finding that area is what an integral does.
More generally, whenever a quantity is a rate multiplied by an amount, such as speed times time, density times volume or force times distance, and the rate varies, the total is an integral. The derivative breaks a total into rates; the integral rebuilds the total from the rates.
Riemann sums: approximating with rectangles
To find the area under from to , split the interval into 4 strips of width . Using the right-hand edge of each strip for the height gives rectangles with heights , , and :
Using the left-hand edges instead gives . The true area lies between the two. As the number of strips grows, both sums approach the same value, and that limit is the definite integral:
The integral sign is a stretched S for sum, is the height, and represents the infinitely thin width. For on the limit is exactly . The idea of a limit, explained in our limits guide, is what turns an approximation into an exact value.
Signed area
Where the graph lies below the x-axis, is negative, so the rectangles contribute negative amounts. The definite integral therefore measures signed area: area above the axis minus area below it.
For example, , because the hump above the axis between 0 and exactly cancels the one below between and . Each hump has area 2, so the total geometric area is 4. To find total area, split the interval where the function changes sign and add the absolute values of the pieces.
Antiderivatives and the indefinite integral
An antiderivative of is a function whose derivative is . Since , the function is an antiderivative of . So is , or plus any constant, because constants have derivative zero. The indefinite integral collects them all:
Each basic derivative rule, read backwards, gives an integration rule:
Example 1: integrate a polynomial
- : integrate term by term.
- .
- Check by differentiating: . Differentiating your answer is always a reliable check.
The Fundamental Theorem of Calculus
The two meanings of integral, an area found by a limit of sums and a family of antiderivatives, are connected by the Fundamental Theorem of Calculus. Its practical form says that if is any antiderivative of a continuous function , then:
This is remarkable: an infinite sum of rectangles reduces to two function values. The other part of the theorem says that the accumulated area function has derivative , so integration and differentiation undo each other.
Example 2: two definite integrals
- , matching the limit of the Riemann sums.
- .
- The constant cancels in , so it can be left out of definite integrals.
The difference between the two kinds of integral is explored further in definite vs indefinite integrals.
Two techniques beyond the basic rules
Integration has no product or chain rule that works mechanically every time, so some techniques reverse those derivative rules.
Example 3: substitution, the chain rule in reverse
- : let , so .
- The integral becomes .
- Substitute back: .
Example 4: integration by parts, the product rule in reverse
- The formula is .
- For , choose and , so and .
- .
Applications
- Distance from velocity: if m/s, the displacement over the first 2 seconds is m.
- Area between curves: between and on the area is .
- Average value: the average of on is .
- Probability: areas under a probability density curve give probabilities, as with the normal curve behind z-scores.
- Volumes, work done by a variable force, total cost from marginal cost and centres of mass are all integrals.
Common mistakes
- Forgetting on an indefinite integral.
- Applying the power rule to , which would divide by zero; its integral is .
- Thinking equals .
- Reading a definite integral as total area when part of the graph is below the axis.
- Computing instead of .
The integral calculator finds antiderivatives with each step shown, and the definite integral calculator evaluates integrals over an interval and reports the numerical value.
Why the Fundamental Theorem makes sense
Return to the car. Suppose is its position and its velocity. Adding up velocity times tiny time intervals over a journey gives the total change in position, which is the final position minus the starting position. In symbols, , which is exactly the theorem with playing the role of the antiderivative.
Seen this way, the theorem is almost common sense: adding up all the small changes in a quantity gives its total change. What makes it powerful is that it turns hard limit calculations into easy subtraction, as long as an antiderivative can be found.
Numerical integration
When no antiderivative can be written down, or when the function is only known from measurements, integrals are estimated numerically. Better estimates come from better shapes than rectangles. The trapezoidal rule averages the left and right sums; for on with 4 strips it gives . The midpoint rule uses the height at the centre of each strip and gives . Both are much closer to the exact than either one-sided sum.
Simpson's rule, which fits parabolas through groups of three points, is exact for this function and for any cubic. Software uses refinements of these ideas to compute integrals to many decimal places in a fraction of a second.
A short history
Finding areas by adding thin slices is ancient. Archimedes found the area of a parabolic segment more than two thousand years ago using a method close to a limit. The breakthrough of the seventeenth century, credited to Newton and Leibniz, was the Fundamental Theorem, which showed that areas could be found by reversing differentiation. Bernhard Riemann gave the sums their modern precise definition in the nineteenth century, which is why they carry his name.
Frequently asked questions
What is the difference between a derivative and an integral?
A derivative gives a rate of change at an instant; an integral adds up rates to give a total. The Fundamental Theorem of Calculus shows they are inverse processes, in the same way multiplication and division are.
Why does an indefinite integral have + C?
Every constant has derivative zero, so if is an antiderivative of , so is for any constant . The represents that whole family.
Why can an integral come out as a negative number?
Yes. It measures signed area, so regions below the x-axis count as negative. A negative result means more area lies below the axis than above it on that interval.
Does every function have an antiderivative I can write down?
No. Every continuous function has an antiderivative, but some, such as that of , cannot be written with elementary functions. Their definite integrals are computed numerically.
What does the dx at the end of an integral mean?
It names the variable you are integrating with respect to and stands for the width of the thin strips in the Riemann sum. It also matters in substitution, where is converted to , and in integrals with several letters, where it tells you which one is the variable.