Revision sheet: Riemann sums and the definite integral (MATH 141)
This sheet is not a summary of sections 5.1 and 5.2 of Stewart: you already have the course notes. It answers one question only, what makes students lose marks on Riemann sums and the definition of the integral in MATH 141 at McGill University, and which precise gesture avoids each loss.
Everything here is done as on the exam, by hand and without an antiderivative: when a question says use the definition, the limit of the sum is the only answer that earns the method marks. Every number quoted below has been checked.
The thread of the chapter
An integral is the limit of a sum of SIGNED rectangles: before any number, write Δx=nb−a and xi=a+iΔx, then let the picture decide the sign of each piece and the side, over or under, on which each sum falls.
•The width: Δx=nb−a. The division points: xi=a+iΔx for i=0,1,…,n. The a+ stays even when a is negative.
•The sums: Ln=∑i=1nf(xi−1)Δx, Rn=∑i=1nf(xi)Δx, Mn=∑i=1nf(xˉi)Δx with xˉi=a+(i−21)Δx. Each has exactly n terms.
•The definition: ∫abf(x)dx=limn→∞Rn for f continuous, and Ln, Mn or any other choice of sample points have the same limit.
•The formulas that close the sums, valid from i=1 to i=n only: ∑i=1ni=2n(n+1), ∑i=1ni2=6n(n+1)(2n+1), ∑i=1ni3=[2n(n+1)]2 and ∑i=1nc=cn.
•Monotonicity decides the side: f increasing gives Ln≤∫abf≤Rn, f decreasing gives the reverse, and in both cases ∣Ln−Rn∣=Δx∣f(a)−f(b)∣.
The same increasing curve y=1+4x2 on [0,4]: the left rectangles stay under it, the right ones stick out. On a decreasing curve the two pictures swap.
Writing Δx and xi on the first line of the answer, with the a visible, is already a method mark on most MATH 141 papers, and it is the line that prevents the most expensive error of the chapter.
Signed area and the properties you may quote
•An integral is a SIGNED area: area above the axis minus area below. The area of a region is ∫ab∣f(x)∣dx, computed by splitting at every crossing of the axis.
•∫baf=−∫abf and ∫aaf=0: in the definition, Δx=na−b is then negative or zero.
•∫abcdx=c(b−a), the integral of a constant being a rectangle, never just c.
•Comparison: f≥0 gives ∫abf≥0; f≥g gives ∫abf≥∫abg; m≤f≤M gives m(b−a)≤∫abf≤M(b−a). None of them has a converse.
The rules in table form
Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.
Over or under? It depends on the direction of f, never on left or right
Read a line as: when f behaves as in the first column on [a,b], the left and right sums fall on the side given in the next two. The red line is the rule students invent: when f turns inside the interval, no sum has a fixed side.
Behaviour of f on the interval
Left sum
Right sum
increasing
under
over
Example: x2 on [0,2], n=2: L2=1<38<5=R2.
decreasing
over
under
Example: 16−x2 on [0,4], n=4: L4=50>3128>34=R4.
constant
exact
exact
Example: f(x)=5 on [1,4]: Ln=Rn=15=∫145dx for every n.
turns inside
no rule
no ruleno fixed side
Example: x2 on [−1,2], n=3: L3=2<3, an underestimate.
Same form, other result: x2 on [−2,1], n=3: L3=5>3, an overestimate, for the same function.
What to do: Split at the turning point and bound each monotonic piece separately.
The same table answers a data question: a table of readings gives a guaranteed bound only if the statement says in which direction the quantity moves between readings.
The mistakes that cost marks
These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.
1.Dropping the left end from the sample point
the whole question: the limit is correct, but of another integral
What not to write
“For ∫13(x2−2x)dx: Δx=n2, xi=n2i, so the integral is 38−4=−34.”
What to write
“xi=1+n2i, so f(xi)=n24i2−1 and Rn=3n24(n+1)(2n+1)−2→32.”
Why: xi=n2i runs over [0,2], not [1,3]. The n=1 test catches it at once: R1 must be (b−a)f(b)=2f(3)=6, and the wrong formula gives 0.
2.Summing a constant once instead of n times
2 marks, and a final answer off by the whole constant term
What not to write
“∑i=1n(n24i2−1)n2=n38∑i=1ni2−n2→38.”
What to write
“∑i=1nn2=n⋅n2=2, so the limit is 38−2=32.”
Why: A term that does not depend on i is still added once per value of i: ∑i=1nc=cn. In a Riemann sum the constant part of f always contributes c(b−a), the integral of a constant.
3.Keeping the wrong leading term of a sum of squares
2 marks, and every integral of a quadratic comes out wrong
What not to write
“n31⋅6n(n+1)(2n+1)≈6n3n⋅n⋅n→61.”
What to write
“6n3n(n+1)(2n+1)=61⋅1⋅(1+n1)(2+n1)→62=31.”
Why: The factor 2n+1 behaves like 2n, not like n. Dividing each factor by one power of n before letting n→∞ makes the 2 impossible to lose. Check: 31 is the area under y=x2 on [0,1], below the triangle's 21.
4.Reporting an integral of zero as an area of zero
all the marks of an area question
What not to write
“∫−31(x+1)dx=0, so the region between the line and the axis has no area.”
What to write
“The line crosses the axis at x=−1: two triangles of area 2, one below and one above. The integral is −2+2=0, the area is 2+2=4.”
y=x+1 on [−3,1]: the triangle below counts −2, the one above +2. The integral is 0, the shaded area is 4.
Why: A rectangle below the axis enters the sum with a negative height. An integral is a net balance; an area is computed from ∣f∣, after splitting at each crossing.
5.Believing the left sum always underestimates
1 to 2 marks for the justification, and a wrong inequality
What not to write
“L3 is an underestimate, so ∫−21x2dx>L3=5.”
What to write
“x2 decreases on [−2,0] and increases on [0,1], so L3 has no fixed side. In fact the integral is 3<5.”
x2 on [−2,1] with three left rectangles: the first one towers above the curve, so L3=5 overshoots the integral 3.
Why: Left rectangles sit under the curve only where f increases. On a function that turns, bound each monotonic piece separately, as the table above says.
6.Using an antiderivative when the question says use the definition
all the method marks: the right number alone earns at most 1 mark
What not to write
“By the definition, ∫04(16−x2)dx=[16x−3x3]04=3128.”
Why: The question tests the limit of the sum, not the value. The antiderivative may be used AFTERWARDS to check the answer, in a line marked as a check.
7.Taking the midpoint sum for the average of the left and right sums
Why: The midpoint sum evaluates f at NEW points, the centres of the strips. Averaging Ln and Rn is a different estimate, which is not the one asked for.
8.Concluding from equal left and right sums that the estimate is exact
the conclusion of the question
What not to write
“The power readings give L6=R6=28 kWh, so the energy is exactly 28 kWh.”
What to write
“L6−R6=Δt[P(6)−P(18)]=0 only because both end readings are 0. With P rising then falling, the guaranteed bracket is 20.8≤E≤35.2 kWh.”
Why: Two sums that share all their interior terms differ only by their end values. Their agreement says nothing about the error, which only a monotonicity argument can bound.
9.Ignoring the order of the limits
1 mark, and every later sign
What not to write
“∫302xdx=9, the area of the triangle under y=2x.”
What to write
“∫302xdx=−∫032xdx=−9.”
Why: From 3 down to 0, Δx=−n3 is negative, and every term of the sum changes sign. The area of the triangle is 9; the integral written with reversed limits is −9.
Which method to choose
Which tool, by the FORM of the question
Read the verb and the data of the question before writing anything: each form of question has its own tool
If estimate with n rectangles, or from a table of readings → write Δx, list the n sample points, add; then say over or under from the monotonicity
Example: 16−x2 on [0,4]: L4=50, R4=34, M4=43
If evaluate using the definition, or as a limit of Riemann sums → Rn with xi=a+iΔx, powers of i, the sum formulas, then n→∞
Example: ∫13(x2−2x)dx=limRn=32
If evaluate by interpreting in terms of areas → draw the graph, cut into triangles, rectangles, trapezoids and pieces of discs, with signs
Example: ∫039−x2dx=49π, a quarter disc
If a limit of sums is given, find the integral → the factor like nc is Δx, the expression a+iΔx inside f gives a, and b=a+nΔx
Example: lim∑i=1nn2(1+n2i)=∫13xdx=4
If integrals of f over pieces are given → additivity, reversal of the limits, linearity
Example: ∫08(3g+1)=3(2π−4)+8=6π−4
If show that A≤∫abf≤B → the minimum and maximum of f on [a,b], then m(b−a)≤∫abf≤M(b−a); split to sharpen
Example: 2≤∫021+x3dx≤6
No branch of this chapter uses an antiderivative. When the question does not impose a method, geometry is the fastest route whenever the graph is made of lines and circles; otherwise, the limit of Rn.
How the answer is expected to be written
A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.
Evaluating an integral using the definition
When to use it: The question says use the definition, use Riemann sums, or evaluate as a limit
1Write Δx=nb−a and xi=a+iΔx, with the numbers of the question, a included.
2Compute f(xi) and write it as a combination of powers of i, constants in front. When a=0, writing f in powers of x−a often makes the cross terms vanish.
3Write Rn=∑i=1nf(xi)Δx, pull every factor that does not depend on i out of the sum, and apply the formulas, with ∑i=1nc=cn.
4Test the closed form at n=1: it must equal (b−a)f(b).
5Let n→∞, dividing each factor by one power of n, and compare the sign of the result with the graph.
The trap: Taking the limit inside the sum, term by term, before the formulas are applied: each term tends to 0 and the sum of n of them is not 0.
Marking: Typically 1 mark for the width and the sample point, 2 for the sum rewritten with the formulas, 1 for the limit, and the n = 1 test is what protects the other four.
Check before you hand in
Five minutes of checking recover more marks than one more problem started in a hurry.
The closed form at n = 1
With one rectangle, R1=(b−a)f(b). Put n=1 in your formula for Rn: the two must agree.
∫13(x2−2x)dx: R1=2f(3)=6 and 34⋅2⋅3−2=6. A formula that gives 0 has lost the a of xi.
The box around the graph
The answer must lie between m(b−a) and M(b−a), where m and M are the smallest and largest values of f on the interval.
∫04(16−x2)dx=3128≈42.7 lies between 0⋅4=0 and 16⋅4=64. An answer of 364 fails the next check.
The sign against the picture
Sketch the graph in ten seconds and compare the parts above and below the axis with the sign of your answer.
x2−4x is below the axis on (2,4) and above on (4,5), the lower part being wider and deeper: ∫25(x2−4x)dx=−3 must be negative.
Right sum and left sum from the same formula
For a monotonic f, Ln−Rn=Δx[f(a)−f(b)]: the two closed forms must differ by exactly that.
16−x2 on [0,4]: L4−R4=50−34=16=1⋅(16−0).
The typical problem, taken apart
Using the definition when a is not zero, with a negative answer
Use the definition of the integral, with right endpoints, to evaluate ∫25(x2−4x)dx. Interpret the sign of the result.
No antiderivative and no calculator: every step must be justified as on a MATH 141 midterm.
y=x2−4x on [2,5]: the region dips below the axis on (2,4) and rises above it only on (4,5), so the integral must be negative.
Step 1
Δx=n5−2=n3 and xi=2+n3i.
Why
The first line carries a method mark on its own, and the 2+ is the part most often dropped. Without it the sample points cover [0,3].
Step 2
x2−4x=(x−2)2−4, so f(xi)=n29i2−4.
Why
Rewriting f around a=2 makes xi−2=n3i appear directly: the term in i never shows up, which removes one sum and one chance of a sign error. Expanding (2+n3i)2−4(2+n3i) gives the same result more slowly.
The constant −4⋅n3 is added n times, giving −12, which is −4 times the length 3 of the interval. Writing −n12 here is the costliest slip of the exercise.
Step 4
Test at n=1: R1=3f(5)=3⋅5=15, and 29⋅2⋅3−12=27−12=15.
Why
Ten seconds, before the limit: the closed form is confirmed on a case computed independently, so any later error can only be in the limit itself.
Step 5
n2(n+1)(2n+1)=(1+n1)(2+n1)→2, so Rn→9−12=−3.
Why
Dividing each factor by one power of n makes the leading coefficient 2 visible. The negative sign agrees with the figure: more of the region lies below the axis than above.
The conclusion, written out
“By definition, ∫25(x2−4x)dx=limn→∞[2n29(n+1)(2n+1)−12]=−3. The integral is negative because the part of the region below the axis, on (2,4), outweighs the part above, on (4,5).”
The classic mistake on this problem: Writing xi=n3i, which computes ∫03(x2−4x)dx=9−18=−9; or writing −n12 for the constant term, which gives +9 and a sign that the figure contradicts at once.
Learn by heart
•Δx=nb−a, xi=a+iΔx: the a is never optional.
•∑i=1nc=cn, ∑i=2n(n+1), ∑i2=6n(n+1)(2n+1), ∑i3=[2n(n+1)]2, from i=1 only.
•∫abf(x)dx=limn→∞Rn; left, right and midpoint sums share the same limit.
How do I evaluate a definite integral using the definition with Riemann sums?
Write the width of a strip, b minus a over n, and the right endpoint a plus i times that width. Put the endpoint into the function and expand in powers of i. Pull the constants out of the sum, close it with the formulas for the sums of 1, i, i squared and i cubed, and finally let n go to infinity. No antiderivative is used at any step.
Is the left Riemann sum an overestimate or an underestimate?
It depends on the function, not on the word left. If the function increases on the interval, the left sum is an underestimate and the right sum an overestimate. If it decreases, it is the reverse. If the function turns inside the interval, neither sum has a fixed side: split at the turning point and bound each piece separately.
Why can a definite integral be zero or negative when an area cannot?
Because a Riemann sum multiplies each width by the height of the function, with its sign. Rectangles below the horizontal axis are subtracted, so the integral is the area above the axis minus the area below. To find the area of a region, split the interval where the graph crosses the axis and add the pieces as positive numbers.
How do I recognize a limit of sums as a definite integral?
Look for the factor that behaves like a constant over n: it is the width of a strip, and the constant is b minus a. Inside the function, the expression a plus i times that width is the sample point, which gives the left end a. The right end is a plus n times the width. Several readings may work, and they all give the same value.
Is the midpoint sum the average of the left and right sums?
No. The midpoint sum evaluates the function at the centre of each strip, which are new points. The average of the left and right sums is a different estimate. On the function 16 minus x squared from 0 to 4 with four strips, the midpoint sum is 43 while the average of the left and right sums is 42.
Practise it
Corrected exercises: Riemann sums and the definite integral, MATH 141 at McGill
A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.
Get in touch for a first session. The definition of the integral is where Calculus 2 starts, and every later chapter, from volumes to series, reuses its sums.