We have begun to see several reasons why we are interested in the area that lies between a given curve \(y=f(x)\) and the \(x\)-axis. The notion of a Riemann sum provides a formal symbolic way to consider approximations to this area. The notation that corresponds with Riemann sums is complicated: indeed, we will often consider expressions such as \(\displaystyle L_{n}=\sum_{i=0}^{n-1}f(x_{i})\cdot \Delta x\text{,}\) and it is essential that you work to make sense of this notation and what it represents. As we progress from estimating certain areas to finding those areas exactly, we will soon start to use limits along with Riemann sums. There, too, it is essential that you recognize what a Riemann sum represents. At the core of all of this, donβt miss the fundamentally simple idea at the foundation: \(f(x_{i})\cdot \Delta x\) represents the area of a certain rectangle.
These are the tasks you should be able to perform with reasonable fluency when you arrive at our next class meeting. Important new vocabulary words are indicated in italics.
Use basic notation for a Riemann sum. That is, when we write \(\sum_{i=1}^{n}f(x_{i}) \Delta x\text{,}\) to know what this represents geometrically and what this quantity aspires to measure.
Prompt Copilot βHow is sigma notation related to for loops that are written in computer code?β Follow up the response with prompting βIs there a more appropriate analogy for sigma notation than for loops that I mentioned above?β
Determine a lower estimate for the area using the four rectangles in FigureΒ 109. Notice the last rectangle has zero height! This is a right sum, \(R_{4}\text{.}\)
If \(f(x) = 1-x^{2}\text{,}\) which of these gives an upper estimate for the area under the curve \(y=f(x)\text{,}\) above the \(x\)-axis, between \(x=0\) and \(x=1\text{?}\) which gives a lower estimate? what does the third quantity represent? Sketch it on the graph in FigureΒ 110.
Many applets and packaged software can compute areas of these approximating rectangles quickly. Use the applet The Riemann Sum to compute the value of a left, right, and middle sum using \(n=4\) rectangles. [The middle sum is shown in FigureΒ 111.]
Prompt Copilot βPlease produce and execute Python code that illustrates a Riemann sum of the function f(x)=x\(\wedge\)2+1 from x=1 to x=3 using n=5 rectangles.β Does the AI produce a left or a right Riemann sum? Does the AI give you a correct value for the sum being illustrated?
Calculate the value of the left and right Riemann sum with a calculator. Verify your result using both this Riemann Sum applet and a spreadsheet such as Excel.
Based on your answer above, give approximate lower and upper bounds on the area under \(y=\ln 4x\text{,}\) above the \(x\)-axis, and between \(x=1\) and \(x=3\text{.}\)
The middle sum is illustrated in FigureΒ 115. Note that to move the endpoints, just drag the blue dots to 0 and 1 accordingly. Also, to stretch the axes, the SHIFT key can be held as you drag either the \(x\)- or \(y\)-axis.