Definition of the Definite Integral — Question 9

PDF ↗

Question 9

Let f(x)={2x,0≤x≤1,2,1<x≤2.f(x)= \begin{cases} 2x, & 0\le x\le 1,\\[4pt] 2, & 1<x\le 2. \end{cases}

Using the definition of the definite integral, express ∫02f(x)dx\int_{0}^{2} f(x)\,dx as the limit of a Riemann sum, and evaluate the limit.

Original worksheet page 1: question and worked solution for 5-6-009
Show solutionHide solution

Question 9 - Solution

Partition the interval [0,2][0,2] into nn equal subintervals. Each subinterval has width Δx=2n.\Delta x=\frac{2}{n}.

Using right endpoints, the iith sample point is xi=2in.x_i=\frac{2i}{n}.

The Riemann sum is ∑i=1nf(xi)Δx=2n∑i=1nf(2in).\sum_{i=1}^{n} f(x_i)\,\Delta x = \frac{2}{n} \sum_{i=1}^{n} f\!\left(\frac{2i}{n}\right).

Split the sum according to where the function changes behavior. The condition xi≤1x_i\le 1 corresponds to 2in≤1⇒i≤n2.\frac{2i}{n}\le 1 \quad\Rightarrow\quad i\le \frac{n}{2}.

Thus, ∑i=1nf(2in)=∑i=1n/22(2in)+∑i=n/2+1n2.\sum_{i=1}^{n} f\!\left(\frac{2i}{n}\right) = \sum_{i=1}^{n/2} 2\left(\frac{2i}{n}\right) + \sum_{i=n/2+1}^{n} 2.

Compute each sum: ∑i=1n/24in=4n⋅(n/2)(n/2+1)2=n2+1,\sum_{i=1}^{n/2} \frac{4i}{n} = \frac{4}{n}\cdot\frac{(n/2)(n/2+1)}{2} = \frac{n}{2}+1, ∑i=n/2+1n2=2⋅n2=n.\sum_{i=n/2+1}^{n} 2 = 2\cdot\frac{n}{2} = n.

Therefore, ∑i=1nf(2in)=n2+1+n=3n2+1.\sum_{i=1}^{n} f\!\left(\frac{2i}{n}\right) = \frac{n}{2}+1+n = \frac{3n}{2}+1.

Multiply by Δx\Delta x: 2n(3n2+1)=3+2n.\frac{2}{n}\left(\frac{3n}{2}+1\right) = 3+\frac{2}{n}.

Taking the limit, ∫02f(x)dx=limn→∞(3+2n)=3.\int_{0}^{2} f(x)\,dx = \lim_{n\to\infty}\left(3+\frac{2}{n}\right) = 3.

3\boxed{3}

Original worksheet page 2: question and worked solution for 5-6-009

Original worksheet layout. Use Enlarge or open the PDF for a closer view.