Splitting up the interval [1, 4] into 6 equally-spaced subintervals gives the partition
[1, 3/2], [3/2, 2], [2, 5/2], [5/2, 3], [3, 7/2], and [7/2, 4]
each with length (4-1)/6 = 1/2.
The endpoints of each subinteval form arithmetic sequences,
![\ell_i=1+\frac{i-1}2=\frac12+\frac i2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/e68erzowia76x271jafyqxtvcj43yodb10.png)
![r_i=1+\frac i2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s5hahizyv8yce1h4lidavoz4jvqt1aip73.png)
(
for left,
for right) with
.
The midpoints of each subinterval are, respectively,
5/4, 7/4, 9/4, 11/4, 13/4, and 15/4
which are prescribed by the sequence,
![m_i=\frac{\ell_i+r_i}2=\frac{\frac32+i}2=\frac34+\frac i2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/1vg5imjuatp8z99c96lnh0x2j37dmcpyc5.png)
(
for midpoint) where
.
The integral of
over the interval [1, 4] is approximated by the sum of the areas of rectangles with length equal to the base of each subinterval and height equal to
, the value of
at the midpoint of that subinterval:
![\displaystyle\int_1^4(x^2+1)\,\mathrm dx\approx\sum_(i=1)^6f(m_i)\frac{4-1}6=\frac12\sum_(i=1)^6\left(\left(\frac34+\frac i2\right)^2+1\right)=(383)/(16)\approx\boxed{23.94}](https://img.qammunity.org/2020/formulas/mathematics/middle-school/yc9sxtn3t447wjor00lrqk34m4cwryqstc.png)
Compare to the actual value of the integral,
![\displaystyle\int_1^4(x^2+1)\,\mathrm dx=24](https://img.qammunity.org/2020/formulas/mathematics/middle-school/w79bn18ivki3du105v0bj3hhacwild0z3q.png)