The definite integral as the limit of Riemann sums, its notation and the meaning of each part, net signed area against total area, which functions are integrable, the properties inherited from sums, and the average value of a function.
Subject: Calculus I · 72 slides · symbolic lesson
Open the interactive version of this deck
Title
Calculus I · Section 5.2
Signed area, its rules, and the average height of a function
Objectives
Section 5.1 found areas as limits of rectangle sums, but only for continuous functions that never dip below the axis. This lesson drops both restrictions and gives the limit a name, a symbol and a set of rules.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 456-471 — learning objectives 5.2.1 to 5.2.6
Section 5.1 gave you a way to find the area under a curve: cover it with rectangles, add them up, and let the rectangles get thin. It came with two conditions. The function had to be continuous, and it had to stay on or above the x-axis.
Real problems break both conditions all the time. A velocity can be negative when you drive backwards, a profit rate can dip below zero in a bad month, and a signal can switch abruptly from one level to another. This lesson keeps the machine of Section 5.1 and throws away the conditions. The result is the definite integral.
You will not yet have a fast way to evaluate integrals; that is Section 5.3. What you will have is the definition, a clear picture of what the number means, the rules it obeys, and the ability to evaluate it whenever geometry or a sum formula can do the work.
Warm-up
Discussion prompt
From Section 5.1: write the right-endpoint sum for a function f on [a, b] with n equal subintervals. Name the width, the sample points and the heights, and say what happens as n grows.
Write your answer before you reveal it. This is the one piece of Section 5.1 that the whole lesson is built on, so it is worth being able to produce from memory.
The width is the length of the interval divided by the number of pieces. The right endpoints are found by starting at a and taking i steps of that width. Each rectangle has height f at its sample point, so its area is that height times the width, and the sum adds all n of them.
The last part of the question is the important one. As n grows, the rectangles get thinner and the staircase they form hugs the curve more and more closely. For the functions of Section 5.1 the sums settle down to one number, the area, no matter which sample points you choose. That settling-down is exactly what the definite integral will name.
Section
Part 1
Concept
Figure (svg): Two panels with the same curve over an interval from a to b. Left: four wide rectangles with gaps and overhangs against the curve. Right: sixteen thin rectangles that follow the curve closely.
\[ A = \lim_{n\to\infty} \sum_{i=1}^{n} f(x_i^{*})\,\Delta x \]
In Section 5.1 this limit was the area, provided f was continuous and never negative. Keep the limit and drop both conditions: the limit still makes sense whenever it exists, even if it no longer means area in the everyday sense.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 456 — introduction
Look at the two panels. With four rectangles the staircase overshoots in some places and falls short in others. With sixteen it is already hard to see the difference between the rectangles and the region. The formula underneath is the same limit you met in Section 5.1.
Notice that nothing in that limit actually needs f to be positive or continuous. You can always slice an interval, sample a height, multiply by a width and add. The only question is whether the sums settle down to a single number as the slices get thin.
So the plan is simple: keep the limit, drop the conditions, and see what the number means when the function misbehaves. When f dips below the axis the limit will still exist, but it will no longer be an area in the everyday sense. Part 3 of this lesson says exactly what it is instead.
Concept
definite integral (5.8) — If f is defined on [a, b], the definite integral of f from a to b is the limit of its Riemann sums, provided the limit exists. When it does, f is called integrable on [a, b].
\[ \int_a^b f(x)\,dx = \lim_{n\to\infty} \sum_{i=1}^{n} f(x_i^{*})\,\Delta x \]
Read it from the right: slice the interval, sample a height in every slice, multiply by the width, add, and let the slices get thin. The left side is just a name for the result.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 456 — Definition, equation 5.8
This is the definition you will use for the rest of the course, so read it slowly. Everything on the right-hand side is familiar from Section 5.1. The only new thing is the symbol on the left, which is simply a name for the limit.
The phrase provided the limit exists matters. For most functions you will meet, the limit does exist and the function is called integrable. But the definition does not promise that it always exists, and a few slides from now you will see a function for which it does not.
A small technical note from the book: the definition uses equal-width slices. You could allow unequal slices, but then you would need the widest slice to shrink to zero rather than just the number of slices to grow. For every function in this course the answer is the same either way, so the book, and this lesson, stick with equal widths.
Notation
Annotate
On: \( \int_{a}^{b} f(x)\,dx = \lim_{n\to\infty}\sum_{i=1}^{n} f(x_i^{*})\,\Delta x \)
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 456 — limits of integration, integrand, variable of integration
Step through the annotations and match each piece of the left-hand side with a piece of the right-hand side. The integral sign is Leibniz's stretched letter S, standing for sum, because an integral is a limit of sums.
The numbers a and b are called the limits of integration, which is an unfortunate clash of words. They have nothing to do with the limit as n goes to infinity. They are simply the left and right ends of the interval. When you read an integral aloud, say the integral from a to b of f of x, d x.
The d x at the end is not decoration. It is what is left of the width after the limit, and it tells you which letter is the variable being sliced. Leaving it off is like writing a Riemann sum without its widths: the heights alone do not make an area.
Intuition
\[ \int_0^2 x^2\,dx = \tfrac83 \qquad\text{but}\qquad \int x^2\,dx = \tfrac{x^3}{3} + C \]
The two symbols look alike and mean different things. The definite integral, with limits on the sign, is one number. The indefinite integral of Section 4.10, with no limits, is a whole family of antiderivatives.
Section 5.3 will reveal the link between them, the Fundamental Theorem of Calculus. Until then, always look for the numbers a and b before deciding which object you are holding.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 456 — definite versus indefinite integrals
In Section 4.10 you met the indefinite integral: the same stretched S, but with no numbers on it. That symbol stands for every antiderivative of the integrand at once, which is why its answer carries a plus C. It is a whole family of functions.
The definite integral, with limits a and b on the sign, is a completely different kind of object. It is a single number: the limit of a sequence of sums, each of which is just a number. The integral from 0 to 2 of x squared is about 2.67, and that is the whole answer.
The fact that the two objects share a symbol is not an accident. Section 5.3 will show that you can evaluate the definite integral using an antiderivative, which is the Fundamental Theorem of Calculus. But until then, the first thing to do with any integral is to check whether it has limits on it.
Concept
\[ \int_a^b f(x)\,dx = \int_a^b f(t)\,dt = \int_a^b f(u)\,du \]
The letter is only a placeholder, like the index i in a sum. Renaming it renames nothing in the answer, because the answer is a number with no variable in it.
\[ \sum_{i=1}^{4} i^2 = \sum_{k=1}^{4} k^2 = 30 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 456 — dummy variable
Because a definite integral is a number, the letter used inside it cannot appear in the answer. That makes the letter a dummy variable, the same way the index in a sum is a dummy. The sum of i squared for i from 1 to 4 is 30, and so is the sum of k squared for k from 1 to 4.
You will use this freedom constantly later in the course. When an integral appears inside a formula that already uses x for something else, you rename the variable of integration to t or u so that the two letters do not collide.
What you cannot rename freely are the limits a and b, or the function itself. Change those and you change the number.
Concept
Theorem 5.1 — If f is continuous on [a, b], then f is integrable on [a, b].
Figure (svg): A step function on the interval from 0 to 4: height 1 up to x equals 2, then height 2.5. The region under it is shaded as two rectangles; an open dot and a closed dot mark the jump at x equals 2.
Continuity is enough, but it is not required. A function that is continuous except for finitely many jumps is still integrable: only the few rectangles straddling a jump are uncertain, and their total width shrinks to zero.
\[ \int_0^4 f(x)\,dx = 1(2) + 2.5(2) = 7 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 457 — Theorem 5.1 and the remark on jump discontinuities
Theorem 5.1 is the guarantee you will lean on most: if the function is continuous on the closed interval, the limit in the definition exists. The book states it without proof, since the proof needs more careful analysis than this course does.
The figure shows why continuity is more than you need. This step function jumps once, at x equal to 2. In any Riemann sum, only the single rectangle that straddles the jump can be uncertain, because its sample might land on either side. Its height is at most 2.5 and its width shrinks to zero, so its effect on the sum vanishes in the limit.
So the integral is just the sum of the two rectangle areas, 2 and 5, giving 7. The same argument works for any finite number of jumps. What breaks integrability is something far wilder, which is the next slide.
Concept
\[ D(x) = \begin{cases} 1 & x \text{ rational} \\ 0 & x \text{ irrational} \end{cases} \quad\text{on } [0, 1] \]
Figure (svg): Two panels for the function that is 1 at rational x and 0 at irrational x, with five subintervals. Left: every sample point chosen rational, so five rectangles of height 1 fill the unit square and the sum is 1. Right: every sample point chosen irrational, so every height is 0 and the sum is 0.
Every subinterval, however thin, contains both kinds of number. Choose rational samples and every sum equals 1; choose irrational ones and every sum equals 0. The sums do not approach one number, so the limit in the definition does not exist.
\[ \sum D(x_i^{*})\,\Delta x = 1 \text{ or } 0 \quad \text{for every } n \]
This function, often called the Dirichlet function, is 1 at every rational number and 0 at every irrational number. It is not something you would meet in an application, but it shows exactly what the phrase provided the limit exists is guarding against.
Every slice of the interval, however thin, contains rational numbers and irrational numbers. So in every Riemann sum you are free to choose all rational samples, which gives heights of 1 and a sum of 1, or all irrational samples, which gives heights of 0 and a sum of 0. Look at the two panels: same slices, completely different answers.
Making the slices thinner does not help, because the choice is available at every n. The sums do not approach one number, so the limit does not exist and the function is not integrable. The lesson to keep is that integrability is about the sums agreeing, whatever samples you pick.
Sorting
Sort into buckets
Sort each function by whether its integral over [0, 1] exists.
Decide each one before you check. The quickest test is Theorem 5.1: if the function is continuous on the closed interval, it is integrable. Be careful with one over x minus 2. It has a vertical asymptote, but at x equal to 2, which is not in the interval from 0 to 1, so on this interval it is perfectly continuous.
Next look for jumps. The half-and-half step function and the floor of 4x both have finitely many jumps, so they are integrable too.
The two failures fail in different ways. The rational-indicator function gives different sums for different samples, as on the last slide. One over x is unbounded near zero: in the first slice you can pick a sample so close to zero that its height, and so the sum, is as large as you like. Unbounded functions are never integrable in the sense of this definition. Chapter 3 of Calculus II handles such integrals with a different, improper, definition.
Worked example
Express the limit of this right sum as a definite integral, naming the interval.
\[ R_n = \frac{3}{n}\sum_{i=1}^{n}\left(3 + \frac{3i}{n}\right) \]
Find the width
Why: The factor outside that does not depend on i is the width.
\[ \Delta x = \frac{3}{n} \;\Longrightarrow\; b - a = 3 \]
Match the sample points
Why: The bracket has the form a plus i times the width.
\[ x_i = 3 + i\cdot\frac{3}{n} \;\Longrightarrow\; a = 3, \quad b = 6 \]
Name the integrand
Why: The bracket IS the sample point, so f just returns its input.
\[ f(x) = x \]
Write the integral
Why: Assemble the pieces.
\[ \lim_{n\to\infty} R_n = \int_3^6 x\,dx \]
Notice a second reading
Why: Take the sample points to start at zero instead and let f add the 3.
\[ x_i = \frac{3i}{n}, \quad f(x) = 3 + x \;\Longrightarrow\; \int_0^3 (3 + x)\,dx \]
Check that both readings agree
Why: Both regions are trapezoids with heights 3 and 6 on a base of 3; the sums at n equal to 10 and 100 close in on the same value.
\[ \tfrac12(3)(3+6) = 13.5, \qquad R_{10} = 13.95, \quad R_{100} = 13.545 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 468 — Exercise 67
This exercise runs the definition in reverse. Instead of building a sum from an integral, you are given a sum and asked which integral it approximates. The key is to find three things: the width, the sample points, and what is done to the sample points.
The width is the factor that stands outside and does not change with i: three over n. That tells you the interval has length 3. The bracket is 3 plus i steps of three over n, which is exactly the pattern of right endpoints starting at a equal to 3. So the interval is from 3 to 6, and since the sum just adds up the sample points themselves, the integrand is x.
The second reading is worth seeing. Put the 3 into the function rather than the starting point, and the same sum is a right sum for 3 plus x on the interval from 0 to 3. That is the same region slid three units to the left, and the check confirms both are 13.5. A sum does not determine a unique integral, but every correct reading gives the same number.
Matching
Match the pairs
Why: Each piece of the integral sign is a piece of the Riemann sum after the limit: the sigma becomes the stretched S, the sampled height becomes the integrand, the width becomes dx, and the partition's endpoints become the limits of integration.
Try the matching before revealing. Each piece of integral notation is the ghost of a piece of the Riemann sum, and seeing it that way makes the notation almost impossible to forget.
The stretched S replaces the sigma. The integrand replaces the sampled heights; in the limit there is no longer one sample per slice to name, just the function itself. The d x replaces the width, which has shrunk away. And the limits of integration are the first and last points of the partition, the ends of the interval.
This way of reading the integral will pay off in Chapter 6, where you will set up integrals for volumes and work by first writing a small slice, height times width, and then letting the sum become an integral.
Trap
A common first attempt:
\[ \int_0^2 x^2\,dx = \frac{x^3}{3} + C \]
Wrong. That is the indefinite integral.
With limits on the sign, the answer is a number. It cannot depend on x, because x is a dummy variable, and it has no constant C.
\[ \int_0^2 x^2\,dx = \frac83 \]
This mistake comes from Section 4.10, where every integral problem ended with an antiderivative plus C. Seeing the integral sign, the hand writes x cubed over 3 plus C out of habit.
Two things should stop you. First, the limits of integration are on the sign, so the answer is a single number. Second, the variable of integration is a dummy, so no x can survive into the answer. If your answer to a definite integral contains the variable of integration, something has gone wrong. The right answer here, eight thirds, comes from the limit of sums on the next part's first worked example.
Tweak it
Parameter explorer
The staircase is the right-endpoint approximation to y = x² on [0, 2]. Slide n. How does the overshoot change, and what number does the sum approach?
\[ R_{{n}} = \frac83 + \frac{4}{{n}} + \frac{8}{6({n})^2} \]
Start at n equal to 1, where one rectangle of height 4 covers the whole interval: a gross overestimate of 8. Now slide n up slowly and watch the readout.
The staircase tops are right endpoints, and for a rising curve the right endpoint of each slice is its highest point, so every rectangle pokes above the parabola. That is why every value you see is bigger than eight thirds. As n grows the pokes get smaller and the formula shows exactly how: the extra terms, four over n and the one with n squared, shrink toward zero.
At 40 rectangles the sum is still about 2.77, a little above 2.67. The approach is slow but steady, and the limit, not any single sum, is the integral. You will compute that limit exactly in Example 5.7.
Section
Part 2
Estimation
Predict first
Before any algebra: the region under y = x² from 0 to 2 sits inside the triangle under the chord from (0, 0) to (2, 4). Which value is closest to the integral?
Correct: about 2.7
Why: The chord's triangle has area one half times 2 times 4, which is 4, and the parabola sags well below the chord, so the answer is clearly less than 4. The rectangle 2 by 4 has area 8, far too much. The exact value, found next, is eight thirds, about 2.67.
\[ \int_0^2 x^2\,dx < \tfrac12(2)(4) = 4 \]
Commit to one option before revealing. Estimating first is a habit that catches arithmetic slips: if your computed answer lands outside a range you can see from the picture, you know to look again.
The chord from the origin to the point 2, 4 lies above the parabola on the whole interval, because a parabola that opens upward bends below its chords. So the region under the parabola is inside the triangle under the chord, whose area is 4. And the region is clearly more than a sliver, so the answer is somewhere between about 2 and 4.
The exact answer, eight thirds, is two thirds of the triangle. That fraction is no coincidence: Archimedes proved more than two thousand years ago that a parabolic segment has a precise, fixed relationship to its triangle, using an argument very like a Riemann sum.
Worked example
\[ \int_0^2 x^2\,dx \quad \text{(right endpoints)} \]
Find the width
Why: The interval has length 2, cut into n equal pieces.
\[ \Delta x = \frac{b-a}{n} = \frac{2}{n} \]
Find the right endpoints
Why: Start at a and take i steps.
\[ x_i = 0 + i\left(\frac{2}{n}\right) = \frac{2i}{n} \]
Evaluate the heights
Why: Square the sample point.
\[ f(x_i) = \left(\frac{2i}{n}\right)^2 = \frac{4i^2}{n^2} \]
Form the Riemann sum
Why: Multiply by the width; the powers of n do not depend on i, so they move outside the sum.
\[ \sum_{i=1}^{n}\frac{4i^2}{n^2}\cdot\frac{2}{n} = \frac{8}{n^3}\sum_{i=1}^{n} i^2 \]
Use the sum of squares
Why: The formula from Section 5.1.
\[ \sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6} \]
Substitute and expand
Why: Multiply out the three factors.
\[ \frac{8}{n^3}\cdot\frac{2n^3 + 3n^2 + n}{6} = \frac{16n^3 + 24n^2 + 8n}{6n^3} \]
Divide each term by the denominator
Why: This separates the part that survives from the parts that vanish.
\[ R_n = \frac83 + \frac{4}{n} + \frac{8}{6n^2} \]
Take the limit
Why: The last two terms go to zero.
\[ \int_0^2 x^2\,dx = \lim_{n\to\infty}\left(\frac83 + \frac4n + \frac{8}{6n^2}\right) = \frac83 \]
Figure (svg): The parabola y equals x squared from 0 to 2, with eight right-endpoint rectangles of width one quarter. Each rectangle's top right corner touches the curve, so each pokes slightly above it.
Check with actual sums
Why: Adding the rectangles directly gives the same values as the formula, and they fall toward 2.667 from above.
\[ R_{10} = 3.08, \quad R_{100} = 2.7068, \quad R_{1000} = 2.6707 \;\to\; 2.6667 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 457-458 — Example 5.7
This is the definition at full strength, and it is worth following every line once, because it shows both that the definition works and why you will want a faster method. The first three steps just translate the setup: width two over n, right endpoints two i over n, heights the square of that.
The key algebraic move is in the Riemann sum step. Everything that depends only on n, not on i, comes out of the sum, leaving the sum of i squared. That sum has a closed formula from Section 5.1, and once it is substituted the whole expression depends only on n. Dividing through by six n cubed separates it into eight thirds, which survives, and two terms with n in the denominator, which vanish.
The check is a genuine one: adding the rectangles directly, with a computer, gives exactly the values the formula predicts, and they fall toward 2.667 from above. You now know the integral from 0 to 2 of x squared is exactly eight thirds, and you have earned it the hard way.
Worked example
\[ \int_0^3 (2x - 1)\,dx \quad \text{(right endpoints)} \]
Width and right endpoints
Why: Length 3, cut into n pieces.
\[ \Delta x = \frac3n, \qquad x_i = \frac{3i}{n} \]
Evaluate the heights
Why: Substitute into 2x minus 1.
\[ f(x_i) = 2\cdot\frac{3i}{n} - 1 = \frac{6i}{n} - 1 \]
Form the sum and split it
Why: Multiply by the width and separate the two pieces.
\[ \sum_{i=1}^{n}\left(\frac{6i}{n} - 1\right)\frac3n = \frac{18}{n^2}\sum_{i=1}^{n} i - \frac3n\sum_{i=1}^{n} 1 \]
Use the sum formulas
Why: The first n whole numbers add to n times n plus 1 over 2; adding 1 n times gives n.
\[ \frac{18}{n^2}\cdot\frac{n(n+1)}{2} - \frac3n\cdot n = \frac{9(n+1)}{n} - 3 \]
Take the limit
Why: The fraction tends to 9.
\[ \lim_{n\to\infty}\left(\frac{9(n+1)}{n} - 3\right) = 9 - 3 = 6 \]
Figure (svg): The line y equals 2x minus 1 from x equals 0 to 3. A small triangle between x equals 0 and one half lies below the axis; a large triangle from one half to 3 lies above it, reaching height 5.
Check with the two triangles
Why: The small triangle below the axis has area one quarter, the big one above has area twenty-five quarters; above minus below is 6, a preview of Part 3.
\[ \tfrac12(2.5)(5) - \tfrac12(0.5)(1) = \tfrac{25}{4} - \tfrac14 = 6 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 458 — Checkpoint 5.7
The steps mirror Example 5.7, with one new feature: the integrand has two terms, so the sum splits into two sums. The first needs the formula for the sum of the first n whole numbers, and the second is just 1 added n times, which is n.
After simplifying you get nine times n plus 1 over n, minus 3. The fraction n plus 1 over n tends to 1, so the limit is 9 minus 3, which is 6.
Look at the picture before trusting that. The line is below the axis between 0 and one half, so the first few rectangles have negative heights. The limit came out as 6, which is exactly the big triangle's area, twenty-five quarters, minus the small triangle's area, one quarter. The definition quietly subtracted the part below the axis. Part 3 of the lesson makes that into a rule.
Intuition
The limit of sums is always the definition. But when the region under the graph is a shape whose area you already know, the limit must equal that area, and you can skip the algebra.
| graph | region | area |
|---|---|---|
| horizontal line | rectangle | width × height |
| slanted line | triangle or trapezoid | ½ h (a + b) |
| y = √(r² − (x − h)²) | half disc (or part of one) | ½ π r² |
Chapter 5 will soon give a faster route for everything, but geometry stays the quickest way to check an answer.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 458 — evaluating definite integrals
The limit of sums is the only definition of the integral. But whenever the region is a rectangle, a triangle, a trapezoid or a piece of a disc, that limit has to equal the area you already know how to compute, because Section 5.1 showed the limit is the area for such regions.
The table lists the three shapes you will use most. The third row is the one to practise recognising: a square root of a constant minus a square is almost always the top half of a circle, and the constant is the radius squared.
Keep geometry in your toolkit even after Section 5.3 gives you antiderivatives. When an integrand is a line or a semicircle, drawing it is often faster than any formula, and it is the best way to check an answer from a formula.
Worked example
\[ \int_3^6 \sqrt{9 - (x-3)^2}\,dx \]
Square both sides of y equal to the root
Why: The root is never negative, so the graph is the top half of whatever curve this is.
\[ y = \sqrt{9-(x-3)^2} \;\Longrightarrow\; y^2 = 9 - (x-3)^2, \quad y \ge 0 \]
Recognise the circle
Why: Move the square to the left side.
\[ (x-3)^2 + y^2 = 9: \quad \text{centre } (3, 0), \; r = 3 \]
Locate the interval on the circle
Why: From the centre, x equal to 3, to the right edge, x equal to 6: one quarter of the disc.
\[ [3, 6] \;\to\; \tfrac14 \text{ of the disc} \]
Use the area of a disc
Why: A quarter of pi r squared.
\[ \int_3^6\sqrt{9-(x-3)^2}\,dx = \tfrac14\pi(3)^2 = \tfrac94\pi \approx 7.069 \]
Figure (svg): The upper half of the circle of radius 3 centred at (3, 0), drawn to scale from x equals 0 to 6. The quarter of the disc between x equals 3 and x equals 6 is shaded.
Check with a midpoint sum
Why: A thousand midpoint rectangles, added by computer, agree to four figures; the region also fits between the triangle and the square on the same base.
\[ M_{1000} = 7.0686, \qquad 4.5 < 7.069 < 9 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 458-459 — Example 5.8 and Figure 5.16
The integrand looks forbidding until you give it a name. Call it y and square both sides, and you get the equation of a circle: x minus 3, squared, plus y squared, equals 9. That is the circle of radius 3 centred at the point 3, 0. Because the original expression was a square root, y is never negative, so the graph is only the top half.
Now look at the interval. It runs from 3, the centre, to 6, the right-hand edge of the circle. The figure draws the radius from the centre to show that this slice is exactly one quarter of the full disc. A quarter of pi times 3 squared is nine quarters of pi, about 7.069.
The check does two things. A midpoint sum with a thousand rectangles agrees to four figures, and a quick sanity bound also works: the quarter disc contains the triangle with legs 3 and 3, of area 4.5, and fits inside the 3 by 3 square, of area 9.
Worked example
\[ \int_2^4 (2x + 3)\,dx \]
Find the two parallel sides
Why: They are the heights of the line at the ends of the interval.
\[ f(2) = 7, \qquad f(4) = 11 \]
Find the distance between them
Why: The base of the trapezoid is the interval's length.
\[ h = 4 - 2 = 2 \]
Apply the trapezoid formula
Why: Half the distance times the sum of the parallel sides.
\[ \int_2^4 (2x+3)\,dx = \tfrac12(2)(7 + 11) = 18 \]
Figure (svg): The line y equals 2x plus 3 over the interval from 2 to 4. The trapezoid under it is split into a rectangle of height 7 and a triangle on top rising from 7 to 11.
Check by cutting it into two pieces
Why: A rectangle of height 7 plus a triangle rising 4 more.
\[ 2(7) + \tfrac12(2)(4) = 14 + 4 = 18 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 459 — Checkpoint 5.8
A straight line over an interval always makes a trapezoid with the axis, as long as it stays on one side of the axis. The two parallel sides are the vertical edges at the ends of the interval, which are just the function's values there: 7 at x equal to 2, and 11 at x equal to 4.
The trapezoid formula is half the distance between the parallel sides times their sum. Here the distance is the length of the interval, 2, so the area is 1 times 18, which is 18.
If you do not trust your memory of the trapezoid formula, the figure shows the check: the trapezoid is a 2 by 7 rectangle with a triangle on top whose height is the rise of the line, 11 minus 7, which is 4. The rectangle gives 14 and the triangle gives 4, and together they make 18.
Prediction
\[ \int_{-2}^{2} \sqrt{4 - x^2}\,dx \]
Predict first
Recognise the region, then choose the value.
Correct: 2π
Why: Squaring gives x² + y² = 4 with y ≥ 0: the top half of the circle of radius 2 centred at the origin. The interval from −2 to 2 covers the whole half, so the area is one half times π times 2², which is 2π, about 6.28. 4π is the whole disc; 8 is the rectangle that contains it.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 469 — Exercise 80
Pick an answer before you reveal. The pattern is the same as Example 5.8, and recognising it quickly is the whole point.
Squaring gives x squared plus y squared equals 4, a circle of radius 2 centred at the origin, and the square root keeps only the top half. This time the interval runs from minus 2 to 2, which is the full width of the circle, so the region is the entire half disc, not a quarter.
Half of pi times 2 squared is 2 pi, about 6.28. The most common wrong answer is 4 pi, which forgets that the square root only produces the upper half. If you picked 8, you found the rectangle that encloses the half disc; the real area should be noticeably smaller, and it is.
Section
Part 3
Picture it
Figure (svg): The parabola y equals 2 minus 2x squared from x equals 0 to 2 with eight left-endpoint rectangles of width one quarter. The first four stand above the axis and are drawn green; the fifth has height zero; the last three hang below the axis and are drawn red, the deepest reaching minus 4.125.
\[ L_8 = \sum_{i=1}^{8} f(x_{i-1})\,\Delta x = 1.5625 - 1.9375 = -0.375 \]
This is the book's Figure 5.17: eight left-endpoint rectangles for 2 minus 2x squared on [0, 2]. The last three have negative heights, so height times width is negative and those rectangles are subtracted.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 459 — Figure 5.17
This is the book's own figure, rebuilt with the actual rectangles. The function is 2 minus 2x squared on the interval from 0 to 2, with eight slices of width one quarter and heights taken at the left end of each slice.
The first four heights are positive: 2, 1.875, 1.5 and 0.875. The fifth, at x equal to 1, is exactly zero. The last three are negative: minus 1.125, minus 2.5 and minus 4.125. A negative height times a positive width is a negative number, so those three rectangles are subtracted, not added.
Add it all up and the green rectangles contribute 1.5625 while the red ones take away 1.9375, leaving minus 0.375. A Riemann sum can be negative, and so can its limit. The next slide says what that limit measures.
Concept
\[ \sum f(x_i^{*})\,\Delta x = (\text{rectangles above}) - (\text{rectangles below}) \]
Let the rectangles get thin and each group of rectangles becomes a region: the area above the axis, called A one, and the area below it, called A two.
\[ \int_a^b f(x)\,dx = A_1 - A_2 \]
net signed area — The area above the axis minus the area below it. It is what the definite integral measures, and it can be positive, negative or zero.
\[ \int_0^2 (2 - 2x^2)\,dx = \tfrac43 - \tfrac83 = -\tfrac43 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 459-460 — Figure 5.18 and net signed area
Take the limit of the sums on the last slide and the green rectangles fill the region above the axis while the red ones fill the region below. So the integral is the area above minus the area below. The book calls the upper area A one and the lower area A two, and both are ordinary, positive areas. The subtraction is done by the integral, not built into the letters.
That difference is called the net signed area. If more area lies above the axis, it is positive; if more lies below, it is negative; if they balance, it is zero.
For 2 minus 2x squared on the interval from 0 to 2, the region above the axis, between 0 and 1, has area four thirds, and the region below, between 1 and 2, has area eight thirds. Both come from limits like Example 5.7. So the integral is minus four thirds, a little below the eight-rectangle estimate of minus 0.375, which was a left sum on a falling curve and so an overestimate.
Notation
Annotate
On: \( \int_a^b f(x)\,dx = A_1 - A_2 \qquad \int_a^b |f(x)|\,dx = A_1 + A_2 \)
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 463 — Definition of net signed area and total area
Read the two formulas side by side; they differ in exactly one symbol. The plain integral subtracts the area below the axis. The integral of the absolute value adds it.
Notice that A one and A two are always positive numbers. It is a common slip to call the lower area negative and then subtract it again, which double-counts the sign. Let the areas be areas, and let the formula decide whether to add or subtract.
The absolute value is what makes the second formula work. Wherever f is negative, the absolute value of f is the same size but positive, which reflects the lower piece up above the axis. Nothing is below the axis any more, so nothing is subtracted, and the integral is the total area.
Worked example
\[ \int_{-3}^{3} 2x\,dx \]
Find where the line crosses the axis
Why: Set 2x equal to zero.
\[ 2x = 0 \;\Longrightarrow\; x = 0 \]
Area above the axis
Why: A triangle from 0 to 3 with height 2 times 3.
\[ A_1 = \tfrac12(3)(6) = 9 \]
Area below the axis
Why: A triangle from minus 3 to 0, depth 6, measured as a positive area.
\[ A_2 = \tfrac12(3)(6) = 9 \]
Subtract
Why: Net signed area is above minus below.
\[ \int_{-3}^{3} 2x\,dx = A_1 - A_2 = 9 - 9 = 0 \]
Figure (svg): The line y equals 2x from x equals minus 3 to 3. A triangle below the axis from minus 3 to 0, reaching down to minus 6, and a congruent triangle above the axis from 0 to 3, reaching up to 6.
Check with symmetry
Why: The function is odd, so each rectangle to the right of zero has a mirror rectangle to the left with the opposite sign, and every Riemann sum with mirrored samples is exactly zero.
\[ f(-x) = 2(-x) = -f(x) \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 460-461 — Example 5.9 and Figure 5.19
Always start a signed-area problem by finding where the graph crosses the axis, because that is where the area switches from counting positive to counting negative. The line 2x crosses at zero, splitting the interval into two halves.
Each half is a right triangle with base 3 and height 6, since 2 times 3 is 6. Each has area 9. Above minus below is 9 minus 9, so the integral is exactly zero, even though the picture clearly contains 18 square units of region.
The check explains why the cancellation is exact rather than a coincidence. The function 2x is odd: its value at minus x is the negative of its value at x. So for every rectangle on the right there is a mirror rectangle on the left with the opposite height. They cancel in pairs in every sum, and so in the limit. You will use this shortcut often: an odd function integrated over an interval symmetric about zero gives zero.
Worked example
\[ \int_0^6 (x - 2)\,dx \]
Find the zero
Why: The line crosses the axis where x equals 2.
\[ x - 2 = 0 \;\Longrightarrow\; x = 2 \]
Area below the axis, from 0 to 2
Why: A triangle with base 2 and depth 2.
\[ A_2 = \tfrac12(2)(2) = 2 \]
Area above the axis, from 2 to 6
Why: A triangle with base 4 and height 4.
\[ A_1 = \tfrac12(4)(4) = 8 \]
Subtract
Why: Above minus below.
\[ \int_0^6 (x-2)\,dx = 8 - 2 = 6 \]
Figure (svg): The line y equals x minus 2 from 0 to 6: a small triangle below the axis between 0 and 2, reaching down to minus 2, and a larger triangle above the axis between 2 and 6, reaching up to 4.
Check by splitting the integrand
Why: The integral of x from 0 to 6 is a triangle of area 18 and the integral of 2 is a rectangle of area 12; their difference must be the same net area.
\[ \int_0^6 x\,dx - \int_0^6 2\,dx = 18 - 12 = 6 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 461 — Checkpoint 5.9
The same routine: find the crossing, measure each triangle, subtract. The line x minus 2 crosses at 2, so there is a small triangle below the axis on the interval from 0 to 2 and a larger one above it from 2 to 6.
The lower triangle has base 2 and depth 2, so area 2. The upper one has base 4 and height 4, so area 8. The net signed area is 8 minus 2, which is 6.
The check previews Part 4 of the lesson. Splitting the integrand into x and 2, the integral of x from 0 to 6 is a triangle of area 18, and the integral of the constant 2 is a rectangle of area 12. Their difference is again 6. Two completely different ways of cutting up the same integral agree, which is strong evidence that both are right.
Prediction
\[ \int_1^3 (2 - x)\,dx \]
Predict first
Look at the graph in your head before computing. What is the sign of this integral?
Correct: Zero
Why: The line 2 − x crosses the axis at x = 2, the midpoint of [1, 3]. From 1 to 2 it forms a triangle of area 1/2 above the axis; from 2 to 3 a congruent triangle of area 1/2 below. Above minus below is 0.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 470 — Exercise 96
Choose before revealing, and try to answer from a mental picture alone. The hint in the book says to look at the graph of f, and that is really all it takes.
The line 2 minus x crosses the axis at 2, which happens to be the midpoint of the interval from 1 to 3. On the left half it is above the axis, forming a triangle with base 1 and height 1. On the right half it is below, forming the mirror-image triangle. Equal areas above and below mean the integral is zero.
Exercise 97 in the book is the same idea with a curve: x minus 3, cubed, on the interval from 2 to 4. The graph is symmetric through the point 3, 0, so the area above cancels the area below and that integral is zero as well.
Concept
Figure (svg): A velocity graph in miles per hour against time in hours: a bar of height 60 from t equals 0 to 2 above the axis, then a bar of depth 40 from t equals 2 to 5 below the axis. Both bars have area 120.
\[ \int_0^2 60\,dt + \int_2^5 (-40)\,dt = 120 - 120 = 0 \]
Velocity is signed: north positive, south negative. The area under a velocity graph is the change in position, the displacement, so a car that drives out and back has net signed area zero. It ended where it started.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 461-462 — Figures 5.20 and 5.21
This is the application that makes signed area feel natural. When velocity is constant, distance is velocity times time, which is the area of a rectangle under the velocity graph. A car driving at 70 miles per hour for 2 hours covers 140 miles, and the integral of 70 from 0 to 2 is 140.
Now let the car drive north at 60 for 2 hours and then turn round and drive south at 40 for 3 hours. Measure velocity as positive for north and negative for south. The first bar has signed area plus 120, the second minus 120, and the integral adds them to get zero.
Zero is the right answer to one particular question: where is the car now, compared with where it started? It is back at home. The integral of a velocity is the net change in position, called displacement, and a trip out and back has none.
Concept
The odometer does not care about direction. To get the distance driven, add the areas instead of subtracting, which is what the absolute value does.
\[ \int_0^2 |60|\,dt + \int_2^5 |-40|\,dt = 120 + 120 = 240 \]
total area — The area between the graph and the axis with every piece counted as positive: the integral of the absolute value of f, equal to A one plus A two.
\[ \int_a^b |f(x)|\,dx = A_1 + A_2 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 462-463 — total area
Zero displacement is true, but it is not what the car's odometer says. The odometer adds up every mile, whichever way the car was going. To get that number you need the areas added, not subtracted.
That is exactly what the absolute value of the velocity does: minus 40 becomes 40, the southbound bar is reflected above the axis, and the two bars now add to 240 miles. The absolute value of velocity is speed, so this integral is the distance travelled.
The general definition follows the same pattern. The total area between f and the axis is the integral of the absolute value of f, which is A one plus A two. Whenever you see the word total in a question, or the words area between, or distance, expect to need this version.
Worked example
Find the total area between the line and the x-axis on [0, 6].
\[ \int_0^6 |x - 2|\,dx \]
Find the zero and split there
Why: Total area must be taken piece by piece on each side of the crossing.
\[ x = 2: \quad [0, 2] \text{ and } [2, 6] \]
Area of the piece below the axis
Why: The absolute value turns it into a positive area.
\[ A_2 = \tfrac12(2)(2) = 2 \]
Area of the piece above the axis
Why: Unchanged by the absolute value.
\[ A_1 = \tfrac12(4)(4) = 8 \]
Add
Why: Total area is above plus below.
\[ \int_0^6 |x-2|\,dx = A_1 + A_2 = 8 + 2 = 10 \]
Figure (svg): The V-shaped graph of the absolute value of x minus 2 from 0 to 6: a triangle of height 2 between 0 and 2 and a triangle of height 4 between 2 and 6, both above the axis.
Check against the net area
Why: Total minus net should be twice the area below the axis, because the net area subtracted that piece instead of adding it.
\[ 10 - 6 = 4 = 2A_2 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 463 — Example 5.10 and Figure 5.22
This is the same line as Checkpoint 5.9, now asking for total area. The work is almost identical, and the only change is the final operation: add instead of subtract.
Splitting at the zero is not optional. The absolute value of x minus 2 is a V shape, and you can only measure it as two separate triangles, one on each side of the corner at 2. The figure shows both triangles flipped above the axis. Their areas are 2 and 8, so the total area is 10.
The check links the two answers. Net area is 8 minus 2, total area is 8 plus 2, so the difference between them is twice the area below the axis. Six and ten differ by 4, which is twice 2. That relationship is a handy way to catch a sign error whenever you have computed both.
Fill the middle
\[ \int_{-3}^{3} |2x|\,dx \]
Fill in the blanks
\int_18^___|2x|\,dx = A_1 + A_2 = 9 + 9 = ___
Why: The two triangles from Example 5.9 each have area 9. The plain integral subtracted them and got 0; the total area adds them and gets 18.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 463 — Checkpoint 5.10
Fill in the blank before checking. You already have both triangles from Example 5.9, so the only question is what to do with them.
Total area adds the two areas, 9 and 9, giving 18. Compare this with the net signed area of zero for the very same region. The same picture can produce two different, correct numbers, depending on which question is being asked.
Sorting
Sort into buckets
Each quantity comes from integrating a rate that is sometimes negative. Sort by which kind of integral answers it.
Sort each item before checking. The question to ask yourself is: does a negative contribution genuinely cancel a positive one in real life?
Position, water level and profit are balances. Driving back undoes driving out, water flowing out undoes water flowing in, and a loss-making day really does reduce the year's profit. Those questions want the plain integral, the net amount.
Distance on an odometer, the amount of paint to cover a region, and the length of a guard's walk are totals. A step backwards still wears out shoe leather, and the region below the axis still needs paint. Those questions want the integral of the absolute value.
Trap
Asked for the total area between 2x and the axis from minus 3 to 3:
\[ \int_{-3}^{3} 2x\,dx = 0 \]
Wrong. The region plainly has area.
The plain integral gives net area, and here the two triangles cancel. An area of zero for a visible region is the warning sign. Split at the zero and add the pieces as positive areas.
\[ \int_{-3}^{3}|2x|\,dx = 9 + 9 = 18 \]
The integral written here is computed correctly: it really is zero. The mistake is in using it to answer a total-area question. The plain integral always computes net signed area, and for this odd function the two triangles cancel.
The quickest protection is a sense check. An area question about a region you can see should never come out as zero or negative. If it does, go back, find where the function crosses the axis, and add the pieces as positive areas. Here that gives 18.
Error analysis
Annotate
On: \( \int_0^6 |x - 2|\,dx = \left|\int_0^6 (x-2)\,dx\right| = |6| = 6 \)
Look at the argument first and see if you can spot the problem before revealing the notes. The final number, 6, is suspicious: it is the net area from Checkpoint 5.9, not the total area from Example 5.10.
The error is where the absolute value bars sit. Putting them outside the integral takes the absolute value of one number, the net area, after all the cancelling has already happened. Putting them inside takes the absolute value of every height before anything is added, so nothing can cancel.
The two versions agree only when f keeps one sign on the whole interval, and otherwise the version with the bars outside is always smaller. Exercise 130 in the book asks you to explain that inequality, and this picture is the explanation.
Tweak it
Parameter explorer
The graph is y = x − c on [0, 6]. Slide c. For which c is the net signed area zero? Where is it 6, as in Checkpoint 5.9?
\[ \int_0^6 (x - {c})\,dx = 18 - 6({c}) \]
Start at c equal to 2, which is Checkpoint 5.9, and check that the readout gives 6. Then slide c to the right and watch the line sink.
As c increases, more of the line lies below the axis and less above, so the net area falls. The readout shows it falling by 6 for every unit of c, because shifting the line down by one unit subtracts a 6 by 1 rectangle from the net area.
At c equal to 3 the crossing sits exactly in the middle of the interval, the two triangles are congruent, and the net area is zero, just like Exercise 96. Push c past 3 and the net area turns negative. The picture never changes character; only the balance between the two triangles does.
Section
Part 4
Concept
\[ \int_a^a f(x)\,dx = 0 \qquad (5.9) \]
An interval of length zero has width zero in every slice, so every Riemann sum is zero.
\[ \int_b^a f(x)\,dx = -\int_a^b f(x)\,dx \qquad (5.10) \]
Running the partition from b back to a makes each width negative, while the heights are the same. Every term changes sign, so the limit does too.
\[ \Delta x = \frac{a - b}{n} = -\frac{b-a}{n} \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 464 — properties 1 and 2
Both of these properties come straight from the definition, and it is worth seeing where they come from rather than memorising them. When the two limits are the same, the interval has length zero, every slice has width zero, and every Riemann sum is zero. A line segment has no area.
The reversed rule is more interesting. If you run the partition from b back to a, the width becomes a minus b over n, which is the negative of the usual width. The sample points and heights are the same as before, so every term in the sum has the opposite sign, and so does the limit.
So integrating backwards gives the negative. This is not a convention picked for convenience; it is what the definition produces. And, as you will see with property 6, it is exactly what makes the rules work for every possible order of the limits.
Concept
\[ \int_a^b \left[f(x) \pm g(x)\right]dx = \int_a^b f(x)\,dx \pm \int_a^b g(x)\,dx \]
\[ \int_a^b c f(x)\,dx = c\int_a^b f(x)\,dx \]
Each rule is already true for every Riemann sum, because a finite sum can be split term by term and a common factor can come out. Limits respect sums and constant multiples, so the rules survive the limit.
\[ \sum\left[f(x_i^{*}) + g(x_i^{*})\right]\Delta x = \sum f(x_i^{*})\Delta x + \sum g(x_i^{*})\Delta x \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 464 — properties 3, 4 and 5 (5.11 to 5.13)
These three properties are the ones you already know from Section 4.10 for antiderivatives, and from Section 5.1 for finite sums. The definite integral inherits them from the sums it is built from.
The last line on the slide is the whole proof of the sum rule. In a finite sum you can always regroup terms, so the Riemann sum for f plus g is the Riemann sum for f plus the Riemann sum for g. The limit of a sum is the sum of the limits, and you are done. A constant factor works the same way: it multiplies every term, so it can be taken outside the sum and then outside the limit.
These rules are what let you break a complicated integrand into simple pieces, some of which geometry can handle. The next worked examples practise exactly that.
Picture it
Figure (svg): A positive curve over an interval from a to b, split at an interior point c. The region from a to c is shaded one colour and the region from c to b another.
\[ \int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx \qquad (5.14) \]
With c between a and b this is the picture: two regions side by side. With the reversal rule, the same formula holds for every c, even outside the interval, as long as f is integrable on the largest interval involved.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 464 — property 6
The picture is the proof when c lies between a and b: the region from a to b is the region from a to c placed next to the region from c to b, and areas of side-by-side regions add. The same is true of signed areas, since each piece keeps its own sign.
What is surprising is that the formula stays true when c is outside the interval. Suppose c is beyond b. Then the integral from c to b runs backwards, so by the reversal rule it is minus the integral from b to c. The formula now says the integral from a to b is the integral from a to c minus the part from b to c, which is again just a picture of a bigger region with a piece removed.
So you never need to worry about the order of a, b and c when using property 6, as long as f is integrable on the largest of the intervals involved. That freedom is used in Checkpoint 5.12.
Worked example
Use the properties to write this as a sum of three definite integrals.
\[ \int_{-2}^{1}\left(-3x^3 + 2x + 2\right)dx \]
Split the sum (property 3)
Why: One integral for each term.
\[ = \int_{-2}^{1} -3x^3\,dx + \int_{-2}^{1} 2x\,dx + \int_{-2}^{1} 2\,dx \]
Pull out the constants (property 5)
Why: The 3 and the 2 in front of the powers leave the integrals.
\[ = -3\int_{-2}^{1} x^3\,dx + 2\int_{-2}^{1} x\,dx + \int_{-2}^{1} 2\,dx \]
Evaluate the two easy pieces
Why: The integral of x is two signed triangles; the integral of 2 is a rectangle of width 3.
\[ \int_{-2}^{1} x\,dx = -2 + \tfrac12 = -\tfrac32, \qquad \int_{-2}^{1} 2\,dx = 6 \]
Check numerically
Why: Midpoint sums with a thousand rectangles give negative 3.75 for the cube integral and 14.25 for the original, and the pieces recombine to the same value.
\[ -3(-3.75) + 2\left(-\tfrac32\right) + 6 = 14.25 = M_{1000} \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 464-465 — Example 5.11
The task is only to rewrite, not to evaluate, and each step uses one property. First the sum rule gives one integral per term. Then the constant multiple rule pulls the coefficients out front, so each remaining integral has the simplest possible integrand.
Two of the three pieces can then be finished with geometry. The integral of x from minus 2 to 1 is a triangle of area 2 below the axis and a triangle of area one half above it, so minus three halves. The integral of the constant 2 over an interval of length 3 is a rectangle of area 6.
The integral of x cubed has no simple shape, which is why the check is numerical: a computer's midpoint sum gives minus 3.75 for it, and putting the three pieces back together gives 14.25, exactly what a midpoint sum of the original integrand gives. In Section 5.3 you will be able to get the minus 3.75 exactly, in one line.
Worked example
\[ \int_{1}^{3}\left(6x^3 - 4x^2 + 2x - 3\right)dx \]
Split into four (properties 3 and 4)
Why: Sums and differences both split.
\[ = \int_1^3 6x^3\,dx - \int_1^3 4x^2\,dx + \int_1^3 2x\,dx - \int_1^3 3\,dx \]
Pull out the constants (property 5)
Why: Every coefficient comes out front.
\[ = 6\int_1^3 x^3\,dx - 4\int_1^3 x^2\,dx + 2\int_1^3 x\,dx - 3\int_1^3 1\,dx \]
Evaluate the two geometric pieces
Why: A trapezoid with heights 1 and 3, and a rectangle of width 2.
\[ \int_1^3 x\,dx = \tfrac12(2)(1+3) = 4, \qquad \int_1^3 1\,dx = 2 \]
Check numerically
Why: Midpoint sums give 20 and 8.6667 for the power integrals, and the four pieces recombine to the midpoint value of the whole.
\[ 6(20) - 4(8.6667) + 2(4) - 3(2) = 87.333 = M_{1000} \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 465 — Checkpoint 5.11
Same procedure, four terms. The difference rule treats a minus sign exactly like a plus, so the four integrals come out with the signs of the original terms. Then every coefficient comes out front.
It is a matter of taste whether the last integral is written as the integral of 3 or as 3 times the integral of 1. Both are correct; the second makes the pattern of constant times simple integral completely uniform.
Again two pieces have shapes. The integral of x from 1 to 3 is a trapezoid with parallel sides 1 and 3 and width 2, so area 4, and the integral of 1 is a rectangle of area 2. The check reassembles the four pieces, using numerical values for the two power integrals, and matches the midpoint sum of the whole integrand, about 87.333.
Worked example
Given the two integrals below, find the integral of f from 5 to 8.
\[ \int_0^8 f(x)\,dx = 10, \qquad \int_0^5 f(x)\,dx = 5 \]
Split [0, 8] at 5 (property 6)
Why: The whole is the sum of its two parts.
\[ \int_0^8 f(x)\,dx = \int_0^5 f(x)\,dx + \int_5^8 f(x)\,dx \]
Substitute the known values
Why: Only one unknown remains.
\[ 10 = 5 + \int_5^8 f(x)\,dx \]
Solve
Why: Subtract 5 from both sides.
\[ \int_5^8 f(x)\,dx = 5 \]
Check by adding back
Why: The two parts must rebuild the whole.
\[ 5 + 5 = 10 = \int_0^8 f(x)\,dx \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 465 — Example 5.12
Here you are not given the function at all, only two of its integrals. Property 6 is the only tool needed. The interval from 0 to 8 splits at 5 into the interval from 0 to 5 and the interval from 5 to 8.
Writing that split as an equation and substituting the two known numbers leaves one unknown, the integral from 5 to 8, which must be 5.
Questions like this appear constantly on exams because they test whether you understand the properties, rather than whether you can do algebra. The check is simply to put the pieces back together: 5 plus 5 is 10, the given whole.
Worked example
Given the two integrals below, find the integral of f from 1 to 2.
\[ \int_1^5 f(x)\,dx = -3, \qquad \int_2^5 f(x)\,dx = 4 \]
Split [1, 5] at 2
Why: Property 6 with c equal to 2.
\[ \int_1^5 f(x)\,dx = \int_1^2 f(x)\,dx + \int_2^5 f(x)\,dx \]
Substitute
Why: Put in the two given values.
\[ -3 = \int_1^2 f(x)\,dx + 4 \]
Solve
Why: Subtract 4 from both sides.
\[ \int_1^2 f(x)\,dx = -7 \]
Check with a split point outside the interval
Why: Property 6 also holds with c equal to 5, beyond 2, once the reversed piece takes a minus sign.
\[ \int_1^2 f = \int_1^5 f + \int_5^2 f = -3 + (-4) = -7 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 465 — Checkpoint 5.12
This time the answer comes out negative, and that is fine: a definite integral is net signed area, so a negative value just means more of the graph between 1 and 2 lies below the axis than above.
The setup is the same as Example 5.12. Split the interval from 1 to 5 at 2, substitute the two given values, and solve for the missing piece: minus 3 equals the unknown plus 4, so the unknown is minus 7.
The check uses the stronger form of property 6, with the split point 5 lying outside the interval from 1 to 2. The integral from 1 to 2 equals the integral from 1 to 5 plus the integral from 5 back to 2. That last piece runs backwards, so it is minus 4, and minus 3 plus minus 4 is minus 7 again. Two routes, one answer.
Comparison
\[ \int_0^4 f = 5, \quad \int_0^2 f = -3, \quad \int_0^4 g = -1, \quad \int_0^2 g = 2 \]
Comparison matrix
| integral | split it | value |
|---|---|---|
| ∫ from 0 to 4 of (f + g) | 5 + (−1) | 4 |
| ∫ from 2 to 4 of (f + g) | (5 − (−3)) + (−1 − 2) | 5 |
| ∫ from 0 to 2 of (f − g) | −3 − 2 | -5 |
| ∫ from 2 to 4 of (f − g) | 8 − (−3) | 11 |
| ∫ from 0 to 2 of (3f − 4g) | 3(−3) − 4(2) | -17 |
| ∫ from 2 to 4 of (4f − 3g) | 4(8) − 3(−3) | 41 |
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 469 — Exercises 88 to 93
Fill in the value column before checking. For each row, first decide which interval you need, then which properties to use. The middle column shows the split, so use it as a hint if you get stuck.
Any integral from 2 to 4 is not given directly; it comes from property 6. The integral of f from 2 to 4 is the integral from 0 to 4 minus the integral from 0 to 2, which is 5 minus minus 3, so 8. For g it is minus 1 minus 2, so minus 3. Once you have those two numbers, every row from 2 to 4 is just arithmetic.
Watch the signs in the last two rows. Three times minus 3, minus four times 2, is minus 17. Four times 8, minus three times minus 3, is 32 plus 9, which is 41. Most errors in this kind of question are sign errors, not errors in the properties.
Trap
By analogy with the sum rule:
\[ \int_0^1 x\cdot x\,dx = \int_0^1 x\,dx\cdot\int_0^1 x\,dx \]
Wrong. There is no product rule of this kind.
A sum of products is not a product of sums, so nothing like this holds for Riemann sums. Test it: the left side is one third, the right side is one half times one half.
\[ \tfrac13 \ne \tfrac12\cdot\tfrac12 = \tfrac14 \]
The sum rule and the constant rule are so convenient that it is tempting to invent a product rule to go with them. There is no such rule, and the smallest example shows it.
The integral of x times x from 0 to 1 is the integral of x squared, which is one third. The integral of x from 0 to 1 is a triangle of area one half, and one half times one half is one quarter. One third is not one quarter. The underlying reason is that a sum of products is not a product of sums: the sum of a times b is not the sum of a times the sum of b. When you meet a product inside an integral, you will need a real technique, such as substitution in Section 5.5.
Concept
Theorem 5.2 — With a at most b: (i) if f is never negative on [a, b], neither is its integral; (ii) if f is at least g everywhere on [a, b], the integral of f is at least the integral of g; (iii) if f stays between two constants m and M on [a, b], the integral lies between m times the length of the interval and M times the length.
Figure (svg): The curve y equals one over x from x equals 1 to 2, sandwiched between a short rectangle of height one half and a tall outlined rectangle of height 1, both on the same base from 1 to 2.
\[ \tfrac12 \le \frac1x \le 1 \text{ on } [1, 2] \;\Longrightarrow\; \tfrac12 \le \int_1^2 \frac{dx}{x} \le 1 \]
You get a trustworthy bound without evaluating anything. The true value here is the natural log of 2, about 0.693, as Section 5.6 will show.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 465-466 — Theorem 5.2
Theorem 5.2 turns inequalities between functions into inequalities between integrals. Part one says a function that is never negative has an integral that is never negative. Part two says a function that is always at least as big as another has at least as big an integral. Part three traps an integral between two rectangles.
The figure shows part three for one over x on the interval from 1 to 2. The function falls from 1 to one half there, so the region under it sits on top of the short rectangle of height one half and fits under the tall rectangle of height 1. Its area is therefore at least one half and at most 1.
This is useful precisely because it needs no evaluation. You may not be able to compute an integral yet, but you can almost always bound it. The actual value, about 0.693, sits comfortably inside the bounds.
Notation
Annotate
On: \( m \le f(x) \le M \;\Longrightarrow\; m(b-a) \le \int_a^b f(x)\,dx \le M(b-a) \)
Step through the notes and connect each to the picture on the previous slide. The number m is any height the function never goes below, and M is any height it never goes above. The best bounds come from choosing the actual minimum and maximum.
Each side of the inequality is a rectangle's area. Every Riemann sum is a sum of heights times widths, and every height lies between m and M, so every sum lies between m times the total width and M times the total width. The limit inherits the same bounds.
The last note is a genuine restriction. All the comparison properties assume the limits are in the usual order, a no bigger than b. If you reverse the limits the integral changes sign, and a positive function would have a negative integral, so the inequalities would point the wrong way.
Worked example
Compare these two functions on [0, 1], and their integrals.
\[ f(x) = \sqrt{1 + x^2}, \qquad g(x) = \sqrt{1 + x} \]
Compare what is under the roots
Why: Subtract one from the other.
\[ (1 + x) - (1 + x^2) = x - x^2 = x(1 - x) \]
Find the sign on [0, 1]
Why: Both factors are at least zero there.
\[ x(1-x) \ge 0 \;\Longrightarrow\; 1 + x^2 \le 1 + x \]
Take square roots
Why: The square root is increasing, so it keeps the order.
\[ \sqrt{1 + x^2} \le \sqrt{1 + x} \quad\text{on } [0, 1] \]
Apply Theorem 5.2 (ii)
Why: The larger function has the larger integral.
\[ \int_0^1 \sqrt{1+x^2}\,dx \le \int_0^1 \sqrt{1+x}\,dx \]
Figure (svg): The curves square root of 1 plus x and square root of 1 plus x squared on the interval from 0 to 1, zoomed in vertically. They meet at x equals 0 and x equals 1; between those points the first curve is above the second, and the thin gap between them is shaded.
Check numerically
Why: Midpoint sums give the two values below; the widest gap between the curves is only about 0.108, near x equal to 0.455.
\[ 1.1478 \le 1.2190 \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 466 — Example 5.13 and Figures 5.23, 5.24
On a graphing calculator these two curves look like one curve on the interval from 0 to 1, and the book makes the point that you have to zoom in to see which is on top. Algebra settles it more reliably than zooming.
Compare what is under the two square roots. Their difference is x minus x squared, which factors as x times 1 minus x. On the interval from 0 to 1 both factors are at least zero, so the difference is at least zero, and 1 plus x is at least 1 plus x squared. The square root function is increasing, so taking square roots keeps the order. So g is on top, touching f only at the two ends.
Part two of Theorem 5.2 then says the integral of f is at most the integral of g. The zoomed figure shows the thin red sliver between them, and the numerical check puts the two integrals at about 1.148 and 1.219.
Step zero
\[ \text{Show that } \int_0^3 \left(x^2 - 6x + 9\right)dx \ge 0 \]
Discussion prompt
You do not need the value of this integral. What one-line observation about the integrand settles it, and which part of Theorem 5.2 do you then quote?
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 470 — Exercise 104
Write your answer before revealing. The instinct is to start computing, but the question only asks for an inequality, and part one of the comparison theorem needs only the sign of the integrand.
The integrand x squared minus 6x plus 9 is a perfect square, x minus 3 all squared. A square is never negative, so the integrand is never negative on the interval from 0 to 3, and so its integral is not negative either. That is the entire proof.
Recognising a perfect square, or any other expression whose sign is obvious, is often the whole of a comparison problem. The other exercises in this group, such as comparing the square root of 1 plus x cubed with the square root of 1 plus x squared, work the same way as Example 5.13.
Section
Part 5
Concept
\[ \frac{89 + 90 + 56 + 78 + 100 + 69}{6} = \frac{482}{6} \approx 80.33 \]
A function on an interval has infinitely many values, so sample it instead: one value per slice, then average the samples. The width of each slice turns the count of samples into a Riemann sum.
\[ \frac{f(x_1^{*}) + \cdots + f(x_n^{*})}{n}, \qquad n = \frac{b-a}{\Delta x} \]
\[ = \frac{1}{b-a}\sum_{i=1}^{n} f(x_i^{*})\,\Delta x \;\longrightarrow\; \frac{1}{b-a}\int_a^b f(x)\,dx \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 466-467 — average value derivation
Averaging six test scores means adding them and dividing by six, giving about 80.33. But a function such as a speed over time has infinitely many values, so you cannot add them all. The fix is to sample.
Cut the interval into n equal slices, pick one value of the function in each slice, and average those n samples. The trick is in the second line: the number of samples, n, is the length of the interval divided by the width of each slice. Dividing by n is the same as multiplying by the width and dividing by the length.
That turns the average of the samples into a Riemann sum divided by the length of the interval. Let the slices get thin and the Riemann sum becomes the integral. So the average value of a function is its integral divided by the length of the interval.
Picture it
average value — If f is continuous on [a, b], its average value there is the integral of f over [a, b] divided by the length of the interval.
\[ f_{\text{ave}} = \frac{1}{b-a}\int_a^b f(x)\,dx \]
Figure (svg): The parabola y equals x squared from 0 to 2 with the region under it shaded, and a dashed horizontal line at height four thirds with a rectangle of that height outlined on the same base. The line crosses the curve at x about 1.155, marked with a dot.
Multiply both sides by the width and the definition says: a rectangle of height f ave on the same base has exactly the same area as the region under the curve.
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 467 — Definition of average value
The definition is short: integrate, then divide by the length of the interval. The picture is what makes it memorable. Multiply the definition through by b minus a, and it says that a rectangle whose height is the average value has the same area as the region under the curve.
In the figure the function is x squared on the interval from 0 to 2. Its integral is eight thirds, from Example 5.7, and dividing by the length 2 gives an average of four thirds. The dashed rectangle of height four thirds has area eight thirds, the same as the region. On the left the rectangle sticks up above the curve; on the right the curve rises above the rectangle; the two mismatches exactly balance.
The dot marks where the curve crosses its own average height, at about 1.155. That there must be such a crossing for a continuous function is the subject of a later slide.
Worked example
\[ f(x) = x + 1 \quad\text{on } [0, 5] \]
Find the integral with the trapezoid formula
Why: Heights 1 and 6 on a base of 5.
\[ \int_0^5 (x+1)\,dx = \tfrac12(5)(1 + 6) = \tfrac{35}{2} \]
Divide by the width
Why: The interval has length 5.
\[ f_{\text{ave}} = \frac{1}{5 - 0}\cdot\frac{35}{2} = \frac72 \]
Figure (svg): The trapezoid under y equals x plus 1 from 0 to 5, with heights 1 and 6 at the ends, and a dashed horizontal line at height 3.5 meeting the line at x equals 2.5.
Check with the endpoints
Why: For a straight line the average height is the average of the two end heights, reached at the midpoint.
\[ \frac{f(0) + f(5)}{2} = \frac{1 + 6}{2} = \frac72 = f(2.5) \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, pp. 467-468 — Example 5.14 and Figure 5.25
Two steps: find the integral, then divide by the length of the interval. The region under x plus 1 on the interval from 0 to 5 is a trapezoid with parallel sides 1 and 6 and width 5, so the integral is thirty-five halves. Dividing by 5 gives seven halves, 3.5.
The check shows a shortcut that is special to straight lines. A linear function rises at a constant rate, so it spends as much of the interval below its midpoint height as above it, and its average is simply the average of its two end values. One plus 6, over 2, is 3.5.
The figure shows where that average is reached: at x equal to 2.5, the exact middle of the interval. For a curved function the average is usually reached somewhere else, as the x squared example showed.
Worked example
\[ f(x) = 6 - 2x \quad\text{on } [0, 3] \]
Find the integral
Why: The line falls from 6 to 0, so the region is a triangle.
\[ \int_0^3 (6 - 2x)\,dx = \tfrac12(3)(6) = 9 \]
Divide by the width
Why: The interval has length 3.
\[ f_{\text{ave}} = \frac{9}{3} = 3 \]
Check with the endpoints
Why: Again a straight line: the average of the end heights, reached at the midpoint.
\[ \frac{f(0) + f(3)}{2} = \frac{6 + 0}{2} = 3 = f(1.5) \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 468 — Checkpoint 5.13
The line falls from 6 at x equal to 0 to zero at x equal to 3, so the region under it is a right triangle with legs 3 and 6, of area 9. Dividing by the length of the interval, 3, gives an average of 3.
The endpoint shortcut from the last example confirms it: the average of 6 and 0 is 3. And since this is a straight line, the average height is reached at the midpoint, x equal to 1.5, where 6 minus 3 is indeed 3.
A decreasing function is no different from an increasing one here. What matters is only the area and the length of the interval.
Concept
Take m and M to be the minimum and maximum of a continuous f on [a, b]. Part (iii) of the comparison theorem traps the integral, and dividing by the width traps the average.
\[ m(b-a) \le \int_a^b f(x)\,dx \le M(b-a) \]
\[ m \le f_{\text{ave}} \le M \]
A continuous function takes every value between its minimum and maximum (the Intermediate Value Theorem), so it takes the value f ave somewhere.
\[ f(c) = f_{\text{ave}} \quad\text{for some } c \text{ in } [a, b] \]
Section 5.3 names this the Mean Value Theorem for Integrals.
Follow the chain of reasoning, because every link is something you already know. A continuous function on a closed interval has a minimum m and a maximum M, by the Extreme Value Theorem of Section 4.3. Part three of the comparison theorem then traps the integral between m times the length and M times the length.
Divide through by the length and the average value is trapped between m and M. Now the Intermediate Value Theorem from Section 2.4 says that a continuous function takes every value between its minimum and its maximum. So the function must actually equal its average at some point c of the interval.
This is the Mean Value Theorem for Integrals, and Section 5.3 uses it to prove the Fundamental Theorem of Calculus. The exercises in this section ask you to find the point c, as in the next example.
Worked example
\[ f(x) = x^2 \quad\text{on } [-1, 1]: \quad \text{find } f_{\text{ave}} \text{ and } c \]
Integrate from 0 to 1 by the limit
Why: Exactly Example 5.7 with b equal to 1, so the width is 1 over n.
\[ \int_0^1 x^2\,dx = \lim_{n\to\infty}\frac{1}{n^3}\cdot\frac{n(n+1)(2n+1)}{6} = \frac13 \]
Use symmetry for the left half
Why: The graph is a mirror image across the y-axis, so the left half has the same area.
\[ \int_{-1}^{1} x^2\,dx = \tfrac13 + \tfrac13 = \tfrac23 \]
Divide by the width
Why: The interval has length 2.
\[ f_{\text{ave}} = \frac{1}{2}\cdot\frac23 = \frac13 \]
Solve for c
Why: Set the function equal to its average.
\[ c^2 = \tfrac13 \;\Longrightarrow\; c = \pm\frac{1}{\sqrt3} \approx \pm 0.5774 \]
Check both values of c
Why: Both lie inside [minus 1, 1] and square to one third.
\[ \left(\pm\tfrac{1}{\sqrt3}\right)^2 = \tfrac13 = f_{\text{ave}} \]
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 470 — Exercise 110
The first step reuses Example 5.7. With b equal to 1 the width is one over n and the same algebra leads to one third. You do not need to redo the sum formula; the structure is identical.
The interval from minus 1 to 1 is symmetric, and x squared is an even function, so the left half of the region is the mirror image of the right half and has the same area. The whole integral is two thirds, and dividing by the length 2 gives an average of one third.
Finding c means solving x squared equals one third, and there are two solutions, plus and minus one over root 3, about plus or minus 0.577. Both are inside the interval, and the theorem only promised at least one. The check confirms that squaring either value gives one third.
Counterexample
Figure (svg): A step function on the interval from 0 to 2: height 0 up to x equals 1, then height 1. A dashed horizontal line at height one half runs across and never touches the graph.
Discussion prompt
The average value is always reached for a continuous function. Show that continuity cannot be dropped: find the average of this step function on [0, 2] and explain why no c works.
Write your answer before revealing. The previous argument used continuity twice, and this is the example that shows it cannot be dropped.
The function is 0 on the first half of the interval and 1 on the second half. Its integral is just the area of the unit square on the right, which is 1, and dividing by the length 2 gives an average of one half.
But the function never takes the value one half. It jumps from 0 directly to 1, so the dashed line at height one half never meets the graph. The Intermediate Value Theorem does not apply to a function with a jump, and that is the step in the argument that fails.
Estimation
Figure (svg): The curves sine squared and cosine squared over the interval from 0 to 2 pi. They oscillate between 0 and 1 as mirror images of each other about the dashed line at height one half.
Predict first
Without computing any sums: what is the average value of sin² t over [0, 2π]?
Correct: 1/2
Why: sin² t + cos² t = 1, so the two integrals over [0, 2π] add to 2π. The two curves are the same shape shifted by a quarter turn, so over a full turn their integrals are equal: π each. The average is π divided by 2π, which is 1/2. The same argument works on [0, π].
OpenStax Calculus Volume 1, §5.2 The Definite Integral §5.2, p. 471 — Exercises 124 and 126
Choose before revealing, and try to find an argument rather than a calculation. The figure shows the two curves, sine squared and cosine squared, over one full turn.
Two facts do all the work. First, sine squared plus cosine squared is always 1, so the two integrals over the interval from 0 to 2 pi add to the integral of 1, which is 2 pi. Second, the two curves are the same shape shifted by a quarter of a turn, so over a full turn they enclose the same area. Two equal numbers that add to 2 pi are each pi.
The average of sine squared is then pi divided by the length 2 pi, which is one half. This is why the average power delivered by an alternating current is half of its peak power: power is proportional to the square of a sine.
Real world
Discussion prompt
The car from Part 3 drove north at 60 mph for 2 hours, then south at 40 mph for 3 hours. What was its average velocity over the 5 hours, and what was its average speed? Why do they differ?
Work out both numbers before revealing. This question ties the average value back to Part 3, because the two averages use the two different integrals.
Average velocity is the average value of the velocity function: its integral, which is the displacement, divided by the time. The displacement of the out-and-back trip is zero, so the average velocity over 5 hours is zero.
Average speed is the average value of the absolute value of the velocity: the total distance, 240 miles, divided by 5 hours, which is 48 miles per hour. Both are correct answers, to different questions. The same distinction between net and total appears in every application, from money to electric charge, so it is worth asking which one you want every time.
Section
Part 6
Pattern
Figure (svg): A flow diagram: start from the question. If it asks for net change, integrate f as it is. If it asks for total area or distance, first find where f changes sign, split the interval there and add absolute values. Either way, evaluate each piece by geometry, by the limit definition, or by the properties from known integrals. If it asks for an average, divide the net integral by the width.
This is the order to work in for any integral in this section. The first decision is not how to compute but what is being asked, because net area, total area and average value lead to different integrals.
For total area the crossing points must be found first, since the absolute value can only be handled piece by piece. After that, every piece is evaluated in one of three ways: by geometry if the region is a known shape, by the limit definition if you have a sum formula for it, or by breaking it up with the properties into pieces you already know.
The last step is the one people skip. Look at the graph and check that the sign of your answer makes sense. A net area that is mostly below the axis must be negative, a total area can never be negative, and an average must lie between the function's smallest and largest values.
Ranking
Put in order
Order the steps for finding the total area between a graph and the x-axis on [a, b].
Why: The crossings must come first, because the absolute value can only be taken piece by piece: on each piece f has one sign, so its integral is plus or minus that piece's area.
Put the steps in order before checking. The natural temptation is to integrate first and fix the sign later, which is exactly the error from the find-the-error slide.
The crossings come first because they decide where the pieces are. On each piece the function has one sign, so each piece's integral is either its area or the negative of its area. Taking the absolute value of each result turns them all into areas, and only then are they added.
Check
Check your understanding
Given ∫₀⁶ f(x) dx = 10 and ∫₀⁴ f(x) dx = 7, what is ∫₆⁴ f(x) dx?
Answer: B
Why: Splitting [0, 6] at 4 gives ∫₄⁶ f = 10 − 7 = 3. The integral asked for runs from 6 down to 4, the reverse, so it is −3.
Two properties are needed, and the order you apply them in does not matter. Splitting the interval from 0 to 6 at 4 gives the integral from 4 to 6 as 10 minus 7, which is 3.
But the question asks for the integral from 6 to 4, which runs backwards, so the answer is minus 3. The most tempting wrong answer is plain 3, which comes from doing the split correctly and then forgetting the reversal. Always compare the limits in the question with the limits in your working.
Check
Check your understanding
For f(x) = 3 − x on [0, 6], what is the TOTAL area between the graph and the x-axis?
Answer: C
Why: The line crosses the axis at x = 3. From 0 to 3 a triangle of area 4.5 lies above; from 3 to 6 a congruent triangle of area 4.5 lies below. Total area adds them: 9. The net area would be 0.
Sketch the line first. It starts at 3 when x is 0 and falls to minus 3 when x is 6, crossing the axis at 3. The two triangles on either side are congruent, each with base 3 and height 3, so each has area 4.5.
Total area adds them, giving 9. The net signed area subtracts them and gives zero, which is the most tempting wrong answer, because it is the answer you get if you do not split at the crossing.
Check
Check your understanding
If ∫₂⁶ f(x) dx = 12, what is the average value of f on [2, 6]?
Answer: C
Why: The average is the integral divided by the length of the interval, 6 − 2 = 4: 12 / 4 = 3.
The average value is the integral divided by the length of the interval, and the length is b minus a, which here is 6 minus 2, so 4. Twelve divided by 4 is 3.
Each wrong answer comes from one specific slip: forgetting to divide at all, dividing by the upper limit alone, or dividing by the sum of the limits. The rectangle picture is the best protection: an average height of 3 on a base of 4 gives area 12, which matches the integral.
Explain it to yourself
Discussion prompt
Explain in two or three sentences, using a Riemann sum, why the integral from b to a is the negative of the integral from a to b. Then say why the definition had to be this way for property 6 to work with any c.
Write your explanation before revealing. Being able to say why a rule holds, and not just what it is, is what lets you rebuild it under exam pressure.
The first part is about the definition. Walking from b back to a, each slice has width a minus b over n, a negative number, while the heights are exactly the same as before. So every term in every sum has its sign flipped, and so does the limit.
The second part is about consistency. Property 6 with a split point outside the interval only works because a backwards integral is the negative of the forwards one. Checkpoint 5.12 used that: the route through 5 gave minus 7 only because the integral from 5 back to 2 counted as minus 4. With any other rule, the properties would contradict each other.
Exit ticket
\[ f(x) = x - 1 \quad\text{on } [0, 3] \]
Discussion prompt
Find the net signed area, the total area, and the average value of f on [0, 3]. Draw the graph first.
This one problem uses the three central ideas of the lesson. Draw the line first: it starts at minus 1, crosses the axis at x equal to 1, and rises to 2 at x equal to 3.
The piece below the axis is a triangle of area one half and the piece above is a triangle of area 2. Net signed area subtracts, giving three halves. Total area adds, giving five halves. The average value uses the net integral divided by the length 3, which is one half.
As a final check, the average of a straight line is the average of its end values: minus 1 and 2 average to one half. The average height is reached at the midpoint of the interval, x equal to 1.5.
Recap
| idea | formula | remember |
|---|---|---|
| definite integral | ∫ₐᵇ f(x) dx = lim Σ f(xᵢ*) Δx | a number; exists for continuous f and for finitely many jumps |
| net signed area | ∫ₐᵇ f(x) dx = A₁ − A₂ | area below the axis counts negative |
| total area | ∫ₐᵇ |f(x)| dx = A₁ + A₂ | split at the zeros first |
| properties | reverse: sign flips; split at any c; sums and constants come out | no rule for products |
| comparison | m(b − a) ≤ ∫ₐᵇ f ≤ M(b − a) | bounds without evaluating |
| average value | f_ave = (1/(b − a)) ∫ₐᵇ f(x) dx | reached at some c when f is continuous |
Every value in this lesson came from geometry or from a hard-won limit of sums. Section 5.3 replaces both with antiderivatives: the Fundamental Theorem of Calculus.
Stewart, Calculus: Early Transcendentals 8e, §5.2 The Definite Integral §5.2, pp. 378-391 — the same material in Stewart
The definite integral is a limit of Riemann sums and it is a number. It exists for every continuous function, and for functions with finitely many jumps, but not for every function. Geometrically it is net signed area: the region above the axis counts positive and the region below counts negative. Total area needs the absolute value and a split at every crossing.
The properties let you take integrals apart and put them back together: reversing the limits flips the sign, the interval can be split at any point, and sums and constant multiples come out. There is no such rule for products. The comparison theorem bounds an integral using only bounds on the function, and dividing an integral by the interval's length gives the average value, which a continuous function actually reaches.
Everything in this lesson was evaluated by geometry or by a laborious limit. Section 5.3 changes that completely: the Fundamental Theorem of Calculus lets you evaluate a definite integral from any antiderivative, and it is proved using the average value you just met.
Want this taught 1-on-1? Alexander tutors Calculus I — $55/session, free consultation.