5.4 Integration Formulas and the Net Change Theorem

The basic integration formulas applied to definite integrals, rewriting integrands the table does not cover, the Net Change Theorem, displacement against distance travelled, and the symmetry shortcuts for even and odd functions.

Subject: Calculus I · 69 slides · symbolic lesson

Open the interactive version of this deck

What this lesson covers

The lesson, slide by slide

1. Integration Formulas and the Net Change Theorem

Title

Calculus I · Section 5.4

Integrate a rate and you get a change

2. What this lesson gives you

Objectives

Section 5.3 gave you the Fundamental Theorem: to evaluate a definite integral, find an antiderivative and subtract. This lesson puts that to work, first on bare integrals, then on the question that makes integrals useful: how much did something change, given how fast it was changing?

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 488 — learning objectives 5.4.1 to 5.4.4

The Fundamental Theorem of Calculus turned a hard problem, the limit of Riemann sums, into an easy one: find an antiderivative and subtract. This lesson is where that pays off. You will first get fluent at the subtraction itself, including the rewriting that most integrands need before any formula applies.

Then the point of view shifts. Instead of reading an integral as an area, you will read it as an accumulation: the integral of a rate of change is the total change. That one sentence, the Net Change Theorem, is how integrals are used in physics, engineering, economics and medicine, wherever something is measured as a rate and wanted as a total.

Two practical skills finish the lesson. You will learn to tell how far something ended up from how far it actually travelled, and you will learn two symmetry shortcuts that can finish an integral before you start it.

3. Before anything new: the evaluation theorem

Warm-up

Discussion prompt

Without looking back at Section 5.3, write down how to evaluate the definite integral of f from a to b when you know an antiderivative F. Then use it on the integral of 2x from 1 to 3.

Write your answer before revealing it. If you wrote something with a plus C in it, you have mixed up the definite and the indefinite integral, and the next slide is for you.

The theorem says that the definite integral of f from a to b equals the value of any antiderivative at b minus its value at a. For two x, the simplest antiderivative is x squared, so the answer is nine minus one, which is eight.

Notice how little work the calculus does in that example. The only calculus step is recognising x squared as an antiderivative; everything after that is arithmetic. That is the pattern for every integral in this lesson, so it pays to be careful and systematic with the arithmetic.

4. Evaluating with the basic formulas

Section

Part 1

5. A number or a family

Concept

Two objects share the integral sign, and it matters which one you are writing.

\[ \int_1^3 2x\,dx = 8 \qquad \text{vs} \qquad \int 2x\,dx = x^2 + C \]

With numbers as limits, the definite integral is a single number. The indefinite integral is a whole family of functions, one for each constant C. When you evaluate, the constant cancels, which is why you may drop it:

\[ \left(F(b) + C\right) - \left(F(a) + C\right) = F(b) - F(a) \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 488 — introduction

The two expressions on this slide look almost identical and mean quite different things. The first has limits, and it is a number: eight. The second has no limits, and it is a whole family of functions, x squared plus any constant you like. Writing a plus C after a definite integral, or leaving it off an indefinite one, are both errors a marker will notice.

The last line explains why the constant can be ignored when you evaluate. Whatever constant you choose, it appears once in the value at the top and once in the value at the bottom, and the subtraction removes it. So when evaluating, always choose the constant to be zero.

As you get used to integrals you will stop thinking about this distinction consciously. For now, before writing each line, ask yourself whether it should be a number or a function, and check that your notation says the same thing.

6. The table you already have

Concept

Every derivative rule you know, read backwards, is an integration formula. These are the ones this lesson uses.

integrandantiderivativecondition
xⁿxⁿ⁺¹/(n + 1)n ≠ −1
1/xln|x|x ≠ 0
eˣeˣ
sin x−cos x
cos xsin x
k f(x) ± g(x)k F(x) ± G(x)sums and constant multiples

There is no product rule and no quotient rule for integrals. A product or a quotient must be rewritten as a sum of powers first.

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 488 — the table in Section 4.10 and the properties of definite integrals

Every entry in this table is a derivative rule read backwards. The derivative of x to the n plus one, over n plus one, is x to the n, so that is the antiderivative. The one exception is the power minus one, where the formula would divide by zero, and the natural logarithm takes its place.

The last row is what makes the table go further than it looks: integrals respect sums and constant multiples. So a polynomial, or any sum of table entries with constant coefficients, can be integrated term by term.

The sentence underneath is the warning. Differentiation has a product rule and a quotient rule, but integration has neither. If your integrand is a product, a quotient or a root, your first job is algebra: turn it into a sum of powers or of other table entries. Most mistakes in this section come from skipping that step.

7. Integrals do not multiply

Concept

It is tempting to integrate a product factor by factor. One example is enough to see that it fails.

\[ \int_0^1 x \cdot x\,dx = \int_0^1 x^2\,dx = \frac13 \]

\[ \left(\int_0^1 x\,dx\right)\left(\int_0^1 x\,dx\right) = \frac12 \cdot \frac12 = \frac14 \]

One third is not one quarter. The same happens with quotients. So a product or quotient must first be turned into a sum, and then the sum rule does the work.

\[ \int (f + g) = \int f + \int g \qquad \text{but} \qquad \int fg \ne \int f \cdot \int g \]

This slide exists to kill a very natural wish. Derivatives and integrals both split over sums, so it seems they might split over products too. The derivative does not, because of the product rule, and the integral does not either.

The example is as small as possible. The integral of x times x from zero to one is the integral of x squared, one third. But the integral of x on its own is one half, and one half times one half is one quarter. The two answers differ, so the integral of a product is not the product of the integrals.

The practical lesson is the one in the last line. Integrals are friendly to sums and constant multiples and to nothing else. So before integrating a product or a quotient, multiply it out or divide it through until it is a sum. Later sections add substitution and integration by parts for products that cannot be multiplied out.

8. Reading the evaluation bar

Notation

Annotate

On: \( \int_a^b f(x)\,dx = F(x)\Big|_a^b = F(b) - F(a) \)

  • Any antiderivative of the integrand. Choose the simplest, with no constant.
  • Shorthand for 'evaluate at the top, evaluate at the bottom, subtract'. It is bookkeeping, not a new operation.
  • Always top minus bottom. Reversing the order flips the sign of the answer.
  • With constant limits the result is one number, not a function of x. No + C survives.

Step through the annotations one at a time. The vertical bar with limits is just notation for a job you are about to do: plug in the top, plug in the bottom, subtract. Writing it as a separate line keeps you from forgetting the bottom value, which is the most common slip of all.

The order of the subtraction is fixed: top minus bottom. If you swap them, you get the negative of the right answer, which is exactly the rule that reversing the limits of a definite integral changes its sign.

The last annotation is the one that separates definite from indefinite. When the limits are numbers, the result is a single number, and no constant of integration appears in it.

9. Example 5.23: rewrite, then the power rule

Worked example

Use the power rule to evaluate the integral.

\[ \int_1^4 \sqrt{t}\,(1+t)\,dt \]

Write the root as a power

Why: The power rule needs exponents.

\[ \int_1^4 t^{1/2}(1+t)\,dt \]

Distribute

Why: Now the integrand is a sum of powers.

\[ \int_1^4 \left(t^{1/2} + t^{3/2}\right)dt \]

Apply the power rule to each term

Why: Raise each exponent by one and divide by the new exponent.

\[ \left(\tfrac23 t^{3/2} + \tfrac25 t^{5/2}\right)\Big|_1^4 \]

Evaluate at the top limit

Why: Four to the three halves is 8; four to the five halves is 32.

\[ \tfrac23(8) + \tfrac25(32) = \tfrac{16}{3} + \tfrac{64}{5} = \tfrac{272}{15} \]

Evaluate at the bottom limit

Why: Every power of 1 is 1.

\[ \tfrac23 + \tfrac25 = \tfrac{16}{15} \]

Subtract

Why: Top minus bottom.

\[ \tfrac{272}{15} - \tfrac{16}{15} = \tfrac{256}{15} \]

Figure (svg): The curve y equals square root of t times one plus t, rising from 0 to 10 as t goes from 0 to 4, with the region under it between t equals 1 and t equals 4 shaded.

Every piece of the region sits above the axis, so the answer must be positive, and a rough box of width 3 and average height about 6 agrees with 17.

Check the size

Why: The integrand runs from 2 at t equal to 1 up to 10 at t equal to 4, so the answer must lie between 3 times 2 and 3 times 10.

\[ 6 < \tfrac{256}{15} \approx 17.07 < 30 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, pp. 488-489 — Example 5.23

The integrand is a product, a square root times one plus t, and there is no product rule for integrals. So the first two lines are pure algebra: write the root as t to the one half, then distribute to get t to the one half plus t to the three halves. Now each term is a power, and the power rule applies.

Raising the exponents by one gives three halves and five halves, and dividing by them is the same as multiplying by two thirds and two fifths. Evaluate at four, where four to the three halves is the square root of four cubed, which is eight, and four to the five halves is thirty-two. At one every power is one.

The check is one you should do by habit. Look at the figure: the curve runs from two up to ten across an interval of width three, so the area has to be between six and thirty. The answer, about seventeen, sits comfortably inside that range. A sign error or a missed factor usually lands far outside it.

10. Checkpoint 5.21: an answer below zero

Worked example

Find the definite integral of the function over the interval from 1 to 3.

\[ \int_1^3 \left(x^2 - 3x\right)dx \]

Antidifferentiate term by term

Why: Power rule twice.

\[ \left(\frac{x^3}{3} - \frac{3x^2}{2}\right)\Bigg|_1^3 \]

Evaluate at 3

Why: Twenty-seven thirds is 9.

\[ 9 - \frac{27}{2} = -\frac{9}{2} \]

Evaluate at 1

Why: One third minus three halves.

\[ \frac13 - \frac32 = -\frac76 \]

Subtract

Why: Common denominator 6.

\[ -\frac{27}{6} + \frac{7}{6} = -\frac{20}{6} = -\frac{10}{3} \]

Figure (svg): The parabola y equals x squared minus 3x, crossing the axis at 0 and 3, with the region between the curve and the axis from x equals 1 to 3 shaded below the axis.

The whole region lies below the axis, so the definite integral is negative: it measures signed area, not ink.

Check the sign

Why: Between 1 and 3 the factored form x times x minus 3 is a positive number times a negative one, so the integrand is negative throughout and a negative answer is right.

\[ x(x-3) < 0 \text{ for } 1 < x < 3 \;\Longrightarrow\; \int_1^3 < 0 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 489 — Checkpoint 5.21

The integration is routine: the power rule on each term gives x cubed over three minus three x squared over two. The care is in the evaluation. At three, twenty-seven over three is nine and three times nine over two is twenty-seven halves, which leaves minus nine halves. At one you get one third minus three halves, which is minus seven sixths.

Subtracting a negative is where people slip. Minus nine halves minus minus seven sixths is minus twenty-seven sixths plus seven sixths, which is minus twenty sixths, or minus ten thirds.

A negative answer is not a mistake here, and the figure shows why. Between one and three the parabola is below the axis, so the definite integral, which measures signed area, is negative. The check makes the same point with the factored form: x is positive and x minus three is negative, so their product is negative everywhere on the interval.

11. A root and a reciprocal

Fill the middle

One power and one logarithm in the same integral. The root has already been rewritten; fill in the coefficient of the antiderivative and the value that remains after evaluating.

Fill in the blanks

\int_1^4 \left(3x^2 - 2x^14\right)dx = \left(___x^___ - 2\ln x\right)\Big|_1^4 = ___ - 2\ln 4

Why: Raising the exponent to 3/2 and dividing turns 3x^(1/2) into 2x^(3/2); the −1 power is the logarithm exception. At 4: 2·8 − 2 ln 4 = 16 − 2 ln 4. At 1: 2 − 0. The difference is 14 − 2 ln 4 ≈ 11.227.

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 495 — in the style of Exercises 207 to 210

Fill in both blanks before checking. Two different rules meet in one integral. The root has become x to the one half, which the power rule handles: raise the exponent to three halves and divide by it, and the three in front turns the coefficient into two. The term two over x is two times x to the minus one, and minus one is the single exponent the power rule cannot handle, so the logarithm steps in.

At the top limit, four to the three halves is eight, so the power term gives sixteen. At the bottom limit it gives two, and the logarithm of one is zero, which is why integrals starting at one are pleasant with a one over x term. Sixteen minus two is fourteen, and the answer is fourteen minus two ln four, about 11.23.

Check your antiderivative by differentiating it: the derivative of two x to the three halves is three times the square root of x, and the derivative of two ln x is two over x. That check takes ten seconds and never fails to catch a wrong antiderivative.

12. Divide first: a quotient that splits

Worked example

The table has no quotient rule, so the fraction must be broken up before integrating.

\[ \int_1^2 \frac{x^2+1}{x}\,dx \]

Divide each term of the numerator by x

Why: A single-term denominator splits the fraction.

\[ \frac{x^2+1}{x} = x + \frac1x \]

Antidifferentiate

Why: Power rule and logarithm.

\[ \int_1^2 \left(x + \frac1x\right)dx = \left(\frac{x^2}{2} + \ln x\right)\Big|_1^2 \]

Evaluate

Why: At 2 and at 1.

\[ \left(2 + \ln 2\right) - \left(\tfrac12 + 0\right) = \tfrac32 + \ln 2 \]

Check with a midpoint estimate

Why: The integrand at the midpoint 1.5 is 1.5 plus two thirds, about 2.167, times a width of 1; the exact answer is close, as it should be.

\[ \tfrac32 + \ln 2 \approx 2.193 \quad \text{vs} \quad f(1.5) \approx 2.167 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 495 — Exercise 210, done as a definite integral

When the denominator is a single term, you can divide it into each term of the numerator separately. Here x squared over x is x, and one over x stays one over x. The quotient has become a sum of two table entries.

From there it is the power rule and the logarithm, evaluated from one to two. The answer, three halves plus ln two, is exact; its decimal value is about 2.19.

The check uses a midpoint estimate: the value of the integrand at the middle of the interval, times the width. For a gently curving function over a short interval that is always close, and it is here, 2.17 against 2.19. If your exact answer had been, say, 0.6 or 5, the estimate would have warned you.

13. Trap: integrating the top and the bottom separately

Trap

The trap

A tempting line:

\[ \int \frac{x^2+1}{x}\,dx \]

\[ = \frac{x^3/3 + x}{x^2/2} + C \]

Wrong. There is no quotient rule for integrals.

The fix

Differentiate the wrong answer and you do not get the integrand back. Divide first, then integrate each piece:

\[ \frac{x^2+1}{x} = x + \frac1x \]

\[ \int = \frac{x^2}{2} + \ln|x| + C \]

This mistake comes from a wish that integration worked piece by piece on a fraction. It does not, and neither does differentiation: the derivative of a quotient is not the quotient of the derivatives. So the integral of a quotient cannot be the quotient of the integrals.

The quickest way to catch it is to differentiate your answer. The derivative of the wrong expression, a fraction of two polynomials, is not x plus one over x, so it is not an antiderivative.

The fix is always algebra first. A single-term denominator divides through. Later you will meet quotients that need substitution or partial fractions, but the rule of thumb stays the same: never integrate numerator and denominator separately.

14. Straight from the table, or rewrite first?

Sorting

Sort into buckets

Which integrands can go straight to a table entry, and which must be rewritten first?

Straight to the table
3x² − 4; 5 cos x
Rewrite first
√x (x + 2); (x − 1)/x²; 1/√x; (x + 1)²
table
3x² − 4 is a sum of powers already, and 5 cos x is a constant times a table entry.
rewrite
√x(x + 2) must be multiplied out into powers; (x − 1)/x² splits into 1/x − x⁻²; 1/√x must be written x^(−1/2); (x + 1)² must be expanded. No table entry covers a product, a quotient or a root as written.

Sort each integrand before checking. The question to ask of each one is simple: is it already a sum of constant multiples of table entries? If yes, it goes straight to the table. If it is a product, a quotient, a root, or a power of a sum, it needs algebra first.

Four of the six need rewriting. The product with a root is multiplied out into powers. The quotient over x squared splits into one over x minus x to the minus two. One over the square root of x becomes x to the minus one half. The square of x plus one must be expanded; there is no rule that squares an antiderivative.

This sorting step is the hidden half of every integration problem. Once you can see what an integrand needs, the integration itself is quick.

15. Exercise 211: sine minus cosine over a half turn

Worked example

\[ \int_0^{\pi} \left(\sin x - \cos x\right)dx \]

Antidifferentiate each term

Why: Sine integrates to minus cosine; cosine integrates to sine.

\[ \left(-\cos x - \sin x\right)\Big|_0^{\pi} \]

Evaluate at pi

Why: Cosine of pi is minus 1, sine of pi is 0.

\[ -\cos \pi - \sin \pi = 1 - 0 = 1 \]

Evaluate at 0

Why: Cosine of 0 is 1, sine of 0 is 0.

\[ -\cos 0 - \sin 0 = -1 \]

Subtract

Why: Top minus bottom.

\[ 1 - (-1) = 2 \]

Figure (svg): The curve y equals sine x minus cosine x on 0 to pi. It starts at minus 1, crosses the axis at pi over 4, and rises to 1 at pi. A small region below the axis before pi over 4 is shaded red; a larger region above the axis after it is shaded green.

The two signed pieces add to exactly 2. The small negative sliver is why the answer is a little less than the green area alone.

Check by splitting at the zero

Why: The integrand vanishes at pi over 4. The two signed pieces, computed separately, must add to 2.

\[ \left(1 - \sqrt2\right) + \left(1 + \sqrt2\right) = 2 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 495 — Exercise 211

Each trigonometric term goes to its table entry: sine integrates to minus cosine, and cosine integrates to sine. Keep the signs straight by writing the antiderivative with both minus signs showing before you substitute anything.

At pi, minus cosine pi is plus one and sine pi is zero, so the top value is one. At zero, minus cosine zero is minus one. One minus minus one is two.

The figure explains the check. The integrand is negative until pi over four, where sine and cosine are equal, and positive after. If you integrate the two pieces separately you get one minus root two, a small negative number, and one plus root two, a larger positive one. They add to two, confirming the single calculation, and showing that the definite integral quietly subtracted the small negative piece for you.

16. Exercise 212: guess the sign first

Prediction

\[ \int_0^{\pi/2} \left(x - \sin x\right)dx \]

Predict first

Before computing: is this integral positive, negative or zero, and roughly how big?

  • Positive but small, under 1
  • Positive and bigger than 1
  • Exactly zero
  • Negative

Correct: Positive but small, under 1

Why: For x between 0 and pi over 2, sin x is a little below x, so the integrand is positive but tiny near 0 and at most about 0.57 at the right end. Computed: x²/2 + cos x from 0 to π/2 gives π²/8 − 1 ≈ 0.234.

\[ \left(\frac{x^2}{2} + \cos x\right)\Big|_0^{\pi/2} = \frac{\pi^2}{8} - 1 \approx 0.234 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 495 — Exercise 212

Commit to an option before revealing. The skill being practised is estimating an integral from the shape of its integrand before computing it, which is how you catch errors afterwards.

Sine of x is very close to x when x is small, and slightly less than x beyond that. So x minus sine x is positive but tiny near zero, and even at pi over two it is only about 0.57. The area under something that small over an interval of length about 1.57 has to be well under one.

The exact computation agrees: x squared over two plus cosine x, evaluated from zero to pi over two, is pi squared over eight minus one, about 0.234. A student who got 1.23 dropped the minus one from the cosine at zero; the estimate would have caught it.

17. The Net Change Theorem

Section

Part 2

18. Rates are what you can measure

Concept

A speedometer reads velocity, a flow meter reads litres per minute, a power meter reads watts. The quantity you want, position, volume, energy, is the one whose rate you measured.

If F is that quantity, its rate is F prime, and the evaluation theorem read the other way round says:

\[ \int_a^b F'(x)\,dx = F(b) - F(a) \]

The integral of a rate of change is the net change in the quantity. Add the starting value and you have the new value.

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 489 — the Net Change Theorem

In real problems the quantity you want is rarely what an instrument measures. A car measures its speed, not its position. A water meter measures flow, not how much is in the tank. A power meter measures watts, not the energy used over a month.

The Fundamental Theorem, read in the right direction, bridges that gap. If F is the quantity and F prime is its rate, then the integral of the rate from a to b is F at b minus F at a: the net change in the quantity over the interval. Nothing new has been proved; the same equation has been given a new meaning.

This is why the integral matters so much outside mathematics. Whenever you know how fast something is changing at every moment, you can recover how much it changed in total.

19. Why the integral of a rate is a change

Intuition

Cut the interval into short pieces of length delta t. Over one short piece the rate hardly changes, so the quantity changes by about the rate times the time.

\[ \Delta F_i \approx F'(t_i)\,\Delta t \]

The total change is the sum of the small changes, exactly, because the intermediate values telescope away.

\[ F(b) - F(a) = \sum_{i=1}^{n} \Delta F_i \approx \sum_{i=1}^{n} F'(t_i)\,\Delta t \]

The right-hand side is a Riemann sum. As the pieces shrink it becomes the integral, and the approximation becomes an equality.

\[ F(b) - F(a) = \int_a^b F'(t)\,dt \]

The Net Change Theorem follows from the Fundamental Theorem, but it also makes sense on its own, and this slide shows why. Over a very short stretch of time the rate is nearly constant, so the change in the quantity is nearly the rate times the length of the stretch. That is the first line.

The total change from a to b is exactly the sum of the changes over all the little stretches, because each intermediate value is added once and subtracted once, and they all cancel. Replacing each small change by rate times time gives a sum that is a Riemann sum for the rate.

As the stretches get shorter, the approximation in each piece gets better and the Riemann sum approaches the integral. In the limit the total change equals the integral of the rate. This is why the integral is the natural tool for any accumulation: it is literally adding up rate times time, infinitely finely.

20. Reading Theorem 5.6 piece by piece

Notation

Annotate

On: \( F(b) = F(a) + \int_a^b F'(x)\,dx \)

  • The new value, at the end of the interval: what you usually want.
  • The initial value. The integral alone cannot supply it; it must be given.
  • The rate of change of the quantity: what the meter measures.
  • The net change over the interval. Increases count positive, decreases negative, automatically.

\[ \int_a^b F'(x)\,dx = F(b) - F(a) \qquad (5.18) \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 489 — Theorem 5.6

Step through the annotations. The form at the top is the one to use when you want a value: the new value equals the old value plus the accumulated change. The form underneath, equation 5.18, is the same statement with the initial value moved across, and it is the one to use when you want only the change.

The annotation on the initial value is the one that costs marks. An integral of a rate can only ever tell you how much something changed. It cannot tell you where it started, so the starting value has to come from the problem.

The last annotation is the theorem's real strength. When the rate is sometimes negative, the integral automatically subtracts the decreases from the increases. You do not have to split the problem into rising and falling pieces to get the net change.

21. A rate on the left, a total on the right

Picture it

Figure (svg): Left: the burn rate 5 minus 0.1 t cubed gallons per hour, falling from 5 to 4.2 over two hours, with the region under it shaded. Right: the fuel used, 5t minus 0.025 t to the fourth, rising from 0 to 9.6 at t equals 2.

The shaded area on the left is the height reached on the right. The rate panel is what the engine reports; the total panel is what the tank feels.

The motorboat of Example 5.26 burns fuel at a rate that slowly falls. The area under the rate curve up to time 2 is exactly the height of the fuel-used curve at time 2.

The two panels show the same situation from two sides. On the left is the rate at which the motorboat burns fuel, in gallons per hour. It starts at five and sags slowly as the engine warms up. On the right is the total amount of fuel used since the start.

The shaded area on the left, from time zero to time two, is exactly the height of the right-hand curve at time two, 9.6 gallons. That is the Net Change Theorem as a picture: area under a rate is change in a total.

Notice also how the shapes relate. Where the rate is high, the total climbs steeply. As the rate falls a little, the total's slope eases off a little. The right-hand curve's slope at each moment is the left-hand curve's height.

22. Example 5.26: how much gasoline?

Worked example

A motorboat's engine starts at t equal to 0 and burns gasoline at the rate below, in gallons per hour. How much is used in the first 2 hours?

\[ r(t) = 5 - 0.1t^3 \quad \text{gal/hr} \]

Write the net change as an integral

Why: The amount used is the integral of the burn rate over the interval from 0 to 2.

\[ \text{used} = \int_0^2 \left(5 - 0.1t^3\right)dt \]

Antidifferentiate

Why: Constant and power rule.

\[ \left(5t - 0.1\frac{t^4}{4}\right)\Big|_0^2 \]

Evaluate at 2

Why: Two to the fourth is 16, and a tenth of a quarter of 16 is 0.4.

\[ 5(2) - 0.1\left(\frac{16}{4}\right) = 10 - 0.4 = 9.6 \]

Evaluate at 0 and subtract

Why: Every term vanishes at 0.

\[ 9.6 - 0 = 9.6 \text{ gal} \]

Check the units and the size

Why: Gallons per hour times hours is gallons. The rate stays between 4.2 and 5, so two hours must use between 8.4 and 10 gallons.

\[ 2(4.2) = 8.4 < 9.6 < 10 = 2(5) \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 492 — Example 5.26

The problem gives a rate and asks for an amount over an interval, which is the signal for the Net Change Theorem. The fuel used is the integral of the burn rate from zero to two.

The integration is the power rule: five t minus one tenth of t to the fourth over four. At two, that is ten minus 0.4, and at zero everything vanishes, so the boat uses 9.6 gallons. No initial value is needed, because the question asks for the change: the fuel used, not the fuel left in the tank.

The check bounds the answer with rectangles. The burn rate stays between 4.2 and 5 over the two hours, so the fuel used must lie between two times 4.2 and two times 5. The answer, 9.6, does. The units check is just as quick: gallons per hour multiplied by hours gives gallons.

23. The car from 2 p.m. to 5 p.m.

Concept

A car drives north at 40 mph from 2 p.m. to 4 p.m., then south at 30 mph from 4 p.m. to 5 p.m. Take north as positive.

Figure (svg): A step velocity graph: velocity 40 from t equals 2 to 4, shaded above the axis, then velocity minus 30 from 4 to 5, shaded below the axis.

The area above the axis is distance driven north; the area below is distance driven south. Signed, they give where the car is; unsigned, they give how far it went.

Integrating the velocity lets the southward leg subtract: that is where the car ends up.

\[ \int_2^5 v(t)\,dt = \int_2^4 40\,dt + \int_4^5 (-30)\,dt = 80 - 30 = 50 \text{ mi} \]

Integrating the speed, the absolute value of the velocity, counts every mile: that is how far it went.

\[ \int_2^5 |v(t)|\,dt = \int_2^4 40\,dt + \int_4^5 30\,dt = 80 + 30 = 110 \text{ mi} \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, pp. 489-490 — Figure 5.32

This is the simplest possible velocity graph, made of two constant pieces, so you can see the whole idea with no algebra in the way. Northward travel is positive, so the first rectangle is above the axis; southward travel is negative, so the second is below.

The integral of the velocity adds the signed areas: eighty miles north and thirty miles south give a net displacement of fifty miles north. That is where the car is at five o'clock relative to where it started.

The distance travelled is a different question. The odometer does not run backwards when you drive south, so every mile counts as positive. Integrating the speed, the absolute value of the velocity, gives eighty plus thirty, one hundred and ten miles. The same graph answers both questions; you just have to decide which one you are being asked.

Check both numbers against the story in words: eighty miles up and thirty back leaves you fifty miles north, having covered one hundred and ten miles of road. Part 3 of the lesson develops this distinction properly.

24. Add the initial value

Fill the middle

A tank holds 50 litres at t equal to 0 and drains at the rate below, in litres per minute. Fill in the net change and the volume at t equal to 5.

Fill in the blanks

V(5) = 50 + \int_0^5 (-2t)\,dt = 50 + ( -25 ) = 25

Why: The integral of −2t from 0 to 5 is −t² evaluated there, which is −25: the tank lost 25 litres. The theorem adds that change to the starting 50, leaving 25 litres. Leaving out the 50 gives the change, not the amount.

Fill in the two blanks before checking. The first is the change in volume over five minutes; the second is the volume at the end.

The integral of minus two t from zero to five is minus t squared evaluated from zero to five, which is minus twenty-five. The negative sign says the tank lost water, which matches the negative rate. The theorem then adds that change to the fifty litres the tank started with, leaving twenty-five.

If you wrote minus twenty-five for the final volume, you reported the change as the amount. A negative volume should have been a warning that something was missing.

25. Example 5.27: the iceboat

Worked example

Andrew's iceboat moves at twice the wind speed. The wind, in mph, is given below for the first hour. How far from his start is he after 1 hour?

\[ w(t) = \begin{cases} 20t + 5 & 0 \le t \le \tfrac12 \\ 15 & \tfrac12 \le t \le 1 \end{cases} \]

Write the distance as an integral of velocity

Why: His velocity is twice the wind speed.

\[ \text{distance} = \int_0^1 2w(t)\,dt \]

Split at the half hour

Why: The formula changes there.

\[ \int_0^{1/2} 2(20t+5)\,dt + \int_{1/2}^1 2(15)\,dt \]

Simplify the integrands

Why: Multiply by 2.

\[ \int_0^{1/2} (40t+10)\,dt + \int_{1/2}^1 30\,dt \]

Antidifferentiate

Why: Power rule and a constant.

\[ \left(20t^2 + 10t\right)\Big|_0^{1/2} + 30t\Big|_{1/2}^1 \]

Evaluate

Why: Twenty times a quarter is 5.

\[ (5 + 5) - 0 + (30 - 15) = 10 + 15 = 25 \text{ mi} \]

Figure (svg): Andrew's speed against time: a line rising from 10 to 30 miles per hour over the first half hour, then level at 30 for the second half hour. The trapezoid under the first part has area 10, the rectangle under the second part has area 15.

Two pieces, two integrals. The trapezoid and the rectangle can also be checked with school geometry: they are 10 and 15 square units.

Check with geometry

Why: The first piece is a trapezoid with parallel sides 10 and 30 and width one half; the second is a rectangle 30 by one half.

\[ \tfrac12 \cdot \tfrac{10 + 30}{2} + \tfrac12 \cdot 30 = 10 + 15 = 25 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, pp. 492-493 — Example 5.27

This is the chapter opener, and it adds one twist: the wind speed is given piecewise, rising for the first half hour and then holding steady. Andrew moves at twice the wind speed, so his velocity is two times w, and the distance from his start is the integral of that velocity over the hour.

Because the formula changes at the half hour, the integral splits there. Each piece is then an ordinary power-rule integral. The first gives ten miles and the second fifteen.

The figure makes the check possible without calculus. The first piece of the region is a trapezoid with parallel sides ten and thirty and width one half; the second is a rectangle thirty high and one half wide. Their areas, ten and fifteen, match the integrals exactly, as they must for straight-line graphs.

26. Checkpoint 5.23: the wind dies down

Worked example

Same first half hour, but now the wind falls during the second half hour. How far has Andrew gone after 1 hour?

\[ w(t) = \begin{cases} 20t + 5 & 0 \le t \le \tfrac12 \\ -10t + 20 & \tfrac12 \le t \le 1 \end{cases} \]

Reuse the first half hour

Why: Unchanged from Example 5.27.

\[ \int_0^{1/2} 2(20t+5)\,dt = 10 \]

Set up the second piece

Why: Twice the new wind speed.

\[ \int_{1/2}^1 2(-10t+20)\,dt = \int_{1/2}^1 (-20t + 40)\,dt \]

Antidifferentiate

Why: Power rule.

\[ \left(-10t^2 + 40t\right)\Big|_{1/2}^1 \]

Evaluate

Why: At 1: 30. At one half: minus 2.5 plus 20.

\[ 30 - 17.5 = 12.5 \]

Add the pieces

Why: Total distance from the start.

\[ 10 + 12.5 = 22.5 \text{ mi} \]

Figure (svg): Andrew's speed when the wind dies down: the same rise from 10 to 30 over the first half hour, then a line falling from 30 to 20 over the second half hour, with the old steady speed of 30 dashed above it.

The first half hour is unchanged. The second piece loses the triangle between the dashed line and the falling one, which is 2.5 miles.

Check continuity and the size

Why: The book's sentence gives the dying wind as minus 10t plus 20, but its display prints minus 10t plus 15, which would jump from 15 to 10 at the half hour; that version gives 17.5. With the continuous one, the answer is 2.5 miles less than the steady-wind 25, the triangle lost.

\[ -10\left(\tfrac12\right) + 20 = 15 = 20\left(\tfrac12\right) + 5, \qquad 25 - 2.5 = 22.5 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 493 — Checkpoint 5.23

Only the second half hour changes, so reuse the ten miles from the first half and redo the second piece. Twice the new wind speed is minus twenty t plus forty, and integrating from one half to one gives thirty minus 17.5, which is 12.5 miles. The total is 22.5 miles.

There is a misprint to know about. The book's sentence gives the dying wind as minus ten t plus twenty, but its displayed formula prints minus ten t plus fifteen. The second version would make the wind drop suddenly from fifteen to ten at the half hour, which contradicts dying down; the first version starts from fifteen and falls smoothly to ten. The deck uses the continuous one. If you use the printed display, you get 17.5 miles instead.

The figure gives a geometric check. The new second piece is the old rectangle minus a triangle of width one half and height ten, which has area 2.5, so the answer must be 2.5 less than the steady-wind 25.

27. Find the error: the initial value forgotten

Error analysis

A pool holds 1200 gallons at noon. Water is pumped in at 30 plus 6t gallons per hour, t in hours after noon. How much water is in the pool at 2 p.m.? One answer:

Annotate

On: \( V(2) = \int_0^2 (30 + 6t)\,dt = (30t + 3t^2)\Big|_0^2 = 72 \)

  • Correctly computed: 60 + 12 = 72 gallons. But this is how much water ENTERED, not how much is there.
  • The equals sign claims the integral is the amount. The theorem says the integral is the CHANGE in the amount.
  • V(2) = V(0) + 72 = 1200 + 72 = 1272 gallons. The initial value is not optional.

\[ V(2) = 1200 + 72 = 1272 \text{ gal} \]

Read the solution and look for the flaw before revealing the annotations. The integration itself is fine: thirty t plus three t squared, evaluated at two, is seventy-two.

The error is in what the seventy-two is called. The integral of an inflow rate is the amount that flowed in, not the amount in the pool. The pool already held twelve hundred gallons at noon, and the theorem says to add the change to that.

A useful habit is to ask whether your answer is plausible. A pool that held twelve hundred gallons and has been filling for two hours cannot contain only seventy-two. Whenever a question asks how much is there, rather than how much changed, look for an initial value in the problem.

28. Which quantity does each rate accumulate?

Matching

Match the pairs

  • a. velocity, in m/s, over seconds
  • b. flow rate, in L/min, over minutes
  • c. power, in GW, over hours
  • d. marginal cost, in $/item, over items
  • w. displacement, in metres
  • x. change in volume, in litres
  • y. energy, in gigawatt-hours
  • z. change in total cost, in dollars

Why: The units tell you the answer: the integral multiplies the rate's units by the variable's units. Metres per second times seconds is metres; litres per minute times minutes is litres; gigawatts times hours is gigawatt-hours; dollars per item times items is dollars.

Match each rate to what its integral measures. The fastest route is the units: the integral multiplies the rate's units by the units of the variable you integrate over, because each thin rectangle is a rate times a small interval.

Metres per second times seconds leaves metres, so velocity accumulates into displacement. Litres per minute times minutes leaves litres. Gigawatts times hours leaves gigawatt-hours, which is energy. Dollars per item times items leaves dollars.

This units check works for any rate you meet, including ones you have never seen named. If you know the units of the rate and the variable, you know what the integral is measuring.

29. Displacement and distance

Section

Part 3

30. One velocity, two different questions

Concept

Where did it end up, and how far did it go? The first counts backward motion as negative; the second counts every metre as positive.

\[ \text{net displacement} = \int_a^b v(t)\,dt \]

\[ \text{total distance} = \int_a^b |v(t)|\,dt \]

They agree when the object never reverses. When the velocity changes sign, the distance is larger, because nothing cancels.

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 490 — net displacement and total distance

Displacement and distance sound similar and are measured in the same units, but they answer different questions. Displacement is where you end up relative to where you started, so backward motion counts against forward motion. Distance is how much ground you covered, so every metre counts.

In integrals, the difference is one absolute value. Integrating the velocity lets negative stretches subtract. Integrating the absolute value of the velocity, which is the speed, makes every stretch positive.

When the object never reverses direction, the velocity never changes sign, and the two integrals give the same number. When it does reverse, the distance is always larger. That observation is also a quick check on any answer you compute.

31. Backwards first, then forwards

Picture it

Figure (svg): The line v equals 3t minus 5 from t equals 0 to 3. It is below the axis until t equals 5 thirds, forming a red triangle, and above the axis after, forming a smaller green triangle.

Backwards first, forwards second. The backward triangle is bigger, so the particle ends up behind where it started.

The particle of Examples 5.24 and 5.25 moves backward until t is five thirds, then forward. The red triangle is backward travel and the green one forward travel; the integral of v subtracts one from the other.

This is the particle of the next two examples. Its velocity starts at minus five, so at first it moves backwards. The velocity increases steadily and crosses zero at five thirds of a second, and after that the particle moves forwards.

The red triangle, below the axis, is the backward travel; the green triangle, above, is the forward travel. The red one is bigger, twenty-five sixths against eight thirds, so over the whole three seconds the particle moves back more than forward.

Keep this picture in mind for both examples. The net displacement is green minus red. The total distance is green plus red.

32. Example 5.24: net displacement

Worked example

A particle moves with velocity v in metres per second from t equal to 0 to 3. Find its net displacement.

\[ v(t) = 3t - 5 \]

Apply the Net Change Theorem

Why: Displacement is the integral of velocity.

\[ \int_0^3 (3t - 5)\,dt \]

Antidifferentiate

Why: Power rule.

\[ \left(\frac{3t^2}{2} - 5t\right)\Bigg|_0^3 \]

Evaluate at 3

Why: Three times 9 over 2, minus 15.

\[ \frac{27}{2} - 15 = \frac{27}{2} - \frac{30}{2} = -\frac32 \]

Subtract the value at 0

Why: Both terms vanish.

\[ -\frac32 - 0 = -\frac32 \text{ m} \]

Check with the triangles

Why: The backward triangle has base five thirds and height 5; the forward one base four thirds and height 4.

\[ -\tfrac12 \cdot \tfrac53 \cdot 5 + \tfrac12 \cdot \tfrac43 \cdot 4 = -\tfrac{25}{6} + \tfrac{16}{6} = -\tfrac32 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 490 — Example 5.24

Displacement is the integral of velocity, straight through, with no splitting. The power rule gives three t squared over two minus five t, and evaluating at three gives twenty-seven halves minus fifteen, which is minus three halves.

The negative sign is information, not an error. It says the particle finishes one and a half metres behind its starting point, in the negative direction.

The check uses the triangles in the figure. The backward triangle has base five thirds and height five, so area twenty-five sixths. The forward triangle has base four thirds and height four, so area sixteen sixths. Forward minus backward is minus nine sixths, which is minus three halves, the same answer by geometry alone.

33. Example 5.25: total distance

Worked example

Same particle, same interval. Now find the total distance travelled.

\[ \int_0^3 |3t - 5|\,dt \]

Find where v changes sign

Why: Set the velocity to zero.

\[ 3t - 5 = 0 \;\Longrightarrow\; t = \tfrac53 \]

Remove the absolute value on each piece

Why: Negative before five thirds, so flip it there; positive after.

\[ \int_0^{5/3} (5 - 3t)\,dt + \int_{5/3}^3 (3t - 5)\,dt \]

Antidifferentiate each piece

Why: Power rule.

\[ \left(5t - \frac{3t^2}{2}\right)\Bigg|_0^{5/3} + \left(\frac{3t^2}{2} - 5t\right)\Bigg|_{5/3}^3 \]

Evaluate the first piece

Why: Twenty-five thirds minus twenty-five sixths.

\[ \tfrac{25}{3} - \tfrac{25}{6} = \tfrac{25}{6} \]

Evaluate the second piece

Why: Minus three halves, minus the value at five thirds, which is minus twenty-five sixths.

\[ -\tfrac32 - \left(-\tfrac{25}{6}\right) = \tfrac{16}{6} \]

Add

Why: Both pieces are now positive.

\[ \tfrac{25}{6} + \tfrac{16}{6} = \tfrac{41}{6} \approx 6.83 \text{ m} \]

Figure (svg): The graph of the absolute value of 3t minus 5 on 0 to 3: a V shape touching zero at t equals 5 thirds. Both triangles are now above the axis, with areas 25 sixths and 8 thirds.

Taking the absolute value flips the backward triangle above the axis. Now nothing cancels, and the areas simply add.

Check against the displacement

Why: Distance minus twice the backward part must give back the displacement from Example 5.24.

\[ \tfrac{41}{6} - 2 \cdot \tfrac{25}{6} = -\tfrac{9}{6} = -\tfrac32 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, pp. 491-492 — Example 5.25

Now the absolute value is inside the integral, and there is no formula that integrates an absolute value directly. So the first step is to find where the velocity changes sign, at t equal to five thirds, and split the interval there.

On the first piece the velocity is negative, so its absolute value is its negative, five minus three t. On the second piece the velocity is positive and stays as it is. Now each piece is an ordinary integral. They come out as twenty-five sixths and sixteen sixths, and adding gives forty-one sixths, about 6.83 metres.

The check links the two examples. Distance counts the backward part positively; displacement counts it negatively. So distance minus twice the backward part should give the displacement, and it does: forty-one sixths minus fifty sixths is minus three halves. The figure shows the backward triangle flipped above the axis, which is exactly what the absolute value does.

34. Before integrating an absolute value

Step zero

\[ \text{distance} = \int_0^3 |t^2 - 4|\,dt \]

Discussion prompt

There is no antiderivative formula for an absolute value. What must you do before you can integrate, and what does it give here?

Answer before revealing. The instinct is to start integrating immediately, but an absolute value is not a table entry, and trying to integrate it as it stands leads nowhere.

The method is always the same: find where the inside is zero, split there, and on each piece remove the absolute value by keeping the inside if it is positive or negating it if it is negative. Here t squared minus four is zero at two and at minus two, but only two lies inside the interval.

On zero to two, t squared is less than four, so the inside is negative and becomes four minus t squared. On two to three it is positive and stays. That setup is the real work; the integration that follows is routine.

35. A parabolic velocity: both answers

Worked example

A particle moves with velocity in metres per second for t from 0 to 3. Find its displacement and its distance.

\[ v(t) = t^2 - 4 \]

Displacement: integrate v straight through

Why: No splitting needed for the net change.

\[ \int_0^3 (t^2 - 4)\,dt = \left(\frac{t^3}{3} - 4t\right)\Bigg|_0^3 = 9 - 12 = -3 \]

Distance, first piece

Why: Velocity is negative on 0 to 2, so integrate its negative.

\[ \int_0^2 (4 - t^2)\,dt = 8 - \tfrac83 = \tfrac{16}{3} \]

Distance, second piece

Why: Velocity is positive on 2 to 3.

\[ \int_2^3 (t^2 - 4)\,dt = (9 - 12) - \left(\tfrac83 - 8\right) = \tfrac73 \]

Add the pieces

Why: Both positive.

\[ \tfrac{16}{3} + \tfrac73 = \tfrac{23}{3} \approx 7.67 \text{ m} \]

Figure (svg): The parabola v equals t squared minus 4 on 0 to 3, below the axis until t equals 2 and above it after. The region below is shaded red with area 16 thirds; the region above is shaded green with area 7 thirds.

The sign change at t equal to 2 splits the interval. Red counts as backward travel, green as forward.

Check the two answers agree

Why: Forward travel minus backward travel must equal the displacement.

\[ \tfrac73 - \tfrac{16}{3} = -3 \]

This example follows the setup from the previous slide. Displacement needs no splitting: integrate t squared minus four from zero to three and get nine minus twelve, which is minus three metres.

Distance needs the split at two. The backward piece, integrating four minus t squared from zero to two, gives sixteen thirds. The forward piece, integrating t squared minus four from two to three, gives seven thirds. Their sum is twenty-three thirds, about 7.67 metres.

The check is the same as before: forward minus backward must be the displacement, and seven thirds minus sixteen thirds is minus three. Two integrals computed in different ways agreeing like this is strong evidence that neither has an arithmetic slip.

36. Checkpoint 5.22: an exponential velocity

Worked example

Find the net displacement and the total distance, in metres, for the velocity below on the interval from 0 to 2.

\[ v(t) = \tfrac12 e^{t} - 2 \]

Displacement

Why: The exponential is its own antiderivative.

\[ \int_0^2 \left(\tfrac12 e^t - 2\right)dt = \left(\tfrac12 e^t - 2t\right)\Big|_0^2 = \tfrac{e^2 - 9}{2} \approx -0.805 \]

Find the sign change

Why: Solve one half e to the t equals 2.

\[ e^t = 4 \;\Longrightarrow\; t = \ln 4 \approx 1.386 \]

Backward piece

Why: Velocity negative on 0 to ln 4; integrate its negative.

\[ \int_0^{\ln 4} \left(2 - \tfrac12 e^t\right)dt = 2\ln 4 - \tfrac32 \approx 1.273 \]

Forward piece

Why: Velocity positive on ln 4 to 2.

\[ \int_{\ln 4}^2 \left(\tfrac12 e^t - 2\right)dt = \tfrac{e^2}{2} - 6 + 2\ln 4 \approx 0.467 \]

Add the pieces

Why: Total distance.

\[ \tfrac{e^2}{2} + 4\ln 4 - \tfrac{15}{2} \approx 1.740 \text{ m} \]

Figure (svg): The curve v equals one half e to the t minus 2 on 0 to 2. It starts at minus 1.5, crosses the axis at t equals ln 4, about 1.386, and ends near 1.69. The region below is shaded red with area about 1.273, the region above green with area about 0.467.

The zero is at ln 4, not at a round number, so the split point has to be solved for exactly before either integral can be written.

Check the pieces against the displacement

Why: Forward minus backward must reproduce the net change.

\[ 0.467 - 1.273 = -0.806 \approx \tfrac{e^2-9}{2} \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 492 — Checkpoint 5.22

The displacement is quick, because the exponential is its own antiderivative: one half e to the t minus two t, from zero to two, gives e squared minus nine, all over two, about minus 0.805 metres.

For the distance, the sign change is where one half e to the t equals two, so e to the t equals four and t equals ln four, about 1.386. That is not a round number, which is why it pays to solve for it exactly: keep ln four in the working and use the fact that e to the ln four is four.

The two pieces come out as two ln four minus three halves, and e squared over two minus six plus two ln four. Their sum, about 1.740 metres, is the distance. The check subtracts them instead of adding, and recovers the displacement to three decimal places, the small difference being rounding.

37. Trap: the absolute value taken at the end

Trap

The trap

Asked for the distance travelled with velocity 3t minus 5 on 0 to 3:

\[ \left|\int_0^3 (3t-5)\,dt\right| \]

\[ = \left|-\tfrac32\right| = \tfrac32 \]

Wrong. That is the size of the displacement.

The fix

The absolute value must go inside, on the velocity, so each backward stretch counts positive before anything is added. Split at the zero first.

\[ \int_0^3 |3t - 5|\,dt = \tfrac{41}{6} \]

\[ \tfrac{41}{6} \ne \tfrac32 \]

This looks like a sensible shortcut: compute the integral of the velocity, then make it positive. But the absolute value outside the integral acts after all the cancelling has happened. It turns minus three halves into three halves, which is the size of the displacement, not the distance.

Distance needs the absolute value applied to the velocity at every instant, before anything is added up, so that the backward stretches never get the chance to cancel the forward ones. That is why the split at the zero comes first.

A quick sanity check exposes the error: the distance can never be smaller than the displacement's size, and it is strictly larger whenever the object reverses. Three halves cannot be right for a particle that went more than four metres backwards.

38. Distance is never less than displacement

Intuition

At every instant the speed is at least the velocity, and at least minus the velocity. Integrating keeps the inequalities, so:

\[ -\int_a^b |v|\,dt \le \int_a^b v\,dt \le \int_a^b |v|\,dt \]

\[ \left|\int_a^b v(t)\,dt\right| \le \int_a^b |v(t)|\,dt \]

The two sides are equal exactly when the velocity never changes sign. Every reversal makes the distance strictly bigger, which gives you a free check on any pair of answers.

\[ \left|-\tfrac32\right| = \tfrac32 < \tfrac{41}{6} \qquad \text{(Examples 5.24 and 5.25)} \]

The first line starts from a fact about single numbers: any number lies between minus its absolute value and plus its absolute value. That is true of the velocity at every instant, and integrating over an interval preserves inequalities that hold at every point. So the displacement lies between minus the distance and plus the distance.

Said more compactly, the size of the displacement is never more than the distance. That matches common sense: you cannot end up farther from home than the total length of road you drove.

The inequality becomes an equality exactly when nothing cancels, that is when the velocity keeps one sign throughout. So whenever you compute both numbers, compare them. If the distance comes out smaller than the size of the displacement, there is an error; if the object reversed and the two are equal, there is also an error.

39. Net against total

Comparison

Comparison matrix

velocity on the intervaldisplacementdistance
v = 3t − 5 on [0, 3]−3/241/6
v = t² − 4 on [0, 3]−323/3
v = sin t on [0, 2π]04
v = 2t on [0, 3]99

Fill in each blank before checking. Two rows reuse examples you have already seen; the other two are new and quick.

For sine t over a full turn, the integral is zero, because the arch above the axis and the arch below it are the same size: the particle returns to its start. Each arch has area two, so the distance is four.

For two t on zero to three, the velocity is never negative, so the particle never reverses and the displacement and the distance are both nine. Any row where the two columns agree is a motion with no reversal.

40. Slide the velocity, watch the position

Tweak it

Parameter explorer

The curve is the position s(t), the integral of the velocity 3u − c from 0 to t, starting at 0. Slide c. Where does the particle turn round, and for which c is it back at the start at t = 3?

\[ s(t) = \int_0^t (3u - {c})\,du = \tfrac32 t^2 - {c}t \]

  • c — from 0 to 9: velocity offset c

The curve here is the position, not the velocity: the running integral of three u minus c from zero to t. Start at c equal to five, the velocity of Example 5.24, and notice the curve dips below zero, reaches its lowest point, and climbs back to minus one and a half at t equal to three.

The lowest point is where the particle turns round, which is where the velocity is zero, at c over three. Slide c and watch the dip move: larger c means a longer backward phase and a deeper dip.

Now find the c that brings the particle back to its start exactly at t equal to three. The position there is thirteen and a half minus three c, so c must be four and a half. At that value the displacement over the interval is zero, while the distance is not, because the particle went back and then came forward.

41. Even and odd symmetry

Section

Part 4

42. Even functions mirror, odd functions spin

Concept

even function — One that gives the same value at x and at minus x. Its graph is its own mirror image in the y-axis.

\[ f(-x) = f(x) \qquad \text{e.g. } x^2,\; x^4,\; \cos x \]

odd function — One whose value at minus x is the negative of its value at x. Its graph is unchanged by a half turn about the origin.

\[ f(-x) = -f(x) \qquad \text{e.g. } x,\; x^3,\; \sin x \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 493 — even and odd functions

These definitions are from Chapter 1, and this is where they earn their keep. An even function gives the same value at a point and at its mirror image across the y-axis, so its graph is symmetric about that axis. Even powers and cosine are the standard examples.

An odd function gives opposite values at mirror-image points. Its graph looks the same after a half turn about the origin. Odd powers and sine are the standard examples.

Most functions are neither. What matters for integrals is that you test the whole function, by replacing x with minus x and simplifying, rather than judging by one term that catches your eye.

43. Two symmetries, two consequences

Picture it

Figure (svg): Left: the even function y equals 4 minus x squared on minus 2 to 2, with the two mirror-image halves shaded in the same colour. Right: the odd function y equals x cubed minus 4x on minus 2 to 2, with a region above the axis on the left and an equal region below the axis on the right.

Folding the even graph across the y-axis lands each half on the other, so the whole is twice one half. Spinning the odd graph about the origin swaps a hill for an equal valley, so they cancel.

On a symmetric interval the even function's two halves carry equal area, so the whole is twice one half. The odd function's halves carry equal area with opposite signs, so they cancel exactly.

Look at the left panel. The even function's graph is its own mirror image, so the region from minus two to zero is a reflection of the region from zero to two. Reflections have equal area, so the whole integral is twice the right-hand half, sixteen thirds each here.

Now the right panel. The odd function's graph is unchanged by a half turn about the origin, which carries the hump on the left onto the dip on the right. The two regions have the same size but opposite signs, plus four and minus four, so they cancel exactly.

These are statements about signed area, which is why they are exact. They hold for any continuous even or odd function on any interval symmetric about zero.

44. Reading the rule for even and odd integrands

Notation

Annotate

On: \( \int_{-a}^{a} f_{\text{even}}\,dx = 2\int_0^a f_{\text{even}}\,dx, \quad \int_{-a}^{a} f_{\text{odd}}\,dx = 0 \)

  • The interval must be symmetric about zero. On 0 to 2 or on −1 to 3 neither shortcut applies.
  • For an even integrand, integrate over the right half only and double. Evaluating at 0 is usually easy.
  • For an odd integrand the answer is zero without integrating at all.
  • The rule is stated for continuous functions. A break inside the interval, like 1/x at 0, voids it.

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, pp. 493-494 — Rule: integrals of even and odd functions

Step through the annotations. The first is the condition people forget: the interval must be symmetric about zero, from minus a to a. On an interval such as zero to two, or minus one to three, the rule says nothing.

For an even integrand, the rule replaces the integral from minus a with twice the integral from zero. That usually helps because evaluating at zero is easy, often giving zero. For an odd integrand, the answer is simply zero, without any integration.

The last annotation is the fine print. The rule is stated for continuous functions. A function that breaks inside the interval can be odd and still fail to integrate to zero, and a later slide shows exactly that.

45. Why the even rule holds

Concept

Let F be the antiderivative of an even function f with F of 0 equal to 0. Differentiate F at minus x with the chain rule:

\[ \frac{d}{dx}\big[F(-x)\big] = -f(-x) = -f(x) \]

So F at minus x and minus F at x have the same derivative, and both are 0 at x equal to 0. They are the same function: F is odd.

\[ F(-x) = -F(x) \]

Now evaluate over a symmetric interval:

\[ \int_{-a}^{a} f(x)\,dx = F(a) - F(-a) = 2F(a) = 2\int_0^a f(x)\,dx \]

The picture of mirror-image areas is convincing, but it is worth seeing that the rule follows from the Fundamental Theorem in three lines, because the same argument then gives the odd rule for free.

Take the antiderivative of f that is zero at zero, and look at the function F of minus x. The chain rule gives its derivative as minus f of minus x, and because f is even that is minus f of x, which is also the derivative of minus F of x. Two functions with the same derivative differ by a constant, and both are zero at zero, so the constant is zero. The antiderivative is odd.

Once you know F is odd, the integral from minus a to a is F of a minus F of minus a, which is F of a plus F of a. That is twice F of a, which is twice the integral from zero to a. The shortcut is just this cancellation of signs, done once and for all.

46. Why the odd rule holds

Concept

Repeat the argument for an odd function f, again with F of 0 equal to 0.

\[ \frac{d}{dx}\big[F(-x)\big] = -f(-x) = f(x) \]

F at minus x has the same derivative as F and the same value at 0, so they are equal: the antiderivative of an odd function is even.

\[ F(-x) = F(x) \]

\[ \int_{-a}^{a} f(x)\,dx = F(a) - F(-a) = 0 \]

Both rules need an antiderivative on the whole interval, which is where continuity comes in.

The same three steps work for an odd function, with one sign changed. Now the chain rule gives minus f of minus x, and because f is odd that is plus f of x, the derivative of F itself. So F of minus x and F of x have the same derivative and the same value at zero: the antiderivative is even.

An even antiderivative takes the same value at a and at minus a, so subtracting them gives zero. That is the odd rule.

The last line is the reason for the continuity condition. The argument needs one antiderivative that works across the whole interval, including at zero. A function that breaks inside the interval, as one over x does, has no such antiderivative, and the argument collapses. You will see that case on its own slide shortly.

47. Example 5.28: an even integrand, both ways

Worked example

Integrate the even function and verify the formula for even functions.

\[ \int_{-2}^{2} \left(3x^8 - 2\right)dx \]

Antidifferentiate

Why: Power rule.

\[ \left(\frac{x^9}{3} - 2x\right)\Bigg|_{-2}^{2} \]

Evaluate at 2

Why: Two to the ninth is 512.

\[ \frac{512}{3} - 4 \]

Evaluate at minus 2

Why: An odd power keeps the sign.

\[ -\frac{512}{3} + 4 \]

Subtract

Why: The top value minus the bottom value doubles it.

\[ \left(\tfrac{512}{3} - 4\right) - \left(-\tfrac{512}{3} + 4\right) = \tfrac{1024}{3} - 8 = \tfrac{1000}{3} \]

Now use the even rule

Why: Integrate from 0 to 2; everything vanishes at 0.

\[ \int_0^2 \left(3x^8 - 2\right)dx = \tfrac{512}{3} - 4 = \tfrac{500}{3} \]

Figure (svg): Two views of y equals 3x to the eighth minus 2 on minus 2 to 2. Left, zoomed out to 800: the curve looks flat near zero and shoots up to 766 at both ends. Right, zoomed in to between minus 2.5 and 2: a flat-bottomed dip below the axis at height minus 2 between the roots near plus and minus 0.95.

Both views are symmetric about the y-axis. The small negative dip in (b) is real but tiny next to the towering ends in (a), which is why the integral is a large positive number.

Verify the rule

Why: Twice the half-interval integral must equal the full one.

\[ 2 \cdot \tfrac{500}{3} = \tfrac{1000}{3} \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 494 — Example 5.28 and Figure 5.35

The book does this integral twice on purpose: once directly, and once with the even rule, so you can see that they agree. Directly, the antiderivative is x to the ninth over three minus two x. At two it is 512 thirds minus four; at minus two, because ninth powers keep the sign, it is minus 512 thirds plus four.

Subtracting gives twice the top value, one thousand thirds. That doubling is the even rule appearing by itself: an even integrand has an odd antiderivative through the origin, and an odd function's values at two and minus two are opposites.

With the rule, you integrate from zero to two, where everything vanishes at the bottom, and get five hundred thirds, which doubles to the same thousand thirds. The two panels show why the answer is large and positive: the curve dips to minus two only in a narrow band, while it towers to 766 at the ends.

48. Example 5.29: an odd integrand vanishes

Worked example

Evaluate the definite integral of the odd function over the interval from minus pi to pi.

\[ \int_{-\pi}^{\pi} -5\sin x\,dx \]

Antidifferentiate

Why: The antiderivative of sine is minus cosine, so the signs combine.

\[ -5\left(-\cos x\right)\Big|_{-\pi}^{\pi} = 5\cos x\Big|_{-\pi}^{\pi} \]

Evaluate at both limits

Why: Cosine is even, so it takes the same value at pi and minus pi.

\[ 5\cos \pi - 5\cos(-\pi) = -5 - (-5) \]

Subtract

Why: The two values are equal.

\[ = 0 \]

Figure (svg): The curve y equals minus 5 sine x from minus pi to pi. A hump above the axis between minus pi and 0 is shaded green, and an equal trough below the axis between 0 and pi is shaded red.

The hump and the trough are congruent, one above and one below. Their signed areas are plus 10 and minus 10.

Check the halves separately

Why: The hump on the left and the trough on the right have equal size and opposite sign. (Figure 5.36 labels this curve 5 sin x; the curve drawn is minus 5 sin x.)

\[ \int_{-\pi}^{0} -5\sin x\,dx = 10, \qquad \int_{0}^{\pi} -5\sin x\,dx = -10 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 495 — Example 5.29 and Figure 5.36

Minus five sine x is odd, because sine is odd and a constant multiple of an odd function is odd, and the interval from minus pi to pi is symmetric. So the rule says the answer is zero before you do anything.

The book confirms it by computing. The antiderivative is five cosine x, and cosine is even, so it takes the same value, minus one, at pi and at minus pi. Subtracting equal values gives zero.

The check splits the interval at zero. The left half is a hump of area ten above the axis, and the right half a trough of area ten below it. One small misprint: the book's figure labels the curve five sine x, but the curve it draws, positive on the left, is minus five sine x.

49. Checkpoint 5.24: x to the fourth

Worked example

\[ \int_{-2}^{2} x^4\,dx \]

Recognise the symmetry

Why: An even power is an even function, and the interval is symmetric.

\[ (-x)^4 = x^4 \]

Apply the even rule

Why: Integrate the right half and double.

\[ \int_{-2}^{2} x^4\,dx = 2\int_0^2 x^4\,dx \]

Integrate the half

Why: Power rule.

\[ 2 \cdot \frac{x^5}{5}\Bigg|_0^2 = 2 \cdot \frac{32}{5} \]

Simplify

Why: Multiply out.

\[ = \frac{64}{5} \]

Figure (svg): The curve y equals x to the fourth from minus 2 to 2, a flat-bottomed U reaching 16 at both ends, with the left half shaded orange and the right half shaded green, each labelled 32 fifths.

The two halves are mirror images, so the whole is twice the right half.

Check without the shortcut

Why: Evaluate over the whole interval directly; the fifth power is odd, so the bottom value is negative.

\[ \frac{32}{5} - \left(-\frac{32}{5}\right) = \frac{64}{5} \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 495 — Checkpoint 5.24

Recognise the symmetry first: a fourth power gives the same value at x and minus x, so x to the fourth is even, and the interval is symmetric. The integral is twice the integral from zero to two.

From zero to two, x to the fifth over five gives thirty-two fifths, and doubling gives sixty-four fifths, or 12.8.

The check evaluates without the shortcut. The antiderivative x to the fifth over five is odd, so its value at minus two is minus thirty-two fifths, and top minus bottom is thirty-two fifths plus thirty-two fifths. The shortcut is not a new fact; it is this cancellation of signs, done once and for all.

50. Products follow the sign rules

Concept

Symmetry of a product behaves like the sign of a product of numbers: two odd factors make an even one.

\[ f, g \text{ odd}: \quad (fg)(-x) = \big(-f(x)\big)\big(-g(x)\big) = f(x)g(x) \]

\[ f \text{ odd}, g \text{ even}: \quad (fg)(-x) = \big(-f(x)\big)g(x) = -f(x)g(x) \]

factorsproductexample
even × evenevenx² cos x
odd × oddevenx sin x
odd × evenoddx³ cos x

A sum is different: odd plus even is, in general, neither.

Before sorting integrands by symmetry, it helps to know how symmetry behaves under multiplication, because many integrands are products. The two lines of algebra do all the work: replace x by minus x in each factor and see what happens to the signs.

Two odd factors each produce a minus sign, and the two minus signs cancel, so the product is even. An odd factor times an even one produces one minus sign, so the product is odd. Two even factors produce none, so the product is even. It is exactly the rule for multiplying positive and negative numbers, with even playing the part of positive.

Sums do not follow any such rule. An odd function plus an even function is usually neither, and that is the case that catches people, as the trap later in this part shows.

51. Even, odd, or neither?

Sorting

Sort into buckets

Sort each integrand by its symmetry. That decides which shortcut, if any, applies on a symmetric interval.

Even: double half
x⁴ + 3x²; x sin x
Odd: zero
x³ − 5x; x cos x
Neither: split it up
x³ + 1; sin x + cos x
even
x⁴ + 3x² has only even powers. x sin x is odd times odd, which is even: (−x) sin(−x) = x sin x.
odd
x³ − 5x has only odd powers. x cos x is odd times even, which is odd.
neither
x³ + 1 and sin x + cos x each mix an odd part with an even part. Neither rule applies to the whole, but each applies to its own part.

Sort each integrand before checking, and test each one by replacing x with minus x. Do not judge by the first term you see.

Products follow sign rules like numbers do. An odd function times an odd function is even, which is why x sine x is even even though both factors are odd. An odd function times an even one is odd, which is why x cosine x is odd.

The two in the neither bucket are the important ones. Each is a sum of an odd part and an even part. Neither rule applies to the whole, but both apply to the parts separately, and the next slide shows how to use that.

52. Split a mixed polynomial into odd and even parts

Worked example

Neither rule applies to the whole integrand, but each applies to part of it.

\[ \int_{-2}^{2} \left(x^4 + 5x^3 + 3x^2 - x\right)dx \]

Separate the odd and even powers

Why: Linearity lets the integral split.

\[ \int_{-2}^{2} \left(5x^3 - x\right)dx + \int_{-2}^{2} \left(x^4 + 3x^2\right)dx \]

The odd part vanishes

Why: Odd integrand, symmetric interval.

\[ \int_{-2}^{2} \left(5x^3 - x\right)dx = 0 \]

Double the even part over the right half

Why: Even integrand.

\[ 2\int_0^2 \left(x^4 + 3x^2\right)dx = 2\left(\frac{x^5}{5} + x^3\right)\Bigg|_0^2 \]

Evaluate

Why: Thirty-two fifths plus 8.

\[ 2\left(\tfrac{32}{5} + 8\right) = 2 \cdot \tfrac{72}{5} = \tfrac{144}{5} \]

Check without shortcuts

Why: Evaluate the full antiderivative at 2 and at minus 2.

\[ \left(\tfrac{32}{5} + 20 + 8 - 2\right) - \left(-\tfrac{32}{5} + 20 - 8 - 2\right) = \tfrac{144}{5} \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 493 — the rule for even and odd functions, applied to parts

Any polynomial splits into its odd powers and its even powers, and linearity lets the integral split the same way. On a symmetric interval, the odd part contributes exactly zero, so you only have to integrate the even part.

The even part, x to the fourth plus three x squared, is doubled over zero to two. That gives two times thirty-two fifths plus eight, which is one hundred and forty-four fifths.

The check evaluates the full antiderivative at two and at minus two. The odd powers in the antiderivative, which came from the even part, change sign and add; the even powers, which came from the odd part, are equal and cancel. It gives one hundred and forty-four fifths again, but with four times as much arithmetic, which is exactly the work the shortcut saves.

53. When an odd function does not integrate to zero

Counterexample

Figure (svg): The curve y equals one over x between minus 1 and 1, with two branches shooting off to plus and minus infinity at x equals 0, and the regions between each branch and the axis shaded, both unbounded.

The graph is odd, but it breaks at zero. Each half encloses infinite area, and infinity minus infinity is not zero; it is not anything.

Discussion prompt

One over x is odd, and minus 1 to 1 is symmetric. Someone writes that its integral over that interval is 0. Which hypothesis of the rule fails, and what is the integral really?

Answer before revealing. One over x passes the odd test, and minus one to one is symmetric, so the rule looks like it applies. It does not, and finding out why is the point of this slide.

The rule assumes the function is continuous on the whole interval. One over x is undefined at zero, right in the middle, and the figure shows what happens there: both branches shoot off to infinity. The area on each side is infinite.

An integral whose two halves are plus infinity and minus infinity does not have a value; infinity minus infinity is not zero. So the correct answer is that the integral does not exist. Always check for breaks inside the interval before reaching for a shortcut.

54. Trap: calling a mixed integrand odd

Trap

The trap

On a symmetric interval, spotting an odd power:

\[ \int_{-1}^{1} \left(x^3 + 1\right)dx = 0 \]

Wrong. The constant 1 is even.

The fix

Test the whole integrand: at minus x it gives minus x cubed plus 1, which is neither f nor minus f. Split it; only the odd part vanishes.

\[ 0 + 2\int_0^1 1\,dx = 2 \]

The eye latches on to x cubed, notices that it is odd, and the interval is symmetric, so out comes zero. But the integrand is x cubed plus one, and the plus one is an even function.

Test the whole thing: replacing x by minus x gives minus x cubed plus one, which is neither the original nor its negative. So the integrand is neither odd nor even, and neither rule applies to it as a whole.

Split it instead. The x cubed part integrates to zero over the symmetric interval, and the constant one integrates to the length of the interval, two. The answer is two, not zero.

55. Accumulation in practice

Section

Part 5

56. Where is the total largest?

Prediction

Figure (svg): The rate r of t equals minus t squared plus 2t plus 3 on 0 to 5: it rises to a peak of 4 at t equals 1, falls through zero at t equals 3, and is negative after that.

A rate graph, not the quantity itself. Its highest point and its zero are two different moments.

Predict first

This is the RATE at which water enters a tank (negative means leaving). The rate peaks at t = 1 and crosses zero at t = 3. When is the amount in the tank largest?

  • At t = 1, where the rate peaks
  • At t = 3, where the rate crosses zero
  • At t = 5, the end
  • At t = 0, the start

Correct: At t = 3, where the rate crosses zero

Why: While the rate is positive, even if falling, water is still coming in, so the amount keeps rising. It stops rising only when the rate hits zero at t = 3, and falls after. The peak of the rate is where the amount rises FASTEST, not where it is largest.

Commit to an option before revealing. The graph is a rate, so its heights are not amounts: they tell you how fast the amount is changing.

As long as the rate is positive, water is still entering the tank and the amount is still going up, even when the rate is falling. So passing the rate's peak at one does not stop the amount from rising; it only means it rises more slowly from then on.

The amount stops rising when the rate reaches zero at three, and after that the rate is negative and water leaves. So the amount is largest at three. Confusing the peak of a rate with the peak of the quantity is one of the commonest misreadings of graphs in science and economics.

57. The running total peaks where the rate changes sign

Concept

Figure (svg): Left: the same rate, shaded green while positive up to t equals 3 and red after. Right: the running total, which climbs to its maximum of 9 at t equals 3, then falls to minus 5 thirds at t equals 5. At t equals 1, where the rate peaks, the total is only rising fastest.

The total keeps growing as long as the rate is positive, however small. It peaks where the rate changes from positive to negative.

\[ A(t) = \int_0^t r(u)\,du = -\frac{t^3}{3} + t^2 + 3t \]

The running total A has derivative r, so it rises while r is positive and falls while r is negative. Its maximum is at the sign change, and its steepest point is at the peak of the rate.

\[ A(1) = \tfrac{11}{3}, \quad A(3) = 9, \quad A(5) = -\tfrac53 \]

The two panels line up the rate and its running total. The running total is the integral of the rate from zero to t, so by the Fundamental Theorem its derivative is the rate. Where the rate is positive, the total rises; where it is negative, the total falls.

So the total has its maximum where the rate changes from positive to negative, at t equal to three, where it reaches nine. The rate's peak at t equal to one marks something else: the moment the total is rising fastest, its steepest point, marked on the right.

By t equal to five, the negative rate has drained more than the total's gain, and the running total is minus five thirds. The whole shape of the right-hand curve can be read from the signs and the size of the left-hand one.

58. Estimate a day's electricity

Estimation

Figure (svg): A bar chart of a city's power use in gigawatts for each of the 24 hours of a day: about 23 to 28 overnight, climbing through the morning to a plateau of 50 in the late afternoon, and falling to 34 by midnight.

Each bar is one hour wide, so its area is the energy used in that hour. The whole day's energy is the area of the bars.

Predict first

Exercise 233: a city's power use in gigawatts is recorded for each hour of a day. Before adding: roughly how much energy, in gigawatt-hours, does the city use in the day?

  • About 40 GWh
  • About 500 GWh
  • About 900 GWh
  • About 2000 GWh

Correct: About 900 GWh

Why: The power runs between 23 and 50 GW, averaging somewhere near 38. Energy is power times time, so about 38 GW for 24 hours: roughly 900 GWh. The exact sum of the 24 hourly values is 911 GWh.

\[ E \approx \sum_{k=1}^{24} P_k \cdot (1\text{ hr}) = 911 \text{ GWh} \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 498 — Exercise 233

Guess before revealing. Energy is power multiplied by time, so a rough answer needs only an average power and the number of hours.

Reading the bar chart, the power sits in the twenties overnight and near fifty in the afternoon, so an average somewhere in the high thirties is sensible. Thirty-eight gigawatts for twenty-four hours is about nine hundred gigawatt-hours.

The exact total is the sum of the twenty-four readings, each multiplied by a width of one hour: 911 gigawatt-hours. That sum is a Riemann sum for the integral of the power over the day, which is what the Net Change Theorem says the energy is. With real data, the integral is always approximated this way.

59. Exercise 227: height from velocity

Worked example

A ball is thrown upward from a height of 1.5 m at 40 m/s. Gravity gives an acceleration of minus 9.8 m/s squared. Find the velocity and the height t seconds later.

Velocity: initial value plus integrated acceleration

Why: Net Change Theorem applied to velocity.

\[ v(t) = v(0) + \int_0^t (-9.8)\,du = 40 - 9.8t \]

Height: initial value plus integrated velocity

Why: The same theorem, one level up.

\[ h(t) = h(0) + \int_0^t (40 - 9.8u)\,du \]

Integrate

Why: Power rule.

\[ h(t) = 1.5 + 40t - 4.9t^2 \]

Find the top of the flight

Why: The height stops rising when the velocity is zero.

\[ 40 - 9.8t = 0 \;\Longrightarrow\; t = \tfrac{40}{9.8} \approx 4.08 \text{ s} \]

Evaluate the maximum height

Why: Substitute that time.

\[ h(4.08) \approx 1.5 + 163.27 - 81.63 \approx 83.1 \text{ m} \]

Figure (svg): The height of a ball thrown up at 40 metres per second from 1.5 metres: a parabola rising to about 83.1 metres at t about 4.08 seconds and returning to the ground at about 8.2 seconds.

The height is the starting height plus the accumulated velocity. The top of the arc is where the velocity changes sign.

Check by differentiating back

Why: The derivative of h must be v, and the derivative of v must be the acceleration; both starting values must match.

\[ h'(t) = 40 - 9.8t = v(t), \quad v'(t) = -9.8, \quad h(0) = 1.5 \]

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 497 — Exercise 227

This applies the Net Change Theorem twice, one level at a time. Acceleration is the rate of change of velocity, so the velocity is its starting value, forty, plus the integral of minus 9.8: forty minus 9.8 t.

Velocity is the rate of change of height, so the height is its starting value, 1.5, plus the integral of the velocity: 1.5 plus forty t minus 4.9 t squared. This is the familiar formula for projectile height, now derived rather than memorised.

The top of the flight is where the velocity changes sign, just like the running total on the earlier slide: at about 4.08 seconds, at a height of about 83.1 metres. The check differentiates back down both levels and confirms both starting values.

60. Stopping distance on a wet road

Real world

Figure (svg): Two velocity lines for a car braking from 30 metres per second: a steep one reaching zero at about 4.29 seconds on dry concrete, and a shallow one reaching zero at 12 seconds on wet asphalt. The triangles under them have areas about 64.3 and 180 metres.

Same starting speed, different slopes. The stopping distance is the area of the triangle, and a shallower slope makes a longer triangle.

Discussion prompt

Exercise 239: a car braking at full effort decelerates at about 7 m/s² on dry concrete but only 2.5 m/s² on wet asphalt. From 30 m/s (about 67 mph), how far does it travel before stopping on each surface?

OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem §5.4, p. 501 — Exercise 239

Work out both distances before revealing. With constant deceleration the velocity is a straight line falling from thirty, and the car stops when it reaches zero. The stopping distance is the integral of the velocity up to that moment.

On dry concrete the car stops after thirty sevenths of a second, about 4.3 seconds, having travelled about 64 metres. On wet asphalt the deceleration is less than half as large, the car takes twelve seconds to stop, and it covers 180 metres.

The figure shows why the effect is so large. The distance is the area of a triangle with height thirty and width equal to the stopping time. Halving the deceleration doubles the width and so doubles the distance. That is the calculus behind leaving more space on a wet road.

61. Putting it together

Section

Part 6

62. Pattern: what does the rate question want?

Pattern

Figure (svg): A flow diagram. Start from a rate. If the question asks for a change or a net amount, integrate the rate. If it asks for a new value, add the initial value to that integral. If it asks for a total distance or total amount regardless of sign, find where the rate changes sign, split there, and integrate the absolute value.

Three questions a rate can answer, and each has its own integral.
  1. Rewrite first. Roots become powers, products are multiplied out, single-term quotients are divided through.
  2. A change is the integral of the rate. A new value is the initial value plus that integral.
  3. Displacement integrates v. Distance integrates |v|: find the zeros, split, flip the negative pieces.
  4. Symmetric interval? Check the whole integrand: odd gives zero, even gives twice the right half, mixed splits into parts.
  5. Check the units: rate units times the variable's units.

This is the decision process for the whole section. It starts with the integrand: if it is a root, a product or a single-term quotient, rewrite it first, because the table only handles sums of basic entries.

Then read the question. A change, or a net amount, is the integral of the rate. A new value is the initial value plus that integral. A total distance, or any amount that should not cancel, is the integral of the absolute value, which means finding the zeros and splitting.

Before evaluating an integral over an interval from minus a to a, check for symmetry in the whole integrand; it may be zero already, or half the work. Finally, check that the units of your answer are the rate's units times the variable's units.

63. Order a total-distance computation

Ranking

Put in order

Put the steps for finding the total distance travelled from a velocity in order.

  1. Solve v(t) = 0 for the times inside the interval
  2. Split the interval at those times
  3. On each piece, replace |v| by v or by −v according to its sign
  4. Integrate each piece
  5. Add the pieces, all of which are now positive

Why: The zeros come first because the absolute value cannot be integrated as it stands; only after splitting can each piece lose its absolute value and be integrated with the ordinary formulas.

Drag the steps into order before checking. The key decision is what comes first, and the answer is finding the zeros of the velocity, because they decide how the interval is cut.

Only once the interval is split can the absolute value be removed piece by piece, since on each piece the velocity has a single sign. After that, each piece is an ordinary integral, and the pieces are added. None of them should be negative at the end; if one is, a sign flip was missed.

64. Check: evaluating a definite integral

Check

Check your understanding

What is the value of the integral of (x² + 2)/x² from 1 to 2?

  • A. 2 (correct)
  • B. 3/2
  • C. 7/3
  • D. 1 + ln 2

Answer: A

Why: Divide through first: (x² + 2)/x² = 1 + 2x⁻². An antiderivative is x − 2/x. At 2 this is 1; at 1 it is −1. The difference is 2.

Why B tempts people
This comes from dropping the constant term 1 after dividing, or from an arithmetic slip in the power rule for x⁻².
Why C tempts people
This integrates the numerator and denominator separately, which is not allowed.
Why D tempts people
The quotient does not produce a logarithm: after dividing there is no 1/x term, only x⁻², which uses the power rule.

The quotient has a single-term denominator, so divide through first: one plus two x to the minus two. The power rule turns two x to the minus two into minus two over x, so an antiderivative is x minus two over x.

At two it is one, and at one it is minus one, so the answer is two. The most tempting wrong answer comes from integrating the top and bottom separately, which there is no rule for.

65. Check: the Net Change Theorem

Check

Check your understanding

A reservoir holds 400 m³ at t = 0 and water flows in at 10 + 2t m³/hr. How much water is in it at t = 5 hours?

  • A. 75 m³
  • B. 475 m³ (correct)
  • C. 420 m³
  • D. 410 m³

Answer: B

Why: The inflow over 5 hours is the integral of 10 + 2t from 0 to 5, which is 50 + 25 = 75 m³. The Net Change Theorem adds this change to the initial 400 m³, giving 475 m³.

Why A tempts people
75 is the change in volume, not the volume. The initial 400 must be added.
Why C tempts people
20 is the flow rate at t = 5, not the accumulated inflow; rates must be integrated, not evaluated.
Why D tempts people
This adds only the initial rate of 10, as if one hour at the starting rate were the whole change.

The question asks how much water is in the reservoir, which is an amount, so the initial value will be needed. The inflow over five hours is the integral of ten plus two t from zero to five, fifty plus twenty-five, which is seventy-five cubic metres.

Adding that change to the four hundred already there gives four hundred and seventy-five. Seventy-five on its own is the change, and twenty is just the rate at the end; neither is the amount.

66. Check: displacement and distance

Check

Check your understanding

A particle has velocity v(t) = 4 − 2t m/s for 0 ≤ t ≤ 4. What are its displacement and total distance?

  • A. displacement 0 m, distance 8 m (correct)
  • B. displacement 0 m, distance 0 m
  • C. displacement 8 m, distance 8 m
  • D. displacement 4 m, distance 8 m

Answer: A

Why: The integral of 4 − 2t from 0 to 4 is 16 − 16 = 0: the particle returns to its start. The velocity changes sign at t = 2; each piece has area 4, so the distance is 4 + 4 = 8 m.

Why B tempts people
Zero displacement does not mean zero distance: the particle moved 4 m out and 4 m back.
Why C tempts people
Distance is 8, but the displacement integrates the signed velocity, which cancels to 0.
Why D tempts people
4 is the distance of one leg only; the signed integral over the whole interval is 0.

The velocity four minus two t is positive until two and negative after, so the particle goes out and comes back. The integral of the velocity over zero to four is zero, so the displacement is zero.

Distance splits at two. Each piece is a triangle of area four, so the total distance is eight metres. Zero displacement with nonzero distance is the signature of a round trip.

67. Explain the cancellation

Explain it to yourself

Discussion prompt

In two or three sentences, explain why the integral of an odd function over an interval from minus a to a is zero, and why the same idea makes a round trip's displacement zero while its distance is not.

Write your explanation before revealing. The two situations look different, one about the graph of an odd function and one about a journey, but they are the same idea: signed quantities that come in equal and opposite pairs.

For the odd function, the pairing is by position: the slice at x and the slice at minus x have the same size and opposite signs. For the round trip, the pairing is by direction: the outward leg and the return leg. In both cases the signed total is zero, and the unsigned total is twice one half.

68. Exit ticket

Exit ticket

\[ v(t) = t^2 - 2t \quad \text{m/s}, \qquad 0 \le t \le 3 \]

Discussion prompt

Find the displacement and the total distance travelled. Then say where the particle is farthest behind its start.

This combines the whole section in one velocity. Do the displacement first, straight through, then the distance, with a split at the zero of the velocity, then read the position from the pieces.

The velocity t squared minus two t is t times t minus two, which is negative between zero and two and positive after. Integrating straight through gives nine minus nine, zero. The two pieces are four thirds each, so the distance is eight thirds of a metre.

The particle is farthest behind at t equal to two, where it turns round, four thirds of a metre back. It then comes forward the same four thirds and arrives at its start exactly at three. If your answer puts the farthest point at t equal to one, where the velocity is most negative, you have mixed up a rate's extreme with the quantity's extreme.

69. Recap

Recap

questionintegralwatch for
definite integralF(b) − F(a)rewrite roots, products, quotients first
change in a quantity∫ F′ from a to ba change, not an amount
new valueF(a) + ∫ F′ from a to bthe initial value must be given
displacement∫ v dtbackward motion counts negative
distance∫ |v| dtsplit at the zeros of v first
symmetric intervaleven: 2 ∫ from 0; odd: 0test the whole integrand; needs continuity

\[ F(b) = F(a) + \int_a^b F'(x)\,dx \]

Next, Section 5.5 adds substitution, which reverses the chain rule and enlarges the table enormously.

Stewart, Calculus: Early Transcendentals 8e, §5.4 Indefinite Integrals and the Net Change Theorem §5.4, pp. 402-411 — the same material in Stewart

Every row of this table comes from one equation, the Net Change Theorem at the bottom of the slide: the new value is the old value plus the integral of the rate. The definite integral is the change, displacement is the change in position, and the symmetry rules are shortcuts for particular integrands.

The watch-for column lists the mistakes this lesson has tried to prevent: integrating a quotient without rewriting it, reporting a change as an amount, taking an absolute value after integrating instead of before, and applying a symmetry rule to a mixed or discontinuous integrand.

The table of basic formulas is still short. Section 5.5 extends it with substitution, which reverses the chain rule and handles integrands such as x times the cosine of x squared that nothing in this lesson can touch.

Sources

  1. OpenStax Calculus Volume 1, §5.4 Integration Formulas and the Net Change Theorem — Strang & Herman, OpenStax / Rice University, CC BY-NC-SA 4.0, pp. 488-505
  2. Stewart, Calculus: Early Transcendentals 8e, §5.4 Indefinite Integrals and the Net Change Theorem — James Stewart, Cengage Learning, 2016, pp. 402-411

Want this taught 1-on-1? Alexander tutors Calculus I — $55/session, free consultation.

Book on Wyzant · Text (657) 465-8108