Riemann sums · Exercise-RIEMANN-SUMS-001

Step-by-step solved exercise: Integrals

Compute the right-endpoint Riemann sum of \(\displaystyle f(x)=x\) on \(\displaystyle [0,2]\) with \(\displaystyle n=4\) equal subintervals.

Step by step with comments, a check and common mistakes.

Step-by-step solution

  1. Compute the width of each subinterval: \(\displaystyle \Delta x=\frac{b-a}{n}\).

    \[\displaystyle \Delta x=\frac{2-0}{4}=\frac{1}{2}\]
  2. Identify the right endpoints of the four subintervals.

    \[\displaystyle x_1=\frac{1}{2},\ x_2=1,\ x_3=\frac{3}{2},\ x_4=2\]
  3. Evaluate \(\displaystyle f\) at those points. Since \(\displaystyle f(x)=x\), the heights equal the points.

    \[\displaystyle f\left(\frac{1}{2}\right)+f(1)+f\left(\frac{3}{2}\right)+f(2)=\frac{1}{2}+1+\frac{3}{2}+2=5\]
  4. Multiply the sum of heights by \(\displaystyle \Delta x\) to get the Riemann sum.

    \[\displaystyle S_4=\frac{1}{2}\cdot 5=\frac{5}{2}\]

Answer

\(\displaystyle \frac{5}{2}\)

🎯 Build my path to this exercise