Riemann integral
basic type of integral in elementary calculus
≈ 17 min read
Riemann integral. encyclopegia.org, snapshot riemann-integral-079995-46857a2e366a1b0c. /a/riemann-integral
Names in other languages
- Françaisintégrale de Riemann
- PortuguêsIntegral de Riemann
- euRiemannen integral
- skRiemannov integrál
- EnglishRiemann integral
- PolskiCałka Riemanna
- 简体中文黎曼积分
- 繁體中文黎曼積分
- 中文黎曼積分
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
s), showing the approximation error for the various schemes as the width of the partition tends to zero In real analysis, the Riemann integral is a rigorous definition of the integral of a function on an interval. It defines the integral by approximating the region under the graph of a function by finite sums of areas of vertical rectangles.
For suitable functions, including every continuous function on a closed bounded interval, these Riemann sums approach a single limiting value as the partitions of the interval become finer. That limiting value defines the integral, and Riemann sums that are suitably close to the limit can be used as numerical approximations.
Bernhard Riemann introduced the integral in work presented to the faculty at the University of Göttingen in 1854 and published in 18681. It is the integral most commonly introduced in elementary calculus, although in advanced analysis it is often replaced by more general notions such as the Lebesgue integral.
S = \left \{ (x, y)\,: \,a \leq x \leq b\,,\, 0 To measure this area, we use a Riemann integral, which is written as: \int_a^b f(x)\,dx. This notation means “the integral of from to ,” and it represents the exact area under the curve and above the -axis, between and .
The idea behind the Riemann integral is to break the area into small, simple shapes (like rectangles), add up their areas, and then make the rectangles smaller and smaller to get a better estimate. In the end, when the rectangles are infinitely small, the sum gives the exact area, which is what the integral represents. If the curve dips below the -axis, the integral gives a signed area.
This means the integral adds the part above the -axis as positive and subtracts the part below the -axis as negative. So, the result of \int_a^b f(x)\,dx can be positive, negative, or zero, depending on how much of the curve is above or below the -axis. a = x_0 Each is called a sub-interval of the partition.
The mesh or norm of a partition is defined to be the length of the longest sub-interval, that is, \max \left(x_{i+1}-x_i\right), \quad i \in [0,n-1]. A tagged partition of an interval is a partition together with a choice of a sample point within each sub-interval: that is, numbers with for each . The mesh of a tagged partition is the same as that of an ordinary partition.
A partition Q is said to refine a partition P if the intervals in the partition Q are all subintervals of the intervals in the partition P , so that the points marking the partition in Q include those of P and possibly others making it finer. A refinement of a tagged partition is defined so that each tag t_i of P is a tag of some interval in Q . We can turn the set of all tagged partitions into a directed set by saying that one tagged partition is greater than or equal to another if the former is a refinement of the latter. \sum_{i=0}^{n-1} f(t_i) \left(x_{i+1}-x_i\right).
Each term in the sum is the product of the value of the function at a given point and the length of an interval. Consequently, each term represents the (signed) area of a rectangle with height and width . The Riemann sum is the (signed) area of all the rectangles.
Closely related concepts are the lower and upper Darboux sums. These are similar to Riemann sums, but the tags are replaced by the infimum and supremum (respectively) of on each sub-interval: \begin{align} L(f, P) &= \sum_{i=0}^{n-1} \inf_{t \in [x_i, x_{i+1}]} f(t)(x_{i+1} - x_i), \\ U(f, P) &= \sum_{i=0}^{n-1} \sup_{t \in [x_i, x_{i+1}]} f(t)(x_{i+1} - x_i). \end{align} If is continuous, then the lower and upper Darboux sums for an untagged partition are equal to the Riemann sum for that partition, where the tags are chosen to be the minimum or maximum (respectively) of on each subinterval.
(When is discontinuous on a subinterval, there may not be a tag that achieves the infimum or supremum on that subinterval.) The Darboux integral, which is similar to the Riemann integral but based on Darboux sums, is equivalent to the Riemann integral.
Riemann integral
Loosely speaking, the Riemann integral is the limit of the Riemann sums of a function as the partitions get finer. If the limit exists then the function is said to be integrable (or more specifically Riemann-integrable). The Riemann sum can be made as close as desired to the Riemann integral by making the partition fine enough.
One important requirement is that the mesh of the partitions must become smaller and smaller, so that it has the limit zero. If this were not so, then we would not be getting a good approximation to the function on certain subintervals. In fact, this is enough to define an integral.
To be specific, we say that the Riemann integral of exists and equals if the following condition holds: For all , there exists such that for any tagged partition and whose mesh is less than , we have \left| \left( \sum_{i=0}^{n-1} f(t_i) (x_{i+1}-x_i) \right) - s\right| Unfortunately, this definition is very difficult to use. It would help to develop an equivalent definition of the Riemann integral which is easier to work with.
We develop this definition now, with a proof of equivalence following. Our new definition says that the Riemann integral of exists and equals if the following condition holds: For all , there exists a tagged partition and such that for any tagged partition and which is a refinement of and , we have \left| \left( \sum_{i=0}^{n-1} f(t_i) (x_{i+1}-x_i) \right) - s\right| Both of these mean that eventually, the Riemann sum of with respect to any partition gets trapped close to .
Since this is true no matter how close we demand the sums be trapped, we say that the Riemann sums converge to . These definitions are actually a special case of a more general concept, a net. As we stated earlier, these two definitions are equivalent.
In other words, works in the first definition if and only if works in the second definition. To show that the first definition implies the second, start with an , and choose a that satisfies the condition. Choose any tagged partition whose mesh is less than .
Its Riemann sum is within of , and any refinement of this partition will also have mesh less than , so the Riemann sum of the refinement will also be within of . To show that the second definition implies the first, it is easiest to use the Darboux integral.
First, one shows that the second definition is equivalent to the definition of the Darboux integral; for this see the Darboux integral article. Now we will show that a Darboux integrable function satisfies the first definition. Fix , and choose a partition such that the lower and upper Darboux sums with respect to this partition are within of the value of the Darboux integral.
Let r = 2\sup_{x \in [a, b]} |f(x)|. If , then is the zero function, which is clearly both Darboux and Riemann integrable with integral zero. Therefore, we will assume that .
If , then we choose such that \delta If , then we choose to be less than one. Choose a tagged partition and with mesh smaller than . We must show that the Riemann sum is within of .
To see this, choose an interval . If this interval is contained within some , then m_j \leq f(t_i) \leq M_j where and are respectively, the infimum and the supremum of f on . If all intervals had this property, then this would conclude the proof, because each term in the Riemann sum would be bounded by a corresponding term in the Darboux sums, and we chose the Darboux sums to be near .
This is the case when , so the proof is finished in that case. Therefore, we may assume that . In this case, it is possible that one of the is not contained in any .
Instead, it may stretch across two of the intervals determined by . (It cannot meet three intervals because is assumed to be smaller than the length of any one interval.) In symbols, it may happen that y_j (We may assume that all the inequalities are strict because otherwise we are in the previous case by our assumption on the length of .)
This can happen at most times. To handle this case, we will estimate the difference between the Riemann sum and the Darboux sum by subdividing the partition at . The term in the Riemann sum splits into two terms: f\left(t_i\right)\left(x_{i+1}-x_i\right) = f\left(t_i\right)\left(x_{i+1}-y_{j+1}\right)+f\left(t_i\right)\left(y_{j+1}-x_i\right).
Suppose, without loss of generality, that . Then m_j \leq f(t_i) \leq M_j, so this term is bounded by the corresponding term in the Darboux sum for .
To bound the other term, notice that x_{i+1}-y_{j+1} It follows that, for some (indeed any) , \left|f\left(t_i\right)-f\left(t_i^*\right)\right|\left(x_{i+1}-y_{j+1}\right) Since this happens at most times, the distance between the Riemann sum and a Darboux sum is at most . Therefore, the distance between the Riemann sum and is at most . \left [t_i - \frac{\delta}{2}, t_i + \frac{\delta}{2} \right ].
If is directly on top of one of the , then we let be the tag for both intervals: \left [t_i - \frac{\delta}{2}, x_j \right ], \quad\text{and}\quad \left [x_j,t_i + \frac{\delta}{2} \right ]. We still have to choose tags for the other subintervals. We will choose them in two different ways.
The first way is to always choose a rational point, so that the Riemann sum is as large as possible. This will make the value of the Riemann sum at least . The second way is to always choose an irrational point, so that the Riemann sum is as small as possible.
This will make the value of the Riemann sum at most . Since we started from an arbitrary partition and ended up as close as we wanted to either zero or one, it is false to say that we are eventually trapped near some number , so this function is not Riemann integrable. However, it is Lebesgue integrable.
In the Lebesgue sense its integral is zero, since the function is zero almost everywhere. But this is a fact that is beyond the reach of the Riemann integral. There are even worse examples.
I_{\Q} is equivalent (that is, equal almost everywhere) to a Riemann integrable function, but there are non-Riemann integrable bounded functions which are not equivalent to any Riemann integrable function. For example, let be the Smith–Volterra–Cantor set, and let be its indicator function. Because is not Jordan measurable, is not Riemann integrable.
Moreover, no function equivalent to is Riemann integrable: , like , must be zero on a dense set, so as in the previous example, any Riemann sum of has a refinement which is within of 0 for any positive number . But if the Riemann integral of exists, then it must equal the Lebesgue integral of , which is .
Therefore, is not Riemann integrable. \left [0, \frac{1}{n} \right], \left [\frac{1}{n}, \frac{2}{n} \right], \ldots, \left[\frac{n-1}{n}, 1 \right]. Again, alone this restriction does not impose a problem, but the reasoning required to see this fact is more difficult than in the case of left-hand and right-hand Riemann sums.
However, combining these restrictions, so that one uses only left-hand or right-hand Riemann sums on regularly divided intervals, is dangerous. If a function is known in advance to be Riemann integrable, then this technique will give the correct value of the integral.
But under these conditions the indicator function I_{\Q} will appear to be integrable on with integral equal to one: Every endpoint of every subinterval will be a rational number, so the function will always be evaluated at rational numbers, and hence it will appear to always equal one. The problem with this definition becomes apparent when we try to split the integral into two pieces.
The following equation ought to hold: \int_0^{\sqrt{2}-1} I_\Q(x) \,dx + \int_{\sqrt{2}-1}^1 I_\Q(x) \,dx = \int_0^1 I_\Q(x) \,dx. If we use regular subdivisions and left-hand or right-hand Riemann sums, then the two terms on the left are equal to zero, since every endpoint except 0 and 1 will be irrational, but as we have seen the term on the right will equal 1.
As defined above, the Riemann integral avoids this problem by refusing to integrate I_{\Q}. The Lebesgue integral is defined in such a way that all these integrals are 0. \int_{a}^{b} (\alpha f(x) + \beta g(x))\,dx = \alpha \int_{a}^{b}f(x)\,dx + \beta \int_{a}^{b}g(x)\,dx.
Because the Riemann integral of a function is a number, this makes the Riemann integral a linear functional on the vector space of Riemann-integrable functions. \int_{a}^{b} f\, dx = \int_a^b{\lim_{n \to \infty}{f_n}\, dx} = \lim_{n \to \infty} \int_{a}^{b} f_n\, dx. However, the Lebesgue monotone convergence theorem (on a monotone pointwise limit) does not hold for Riemann integrals.
Thus, in Riemann integration, taking limits under the integral sign is far more difficult to logically justify than in Lebesgue integration. \int\mathbf{f} = \left(\int f_1,\,\dots, \int f_n\right). In particular, since the complex numbers are a real vector space, this allows the integration of complex valued functions.
The Riemann integral is only defined on bounded intervals, and it does not extend well to unbounded intervals. The simplest possible extension is to define such an integral as a limit, in other words, as an improper integral: \int_{-\infty}^\infty f(x)\,dx = \lim_{a \to -\infty \atop b \to \infty}\int_a^b f(x)\,dx.
This definition carries with it some subtleties, such as the fact that it is not always equivalent to compute the Cauchy principal value \lim_{a\to\infty} \int_{-a}^a f(x)\,dx. For example, consider the sign function which is 0 at , 1 for , and −1 for . By symmetry, \int_{-a}^a f(x)\,dx = 0 always, regardless of .
But there are many ways for the interval of integration to expand to fill the real line, and other ways can produce different results; in other words, the multivariate limit does not always exist. We can compute \begin{align} \int_{-a}^{2a} f(x)\,dx &= a, \\ \int_{-2a}^a f(x)\,dx &= -a. \end{align} In general, this improper Riemann integral is undefined.
Even standardizing a way for the interval to approach the real line does not work because it leads to disturbingly counterintuitive results. If we agree (for instance) that the improper integral should always be \lim_{a\to\infty} \int_{-a}^a f(x)\,dx, then the integral of the translation is −2, so this definition is not invariant under shifts, a highly undesirable property.
In fact, not only does this function not have an improper Riemann integral, its Lebesgue integral is also undefined (it equals ). Unfortunately, the improper Riemann integral is not powerful enough. The most severe problem is that there are no widely applicable theorems for commuting improper Riemann integrals with limits of functions.
In applications such as Fourier series it is important to be able to approximate the integral of a function using integrals of approximations to the function. For proper Riemann integrals, a standard theorem states that if is a sequence of functions that converge uniformly to on a compact set , then \lim_{n\to\infty} \int_a^b f_n(x)\,dx = \int_a^b f(x)\,dx.
On non-compact intervals such as the real line, this is false. For example, take to be on and zero elsewhere. For all we have: \int_{-\infty}^\infty f_n\,dx = 1.
The sequence converges uniformly to the zero function, and clearly the integral of the zero function is zero. Consequently, \int_{-\infty}^\infty f\,dx \neq \lim_{n\to\infty}\int_{-\infty}^\infty f_n\,dx. This demonstrates that for integrals on unbounded intervals, uniform convergence of a function is not strong enough to allow passing a limit through an integral sign.
This makes the Riemann integral unworkable in applications (even though the Riemann integral assigns both sides the correct value), because there is no other general criterion for exchanging a limit and a Riemann integral, and without such a criterion it is difficult to approximate integrals by approximating their integrands. A better route is to abandon the Riemann integral for the Lebesgue integral.
The definition of the Lebesgue integral is not obviously a generalization of the Riemann integral, but it is not hard to prove that every Riemann-integrable function is Lebesgue-integrable and that the values of the two integrals agree whenever they are both defined. Moreover, a function defined on a bounded interval is Riemann-integrable if and only if it is bounded and the set of points where is discontinuous has Lebesgue measure zero.
An integral which is in fact a direct generalization of the Riemann integral is the Henstock–Kurzweil integral. Another way of generalizing the Riemann integral is to replace the factors in the definition of a Riemann sum by something else; roughly speaking, this gives the interval of integration a different notion of length. This is the approach taken by the Riemann–Stieltjes integral.
In multivariable calculus, the Riemann integrals for functions from \R^n\to\R are multiple integrals.
Comparison with other theories of integration
The Riemann integral is unsuitable for many theoretical purposes. Some of the technical deficiencies in Riemann integration can be remedied with the Riemann–Stieltjes integral, and most disappear with the Lebesgue integral, though the latter does not have a satisfactory treatment of improper integrals.
The gauge integral is a generalisation of the Lebesgue integral that is at the same time closer to the Riemann integral. These more general theories allow for the integration of more "jagged" or "highly oscillating" functions whose Riemann integral does not exist; but the theories give the same value as the Riemann integral when it does exist.
In educational settings, the Darboux integral offers a simpler definition that is easier to work with; it can be used to introduce the Riemann integral. The Darboux integral is defined whenever the Riemann integral is, and always gives the same result.
Conversely, the gauge integral is a simple but more powerful generalization of the Riemann integral and has led some educators to advocate that it should replace the Riemann integral in introductory calculus courses.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1375878352 under CC BY-SA 4.0; modifications have been made.
References
- ↩Wikipedia “Riemann integral” publication date (×1) · confidence 0.95 revision URL