Areas, Riemann Sums, and Definite Integrals

Geometric Foundations of Area and the Definite Integral

  • Core Objective of Integration: Calculus 2 conceptualizes the integral as a systematic method for calculating areas by partitioning a region into increasingly narrow slices, summing the individual areas of those slices, and evaluating the limit as the slice count approaches infinity.

  • Assumptions on Functions: For a curve defined by y=f(x)y = f(x), initial geometric development assumes f(x)≥0f(x) \ge 0. However, the analytical framework and definitions remain fully valid and applicable when f(x)<0f(x) < 0.

  • Failure of Elementary Geometry: Because typical curves are curved rather than straight, exact areas enclosed between the curve and the xx-axis cannot generally be calculated using elementary geometric area formulas.

  • Geometric Analogy: The process parallels the classical method of estimating the area of a circle by inscribing skinnier and skinnier triangles. For the area bounded between a curve y=f(x)y = f(x) and the xx-axis across an interval [a,b][a, b], approximating rectangles are used instead of triangles, where the function value f(x)f(x) determines the height of a rectangle of infinitesimal width Δx\Delta x.

Partitions and Riemann Sums

  • Definition of a Partition: A set of points P={xi}i=0nP = \{x_i\}_{i=0}^n such that   a=x0<x1<x2<⋯<xn−1<xn=ba = x_0 < x_1 < x_2 < \dots < x_{n-1} < x_n = b   which divides the closed interval [a,b][a, b] into nn subintervals of the form [x0,x1],[x1,x2],…,[xn−1,xn][x_0, x_1], [x_1, x_2], \dots, [x_{n-1}, x_n] is defined as a partition of [a,b][a, b].

  • Definition of a Regular Partition: If every subinterval in the partition PP has an identical uniform width Δx\Delta x, then PP is termed a regular partition of [a,b][a, b], where:   Δx=b−an\Delta x = \frac{b - a}{n}

  • Definition of a Riemann Sum: Let f(x)f(x) be a function defined on the closed interval [a,b][a, b], and let PP be a regular partition of [a,b][a, b] with nn subintervals of width Δx=b−an\Delta x = \frac{b - a}{n}. For each index ii, let xi∗x_i^* denote an arbitrary sample point within the subinterval [xi−1,xi][x_{i-1}, x_i]. The Riemann sum is defined as:   ∑i=1nf(xi∗)Δx=f(x1∗)Δx+f(x2∗)Δx+⋯+f(xn∗)Δx\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

  • Definition of Upper Sum: When each sample point xi∗x_i^* is specifically chosen such that f(xi∗)f(x_i^*) is the absolute maximum value of f(x)f(x) across the subinterval [xi−1,xi][x_{i-1}, x_i], the resulting Riemann sum is designated as an upper sum.

  • Definition of Lower Sum: When each sample point xi∗x_i^* is chosen such that f(xi∗)f(x_i^*) is the absolute minimum value of f(x)f(x) across the subinterval [xi−1,xi][x_{i-1}, x_i], the resulting Riemann sum is designated as a lower sum.

  • Common Choices for Sample Points (xi∗x_i^*):

    • Left-hand Sum: Sample point chosen at the left endpoint of each subinterval: xi∗=xi−1x_i^* = x_{i-1}

    • Right-hand Sum: Sample point chosen at the right endpoint of each subinterval: xi∗=xix_i^* = x_i

    • Midpoint Sum: Sample point chosen at the midpoint of each subinterval: xi∗=xi−1+xi2x_i^* = \frac{x_{i-1} + x_i}{2}

  • Inequality Bounds and the Squeeze Theorem:

    • For any arbitrary choice of sample point xi∗∈[xi−1,xi]x_i^* \in [x_{i-1}, x_i], the function value satisfies min⁡[xi−1,xi]f(x)≤f(xi∗)≤max⁡[xi−1,xi]f(x)\min_{[x_{i-1}, x_i]} f(x) \le f(x_i^*) \le \max_{[x_{i-1}, x_i]} f(x). Consequently:     lower sum≤∑i=1nf(xi∗)Δx≤upper sum\text{lower sum} \le \sum_{i=1}^n f(x_i^*)\Delta x \le \text{upper sum}

    • The true area between the curve y=f(x)y = f(x) and the xx-axis is strictly bounded:     lower sum<area<upper sum\text{lower sum} < \text{area} < \text{upper sum}

    • By the Squeeze Theorem, if the limit of the lower sum equals the limit of the upper sum as the subintervals shrink (n→∞n \to \infty), that shared limit is precisely equal to the exact area.

Finite Riemann Sum Computations

  • Example Problem: Compute the lower and upper sums for f(x)=xf(x) = x on the interval [0,3][0, 3] using n=6n = 6 equal subintervals.

  • Partition Geometry:

    • Width of each subinterval:     Δx=3−06=12\Delta x = \frac{3 - 0}{6} = \frac{1}{2}

    • Subinterval endpoints are given by:     xi=i2x_i = \frac{i}{2}

    • Explicit subintervals: [0,0.5][0, 0.5], [0.5,1][0.5, 1], [1,1.5][1, 1.5], [1.5,2][1.5, 2], [2,2.5][2, 2.5], and [2.5,3][2.5, 3].

    • Because f(x)=xf(x) = x is strictly increasing, the minimum value on each subinterval [xi−1,xi][x_{i-1}, x_i] occurs at the left endpoint xi−1x_{i-1}, while the maximum value occurs at the right endpoint xix_i.

  • Lower Sum Calculation (n=6n = 6):   ∑i=16f(xi−1)Δx=∑i=16f(i−12)12\sum_{i=1}^6 f(x_{i-1})\Delta x = \sum_{i=1}^6 f\left(\frac{i - 1}{2}\right)\frac{1}{2}   =∑i=16(i−12)(12)= \sum_{i=1}^6 \left(\frac{i - 1}{2}\right)\left(\frac{1}{2}\right)   =12(02+12+22+32+42+52)= \frac{1}{2}\left(\frac{0}{2} + \frac{1}{2} + \frac{2}{2} + \frac{3}{2} + \frac{4}{2} + \frac{5}{2}\right)   =14(0+1+2+3+4+5)= \frac{1}{4}(0 + 1 + 2 + 3 + 4 + 5)   =154= \frac{15}{4}

  • Upper Sum Calculation (n=6n = 6):   ∑i=16f(xi)Δx=∑i=16f(i2)12\sum_{i=1}^6 f(x_i)\Delta x = \sum_{i=1}^6 f\left(\frac{i}{2}\right)\frac{1}{2}   =∑i=16(i2)(12)= \sum_{i=1}^6 \left(\frac{i}{2}\right)\left(\frac{1}{2}\right)   =12(12+22+32+42+52+62)= \frac{1}{2}\left(\frac{1}{2} + \frac{2}{2} + \frac{3}{2} + \frac{4}{2} + \frac{5}{2} + \frac{6}{2}\right)   =14(1+2+3+4+5+6)= \frac{1}{4}(1 + 2 + 3 + 4 + 5 + 6)   =214= \frac{21}{4}

Limits of Upper and Lower Sums as n→∞n \to \infty

  • Example Problem: Compute the limit as n→∞n \to \infty of both the lower sum and upper sum for f(x)=xf(x) = x on the interval [0,3][0, 3].

  • General Partition Setup for nn Subintervals:

    • Width of each subinterval:     Δx=3−0n=3n\Delta x = \frac{3 - 0}{n} = \frac{3}{n}

    • Endpoints of the regular partition:     xi=3n⋅i=3inx_i = \frac{3}{n} \cdot i = \frac{3i}{n}

  • Gauss's Summation Identity:   ∑i=1ni=n(n+1)2\sum_{i=1}^n i = \frac{n(n + 1)}{2}

  • Limit of the Lower Sum:   ∑i=1nf(xi−1)Δx=∑i=1n3(i−1)n⋅3n\sum_{i=1}^n f(x_{i-1})\Delta x = \sum_{i=1}^n \frac{3(i - 1)}{n} \cdot \frac{3}{n}   =9n2∑i=1n(i−1)= \frac{9}{n^2}\sum_{i=1}^n (i - 1)   =9n2(−n+∑i=1ni)= \frac{9}{n^2}\left(-n + \sum_{i=1}^n i\right)   =−9n+9n2(n(n+1)2)= -\frac{9}{n} + \frac{9}{n^2}\left(\frac{n(n + 1)}{2}\right)   =−9⋅1n+9(n+1)2n= -9 \cdot \frac{1}{n} + \frac{9(n + 1)}{2n}   =−9⋅1n+92+92⋅1n= -9 \cdot \frac{1}{n} + \frac{9}{2} + \frac{9}{2} \cdot \frac{1}{n}

    • Evaluating the limit as n→∞n \to \infty (where 1n→0\frac{1}{n} \to 0):     lim⁡n→∞∑i=1nf(xi−1)Δx=92\lim_{n \to \infty} \sum_{i=1}^n f(x_{i-1})\Delta x = \frac{9}{2}

  • Limit of the Upper Sum:   ∑i=1nf(xi)Δx=∑i=1n3in⋅3n\sum_{i=1}^n f(x_i)\Delta x = \sum_{i=1}^n \frac{3i}{n} \cdot \frac{3}{n}   =9n2∑i=1ni= \frac{9}{n^2}\sum_{i=1}^n i   =9n2(n(n+1)2)= \frac{9}{n^2}\left(\frac{n(n + 1)}{2}\right)   =9(n+1)2n= \frac{9(n + 1)}{2n}   =92+92⋅1n= \frac{9}{2} + \frac{9}{2} \cdot \frac{1}{n}

    • Evaluating the limit as n→∞n \to \infty (where 1n→0\frac{1}{n} \to 0):     lim⁡n→∞∑i=1nf(xi)Δx=92\lim_{n \to \infty} \sum_{i=1}^n f(x_i)\Delta x = \frac{9}{2}

  • Geometric Verification: The region enclosed by f(x)=xf(x) = x, the xx-axis, and x=3x = 3 forms a right triangle with base 33 and height 33. Standard geometry verifies the area:   Area=12⋅3⋅3=92\text{Area} = \frac{1}{2} \cdot 3 \cdot 3 = \frac{9}{2}

The Definite Integral and Signed Area

  • Definition of the Definite Integral: The definite integral of ff from aa to bb is defined by:   ∫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   provided that this limit exists, in which case f(x)f(x) is said to be integrable on [a,b][a, b].

  • Signed Area Concept: The definite integral represents the net signed area bounded between the curve y=f(x)y = f(x) and the xx-axis across [a,b][a, b]:

    • Regions where f(x)>0f(x) > 0 (above the xx-axis) yield positive area contributions.

    • Regions where f(x)<0f(x) < 0 (below the xx-axis) yield negative area contributions.

  • Integrability Theorem: If f(x)f(x) is continuous on the closed interval [a,b][a, b], then ff is integrable on [a,b][a, b]. Furthermore, continuity guarantees that any valid choice of Riemann sum (upper, lower, midpoint, left-endpoint, right-endpoint) converges to the exact value of the definite integral.

  • Geometric Computation Example 1: ∫06(2x−4) dx\int_0^6 (2x - 4)\,dx:

    • The linear function y=2x−4y = 2x - 4 has slope 22, yy-intercept at (0,−4)(0, -4), and an xx-intercept at (2,0)(2, 0).

    • The area is partitioned into two distinct triangles across the interval [0,6][0, 6]:

    • Region below xx-axis ([0,2][0, 2]): Since f(x)=2x−4≤0f(x) = 2x - 4 \le 0, this region contributes a negative signed area. The triangle has base 22 (from 00 to 22) and height 44 (magnitude at x=0x = 0):       Contribution=−(12⋅2⋅4)=−4\text{Contribution} = -\left(\frac{1}{2} \cdot 2 \cdot 4\right) = -4

    • Region above xx-axis ([2,6][2, 6]): Since f(x)≥0f(x) \ge 0, this region contributes a positive area. The triangle has base 44 (from 22 to 66) and height 88 (since f(6)=2(6)−4=8f(6) = 2(6) - 4 = 8):       Contribution=12⋅4⋅8=16\text{Contribution} = \frac{1}{2} \cdot 4 \cdot 8 = 16

    • Net signed area:     ∫06(2x−4) dx=−4+16=12\int_0^6 (2x - 4)\,dx = -4 + 16 = 12

  • Geometric Computation Example 2: ∫01(2x−4) dx\int_0^1 (2x - 4)\,dx:

    • Over the interval [0,1][0, 1], the curve lies entirely below the xx-axis.

    • The geometric shape formed is a trapezoid, broken down into a rectangle and a right triangle:

    • Rectangle over the domain 0≤x≤10 \le x \le 1 bounded by −2≤y≤0-2 \le y \le 0: area =2×1=2= 2 \times 1 = 2.

    • Triangle over the domain 0≤x≤10 \le x \le 1 bounded between y=−4y = -4 and y=−2y = -2: area =12×2×1=1= \frac{1}{2} \times 2 \times 1 = 1.

    • Total geometric magnitude:     2×1+12×2×1=32 \times 1 + \frac{1}{2} \times 2 \times 1 = 3

    • Because the entire region lies below the xx-axis, its signed value is negative:     ∫01(2x−4) dx=−3\int_0^1 (2x - 4)\,dx = -3

Summation Formulas and Limit Evaluation

  • Key Summation Identities:

    • Constant identity:     ∑i=1n1=n\sum_{i=1}^n 1 = n

    • First powers (integers):     ∑i=1ni=n(n+1)2\sum_{i=1}^n i = \frac{n(n + 1)}{2}

    • Second powers (squares):     ∑i=1ni2=n(n+1)(2n+1)6\sum_{i=1}^n i^2 = \frac{n(n + 1)(2n + 1)}{6}

    • Third powers (cubes):     ∑i=1ni3=n2(n+1)24\sum_{i=1}^n i^3 = \frac{n^2(n + 1)^2}{4}

  • Evaluation of ∫−11(x2−x) dx\int_{-1}^1 (x^2 - x)\,dx Using the Limit Definition:

    • Interval length: b−a=1−(−1)=2b - a = 1 - (-1) = 2.

    • Width of each subinterval for nn divisions:     Δx=2n\Delta x = \frac{2}{n}

    • Endpoints using a right-hand Riemann sum (xi∗=xix_i^* = x_i):     xi=a+iΔx=−1+2inx_i = a + i\Delta x = -1 + \frac{2i}{n}

    • Setting up the limit:     ∫−11(x2−x) dx=lim⁡n→∞∑i=1n[(−1+2in)2−(−1+2in)]2n\int_{-1}^1 (x^2 - x)\,dx = \lim_{n \to \infty} \sum_{i=1}^n \left[\left(-1 + \frac{2i}{n}\right)^2 - \left(-1 + \frac{2i}{n}\right)\right]\frac{2}{n}

    • Expanding the terms inside the summation:     (−1+2in)2=1−4in+4i2n2\left(-1 + \frac{2i}{n}\right)^2 = 1 - \frac{4i}{n} + \frac{4i^2}{n^2}     −(−1+2in)=1−2in-\left(-1 + \frac{2i}{n}\right) = 1 - \frac{2i}{n}     Combined summand=2−6in+4i2n2\text{Combined summand} = 2 - \frac{6i}{n} + \frac{4i^2}{n^2}

    • Distributing Δx=2n\Delta x = \frac{2}{n} across the terms:     lim⁡n→∞2n∑i=1n(2−6in+4i2n2)=lim⁡n→∞[4n∑i=1n1−12n2∑i=1ni+8n3∑i=1ni2]\lim_{n \to \infty} \frac{2}{n} \sum_{i=1}^n \left(2 - \frac{6i}{n} + \frac{4i^2}{n^2}\right) = \lim_{n \to \infty} \left[\frac{4}{n}\sum_{i=1}^n 1 - \frac{12}{n^2}\sum_{i=1}^n i + \frac{8}{n^3}\sum_{i=1}^n i^2\right]

    • Substituting known summation formulas:     lim⁡n→∞[4n(n)−12n(n+1)2n2+8n(n+1)(2n+1)6n3]\lim_{n \to \infty} \left[\frac{4}{n}(n) - \frac{12n(n + 1)}{2n^2} + \frac{8n(n + 1)(2n + 1)}{6n^3}\right]

    • Expanding the algebraic terms prior to evaluating limits:     =4+lim⁡n→∞[−6(n2+nn2)+86(2n3+3n2+nn3)]= 4 + \lim_{n \to \infty} \left[-6\left(\frac{n^2 + n}{n^2}\right) + \frac{8}{6}\left(\frac{2n^3 + 3n^2 + n}{n^3}\right)\right]     =4+lim⁡n→∞[−6−6n+16+24n+8n26]= 4 + \lim_{n \to \infty} \left[-6 - \frac{6}{n} + \frac{16 + \frac{24}{n} + \frac{8}{n^2}}{6}\right]

    • Evaluating the limit as n→∞n \to \infty:     =4−6+166= 4 - 6 + \frac{16}{6}     =4−6+83= 4 - 6 + \frac{8}{3}     =−2+83=23= -2 + \frac{8}{3} = \frac{2}{3}

Fundamental Properties of the Definite Integral

  • Order of Integration: Reversing the bounds of integration negates the value of the integral:   ∫abf(x) dx=−∫baf(x) dx\int_a^b f(x)\,dx = -\int_b^a f(x)\,dx

  • Zero Width Interval: If upper and lower limits of integration are identical, the enclosed area is zero:   ∫aaf(x) dx=0\int_a^a f(x)\,dx = 0

  • Constant Multiple (Scaling): A constant factor kk can be factored outside the integral:   ∫abkf(x) dx=k∫abf(x) dx\int_a^b k f(x)\,dx = k\int_a^b f(x)\,dx

  • Sum and Difference: The integral of a sum or difference equals the sum or difference of the individual integrals:   ∫ab(f(x)±g(x)) dx=∫abf(x) dx±∫abg(x) dx\int_a^b (f(x) \pm g(x))\,dx = \int_a^b f(x)\,dx \pm \int_a^b g(x)\,dx

  • Additivity of Intervals: Integration over contiguous intervals can be combined into a single integral:   ∫abf(x) dx+∫bcf(x) dx=∫acf(x) dx\int_a^b f(x)\,dx + \int_b^c f(x)\,dx = \int_a^c f(x)\,dx