Left Riemann Sum: \(L_n = \sum_{i=0}^{n-1} f(x_i) \Delta x\) where \(x_i = a + i\Delta x\) and \(\Delta x = \frac{b-a}{n}\).
- Identify the interval bounds (\(a = 1\), \(b = 3\)) and number of subintervals (\(n\))
- Calculate \(\Delta x = \frac{b-a}{n} = \frac{3-1}{n} = \frac{2}{n}\)
- Find left endpoints: \(x_i = a + i\Delta x = 1 + i \cdot \frac{2}{n}\)
- Express the sum: \(L_n = \sum_{i=0}^{n-1} f(x_i) \Delta x\)
Given: \(\int_1^3 x^2 dx\) with \(n\) subintervals
So \(a = 1\), \(b = 3\), and number of subintervals = \(n\)
\(\Delta x = \frac{b-a}{n} = \frac{3-1}{n} = \frac{2}{n}\)
Left endpoints are: \(x_0, x_1, x_2, ..., x_{n-1}\)
Where \(x_i = a + i\Delta x = 1 + i \cdot \frac{2}{n} = 1 + \frac{2i}{n}\)
\(L_n = \sum_{i=0}^{n-1} f(x_i) \Delta x\)
\(L_n = \sum_{i=0}^{n-1} \left(1 + \frac{2i}{n}\right)^2 \cdot \frac{2}{n}\)
\(L_n = \frac{2}{n} \sum_{i=0}^{n-1} \left(1 + \frac{2i}{n}\right)^2\)
The left Riemann sum in sigma notation is \(L_n = \frac{2}{n} \sum_{i=0}^{n-1} \left(1 + \frac{2i}{n}\right)^2\).
• Left endpoint formula: \(x_i = a + i\Delta x\) for \(i = 0, 1, ..., n-1\)
• General form: \(L_n = \sum_{i=0}^{n-1} f(x_i) \Delta x\)
• Sigma properties: Constants can be factored out of summations
Right Riemann Sum: \(R_n = \sum_{i=1}^{n} f(x_i) \Delta x\) where \(x_i = a + i\Delta x\) and \(\Delta x = \frac{b-a}{n}\).
Given: \(\int_0^4 \sqrt{x} dx\) with \(n\) subintervals
So \(a = 0\), \(b = 4\), and number of subintervals = \(n\)
\(\Delta x = \frac{b-a}{n} = \frac{4-0}{n} = \frac{4}{n}\)
Right endpoints are: \(x_1, x_2, x_3, ..., x_n\)
Where \(x_i = a + i\Delta x = 0 + i \cdot \frac{4}{n} = \frac{4i}{n}\)
\(R_n = \sum_{i=1}^{n} f(x_i) \Delta x\)
\(R_n = \sum_{i=1}^{n} \sqrt{\frac{4i}{n}} \cdot \frac{4}{n}\)
\(R_n = \frac{4}{n} \sum_{i=1}^{n} \sqrt{\frac{4i}{n}}\)
\(R_n = \frac{4}{n} \sum_{i=1}^{n} \frac{\sqrt{4i}}{\sqrt{n}} = \frac{4}{n} \cdot \frac{1}{\sqrt{n}} \sum_{i=1}^{n} \sqrt{4i}\)
\(R_n = \frac{4}{n^{3/2}} \sum_{i=1}^{n} \sqrt{4i} = \frac{4}{n^{3/2}} \sum_{i=1}^{n} 2\sqrt{i}\)
\(R_n = \frac{8}{n^{3/2}} \sum_{i=1}^{n} \sqrt{i}\)
The right Riemann sum in sigma notation is \(R_n = \frac{4}{n} \sum_{i=1}^{n} \sqrt{\frac{4i}{n}}\).
• Right endpoint formula: \(x_i = a + i\Delta x\) for \(i = 1, 2, ..., n\)
• General form: \(R_n = \sum_{i=1}^{n} f(x_i) \Delta x\)
• Radical simplification: \(\sqrt{\frac{a}{b}} = \frac{\sqrt{a}}{\sqrt{b}}\)
Midpoint Riemann Sum: \(M_n = \sum_{i=1}^{n} f(\bar{x}_i) \Delta x\) where \(\bar{x}_i = a + \left(i - \frac{1}{2}\right)\Delta x\).
Given: \(\int_0^2 e^x dx\) with \(n\) subintervals
So \(a = 0\), \(b = 2\), and number of subintervals = \(n\)
\(\Delta x = \frac{b-a}{n} = \frac{2-0}{n} = \frac{2}{n}\)
Midpoints are: \(\bar{x}_1, \bar{x}_2, ..., \bar{x}_n\)
Where \(\bar{x}_i = a + \left(i - \frac{1}{2}\right)\Delta x = 0 + \left(i - \frac{1}{2}\right) \cdot \frac{2}{n}\)
\(\bar{x}_i = \frac{2(i - \frac{1}{2})}{n} = \frac{2i - 1}{n}\)
\(M_n = \sum_{i=1}^{n} f(\bar{x}_i) \Delta x\)
\(M_n = \sum_{i=1}^{n} e^{\frac{2i-1}{n}} \cdot \frac{2}{n}\)
\(M_n = \frac{2}{n} \sum_{i=1}^{n} e^{\frac{2i-1}{n}}\)
The midpoint Riemann sum in sigma notation is \(M_n = \frac{2}{n} \sum_{i=1}^{n} e^{\frac{2i-1}{n}}\).
• Midpoint formula: \(\bar{x}_i = a + \left(i - \frac{1}{2}\right)\Delta x\)
• General form: \(M_n = \sum_{i=1}^{n} f(\bar{x}_i) \Delta x\)
• Algebraic manipulation: \(\left(i - \frac{1}{2}\right) \cdot \frac{2}{n} = \frac{2i-1}{n}\)
Uniform partition: Dividing \([a,b]\) into \(n\) equal subintervals of width \(\Delta x = \frac{b-a}{n}\)
Sample points: Specific points within each subinterval where the function is evaluated
General Riemann sum: \(R_n = \sum_{i=1}^{n} f(x_i^*) \Delta x\) where \(x_i^*\) is any point in the \(i\)-th subinterval
- Identify interval: Determine \([a,b]\) and number of subintervals \(n\)
- Calculate width: Find \(\Delta x = \frac{b-a}{n}\)
- Find sample points: Determine the location of sample points for the chosen method
- Set up sum: Express the Riemann sum using sigma notation
Trapezoidal Rule: \(T_n = \frac{\Delta x}{2}[f(x_0) + 2f(x_1) + 2f(x_2) + ... + 2f(x_{n-1}) + f(x_n)]\)
Given: \(\int_0^1 x^3 dx\) with \(n\) subintervals
So \(a = 0\), \(b = 1\), and number of subintervals = \(n\)
\(\Delta x = \frac{b-a}{n} = \frac{1-0}{n} = \frac{1}{n}\)
All endpoints: \(x_0 = 0, x_1 = \frac{1}{n}, x_2 = \frac{2}{n}, ..., x_n = 1\)
In general: \(x_i = \frac{i}{n}\) for \(i = 0, 1, 2, ..., n\)
\(T_n = \frac{\Delta x}{2}[f(x_0) + 2f(x_1) + 2f(x_2) + ... + 2f(x_{n-1}) + f(x_n)]\)
\(T_n = \frac{1/n}{2}[f(0) + 2f(1/n) + 2f(2/n) + ... + 2f((n-1)/n) + f(1)]\)
\(T_n = \frac{1}{2n}[f(0) + 2\sum_{i=1}^{n-1} f(x_i) + f(1)]\)
For \(f(x) = x^3\):
\(T_n = \frac{1}{2n}[0^3 + 2\sum_{i=1}^{n-1} \left(\frac{i}{n}\right)^3 + 1^3]\)
\(T_n = \frac{1}{2n}[0 + \frac{2}{n^3}\sum_{i=1}^{n-1} i^3 + 1]\)
The trapezoidal rule in sigma notation is \(T_n = \frac{1}{2n}\left[2\sum_{i=1}^{n-1} \left(\frac{i}{n}\right)^3 + 1\right]\).
• Trapezoidal formula: Average of left and right sums
• Endpoint weights: First and last terms get weight 1, middle terms get weight 2
• Sigma manipulation: Factor out constants from summations
Riemann sum limit: \(\lim_{n \to \infty} \sum_{i=1}^{n} f(x_i^*) \Delta x = \int_a^b f(x)dx\) when the mesh approaches zero.
We have: \(\frac{1}{n} \sum_{i=1}^{n} \left(\frac{i}{n}\right)^2 = \sum_{i=1}^{n} \left(\frac{i}{n}\right)^2 \cdot \frac{1}{n}\)
This is in the form \(\sum_{i=1}^{n} f(x_i) \Delta x\) where:
\(\Delta x = \frac{1}{n}\), \(x_i = \frac{i}{n}\), and \(f(x) = x^2\)
As \(i\) goes from 1 to \(n\), \(x_i = \frac{i}{n}\) goes from \(\frac{1}{n}\) to 1.
As \(n \to \infty\), \(\frac{1}{n} \to 0\), so the interval is \([0,1]\).
By the definition of definite integrals as limits of Riemann sums:
\(\lim_{n \to \infty} \frac{1}{n} \sum_{i=1}^{n} \left(\frac{i}{n}\right)^2 = \int_0^1 x^2 dx\)
\(\frac{1}{n} \sum_{i=1}^{n} \left(\frac{i}{n}\right)^2 = \frac{1}{n} \cdot \frac{1}{n^2} \sum_{i=1}^{n} i^2 = \frac{1}{n^3} \sum_{i=1}^{n} i^2\)
Using \(\sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6}\):
\(\frac{1}{n^3} \cdot \frac{n(n+1)(2n+1)}{6} = \frac{(n+1)(2n+1)}{6n^2}\)
\(= \frac{2n^2 + 3n + 1}{6n^2} = \frac{2}{6} + \frac{3}{6n} + \frac{1}{6n^2} = \frac{1}{3} + \frac{1}{2n} + \frac{1}{6n^2}\)
\(\lim_{n \to \infty} \left(\frac{1}{3} + \frac{1}{2n} + \frac{1}{6n^2}\right) = \frac{1}{3}\)
\(\int_0^1 x^2 dx = \left[\frac{x^3}{3}\right]_0^1 = \frac{1}{3} - 0 = \frac{1}{3}\)
\(\lim_{n \to \infty} \frac{1}{n} \sum_{i=1}^{n} \left(\frac{i}{n}\right)^2 = \int_0^1 x^2 dx = \frac{1}{3}\)
This demonstrates the fundamental connection between Riemann sums and definite integrals.
• Limit definition: Definite integrals as limits of Riemann sums
• Standard formula: \(\sum i^2 = \frac{n(n+1)(2n+1)}{6}\)
• Algebraic limit: Terms with \(n\) in denominator approach zero
Mesh: The length of the largest subinterval in a partition
Norm of partition: Maximum subinterval width, denoted \(\|\Delta\|\)
Refinement: A partition with smaller mesh than another partition
- Partition setup: Divide interval \([a,b]\) into \(n\) equal subintervals
- Sample point selection: Choose appropriate points within each subinterval
- Sigma expression: Write the Riemann sum using summation notation
- Limit analysis: Study behavior as \(n \to \infty\)
• Left sum: \(L_n = \sum_{i=0}^{n-1} f(a + i\Delta x) \Delta x\)
• Right sum: \(R_n = \sum_{i=1}^{n} f(a + i\Delta x) \Delta x\)
• Midpoint: \(M_n = \sum_{i=1}^{n} f(a + (i-\frac{1}{2})\Delta x) \Delta x\)
• Trapezoid: \(T_n = \frac{\Delta x}{2}[f(x_0) + 2\sum_{i=1}^{n-1} f(x_i) + f(x_n)]\)
• Standard sums: \(\sum 1 = n\), \(\sum i = \frac{n(n+1)}{2}\), \(\sum i^2 = \frac{n(n+1)(2n+1)}{6}\)
\(L_n = \frac{1}{n}\sum_{i=0}^{n-1} \left(\frac{i}{n}\right)^2\) (left)
\(R_n = \frac{1}{n}\sum_{i=1}^{n} \left(\frac{i}{n}\right)^2\) (right)
\(M_n = \frac{1}{n}\sum_{i=1}^{n} \left(\frac{i-0.5}{n}\right)^2\) (midpoint)
Analysis: The chart shows how different methods converge to the exact value \(\frac{1}{3} \approx 0.333\).
- Left sum: Underestimates (decreasing function)
- Right sum: Overestimates (increasing function)
- Midpoint sum: Most accurate, converges quadratically