Calculate the left Riemann sum for f ( x ) = 1 x f(x) = \frac{1}{\sqrt{x}} f ( x ) = x 1 over [1, 4] with n = 6 ( 6 rectangles ) n = 6(6 \text{ rectangles}) n = 6 ( 6 rectangles ) . When rounding, round your answers to four decimal places.
Solution:
We have
∫ 1 4 1 x d x ≈ ∑ i = 0 5 h 1 x i = h ∑ i = 0 5 1 x i \int_{1}^{4} \frac{1}{\sqrt{x}} dx \approx \sum_{i=0}^{5} h \frac{1}{\sqrt{x_i}} = h \sum_{i=0}^{5} \frac{1}{\sqrt{x_i}} ∫ 1 4 x 1 d x ≈ i = 0 ∑ 5 h x i 1 = h i = 0 ∑ 5 x i 1
where h = 4 − 1 n = 3 6 = 1 2 ; x i = 1 + i ⋅ h = 1 + i 2 h = \frac{4 - 1}{n} = \frac{3}{6} = \frac{1}{2}; x_i = 1 + i \cdot h = 1 + \frac{i}{2} h = n 4 − 1 = 6 3 = 2 1 ; x i = 1 + i ⋅ h = 1 + 2 i . So
∫ 1 4 1 x d x ≈ h ∑ i = 0 5 1 x i = 1 2 ( 1 1 + 1 1 + 1 ⋅ 1 2 + 1 1 + 2 ⋅ 1 2 + 1 1 + 3 ⋅ 1 2 + 1 1 + 4 ⋅ 1 2 + + 1 1 + 5 ⋅ 1 2 ) = 1 2 ( 1 + 2 3 + 1 2 + 2 5 + 1 3 ) ≈ 1.8667 \begin{aligned}
\int_{1}^{4} \frac{1}{\sqrt{x}} dx &\approx h \sum_{i=0}^{5} \frac{1}{\sqrt{x_i}} = \frac{1}{2} \left( \frac{1}{\sqrt{1}} + \frac{1}{\sqrt{1 + 1 \cdot \frac{1}{2}}} + \frac{1}{\sqrt{1 + 2 \cdot \frac{1}{2}}} + \frac{1}{\sqrt{1 + 3 \cdot \frac{1}{2}}} + \frac{1}{\sqrt{1 + 4 \cdot \frac{1}{2}}} + \right. \\
&\left. + \frac{1}{\sqrt{1 + 5 \cdot \frac{1}{2}}} \right) = \frac{1}{2} \left( 1 + \sqrt{\frac{2}{3}} + \frac{1}{\sqrt{2}} + \sqrt{\frac{2}{5}} + \frac{1}{\sqrt{3}} \right) \approx 1.8667
\end{aligned} ∫ 1 4 x 1 d x ≈ h i = 0 ∑ 5 x i 1 = 2 1 ⎝ ⎛ 1 1 + 1 + 1 ⋅ 2 1 1 + 1 + 2 ⋅ 2 1 1 + 1 + 3 ⋅ 2 1 1 + 1 + 4 ⋅ 2 1 1 + + 1 + 5 ⋅ 2 1 1 ⎠ ⎞ = 2 1 ( 1 + 3 2 + 2 1 + 5 2 + 3 1 ) ≈ 1.8667
The exact solution is
∫ 1 4 1 x d x = 2 x ∣ 1 4 = 2 ( 4 − 1 ) = 2 ( 2 − 1 ) = 2. \int_{1}^{4} \frac{1}{\sqrt{x}} dx = 2 \sqrt{x} \Big|_{1}^{4} = 2(\sqrt{4} - \sqrt{1}) = 2(2 - 1) = 2. ∫ 1 4 x 1 d x = 2 x ∣ ∣ 1 4 = 2 ( 4 − 1 ) = 2 ( 2 − 1 ) = 2.
Answer:
≈ 1.8667 \approx 1.8667 ≈ 1.8667
Comments