What is a definite integral? The area under a graph, step by step
· 9 min read
In short
The definite integral of a function from a to b is the area under its graph over that interval - with the area below the x axis counted as negative. We approximate it with the total area of thin rectangles, more closely the thinner they are. In practice we work it out from an antiderivative F as F(b) − F(a).
Words to know
- Interval [a, b]
- The stretch of the x axis over which we measure the area - from x = a to x = b.
- Riemann sum
- The total area of rectangles that approximate the area under a graph.
- Antiderivative
- A function F whose derivative is f - a derivative worked backwards.
- Signed area
- The part above the x axis counts as positive, the part below as negative.
What do you think?
What is the area under the parabola above the stretch from to ?
The square has area . Between and the parabola lies below the diagonal , and below the diagonal is exactly half of the square - so the area must be less than . In fact it is exactly . You are about to see why.
The idea: adding up many small pieces
The area of a rectangle is width times height. The trouble starts when the top edge of a region is curved. The idea of the integral is simple: cut the region into thin strips. Each strip is almost a rectangle, so its area is easy to work out. The total area of the strips approximates the whole area - and the thinner the strips, the better.
Lots of everyday quantities work the same way:
- distance is the area under a graph of speed - when the speed changes, you add up short stretches of time times the speed,
- the energy used is the area under a graph of power,
- a day’s takings are the sum of the takings in each minute.
From rectangles to the integral
Go through the animation step by step with the buttons or the arrow keys.
the integral = ?
We want the area under the graph of f(x) = x² between x = 0 and x = 2. The top edge is curved, so the formula for a rectangle is not enough.
With very thin strips it no longer matters whether the height comes from the left end, the right end or the middle - the totals close in on the same number.
Try it yourself: rectangles under any graph
Pick a function and an interval, change the number of rectangles and how their heights are chosen, and compare the total with the integral. For and part of the graph is below the axis - there the rectangles count as negative.
- total of the rectangles
- 3.37
- integral from a to b
- 2.667
- difference
- 0.704
What to notice:
- the more rectangles, the smaller the difference between their total and the integral,
- rectangles taken from the middle of each strip are usually far more accurate than those from the left or right end - with just a few rectangles the difference is already small,
- when part of the graph is above the axis and part below, the integral can come out close to zero even though the region is not small at all.
The definition
Cut the interval into strips of width and pick a point in each. The definite integral is the limit of the total area of the rectangles:
The sign is a stretched letter S - for “sum” - and the is a reminder of the width of the strips.
Working out the limit of a sum every time would be tedious. Fortunately there is a shortcut - the fundamental theorem of calculus. If is an antiderivative of , that is , then
Why does this work? The derivative says how fast grows. Over a thin strip therefore grows by about - exactly the area of the rectangle. Adding up these increases from to gives the whole increase of , which is . Integration and taking derivatives undo each other.
Example 1: the area under a parabola
An antiderivative of is , because . So
That is exactly the number the rectangles were closing in on. And the area from the question at the start is .
Example 2: the area under a sine wave
An antiderivative of is , because . So
Your turn
Work out , then check the answer geometrically: what shape is the region under this graph?
Hintshow
An antiderivative of is . The graph of is a straight line, so the region under it is a trapezium.
Solutiontry it on your own first
Check: the region is a trapezium with parallel sides and and height , so its area is .
Common mistakes
- Area below the axis. The integral counts it as negative. , even though the graph and the axis enclose a region of area . To get the area, integrate the parts above and below the axis separately and add up their absolute values.
- The wrong order. It is , not . Swapping them flips the sign of the answer.
- The constant . An indefinite integral gets , because there are infinitely many antiderivatives. In a definite integral cancels: .
- Mixing up definite and indefinite integrals. A definite integral, with limits and , is a number. An indefinite integral is a family of functions, .
At university
The definite integral is one of the main topics of a first calculus course. In the open textbook Active Calculus, for example, the fundamental theorem of calculus is followed by integration by parts and by substitution, numerical integration and applications: areas between curves, arc length, volumes of solids of revolution, work and improper integrals. In physics an integral gives displacement from velocity and work from force.
Check yourself
Test yourself
What is ?
The graph of lies entirely below the axis on . What is then?
You approximate the area under from to with rectangles whose height comes from the right end of each strip. What happens to the total as you use more and more rectangles?
Which function is an antiderivative of ?
What is ?
Flashcards for review
Flip a card and say whether you knew the answer. The ones you did not know come back at the end of the deck. Why it pays to come back to them in a few days is explained in the guide Spaced repetition.
Flashcards
Question
Answer
What is ?
The area under the graph of from to - with the area below the axis counted as negative.What is a Riemann sum?
The total area of rectangles that approximate the area under a graph.What is the definition of the definite integral?
What does the fundamental theorem of calculus say?
If , then .What is an antiderivative of ?
- plus any constant .What is ?
Where does the sign come from?
It is a stretched letter S - for the Latin word summa.How is a definite integral different from an indefinite one?
A definite integral, with limits and , is a number. An indefinite integral is a family of functions, .Which rectangles give the most accurate total: left ends, right ends or middles?
Usually the middles of the strips - with just a few rectangles the difference is already small.
Sources
We checked the facts on this page against these sources. All of them may be reused freely: they carry an open licence or are not covered by copyright.
- Wikipedia - Riemann integral · CC BY-SA 4.0
- Wikipedia - Integral (the integral sign, the fundamental theorem of calculus, uses in physics) · CC BY-SA 4.0
- Wikipedia - Riemann sum (accuracy of the midpoint rule) · CC BY-SA 4.0
- Wikipedia - Power (physics) (energy as the integral of power) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 4.1 Determining distance traveled from velocity (distance as the area under a graph of velocity) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 4.2 Riemann Sums (left, right and middle sums) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 4.3 The Definite Integral (the limit of Riemann sums, the ∫ sign, net signed area, left, right and middle sums close in on the same value) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 4.4 The Fundamental Theorem of Calculus (F(b) − F(a), antiderivatives, why the constant C cancels) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 5.3 Integration by Substitution (reversing the chain rule) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 5.4 Integration by Parts (reversing the product rule) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 5.6 Numerical Integration (the midpoint rule is more accurate) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 6.1 Using Definite Integrals to Find Area and Length (the area between two curves, arc length) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 6.2 Using Definite Integrals to Find Volume (solids of revolution) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 6.4 Physics Applications: Work, Force, and Pressure (work as an integral of force) · CC BY-SA 4.0
- Active Calculus (Matthew Boelkins, Grand Valley State University) - 6.5 Improper Integrals (integrals over an infinite interval) · CC BY-SA 4.0
- Silvanus P. Thompson - Calculus Made Easy, 2nd edition (1914), chapter XVII Integration, Project Gutenberg (the ∫ sign is “only a long S” meaning “the sum of”) · public domain