TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › The Definite Integral: Riemann Sums Intuition and Signed Area

The Definite Integral: Riemann Sums Intuition and Signed Area

In differential calculus, we solve the problem of finding the instantaneous rate of change (the tangent line slope) by taking the limit of secant slopes. In integral calculus, we solve the inverse geometric problem: finding the exact area under a curved boundary.

Long before calculus was formalized, Archimedes computed areas by packing shapes with known polygons—the method of exhaustion. In the 19th century, Bernhard Riemann formalized this into the Riemann sum: slicing a region into nn narrow vertical strips, approximating each strip as a rectangle, and taking the limit as the number of strips approaches infinity (n→∞n \to \infty).


1. Concepts & Geometric Intuition

Slicing the Area into Vertical Strips

Suppose we want to find the area bounded by a continuous function y=f(x)y = f(x), the xx-axis, and the vertical lines x=ax = a and x=bx = b (where a<ba < b).

  1. Partition the interval [a,b][a, b]: Divide [a,b][a, b] into nn equal subintervals. The width of each subinterval is:

    Δx=b−an\Delta x = \frac{b - a}{n}
  2. Grid points: The boundary points of the subintervals are:

    x0=a,x1=a+Δx,x2=a+2Δx,…,xi=a+iΔx,…,xn=bx_0 = a, \quad x_1 = a + \Delta x, \quad x_2 = a + 2\Delta x, \quad \dots, \quad x_i = a + i\Delta x, \quad \dots, \quad x_n = b
  3. Choose a sample point xi∗x_i^* in each subinterval [xi−1,xi][x_{i-1}, x_i]:

    • Left Endpoint Rule (LnL_n): xi∗=xi−1x_i^* = x_{i-1}
    • Right Endpoint Rule (RnR_n): xi∗=xix_i^* = x_i
    • Midpoint Rule (MnM_n): xi∗=xi−1+xi2x_i^* = \frac{x_{i-1} + x_i}{2}
  4. Sum the rectangle areas:

    Total Area≈∑i=1nf(xi∗)Δx=f(x1∗)Δx+f(x2∗)Δx+⋯+f(xn∗)Δx\text{Total Area} \approx \sum_{i=1}^n f(x_i^*) \Delta x = f(x_1^*)\Delta x + f(x_2^*)\Delta x + \dots + f(x_n^*)\Delta x
Approximation RuleSample Point xi∗Formula on PaperLeft Riemann Sum (Ln)xi−1=a+(i−1)ΔxLn=∑i=1nf(xi−1)ΔxRight Riemann Sum (Rn)xi=a+iΔxRn=∑i=1nf(xi)ΔxMidpoint Sum (Mn)xi−1+xi2=a+(i−12)ΔxMn=∑i=1nf(xi−1+xi2)Δx\begin{array}{|l|l|l|} \hline \textbf{Approximation Rule} & \textbf{Sample Point } x_i^* & \textbf{Formula on Paper} \\ \hline \text{Left Riemann Sum } (L_n) & x_{i-1} = a + (i - 1)\Delta x & L_n = \sum_{i=1}^n f(x_{i-1}) \Delta x \\ \hline \text{Right Riemann Sum } (R_n) & x_i = a + i\Delta x & R_n = \sum_{i=1}^n f(x_i) \Delta x \\ \hline \text{Midpoint Sum } (M_n) & \frac{x_{i-1} + x_i}{2} = a + \left(i - \frac{1}{2}\right)\Delta x & M_n = \sum_{i=1}^n f\left(\frac{x_{i-1} + x_i}{2}\right) \Delta x \\ \hline \end{array}

The Definite Integral Definition

As the number of strips nn grows infinitely large (n→∞n \to \infty), the width Δx→0\Delta x \to 0. If ff is continuous on [a,b][a, b], the sum converges to a single finite number called the definite integral:

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi∗)Δx\int_a^b f(x) \, dx = \lim_{n \to \infty} \sum_{i=1}^n f(x_i^*) \Delta x
  • The elongated ∫\int symbol (invented by Gottfried Wilhelm Leibniz) is an archaic stylized 'S' standing for summa (sum).
  • aa is the lower limit of integration, and bb is the upper limit of integration.
  • f(x)f(x) is the integrand, and dxdx represents the infinitesimally narrow strip width Δx\Delta x.

The Concept of Signed Area

Unlike geometric area (which is always non-negative), the definite integral calculates net signed area:

  • Where f(x)>0f(x) > 0 (above the xx-axis), f(x)Δx>0f(x) \Delta x > 0, contributing positive area.
  • Where f(x)<0f(x) < 0 (below the xx-axis), f(x)Δx<0f(x) \Delta x < 0, contributing negative area.
∫abf(x) dx=(Area above x-axis)−(Area below x-axis)\int_a^b f(x) \, dx = (\text{Area above } x\text{-axis}) - (\text{Area below } x\text{-axis})

2. Essential Formula Box

Subinterval Width:Δx=b−anGrid Points:xi=a+iΔxSummation Formulas on Paper:∑i=1n1=n∑i=1ni=n(n+1)2∑i=1ni2=n(n+1)(2n+1)6∑i=1ni3=(n(n+1)2)2\begin{aligned} \textbf{Subinterval Width:} & \quad \Delta x = \frac{b - a}{n} \\ \textbf{Grid Points:} & \quad x_i = a + i\Delta x \\ \textbf{Summation Formulas on Paper:} & \quad \sum_{i=1}^n 1 = n \\ & \quad \sum_{i=1}^n i = \frac{n(n + 1)}{2} \\ & \quad \sum_{i=1}^n i^2 = \frac{n(n + 1)(2n + 1)}{6} \\ & \quad \sum_{i=1}^n i^3 = \left(\frac{n(n + 1)}{2}\right)^2 \end{aligned}

3. Step-by-Step Paper Notebook Method

Method A: Finite Riemann Sum Table on Paper

  1. Find Δx\Delta x: Calculate Δx=b−an\Delta x = \frac{b - a}{n}.
  2. List grid coordinates: Write down x0,x1,x2,…,xnx_0, x_1, x_2, \dots, x_n in a neat horizontal row.
  3. Select sample points: Circle the required sample points (x0x_0 to xn−1x_{n-1} for LnL_n, x1x_1 to xnx_n for RnR_n, or midpoints for MnM_n).
  4. Evaluate function values: Compute f(xi∗)f(x_i^*) for each point and display them in a column.
  5. Factor out Δx\Delta x: Compute Δx⋅[f(x1∗)+f(x2∗)+⋯+f(xn∗)]\Delta x \cdot [f(x_1^*) + f(x_2^*) + \dots + f(x_n^*)] to minimize repetitive multiplication.

Method B: Evaluating Exact Integrals by Riemann Limit

  1. Express Δx=b−an\Delta x = \frac{b - a}{n} and xi=a+iΔxx_i = a + i\Delta x in terms of nn and ii.
  2. Substitute xix_i into f(xi)f(x_i) and expand algebraically.
  3. Form the product f(xi)Δxf(x_i) \Delta x.
  4. Apply the summation operator ∑i=1n\sum_{i=1}^n, splitting linear sums and factoring out terms independent of ii.
  5. Replace ∑i\sum i and ∑i2\sum i^2 with their closed-form polynomial formulas in nn.
  6. Evaluate the limit lim⁡n→∞\lim_{n \to \infty} using the degree-comparison rule for rational functions.

4. Worked Paper Examples

Example 1: Finite Riemann Sums on Paper

Problem: For the function f(x)=x2f(x) = x^2 on the interval [0,2][0, 2], approximate the area under the curve using n=4n = 4 subintervals with:

  1. The Left Endpoint Rule (L4L_4)
  2. The Right Endpoint Rule (R4R_4)
  3. The Midpoint Rule (M4M_4)

Step 1: Compute the subinterval width.

Δx=b−an=2−04=24=0.5\Delta x = \frac{b - a}{n} = \frac{2 - 0}{4} = \frac{2}{4} = 0.5

Step 2: List the grid points.

x0=0,x1=0.5,x2=1.0,x3=1.5,x4=2.0x_0 = 0, \quad x_1 = 0.5, \quad x_2 = 1.0, \quad x_3 = 1.5, \quad x_4 = 2.0

Step 3: Calculate L4L_4 (Left Endpoints: x0,x1,x2,x3x_0, x_1, x_2, x_3).

L4=Δx[f(0)+f(0.5)+f(1.0)+f(1.5)]=0.5[02+(0.5)2+(1.0)2+(1.5)2]=0.5[0+0.25+1.00+2.25]=0.5[3.50]=1.75\begin{aligned} L_4 &= \Delta x [f(0) + f(0.5) + f(1.0) + f(1.5)] \\ &= 0.5 \left[ 0^2 + (0.5)^2 + (1.0)^2 + (1.5)^2 \right] \\ &= 0.5 [0 + 0.25 + 1.00 + 2.25] \\ &= 0.5 [3.50] = 1.75 \end{aligned}

Step 4: Calculate R4R_4 (Right Endpoints: x1,x2,x3,x4x_1, x_2, x_3, x_4).

R4=Δx[f(0.5)+f(1.0)+f(1.5)+f(2.0)]=0.5[(0.5)2+(1.0)2+(1.5)2+(2.0)2]=0.5[0.25+1.00+2.25+4.00]=0.5[7.50]=3.75\begin{aligned} R_4 &= \Delta x [f(0.5) + f(1.0) + f(1.5) + f(2.0)] \\ &= 0.5 \left[ (0.5)^2 + (1.0)^2 + (1.5)^2 + (2.0)^2 \right] \\ &= 0.5 [0.25 + 1.00 + 2.25 + 4.00] \\ &= 0.5 [7.50] = 3.75 \end{aligned}

Step 5: Calculate M4M_4 (Midpoints: 0.25,0.75,1.25,1.750.25, 0.75, 1.25, 1.75).

M4=Δx[f(0.25)+f(0.75)+f(1.25)+f(1.75)]=0.5[(0.25)2+(0.75)2+(1.25)2+(1.75)2]=0.5[116+916+2516+4916]=0.5[8416]=0.5×5.25=2.625\begin{aligned} M_4 &= \Delta x [f(0.25) + f(0.75) + f(1.25) + f(1.75)] \\ &= 0.5 \left[ (0.25)^2 + (0.75)^2 + (1.25)^2 + (1.75)^2 \right] \\ &= 0.5 \left[ \frac{1}{16} + \frac{9}{16} + \frac{25}{16} + \frac{49}{16} \right] \\ &= 0.5 \left[ \frac{84}{16} \right] = 0.5 \times 5.25 = 2.625 \end{aligned}

Note: Because f(x)=x2f(x) = x^2 is strictly increasing on [0,2][0, 2], L4=1.75L_4 = 1.75 is an underestimate and R4=3.75R_4 = 3.75 is an overestimate. The exact area is ∫02x2 dx=83≈2.667\int_0^2 x^2 \, dx = \frac{8}{3} \approx 2.667, which is very close to M4=2.625M_4 = 2.625.


Example 2: Exact Area Evaluation by the Limit of Riemann Sums

Problem: Use the limit definition of the definite integral to evaluate:

∫032x dx\int_0^3 2x \, dx

Step 1: Set up Δx\Delta x and xix_i. Here a=0a = 0, b=3b = 3, and f(x)=2xf(x) = 2x.

Δx=3−0n=3n\Delta x = \frac{3 - 0}{n} = \frac{3}{n}

Using the right endpoints xi=a+iΔx=0+i(3n)=3inx_i = a + i\Delta x = 0 + i\left(\frac{3}{n}\right) = \frac{3i}{n}.

Step 2: Evaluate the function at the sample point.

f(xi)=2xi=2(3in)=6inf(x_i) = 2x_i = 2 \left(\frac{3i}{n}\right) = \frac{6i}{n}

Step 3: Construct the Riemann sum.

Rn=∑i=1nf(xi)Δx=∑i=1n(6in)(3n)=∑i=1n18in2R_n = \sum_{i=1}^n f(x_i) \Delta x = \sum_{i=1}^n \left(\frac{6i}{n}\right) \left(\frac{3}{n}\right) = \sum_{i=1}^n \frac{18i}{n^2}

Step 4: Factor out constants independent of ii.

Rn=18n2∑i=1niR_n = \frac{18}{n^2} \sum_{i=1}^n i

Step 5: Substitute the sum formula ∑i=1ni=n(n+1)2\sum_{i=1}^n i = \frac{n(n + 1)}{2}.

Rn=18n2⋅n(n+1)2=9n(n+1)n2=9(1+1n)R_n = \frac{18}{n^2} \cdot \frac{n(n + 1)}{2} = \frac{9 n(n + 1)}{n^2} = 9 \left(1 + \frac{1}{n}\right)

Step 6: Take the limit as n→∞n \to \infty.

∫032x dx=lim⁡n→∞9(1+1n)=9(1+0)=9\int_0^3 2x \, dx = \lim_{n \to \infty} 9 \left(1 + \frac{1}{n}\right) = 9(1 + 0) = 9

Geometric Check: The region is a right triangle with base b=3b = 3 and height h=f(3)=2(3)=6h = f(3) = 2(3) = 6. Its geometric area is 12×base×height=12(3)(6)=9\frac{1}{2} \times \text{base} \times \text{height} = \frac{1}{2}(3)(6) = 9. The limit matches the exact geometric area.


Example 3: Evaluating Signed Area via Elementary Geometry

Problem: Evaluate the definite integral by sketching the graph and interpreting it in terms of geometric areas:

∫−24(x−1) dx\int_{-2}^4 (x - 1) \, dx

Step 1: Find the xx-intercept. Set y=x−1=0  ⟹  x=1y = x - 1 = 0 \implies x = 1. The line crosses the xx-axis at (1,0)(1, 0).

Step 2: Identify the two triangular regions.

  • For x∈[−2,1]x \in [-2, 1], f(x)≤0f(x) \le 0: This region lies below the xx-axis (negative area A1A_1).
  • For x∈[1,4]x \in [1, 4], f(x)≥0f(x) \ge 0: This region lies above the xx-axis (positive area A2A_2).

Step 3: Calculate the area of triangle A1A_1 (below the axis).

  • Base: from x=−2x = -2 to x=1x = 1, width =1−(−2)=3= 1 - (-2) = 3.
  • Height: at x=−2x = -2, y=−2−1=−3y = -2 - 1 = -3, so height =3= 3.
Area(A1)=12×base×height=12×3×3=92=4.5\text{Area}(A_1) = \frac{1}{2} \times \text{base} \times \text{height} = \frac{1}{2} \times 3 \times 3 = \frac{9}{2} = 4.5

Step 4: Calculate the area of triangle A2A_2 (above the axis).

  • Base: from x=1x = 1 to x=4x = 4, width =4−1=3= 4 - 1 = 3.
  • Height: at x=4x = 4, y=4−1=3y = 4 - 1 = 3, so height =3= 3.
Area(A2)=12×base×height=12×3×3=92=4.5\text{Area}(A_2) = \frac{1}{2} \times \text{base} \times \text{height} = \frac{1}{2} \times 3 \times 3 = \frac{9}{2} = 4.5

Step 5: Compute net signed area.

∫−24(x−1) dx=Area(A2)−Area(A1)=4.5−4.5=0\int_{-2}^4 (x - 1) \, dx = \text{Area}(A_2) - \text{Area}(A_1) = 4.5 - 4.5 = 0

5. Common Mistakes & Paper Traps

[!WARNING]

  1. Signed Area vs. Total Geometric Area: Never confuse ∫abf(x) dx\int_a^b f(x) \, dx with ∫ab∣f(x)∣ dx\int_a^b |f(x)| \, dx. The definite integral assigns negative values to regions under the xx-axis. In Example 3, the definite integral is 00, whereas the total geometric area is 4.5+4.5=94.5 + 4.5 = 9.
  2. Index Shift Errors: In an nn-strip partition, the left sum uses indices 0,1,…,n−10, 1, \dots, n-1, while the right sum uses 1,2,…,n1, 2, \dots, n. Both have exactly nn terms. Writing n+1n+1 terms will distort the sum.
  3. Interval Width Arithmetic: Always compute Δx=b−an\Delta x = \frac{b - a}{n}. When aa is negative, remember double negatives: for [−3,5][-3, 5], Δx=5−(−3)n=8n\Delta x = \frac{5 - (-3)}{n} = \frac{8}{n}, not 2n\frac{2}{n}.
  4. Factoring nn vs ii: In Riemann sum limits, nn is constant with respect to the summation index ii. Always factor 1nk\frac{1}{n^k} outside the ∑i=1n\sum_{i=1}^n operator before applying polynomial formulas.

6. Pencil & Paper Practice

Try these three problems on your own notepad before checking the worked solutions.

Practice 1

For f(x)=2x+1f(x) = 2x + 1 on the interval [1,5][1, 5], calculate the Right Riemann Sum R4R_4 with n=4n = 4 subintervals.

Practice 2

Evaluate the definite integral using geometric area:

∫−339−x2 dx\int_{-3}^3 \sqrt{9 - x^2} \, dx

Practice 3

Use the limit definition of the definite integral to evaluate:

∫02x2 dx\int_0^2 x^2 \, dx

(Hint: Use ∑i=1ni2=n(n+1)(2n+1)6\sum_{i=1}^n i^2 = \frac{n(n + 1)(2n + 1)}{6}.)


7. Solutions to Practice Problems

Solution to Practice 1

  1. Find Δx\Delta x:
    Δx=5−14=44=1\Delta x = \frac{5 - 1}{4} = \frac{4}{4} = 1
  2. List grid points: x0=1,x1=2,x2=3,x3=4,x4=5x_0 = 1, x_1 = 2, x_2 = 3, x_3 = 4, x_4 = 5.
  3. Evaluate right endpoints:
    f(x1)=f(2)=2(2)+1=5f(x2)=f(3)=2(3)+1=7f(x3)=f(4)=2(4)+1=9f(x4)=f(5)=2(5)+1=11\begin{aligned} f(x_1) &= f(2) = 2(2) + 1 = 5 \\ f(x_2) &= f(3) = 2(3) + 1 = 7 \\ f(x_3) &= f(4) = 2(4) + 1 = 9 \\ f(x_4) &= f(5) = 2(5) + 1 = 11 \end{aligned}
  4. Compute R4R_4:
    R4=Δx[5+7+9+11]=1×32=32R_4 = \Delta x [5 + 7 + 9 + 11] = 1 \times 32 = 32

Solution to Practice 2

  1. Recognize the equation y=9−x2y = \sqrt{9 - x^2}. Squaring both sides gives y2=9−x2  ⟺  x2+y2=9y^2 = 9 - x^2 \iff x^2 + y^2 = 9 with y≥0y \ge 0.
  2. This represents the upper half of a circle centered at the origin (0,0)(0, 0) with radius R=3R = 3.
  3. The interval of integration [−3,3][-3, 3] covers the entire diameter from −R-R to +R+R.
  4. The definite integral equals the area of a semicircle of radius 33:
    ∫−339−x2 dx=12πR2=12π(3)2=9π2\int_{-3}^3 \sqrt{9 - x^2} \, dx = \frac{1}{2} \pi R^2 = \frac{1}{2} \pi (3)^2 = \frac{9\pi}{2}

Solution to Practice 3

  1. Partition parameters:
    Δx=2−0n=2n,xi=0+iΔx=2in\Delta x = \frac{2 - 0}{n} = \frac{2}{n}, \quad x_i = 0 + i \Delta x = \frac{2i}{n}
  2. Evaluate integrand:
    f(xi)=(xi)2=(2in)2=4i2n2f(x_i) = (x_i)^2 = \left(\frac{2i}{n}\right)^2 = \frac{4i^2}{n^2}
  3. Form the Riemann sum:
    Rn=∑i=1nf(xi)Δx=∑i=1n(4i2n2)(2n)=8n3∑i=1ni2R_n = \sum_{i=1}^n f(x_i)\Delta x = \sum_{i=1}^n \left(\frac{4i^2}{n^2}\right) \left(\frac{2}{n}\right) = \frac{8}{n^3} \sum_{i=1}^n i^2
  4. Substitute the sum formula:
    Rn=8n3⋅n(n+1)(2n+1)6=86⋅2n3+3n2+nn3=43(2+3n+1n2)R_n = \frac{8}{n^3} \cdot \frac{n(n + 1)(2n + 1)}{6} = \frac{8}{6} \cdot \frac{2n^3 + 3n^2 + n}{n^3} = \frac{4}{3} \left(2 + \frac{3}{n} + \frac{1}{n^2}\right)
  5. Take the limit as n→∞n \to \infty:
    ∫02x2 dx=lim⁡n→∞43(2+3n+1n2)=43×2=83\int_0^2 x^2 \, dx = \lim_{n \to \infty} \frac{4}{3} \left(2 + \frac{3}{n} + \frac{1}{n^2}\right) = \frac{4}{3} \times 2 = \frac{8}{3}

Test yourself

If a continuous function f(x)f(x) is strictly increasing on [a,b][a, b], what is the relationship between the Left Riemann Sum LnL_n, the Right Riemann Sum RnR_n, and the exact integral ∫abf(x) dx\int_a^b f(x) \, dx?

  1. Rn<∫abf(x) dx<LnR_n < \int_a^b f(x) \, dx < L_n
  2. Ln<∫abf(x) dx<RnL_n < \int_a^b f(x) \, dx < R_n
  3. Ln=Rn=∫abf(x) dxL_n = R_n = \int_a^b f(x) \, dx
  4. The relationship depends on whether f(x)f(x) is concave up or concave down

What is the net signed area represented by ∫02πsin⁡x dx\int_0^{2\pi} \sin x \, dx?

  1. 22
  2. 44
  3. 00
  4. −2-2

Which expression represents the exact limit definition of ∫14x3 dx\int_1^4 x^3 \, dx using right endpoints?

  1. lim⁡n→∞∑i=1n(1+3in)33n\lim_{n \to \infty} \sum_{i=1}^n \left(1 + \frac{3i}{n}\right)^3 \frac{3}{n}
  2. lim⁡n→∞∑i=1n(3in)33n\lim_{n \to \infty} \sum_{i=1}^n \left(\frac{3i}{n}\right)^3 \frac{3}{n}
  3. lim⁡n→∞∑i=1n(1+in)34n\lim_{n \to \infty} \sum_{i=1}^n \left(1 + \frac{i}{n}\right)^3 \frac{4}{n}
  4. lim⁡n→∞∑i=1n(1+4in)31n\lim_{n \to \infty} \sum_{i=1}^n \left(1 + \frac{4i}{n}\right)^3 \frac{1}{n}