A motorbike accelerates for 3 seconds. Its velocity after t seconds is v(t)=t2+2 (m/s): 2 m/s at the start, 3 m/s after 1 second, 6 m/s after 2 seconds and 11 m/s after 3 seconds. How many metres does it travel in those 3 seconds?
A quick guess is to average the first and last velocities: 22+11⋅3=19.5 m. That only works when the velocity rises steadily, but here it rises faster and faster. Let us find the right answer.
The area under a graph
Explore: cutting time into small pieces
If the velocity is constant, the distance is velocity times time, which is the area of a rectangle. When the velocity changes, we cut [0,3] into small pieces and treat the velocity as almost constant on each one.
With pieces 1 second long, taking the velocity at the start of each piece gives an underestimate, and taking it at the end gives an overestimate:
1⋅(2+3+6)=11,1⋅(3+6+11)=20.
Length of each piece
1
0.5
0.1
Underestimate
11
12.875
14.555
Overestimate
20
17.375
15.455
The two estimates close in on one number, 15. This number is the area of the region under the graph of v(t) from t=0 to t=3.
Distance as the area under v(t)=t2+2
Here is the surprise: if S(t)=3t3+2t is an antiderivative of v(t), then S(3)−S(0)=9+6−0=15, exactly the same number. This is no coincidence.
The definition of the integral
The result does not depend on which antiderivative we choose: replacing F by F+C gives (F(b)+C)−(F(a)+C)=F(b)−F(a). Nor does it depend on the name of the variable: ∫abf(x)dx=∫abf(t)dt.
Why is it true? Let S(x) be the area under the graph from a to x. When x grows by a small amount h, the area grows by a thin strip that is almost a rectangle, so S(x+h)−S(x)≈f(x)⋅h. Dividing by h and letting h→0 gives S′(x)=f(x), so S is an antiderivative of f with S(a)=0. The area we want is therefore S(b)=S(b)−S(a)=F(b)−F(a).
The value at the lower limit is not always 0, especially for trigonometric functions.
Properties of the integral
The first two come from the rules for antiderivatives. The third holds because (F(c)−F(a))+(F(b)−F(c))=F(b)−F(a); geometrically, we cut a region into two pieces.
With an absolute value, we find where the expression changes sign and split the interval using the third property.
The graph of y=∣x2−1∣ on [0,2]
Functions of the form f(ax+b)
If F is an antiderivative of f, the chain rule (grade 11) gives (F(ax+b))′=af(ax+b). Dividing by a gives the rule:
∫f(ax+b)dx=a1F(ax+b)+C(a=0).
For example, ∫cos2xdx=21sin2x+C and ∫e3xdx=31e3x+C. This is the simplest case of integration by substitution, with u=ax+b.
Back to the motorbike
Key terms
Summary
∫abf(x)dx=[F(x)]ab=F(b)−F(a), where F is any antiderivative of f.
If f≥0, the integral is the area under the graph; if the velocity is positive, the integral is the distance travelled.
∫aa=0, ∫ba=−∫ab, ∫ab=∫ac+∫cb; constant factors and sums split apart.
With an absolute value: find where the sign changes, split the interval, remove the bars on each piece.
∫f(ax+b)dx=a1F(ax+b)+C.
Practice
Each exercise comes with what you need and some steps to start. Try it yourself first, then open the solution.
Exercise 1
Evaluate ∫02(x3−2x+3)dx.
What you need and how to start
What you need:∫abf(x)dx=F(b)−F(a).
Steps:
Find an antiderivative F(x)=4x4−x2+3x.
Compute F(2)−F(0).
Show solution
[4x4−x2+3x]02=(4−4+6)−0=6.
Answer.6.
Exercise 2
Evaluate ∫14(x−x21)dx.
What you need and how to start
What you need:x=x21 has antiderivative 32xx; x−2 has antiderivative −x1.
Steps:
Write an antiderivative F(x)=32xx+x1.
Compute F(4)−F(1), taking care with the fractions.
Show solution
F(4)=316+41 and F(1)=32+1. The difference is 314−43=1256−9=1247.
Answer.1247.
Exercise 3
Evaluate ∫0π(sinx+2)dx.
What you need and how to start
What you need: the antiderivative of sinx is −cosx; cosπ=−1 and cos0=1.
Steps:
Write F(x)=−cosx+2x.
Compute F(π)−F(0).
Show solution
F(π)=1+2π and F(0)=−1. So the integral equals 1+2π−(−1)=2+2π.
Answer.2+2π.
Exercise 4
Given ∫13f(x)dx=5 and ∫13g(x)dx=−2, find ∫13(3f(x)−2g(x)+x)dx.
What you need and how to start
What you need: split the sum and take constants outside the integral.
Steps:
Write it as 3⋅5−2⋅(−2)+∫13xdx.
Evaluate ∫13xdx.
Show solution
∫13xdx=[2x2]13=29−21=4. The total is 15+4+4=23.
Answer.23.
Exercise 5
Consider the integral I=∫03∣x−2∣dx. Is each claim true or false?
a) On [0,2], ∣x−2∣=2−x.
b) I=∫03(x−2)dx=23.
c) I=25.
d) ∫30∣x−2∣dx=25.
What you need and how to start
What you need: split the interval where x−2 changes sign; swapping the limits changes the sign.
Steps:
Find the sign of x−2 on [0,2] and on [2,3].
Evaluate the two smaller integrals and add.
Show solution
a) True: for x≤2, x−2≤0.
b) False: the absolute value cannot be moved outside; I is not 23 (see c).
c) True: ∫02(2−x)dx=2 and ∫23(x−2)dx=21, so I=25.
d) False: swapping the limits changes the sign, so that integral equals −25.
Answer. a) True; b) False; c) True; d) False.
Exercise 6
Evaluate ∫01(3x+1)2dx.
What you need and how to start
What you need:∫f(ax+b)dx=a1F(ax+b)+C, here with a=3.
Steps:
An antiderivative is 9(3x+1)3.
Substitute the limits 1 and 0.
Show solution
[9(3x+1)3]01=964−91=7.
Answer.7.
Exercise 7
Water flows into a tank at the rate r(t)=40−2t (litres per minute), 0≤t≤10. How much water flows into the tank in the first 10 minutes?
What you need and how to start
What you need: the amount that flows in from t=a to t=b is ∫abr(t)dt (the rate is non-negative).
Steps:
Write ∫010(40−2t)dt.
Evaluate it with the antiderivative 40t−t2.
Show solution
[40t−t2]010=400−100=300.
Answer.300 litres.
Exercise 8 Review
F(x) is an antiderivative of f(x) on R with F(1)=2 and F(4)=7. Find ∫14f(x)dx and ∫14(2f(x)+1)dx.
What you need and how to start
What you need: the definition of the integral through an antiderivative (see antiderivatives).
Steps:
∫14f(x)dx=F(4)−F(1).
Split the sum; ∫141dx=3.
Show solution
∫14f(x)dx=7−2=5. Then ∫14(2f(x)+1)dx=2⋅5+3=13.
Answer.5 and 13.
Exercise 9 Review
Evaluate ∫0ln3exdx and ∫122xdx (give the second one to 2 decimal places).
What you need and how to start
What you need:elna=a (logarithms, grade 11); the antiderivative of 2x is ln22x.
Steps:
[ex]0ln3=eln3−e0.
[ln22x]12=ln24−2.
Show solution
∫0ln3exdx=3−1=2. ∫122xdx=ln22≈2.885.
Answer.2 and ln22≈2.89.
Exercise 10 Challenge
Evaluate ∫−12∣x2−x∣dx.
What you need and how to start
What you need:x2−x=x(x−1) changes sign at 0 and 1; it is positive outside the roots and negative between them.
Steps:
Split into the three intervals [−1,0], [0,1], [1,2].
Use the antiderivative G(x)=3x3−2x2 on each piece, changing the sign on the middle one.
Show solution
G(−1)=−65, G(0)=0, G(1)=−61, G(2)=32. The three parts: G(0)−G(−1)=65; −(G(1)−G(0))=61; G(2)−G(1)=65. The total is 65+61+65=611.
Answer.611.
Mini test
Mini test
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
Question 1. The integral ∫12(2x+1)dx equals
Answer: C.
[x2+x]12=6−2=4. A forgets to subtract the value at the lower limit, B subtracts the wrong way round, and D computes f(2)−f(1) instead of using an antiderivative.
Question 2. Given ∫05f(x)dx=7 and ∫02f(x)dx=3, the value of ∫25f(x)dx is
Answer: B.
∫05=∫02+∫25, so ∫25f(x)dx=7−3=4. A adds instead of subtracting; C and D have the wrong sign.
Question 3. The integral ∫0πsinxdx equals
Answer: C.
[−cosx]0π=−(−1)−(−1)=2. A uses the wrong antiderivative cosx, B takes the value at the lower limit as 0, and D is the result for cosx on [0,π].
Question 4. The integral ∫01e2xdx equals
Answer: B.
The antiderivative is 2e2x, so the integral is 2e2−e0=2e2−1. A forgets the factor 21, C multiplies instead of dividing, and D takes e0=0.
Part II. True or false
Question 1. Consider f(x)=x2−4x+3.
a)∫03f(x)dx=0.
b)f(x)≤0 for every x∈[1,3].
c)∫03∣f(x)∣dx=0.
d)∫03∣f(x)∣dx=38.
Answer: a) True; b) True; c) False; d) True.
a) True: [3x3−2x2+3x]03=9−18+9=0. b) True: f has roots 1 and 3 and leading coefficient a>0. c) False: the integral of a non-negative function that is not identically 0 is positive. d) True: ∫01f=34 and ∫13(−f)=34, a total of 38.
Part III. Short answer
Question 1. Evaluate ∫02(x3+3x2)dx.
Answer: 12.
[4x4+x3]02=4+8=12.
Question 2. Evaluate ∫1e(2x+x1)dx. Give your answer to 1 decimal place.
Answer: 7.4.
[x2+lnx]1e=(e2+1)−(1+0)=e2≈7.389, which rounds to 7.4.
Show answers and explanations
Part I, question 1: C. [x2+x]12=6−2=4. A forgets to subtract the value at the lower limit, B subtracts the wrong way round, and D computes f(2)−f(1) instead of using an antiderivative.
Part I, question 2: B. ∫05=∫02+∫25, so ∫25f(x)dx=7−3=4. A adds instead of subtracting; C and D have the wrong sign.
Part I, question 3: C. [−cosx]0π=−(−1)−(−1)=2. A uses the wrong antiderivative cosx, B takes the value at the lower limit as 0, and D is the result for cosx on [0,π].
Part I, question 4: B. The antiderivative is 2e2x, so the integral is 2e2−e0=2e2−1. A forgets the factor 21, C multiplies instead of dividing, and D takes e0=0.
Part II, question 1: a) True; b) True; c) False; d) True. a) True: [3x3−2x2+3x]03=9−18+9=0. b) True: f has roots 1 and 3 and leading coefficient a>0. c) False: the integral of a non-negative function that is not identically 0 is positive. d) True: ∫01f=34 and ∫13(−f)=34, a total of 38.
Part III, question 1: 12. [4x4+x3]02=4+8=12.
Part III, question 2: 7.4. [x2+lnx]1e=(e2+1)−(1+0)=e2≈7.389, which rounds to 7.4.