Corrected exercises: areas, Riemann sums and the definite integral (MATH 141)
This is the corrected exercise set for the first chapter of MATH 141, Calculus 2, the second-semester calculus course taken at McGill University. It follows sections 5.1 and 5.2 of Stewart: areas and distances, Riemann sums, and the definite integral defined as a limit. Every exact value on this page is obtained without an antiderivative, by the limit of a sum, by geometry or by the properties of the integral, because that is what a question saying use the definition demands, and every number is chosen to be done by hand.
The thread running through the set: an integral is the limit of a sum of SIGNED rectangles, and every question is answered by writing that sum before any number. First the width Δx=nb−a, then the sample point xi=a+iΔx, then the height f(xi). The picture then settles what the algebra cannot: a rectangle below the axis counts negatively, so an integral is not an area, and a left or right sum is an over- or underestimate only where the function is monotonic.
The traps named in the solutions: dropping the a from xi=a+iΔx, summing a constant to itself once instead of n times, keeping the wrong leading term of ∑i2, taking the midpoint sum for the average of the left and right sums, believing the left sum always underestimates, concluding from Ln=Rn that an estimate is exact, reporting an integral of zero as an area of zero, and forgetting that reversed limits change the sign.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Δx=nb−a and xi=a+iΔx, i=0,1,…,n. Midpoints: xˉi=a+(i−21)Δx.
•Ln=∑i=1nf(xi−1)Δx, Rn=∑i=1nf(xi)Δx, Mn=∑i=1nf(xˉi)Δx: exactly n terms each.
•∫abf(x)dx=limn→∞∑i=1nf(xi)Δx for f continuous; any choice of sample points gives the same limit.
•∑i=1ni=2n(n+1), ∑i=1ni2=6n(n+1)(2n+1), ∑i=1ni3=[2n(n+1)]2 and ∑i=1nc=cn.
•f increasing on [a,b]: Ln≤∫abf≤Rn; decreasing: the reverse. In both cases ∣Ln−Rn∣=Δx∣f(a)−f(b)∣.
•∫baf=−∫abf, ∫aaf=0, ∫abcdx=c(b−a), ∫abf+∫bcf=∫acf, and m(b−a)≤∫abf≤M(b−a) when m≤f≤M.
•An integral is a SIGNED area: area above the axis minus area below. The area of a region is ∫ab∣f(x)∣dx.
Part A: the basics (/50)
Exercise 1: Sigma notation: the three formulas and the index that moves
Every exact computation of this chapter ends the same way: a sum of powers of i, closed by one of four formulas, ∑i=1ni=2n(n+1), ∑i=1ni2=6n(n+1)(2n+1), ∑i=1ni3=[2n(n+1)]2 and ∑i=1nc=cn. They hold only for a sum that STARTS at i=1 and ENDS at i=n; most errors come from applying them to a sum that does not.
The figure shows two copies of the staircase 1+2+3+4+5, one shaded and one turned over, fitting together into a rectangle.
a) Evaluate ∑i=120(3i−2).
b) Evaluate ∑i=410i2.
c) Find a closed form for ∑i=1n(i+1)2 in two ways: by expanding the square, then by renaming the index j=i+1. Check that both agree for n=2.
d) Deduce limn→∞n31∑i=1n(i+1)2, and compute limn→∞n41∑i=1ni3.
e) Use the figure to explain the formula for ∑i=1ni. The shaded staircase covers the triangle under the diagonal of an n by n square, whose area is 2n2: by how much does it overshoot, and what happens to that overshoot, relative to n2, as n grows?
Show the solution
Answers
a)590
b)371
c)62n3+9n2+13n=6(n+1)(n+2)(2n+3)−1; both give 13 for n=2.
d)31 and 41
e)Two staircases make an n by (n+1) rectangle; the overshoot is 2n, and n2n/2→0.
a)
Split the sum and pull out the constant: ∑i=120(3i−2)=3∑i=120i−∑i=1202=3⋅220⋅21−2⋅20=630−40=590. The trap is the last term: ∑i=1202 is twenty copies of 2, that is 40, not 2. The constant does not depend on i, but it is still added once per term. Writing 630−2=628 is the most common slip on this line, and it reappears in every Riemann sum where f has a constant term.
b)
The formula needs a sum starting at 1, so complete it and remove what was added: ∑i=410i2=∑i=110i2−∑i=13i2=610⋅11⋅21−(1+4+9)=385−14=371. The subtracted sum stops at 3, the index just BEFORE the first term kept. Subtracting ∑i=14i2=30 removes the term 16 that belongs to the sum and gives 355. Check by counting terms: from 4 to 10 there are 10−4+1=7 terms, 16+25+36+49+64+81+100=371.
c)
First route, expand: (i+1)2=i2+2i+1, so ∑i=1n(i+1)2=6n(n+1)(2n+1)+2⋅2n(n+1)+n. Over the common denominator 6: 6(2n3+3n2+n)+(6n2+6n)+6n=62n3+9n2+13n. Second route, rename: with j=i+1, j runs from 2 to n+1, so the sum is ∑j=2n+1j2=∑j=1n+1j2−1=6(n+1)(n+2)(2n+3)−1. The formula is applied with n+1 in place of n, in all three factors. For n=2: 616+36+26=13 and 63⋅4⋅7−1=14−1=13, which is 22+32. The trap to avoid: ∑(i+1)2=∑i2+1; the square must be expanded before the sum is split.
d)
Divide the closed form by n3: 6n32n3+9n2+13n=31+2n3+6n213→31. The shift by 1 changed the lower terms but not the leading one, 62n3, and only the leading term survives division by n3. Next, n41[2n(n+1)]2=41(nn+1)2→41. A frequent slip is to keep 6n⋅n⋅n as the leading part of ∑i2 and announce 61: the factor 2n+1 contributes 2n, not n.
e)
The shaded staircase has columns of heights 1,2,…,n, so its area is ∑i=1ni. The turned-over copy fills exactly the rest of a rectangle n wide and n+1 high, so 2∑i=1ni=n(n+1), which is the formula. Now 2n(n+1)=2n2+2n: the staircase is the triangle plus 2n, one half-square of overshoot on each of the n steps. Relative to the size of the picture, n2n/2=2n1→0. This is the whole idea of the chapter in one figure: rectangles overshoot a slanted boundary, and the error, shared among more and thinner rectangles, becomes negligible. Rescaled to the unit square, it says n21∑i=1ni→21, the area of the triangle under y=x on [0,1].
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Left, right and midpoint sums on a decreasing function
The region under f(x)=16−x2 between x=0 and x=4 is cut into n=4 strips of equal width. The figure shows the four LEFT rectangles: each strip is replaced by a rectangle whose height is the value of f at the left end of the strip.
Let A be the area of the region. Keep exact values throughout; no calculator is needed.
a) Give Δx, then the sample points used by L4, by R4 and by M4.
b) Compute L4, R4 and M4.
c) Which of L4 and R4 is an overestimate of A? Justify with a property of f, not with the figure alone, and write the resulting inequality for A.
d) Show that Ln−Rn=n64 for every n. How many strips guarantee that A is known to within 1 square unit by this bracket?
e) Exercise 4 shows that A=3128. Check it against b) and c), and explain on the figure why M4 is much closer to A than L4 or R4.
c)f is decreasing on [0,4]: L4 over, R4 under, 34<A<50.
d)Ln−Rn=n4[f(0)−f(4)]=n64; n≥64 strips.
e)34<42.67<50; M4 is off by 31 only, because each midpoint rectangle overshoots on one half of its strip and undershoots on the other.
a)
Δx=nb−a=44−0=1, and the division points are xi=0+iΔx=i, for i=0,1,2,3,4. The left sum uses the left end of each strip, x0,…,x3, that is 0,1,2,3. The right sum uses x1,…,x4, that is 1,2,3,4. The midpoint sum uses the centres xˉi=2xi−1+xi, that is 21,23,25,27. Each sum has exactly n=4 terms: listing five sample points, 0 to 4, for L4 is the error that adds a fifth rectangle standing outside the interval.
b)
The values needed are f(0)=16, f(1)=15, f(2)=12, f(3)=7, f(4)=0. So L4=1⋅(16+15+12+7)=50 and R4=1⋅(15+12+7+0)=34. For the midpoints, f(21)=463, f(23)=455, f(25)=439, f(27)=415, so M4=463+55+39+15=4172=43. Note that M4 is NOT the average of L4 and R4, which is 42: the midpoint sum evaluates f at new points, it does not average old values.
c)
f′(x)=−2x≤0 on [0,4], so f is decreasing there. On each strip [xi−1,xi] the largest value of f is therefore at the LEFT end: the left rectangle contains the region above that strip, and the right rectangle is contained in it. Summing over the four strips, R4≤A≤L4, and since f is strictly decreasing the inequalities are strict: 34<A<50. The figure shows the left rectangles sticking out above the curve, but a picture is an illustration, not a proof: the marks go to the word decreasing and to its justification.
d)
Write both sums out: Ln=Δx[f(x0)+f(x1)+⋯+f(xn−1)] and Rn=Δx[f(x1)+⋯+f(xn−1)+f(xn)]. Every interior value appears in both and cancels, leaving Ln−Rn=Δx[f(x0)−f(xn)]=n4[f(0)−f(4)]=n4⋅16=n64. For n=4 this gives 16=50−34, as it must. Since A lies between Rn and Ln, it is known to within 1 as soon as n64≤1, that is n≥64 strips. The formula works only because f is monotonic: it is the bracket of c), measured.
e)
3128=4232, which lies between R4=34 and L4=50, as c) demands. The errors are 50−3128=322 for L4, 3128−34=326 for R4, and only 43−3128=31 for M4. Draw a midpoint rectangle on one strip: on the left half of the strip the curve is above the top of the rectangle, on the right half it is below. The missing piece and the extra piece nearly cancel, which a left or right rectangle cannot do, since on a decreasing function it is entirely above or entirely below. That is an observation about this figure, not a rule to quote: nothing in this chapter says on which side of A a midpoint sum falls.
Exercise 3: Distance from a table of velocities
A car starts from rest and accelerates along a straight road. Its speedometer is read every five seconds, and its speed never decreases during these thirty seconds:
t (s)v (m/s)005610111515201825203021
Over a short time interval on which the speed is nearly constant, distance is speed times time. The distance d travelled from t=0 to t=30 is therefore estimated by sums of such products, and those sums are Riemann sums of the velocity.
The figure plots the readings.
a) Compute the left and right estimates L6 and R6 of d.
b) Explain why d lies between them.
c) Give the best estimate that the table allows with a midpoint sum, and say why M6 cannot be computed.
d) If the speedometer were read at equal intervals Δt, how small should Δt be for the gap between the left and right estimates to be at most 10 m? How many intervals is that over the thirty seconds?
e) Why does a sum of products of v and Δt come out in metres? If the table described a car BRAKING, with a speed that never increases, which of L6 and R6 would be the upper estimate?
Show the solution
Answers
a)L6=350 m, R6=455 m
b)v never decreases: L6≤d≤R6, so 350≤d≤455 m.
c)M3=10(6+15+20)=410 m; M6 needs v(2.5),v(7.5),…, which are not in the table.
d)Rn−Ln=21Δt≤10: Δt≤2110 s, that is n≥63 intervals.
e)Each term is (m/s) times (s) = m. Braking: L6 becomes the upper estimate.
a)
The time step is Δt=5 s and there are n=6 intervals: [0,5],[5,10],…,[25,30]. The left estimate uses the speed at the START of each interval: L6=5(0+6+11+15+18+20)=5⋅70=350 m. The right estimate uses the speed at the END: R6=5(6+11+15+18+20+21)=5⋅91=455 m. Seven readings give six intervals, hence six terms in each sum: the left sum drops the last reading and the right sum drops the first. Using all seven readings in one sum is the classic error, and here it gives 5⋅91=455 for the left sum, the right answer to a different question.
b)
On each interval the speed is at least its value at the start and at most its value at the end, since it never decreases. So the distance covered on that interval lies between (starting speed) ×5 and (final speed) ×5. Adding the six intervals, L6≤d≤R6: 350≤d≤455 m. This is the monotonicity argument of Exercise 2 with the roles swapped, because the function now INCREASES: for an increasing function the left sum is the underestimate. The statement gives this information in words, and the answer must quote it; the table alone could not rule out a dip between two readings.
c)
A midpoint sum needs the speed at the centre of each interval. With intervals of 5 s the centres are 2.5,7.5,… s, and the table has no reading there: M6 is out of reach. With n=3 intervals of 10 s, [0,10], [10,20] and [20,30], the centres are 5, 15 and 25 s, which ARE in the table. So M3=10[v(5)+v(15)+v(25)]=10(6+15+20)=410 m. It lies inside the bracket of b), as any sensible estimate must. The width is 10 s, not 5: using Δt=5 with three terms counts only half of the thirty seconds.
d)
For n equal intervals of width Δt, the interior readings appear in both sums and cancel, as in Exercise 2: Rn−Ln=Δt[v(30)−v(0)]=21Δt. The distance is known to within 10 m, by the bracket alone, when 21Δt≤10, that is Δt≤2110 s, slightly under half a second. Over thirty seconds this means n=Δt30≥30⋅1021=63 intervals, that is 64 readings counting the one at t=0. The argument uses only the two end speeds and the monotonicity: nothing about the shape of the curve in between.
e)
Each term v(ti)Δt is a speed in metres per second times a duration in seconds, so its unit is the metre: a rectangle drawn on a velocity graph carries the unit of its height times the unit of its width. The area under a velocity curve is a distance, and here, since the speed is never negative, it is the distance travelled. For a braking car the speed is largest at the start of each interval, so the LEFT estimate becomes the upper one and the right estimate the lower one. Which sum overestimates is never a property of left or right: it is a property of the direction in which the function moves.
Exercise 4: The integral as a limit of right sums
By definition, for f continuous on [a,b], ∫abf(x)dx=limn→∞∑i=1nf(xi)Δx, with Δx=nb−a and xi=a+iΔx. When a question says use the definition, this limit is what must be computed: no antiderivative, even one you already know.
The method has four moves, always in this order: write Δx and xi, express f(xi) as powers of i, close the sum with the formulas of Exercise 1, then let n→∞.
a) Use the definition, with right endpoints, to show that ∫04(16−x2)dx=3128. Check your formula for Rn against the value R4=34 of Exercise 2.
b) Use the definition to evaluate ∫13(x2−2x)dx. Check your formula for Rn at n=1.
c) The answer to b) is smaller than the area of the region between the curve and the x-axis on [1,3]. Explain why, and say what the number measures.
d) Compute Ln for the integral of a), check it against L4=50, and show that its limit is the same.
e) In b), a student writes xi=n2i. Which integral has he computed, and what does he get?
Show the solution
Answers
a)Rn=64−3n232(n+1)(2n+1)→64−364=3128; R4=34.
b)Rn=3n24(n+1)(2n+1)−2→32; R1=6=2f(3).
c)On (1,2) the curve is below the axis and counts negatively: 32 is area above minus area below.
d)Ln=64−3n232(n−1)(2n−1); L4=50; limit 3128.
e)∫02(x2−2x)dx=38−4=−34, a different integral.
a)
Δx=n4−0=n4 and xi=0+n4i=n4i. Then f(xi)=16−n216i2, and Rn=∑i=1n(16−n216i2)n4=n64∑i=1n1−n364∑i=1ni2=64−n364⋅6n(n+1)(2n+1)=64−3n232(n+1)(2n+1). The first sum is n copies of n64, that is 64. Check at n=4: 64−4832⋅5⋅9=64−30=34, exactly the R4 of Exercise 2, so the closed form is right before the limit is even taken. Now n2(n+1)(2n+1)→2, so Rn→64−364=3128. Everything is pulled out of the sum BEFORE the formulas are applied: n4 and n216 do not depend on i.
b)
Δx=n3−1=n2 and xi=1+n2i: the left end a=1 must be there. Expanding, xi2−2xi=1+n4i+n24i2−2−n4i=n24i2−1; the terms in i cancel, which is what writing x2−2x=(x−1)2−1 predicts. So Rn=∑i=1n(n24i2−1)n2=n38⋅6n(n+1)(2n+1)−2=3n24(n+1)(2n+1)−2. The −2 is n copies of −n2, not −n2 once. Check at n=1: one rectangle of width 2 and height f(3)=3, so R1=6, and the formula gives 34⋅2⋅3−2=6. Finally Rn→38−2=32.
c)
x2−2x=x(x−2) is negative on (1,2) and positive on (2,3), as the figure of the solution shows. A Riemann sum adds f(xi)Δx with its sign, so every rectangle standing below the axis is SUBTRACTED. In the limit, ∫13(x2−2x)dx is the area of the part above the axis minus the area of the part below: a net, or signed, area. The geometric area of the whole region counts both parts positively and is therefore larger than 32. A problem that asks for an area of a region whose boundary crosses the axis must be split at the crossing, here x=2; a problem that asks for an integral must not be.
d)
The left sum uses xi−1=n4(i−1), so with k=i−1 it runs over k=0,…,n−1: Ln=n4∑k=0n−1(16−n216k2)=64−n364∑k=1n−1k2=64−n364⋅6(n−1)n(2n−1)=64−3n232(n−1)(2n−1). The term k=0 contributes 0 to ∑k2 but 16 to the first sum, which still has n terms and still gives 64; the formula for ∑k2 is then used with n−1 in place of n. At n=4: 64−4832⋅3⋅7=64−14=50, the L4 of Exercise 2. And n2(n−1)(2n−1)→2, so Ln→3128, the same limit. For a continuous function the choice of sample points changes every approximation and never the integral.
e)
With xi=n2i and Δx=n2, the sample points run from n2 to 2: they cover [0,2], not [1,3]. His sum is ∑i=1n(n24i2−n4i)n2=n38∑i2−n28∑i→38−4=−34, which is ∫02(x2−2x)dx, the integral over the part where the parabola is entirely below the axis. Even the sign is wrong. The quickest defence is the n=1 check of b): his formula at n=1 gives 8⋅11−8⋅1=0, which is 2f(2), not 2f(3)=6.
Exercise 5: Reading a limit of sums as an integral
The reverse question is just as frequent on an exam: a limit of sums is given, and it must be recognized as ∫abf(x)dx. Read it in this order: the factor that behaves like nconstant is Δx=nb−a; inside the function, the expression a+iΔx is xi, which gives a; then b=a+nΔx, the last sample point.
Once the integral is identified, it can often be evaluated by geometry, with no computation of the sum.
a) Identify limn→∞∑i=1nn39−n29i2 as an integral and evaluate it by geometry.
b) Give TWO different integrals equal to limn→∞∑i=1nn2(1+n2i), evaluate them by geometry, and confirm with the formulas of Exercise 1.
c) Evaluate limn→∞∑i=1nn4(n4i−3) by geometry, then with the formulas.
d) Write limn→∞∑i=1nn2e−1+2i/n as an integral, without evaluating it. Then write ∫251+x3dx as a limit of right Riemann sums.
e) A sum runs to 2n instead of n: evaluate limn→∞∑i=12nn1⋅ni.
The factor n3 is Δx, so b−a=3. Inside the root, n29i2=(n3i)2, so xi=n3i=0+iΔx: a=0, b=3 and f(x)=9−x2. The limit is ∫039−x2dx. Squaring y=9−x2 gives x2+y2=9 with y≥0: the curve is the upper half of the circle of radius 3, and between x=0 and x=3 the region under it is a QUARTER disc. Its area is 41π⋅32=49π, about 7.07 with π≈3.14. The figure of the solution shows six of the rectangles of the sum: since f decreases on [0,3], the right rectangles sit inside the quarter disc and every Rn is below 49π.
b)
First reading: Δx=n2 and xi=n2i, so [a,b]=[0,2] and f(x)=1+x. Second reading: xi=1+n2i, so [a,b]=[1,3] and f(x)=x. The same sum is both a right sum of 1+x on [0,2] and of x on [1,3]: the second graph is the first one shifted right by 1. Both regions are trapezoids, with parallel sides 1 and 3 and width 2, so each integral equals 21+3⋅2=4. With the formulas: n2∑i=1n1+n24∑i=1ni=2+n24⋅2n(n+1)=2+n2(n+1)→4. The reading is not unique, the value is: any correct reading earns the marks, as long as a, b and f are consistent with each other.
c)
Δx=n4, xi=n4i, so the limit is ∫04(x−3)dx. The line y=x−3 is below the axis on [0,3], a triangle of legs 3 and 3 with area 29, and above on [3,4], a triangle of legs 1 and 1 with area 21. The integral counts the first negatively: −29+21=−4. With the formulas: n216∑i=1ni−n12∑i=1n1=n8(n+1)−12→8−12=−4. A negative limit of sums is no anomaly: it is the signal that the region lies mostly below the axis, and the geometric answer must carry the same sign.
d)
n2=Δx, and in the exponent −1+n2i=a+iΔx with a=−1, so b=−1+2=1: the limit is ∫−11exdx. The reading xi=n2i on [0,2] with f(x)=ex−1 is equally correct. Its value is left for the next chapter. For the second request, Δx=n5−2=n3 and xi=2+n3i, so ∫251+x3dx=limn→∞∑i=1nn31+(2+n3i)3. The 2+ inside the cube is the part most often dropped, and without it the sum describes [0,3].
e)
Here Δx=n1 and xi=ni, but there are 2n terms: the last sample point is n2n=2. The interval is [0,2], of length 2n⋅n1=2, and the limit is ∫02xdx, a triangle of base 2 and height 2, area 2. With the formula, now applied with 2n in place of n: n21⋅22n(2n+1)=n2n+1→2. The answer 21, which is ∫01xdx, comes from assuming that every sum runs over [0,1]; the upper index of the sum is part of the reading.
Part B: problems and reasoning (/50)
Exercise 6: Signed area by geometry, and the properties of the integral
The figure shows the graph of a continuous function g on [0,8]: a segment from (0,−2) to (2,0), the upper half of the circle of centre (4,0) and radius 2, and a segment from (6,0) to (8,−2).
Every integral below is evaluated from the picture and the properties of the integral: additivity over intervals, ∫ba=−∫ab, linearity, and the comparison properties.
a) Evaluate ∫02g(x)dx, ∫26g(x)dx and ∫08g(x)dx.
b) Evaluate ∫82g(x)dx and ∫55g(x)dx.
c) Find the area of the region between the graph of g and the x-axis on [0,8], and compare it with ∫08g(x)dx.
d) Evaluate ∫08(3g(x)+1)dx and ∫04(g(x)−2)dx.
e) Use the comparison properties to show that 2≤∫021+x3dx≤6. Then split the interval at x=1 to obtain a sharper bracket.
Show the solution
Answers
a)−2, 2π, 2π−4
b)2−2π and 0
c)Area 2π+4≈10.28, against ∣2π−4∣≈2.28.
d)6π−4 and π−10
e)1≤1+x3≤3 on [0,2] gives 2≤I≤6; split: 1+2≤I≤2+3.
a)
On [0,2] the graph is below the axis and bounds a triangle of base 2 and height 2, area 2: the integral is −2. On [2,6] the region is a half disc of radius 2, area 21π⋅22=2π, above the axis: the integral is 2π. On [6,8] another triangle of area 2 lies below, contributing −2. By additivity, ∫08g(x)dx=−2+2π−2=2π−4, about 2.28. Each piece is computed with its sign FIRST, then added; adding areas and choosing the sign at the end is how a 2π+4 ends up on the answer line.
b)
∫28g(x)dx=2π−2 by additivity, so reversing the limits gives ∫82g(x)dx=−(2π−2)=2−2π. The reversal is not a geometric fact about the picture, it is a convention forced by the definition: running from 8 to 2 makes Δx=n2−8 negative, which flips the sign of every term. And ∫55g(x)dx=0 because Δx=0: an interval of length zero carries no area, whatever g(5) is.
c)
The area counts every part positively: 2+2π+2=2π+4, about 10.28. It equals ∫08∣g(x)∣dx, since ∣g∣ reflects the two triangles above the axis. Meanwhile ∫08g(x)dx=2π−4≈2.28, much smaller, because the triangles CANCEL part of the half disc before the absolute value is taken. In general ∫abg≤∫ab∣g∣, with equality only when g keeps one sign. Taking the absolute value of the integral is not the same as integrating the absolute value.
d)
By linearity, ∫08(3g(x)+1)dx=3∫08g(x)dx+∫081dx=3(2π−4)+8=6π−4. The integral of the constant 1 over [0,8] is the area of a rectangle of width 8 and height 1, so 8, not 1: it is the same trap as ∑i=1nc=cn in Exercise 1, and for the same reason. Next, ∫04g(x)dx=−2+π, the triangle plus a QUARTER disc, so ∫04(g(x)−2)dx=(π−2)−2⋅4=π−10.
e)
On [0,2], x3 increases from 0 to 8, so 1≤1+x3≤3. The comparison property m(b−a)≤∫abf≤M(b−a) gives 1⋅2≤I≤3⋅2, that is 2≤I≤6, where I=∫021+x3dx. The bracket is honest but wide, since it uses a single rectangle below and a single rectangle above. Split at x=1: on [0,1] the integrand lies between 1 and 2, on [1,2] between 2 and 3. Adding the two brackets, 1+2≤I≤2+3, about 2.41≤I≤4.41. These are exactly L2 and R2 for an increasing function: the comparison property is the one-rectangle case of the monotonicity bracket, and every split sharpens it.
Exercise 7: When the function turns, neither sum is on a safe side
A student has learned that the left sum underestimates and the right sum overestimates. That is true for an INCREASING function and false for a decreasing one, and when the function turns inside the interval it is not even a rule. Throughout, f(x)=x2; the figure shows its three left rectangles on [−1,2], the middle one of height 0.
a) Compute L3 and R3 for f on [−1,2].
b) Compute L3 and R3 for f on [−2,1].
c) Use the definition to show that ∫−12x2dx=3. Explain from the graph, without any computation, why ∫−21x2dx has the same value.
d) In a) and b), which sums overestimate? Explain with the monotonicity of f on each strip, and build from the three strips of a) a lower and an upper bound that are GUARANTEED to hold.
e) Let g(x)=1+x21 on [0,1] and I=∫01g(x)dx. Show that Rn≤I≤Ln for every n, compute L2 and R2, and find how many strips make Ln−Rn≤0.01.
Show the solution
Answers
a)L3=2, R3=5
b)L3=5, R3=2
c)Rn=3−n9(n+1)+2n29(n+1)(2n+1)→3−9+9=3; the reflection x↦−x carries one region onto the other.
d)On [−1,2]: L3 under, R3 over; on [−2,1]: the reverse. Guaranteed: 1≤∫−12x2dx≤6.
e)g decreasing: Rn≤I≤Ln; R2=2013, L2=109; Ln−Rn=2n1≤0.01 for n≥50.
a)
Δx=32−(−1)=1, division points −1,0,1,2. L3=1⋅[f(−1)+f(0)+f(1)]=1+0+1=2 and R3=1⋅[f(0)+f(1)+f(2)]=0+1+4=5. The middle left rectangle has height f(0)=0: it is flat, and it still counts as one of the three terms.
b)
Same width, division points −2,−1,0,1. L3=f(−2)+f(−1)+f(0)=4+1+0=5 and R3=f(−1)+f(0)+f(1)=1+0+1=2. The two intervals are mirror images of each other, and so are the sums: the left sum of one is the right sum of the other.
c)
Δx=n3 and xi=−1+n3i, the −1 being a. Then xi2=1−n6i+n29i2, so Rn=n3∑i=1n(1−n6i+n29i2)=3−n218⋅2n(n+1)+n327⋅6n(n+1)(2n+1)=3−n9(n+1)+2n29(n+1)(2n+1). Check at n=3: 3−12+189⋅4⋅7=3−12+14=5, the R3 of a). As n→∞, Rn→3−9+9=3. The cross term −n6i brings the sum of i into play, and its sign is where most copies go wrong. For the second integral, the reflection x↦−x carries the graph of x2 onto itself and the strip [−1,2] onto the strip [−2,1]: the two regions are congruent, so they have the same area, 3.
d)
On [−1,2]: L3=2<3<5=R3, the left sum under and the right sum over. On [−2,1]: L3=5>3>2=R3, the reverse, for the same function and the same number of strips. The rule depends on the direction of f strip by strip: f decreases on (−∞,0] and increases on [0,∞), so on a strip left of 0 the left rectangle is the tall one, and on a strip right of 0 it is the short one. The three strips of a) happen to split at the turning point 0, so a guaranteed bracket takes, on each strip, the smaller end value for the lower bound and the larger for the upper: lower =f(0)+f(0)+f(1)=1 and upper =f(−1)+f(1)+f(2)=6, hence 1≤∫−12x2dx≤6. When a strip straddles the turning point, neither end value bounds the function on it, and the minimum f(0) must be used instead.
e)
g′(x)=−(1+x2)22x≤0 on [0,1], so g is decreasing there, and exactly as in Exercise 2, Rn≤I≤Ln for every n. With n=2: g(0)=1, g(21)=54, g(1)=21, so L2=21(1+54)=109 and R2=21(54+21)=2013: 0.65≤I≤0.9. The interior values cancel in the difference, Ln−Rn=n1[g(0)−g(1)]=2n1, and 2n1≤0.01 as soon as n≥50. Fifty strips pin I inside an interval of width 0.01, without knowing anything about g except its two end values and the sign of its derivative.
Exercise 8: Five statements to correct
Each statement below was written on a MATH 141 midterm, and each is false. Say what is wrong, give the correct statement, and settle it with the smallest counterexample you can find.
a) Ln always underestimates ∫abf(x)dx, because left rectangles sit under the curve.
b) ∫−31(x+1)dx=0, so the region between the line y=x+1 and the x-axis, for −3≤x≤1, has zero area.
c) ∑i=1ni2=(∑i=1ni)2=4n2(n+1)2.
d) If ∫abf(x)dx≥0, then f(x)≥0 for every x in [a,b].
e) ∫302xdx=9, the area of the triangle under y=2x.
Show the solution
Answers
a)False: f(x)=16−x2 on [0,4] gives L4=50>3128.
b)False: two triangles of area 2 cancel in the integral; the area is 4.
c)False: for n=2, 1+4=5 but 32=9. The squared sum is ∑i3.
d)False: f(x)=x−1 on [0,4] has integral 4 and f(0)=−1. Only the converse holds.
e)False: ∫302xdx=−∫032xdx=−9.
a)
FALSE. A left rectangle takes the height at the left end of its strip; it sits under the curve only if f is larger further right, that is if f increases. For f(x)=16−x2 on [0,4], which decreases, Exercise 2 gave L4=50 while the integral is 3128≈42.67: an overestimate. Correct statement: if f is increasing on [a,b] then Ln≤∫abf≤Rn, if it is decreasing the inequalities reverse, and if it turns, as in Exercise 7, neither sum is on a fixed side.
b)
FALSE. The line crosses the axis at x=−1. On [−3,−1] it bounds a triangle of legs 2 and 2 BELOW the axis, area 2, and on [−1,1] a triangle of the same size ABOVE it, area 2. The integral counts the first negatively: −2+2=0. The region itself has area 2+2=4. Correct statement: an integral is a signed area; the area of the region is ∫−31∣x+1∣dx=4, obtained by splitting at the crossing point.
c)
FALSE. For n=2: ∑i2=1+4=5 while (∑i)2=32=9. A sum of squares is not the square of the sum, just as a2+b2=(a+b)2. Correct statement: ∑i=1ni2=6n(n+1)(2n+1). The formula the student wrote is real, but it belongs to the CUBES: ∑i=1ni3=(∑i=1ni)2, and for n=2, 1+8=9. Confusing the two changes a limit of 31 into nonsense, since n31⋅4n2(n+1)2→∞.
d)
FALSE. Take f(x)=x−1 on [0,4]: a triangle of area 21 below the axis on [0,1] and one of area 29 above on [1,4], so ∫04(x−1)dx=−21+29=4≥0, yet f(0)=−1<0. A positive integral only says that the area above outweighs the area below. Correct statement: the CONVERSE is true, if f(x)≥0 on [a,b] then ∫abf(x)dx≥0; it is one of the comparison properties.
e)
FALSE. The triangle under y=2x on [0,3] has base 3 and height 6, area 9, so ∫032xdx=9. Running from 3 down to 0 reverses the sign: ∫302xdx=−9. In the definition, Δx=n0−3<0 makes every term negative even though 2x≥0 on the interval. Correct statement: ∫baf(x)dx=−∫abf(x)dx, and the area of the triangle is 9 whatever order the limits are written in.
Exercise 9: A solar array on a clear day: energy from power readings
The inverter of a rooftop solar array logs its power output P, in kilowatts, every two hours on a clear day. The output rises steadily from sunrise until noon, then falls steadily until sunset:
t (h)P (kW)6082103.2123.6143.2162180
Energy is power times time as long as the power is constant, so the energy E produced during the day, in kilowatt-hours, is ∫618P(t)dt, with t in hours. The figure plots the readings.
a) Compute the estimates L6 and R6 of E.
b) A classmate says: since L6=R6, the value is exact. Explain why the two sums are equal and why that proves nothing. Then use the information in the statement to give a lower and an upper bound for E that are guaranteed.
c) Give the midpoint estimate that the table allows.
d) An engineer fits the model P(t)=10(t−6)(18−t). Check that it reproduces the readings, then compute E exactly for this model, using the definition of the integral.
e) The household uses 20 kWh per day. From the readings alone, can the owner be sure the array covered that day's use? Could she be sure it produced 30 kWh? Compare the estimates of a) and c) with the value of d).
e)Yes for 20 kWh (20.8>20); no for 30 kWh. L6=R6 is 0.8 under, M3 is 1.6 over.
a)
Δt=2 h, n=6 intervals. L6=2(0+2+3.2+3.6+3.2+2)=2⋅14=28 kWh and R6=2(2+3.2+3.6+3.2+2+0)=2⋅14=28 kWh. The unit is kilowatts times hours, the kilowatt-hour of an electricity bill.
b)
As in Exercise 2, L6−R6=Δt[P(6)−P(18)]=2(0−0)=0: the two sums share their five interior readings and differ only by their end values, which are both 0 at sunrise and sunset. Their equality says something about the two ENDS of the table, nothing about the accuracy. The function rises then falls, so on each half the sums err in opposite directions, and here they happen to err by the same amount. A guaranteed bracket uses the monotonicity on each half separately, as in Exercise 7. Morning, P increasing: the left sum is a lower bound, 2(0+2+3.2)=10.4, the right sum an upper bound, 2(2+3.2+3.6)=17.6. Afternoon, P decreasing: the right sum is the lower bound, 2(3.2+2+0)=10.4, the left sum the upper, 2(3.6+3.2+2)=17.6. So 20.8≤E≤35.2 kWh, a wide but honest interval.
c)
With three intervals of 4 h, [6,10], [10,14] and [14,18], the midpoints are 8, 12 and 16, all in the table. M3=4[P(8)+P(12)+P(16)]=4(2+3.6+2)=30.4 kWh. The width is 4 h, not 2.
d)
The model gives P(8)=102⋅10=2, P(10)=104⋅8=3.2, P(12)=106⋅6=3.6, and by the symmetry of (t−6)(18−t) about t=12 the afternoon values match too, with P(6)=P(18)=0. Now the definition: Δt=n12 and ti=6+n12i, so ti−6=n12i and 18−ti=12(1−ni). Then P(ti)=10144⋅ni(1−ni)=572(ni−n2i2) and Rn=572⋅n12∑i=1n(ni−n2i2)=5864[2nn+1−6n2(n+1)(2n+1)]. Check at n=6: 5864(127−21691)=5864⋅21635=28, the R6 of a). As n→∞ the bracket tends to 21−31=61, so E=30864=5144=28.8 kWh. Writing ti from 6, not from 0, is what makes the product factor so cleanly.
e)
For 20 kWh, yes: the guaranteed lower bound of b), 20.8 kWh, uses only the readings and the statement that the output rises then falls, and it already exceeds 20. For 30 kWh, no: 30 lies inside the bracket [20.8,35.2], and M3=30.4 above it is only an estimate, not a bound; the model of d) even gives 28.8<30. Against that value, L6=R6=28 is 0.8 kWh too low and M3=30.4 is 1.6 too high. The lesson for a decision: an estimate answers how much, only a bound answers is it enough, and a bound needs a monotonicity argument, never the agreement of two sums.
Exercise 10: A final exam question: the cubic whose integral is zero
This is the shape of a long final exam question on the chapter: one function, five moves, each using a different tool. Here f(x)=x3−2x on [0,2]. No antiderivative may be used: everything follows from the definition, the geometry of a triangle and the properties of the integral.
a) Use the definition, with right endpoints, to show that ∫0ax3dx=4a4 for every a>0.
b) Deduce ∫02(x3−2x)dx, evaluating ∫022xdx as the area of a triangle.
c) The function f is not identically zero on [0,2]. Explain how its integral can vanish, by studying the sign of f.
d) Find the area of the region between the graph of f and the x-axis, for 0≤x≤2.
e) Show that limn→∞∑i=1n(n416i3−n28i) is the integral of b), then compute this limit directly with the formulas of Exercise 1. What is the sign of each sum, and why is that no contradiction?
Show the solution
Answers
a)Rn=4a4(nn+1)2→4a4
b)4−4=0
c)f<0 on (0,2), f>0 on (2,2): equal areas cancel.
d)∫02f=−1, ∫22f=1: area 2.
e)The sum equals n24(n+1)>0 for every n, and tends to 0.
a)
Δx=na and xi=nai, so Rn=∑i=1nn3a3i3⋅na=n4a4∑i=1ni3=n4a4[2n(n+1)]2=4a4(nn+1)2. Since nn+1→1, Rn→4a4. The letter a is a constant for the sum, pulled out with n41; keeping it general costs nothing and gives d) for free.
b)
With a=2, ∫02x3dx=416=4. The graph of y=2x on [0,2] bounds a triangle of base 2 and height 4, so ∫022xdx=4. By linearity, ∫02(x3−2x)dx=4−4=0.
c)
f(x)=x(x2−2)=x(x−2)(x+2). On (0,2) the factors x and x+2 are positive and x−2 is negative, so f<0; on (2,2) all three are positive and f>0. The integral subtracts the area below the axis from the area above, and the two happen to be equal, as the figure of the solution shows. An integral equal to zero never means that nothing is there: it means that what is above and what is below balance exactly.
d)
Split at the crossing point 2. By a) with a=2, ∫02x3dx=4(2)4=44=1, and ∫022xdx is a triangle of base 2 and height 22, area 21⋅2⋅22=2. So ∫02f(x)dx=1−2=−1. By additivity, ∫22f(x)dx=∫02f(x)dx−∫02f(x)dx=0−(−1)=1. The area counts both pieces positively: ∣−1∣+1=2. Adding −1+1 and reporting an area of 0 is the error this question is built to catch.
e)
For the integral of b), Δx=n2 and xi=n2i, so f(xi)Δx=(n38i3−n4i)n2=n416i3−n28i: the given sum is exactly Rn, and its limit is 0 by b). Directly: n416⋅4n2(n+1)2−n28⋅2n(n+1)=n24(n+1)2−n4(n+1)=n24(n+1), which tends to 0. Check at n=1: 16−8=8=14⋅2. Every Rn is POSITIVE, and the limit is 0: no contradiction, since a limit of positive numbers may be 0, as n1→0 shows. Each Rn misses the integral by exactly n24(n+1), an error that shrinks roughly like n4: the sign of an approximation says nothing about the sign of its limit.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.