## Riemann Integration

Before continuing with methods of antidifferentiation, let’s consider another geometric problem: integration. Here’s an example:

We’ve got a function whose graph is drawn in red, and we want to find the area contained between the graph, the -axis, and the two blue lines at and . We’ll approximate this by cutting up this interval into pieces and choosing a sample point in each piece, like so:

Now we’ve just got a bunch of rectangles, and we can add up their areas to get

where is the value of the function at the th sample point, and is the width of the th strip. Now as we cut the strips thinner and thinner, our stairstep-like approximation to the function should get closer and closer to the real function, and our approximation to the area we’re interested in should get better and better.

So how can we formalize this process? First, let’s take an interval and think about how to cut it up the strips. We do this by picking a collection of points . We get a bunch of smaller intervals , and in each one we pick some . This structure we call a “tagged partition” of the interval . We define the “mesh” of a partition to be its thickest subinterval, , and we’ll want to somehow take this down to zero.

We can now see that the collection of all the tagged partitions of an interval form a directed set! We say that a tagged partition is a “refinement” of a tagged partition if every partition point is one of the , and every tag is one of the . That is, we get from to by splitting up some of the slices of and adding new tags to the new slices. Then we define if is a refinement of . This makes the collection of tagged partitions into a partially-ordered set.

To show that this is a directed set, consider any two tagged partitions and , and make a new partition by using all the partition points from each one. Now look at each slice in the new partition. It can’t have more than one tag or tag, so it has either zero, one, or two distinct tags. If it has no tags, add one. If it has one tag, do nothing. If it has two distinct tags, split it between them (notice how we’re using the topology of to say we *can* make this split). At the end, we’ve got a new partition that refines *both* of and . And thus we have a directed set.

Now if we have a function on , we can get a net on this directed set. Given any tagged partition , we define the “Riemann sum”

Finally, we say that the function is “Riemann integrable” if this net converges to a limit , and in this case we define the “Riemann integral” of :

which is, at last, the area under the curve as we set out to find.

What software do you use for plotting graphs? I presume it is open source.

Comment by Vishal | January 30, 2008 |

Actually, no. I have an old version of Maple banging around which gets more and more brain-damaged with the passing years. I doubt anyone but me could make it work anymore, since I happen to know its quirks. For example, the above images are in GIF format because the JPEG exporter is broken.

If I had a readily available open-source (or even freeware) program to plot graphs I’d use it. As it stands, Maple is around and I use the tools at hand. That might change when I get my new computer soon.

Comment by John Armstrong | January 30, 2008 |

[...] Okay, defining the integral as the limit of a net of Riemann sums is all well and good, but it’s a huge net, and it seems impossible to calculate with. We need [...]

Pingback by Darboux Integration « The Unapologetic Mathematician | January 30, 2008 |

[...] Okay, we know what it means for a function to be integrable (in either of the equivalent Riemann or Darboux senses), but we don’t yet know any functions to actually be integrable. I [...]

Pingback by Some integrable functions « The Unapologetic Mathematician | February 1, 2008 |

[...] we have a function and an interval , and we need to find . We’ve got these big, messy Riemann sums (or Darboux sums), and there’s a lot of work to compute the integral by hand. But notice that [...]

Pingback by How to Use the FToC « The Unapologetic Mathematician | February 18, 2008 |

[...] let’s look back and see what integration is really calculating. We started in on integration by trying to find the area between the horizontal axis and the graph of a positive function. But [...]

Pingback by Integration gives signed areas « The Unapologetic Mathematician | February 19, 2008 |

Very super your explanation

Comment by lalitha | February 27, 2008 |

[...] Riemann-Stieltjes Integral I Today I want to give a modification of the Riemann integral which helps give insight into the change of variables [...]

Pingback by The Riemann-Stieltjes Integral I « The Unapologetic Mathematician | February 28, 2008 |

[...] Integrals I We’ve dealt with Riemann integrals and their extensions to Riemann-Stieltjes integrals. But these are both defined to integrate a [...]

Pingback by Improper Integrals I « The Unapologetic Mathematician | April 18, 2008 |

riemann integral is realy good..but u can also lay your hands on other integrals like lebesgue integrals,henstock integrals and darboux integrals.they will realy help you.. UNAABite

Comment by obi kenneth-CEO ,KOBIA-TECHNOLOGY | July 15, 2008 |

Yes, I’m aware of other integrals. I’m trying to cover things in some semblance of order, though, and I’m not nearly there yet.

Comment by John Armstrong | July 15, 2008 |

[...] notice that this is just a Riemann sum for the function . Since is continuous, we know that it’s Riemann integrable, and so as [...]

Pingback by Step Function Integrators « The Unapologetic Mathematician | March 14, 2009 |

[...] What’s Next? Last May we started talking about linear algebra, with a little aside into complex numbers and another into power series along the way. Before that all, long long ago, we were talking about single variable calculus. Specifically, we were studying functions which took a real number in and gave a real number back out, and the two main aspects to this study: differentiation and integration. [...]

Pingback by What’s Next? « The Unapologetic Mathematician | September 10, 2009 |

[...] Our coverage of multiple integrals will actually parallel our earlier coverage of Riemann integrals pretty closely. Only now we have to change our notion of “interval” to a [...]

Pingback by Higher-Dimensional Riemann Integrals « The Unapologetic Mathematician | December 1, 2009 |

[...] measures the volume contained between the graph of the function and the – plane within the rectangle. If we fix some constant between and we can calculate the single integral [...]

Pingback by Iterated Integrals I « The Unapologetic Mathematician | December 16, 2009 |

[...] : the measure ! In fact, if you go back to the “area under the curve” definition of the Riemann integral, this makes sense: the graph of is a “rectangle” (possibly in many pieces) with one [...]

Pingback by Integrating Simple Functions « The Unapologetic Mathematician | May 24, 2010 |

[...] as the “area under the graph”, which was the motivation behind our definition of the Riemann integral, way back when we introduced [...]

Pingback by The Measures of Ordinate Sets « The Unapologetic Mathematician | July 26, 2010 |