Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Riemann integral
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Basic integral in elementary calculus}} [[File:Integral as region under curve.svg|thumb|right|The integral as the area of a region under a curve.]] [[File:Riemann integral regular.gif|thumb|right|A sequence of Riemann sums over a regular partition of an interval. The number on top is the total area of the rectangles, which converges to the integral of the function.]] [[File:Riemann integral irregular.gif|thumb|right|The partition does not need to be regular, as shown here. The approximation works as long as the width of each subdivision tends to zero.]] {{Calculus|Integral}} In the branch of [[mathematics]] known as [[real analysis]], the '''Riemann integral''', created by [[Bernhard Riemann]], was the first rigorous definition of the [[integral]] of a [[function (mathematics)|function]] on an [[Interval (mathematics)|interval]]. It was presented to the faculty at the [[University of Göttingen]] in 1854, but not published in a journal until 1868.<ref>The Riemann integral was introduced in Bernhard Riemann's paper "Über die Darstellbarkeit einer Function durch eine trigonometrische Reihe" (On the representability of a function by a trigonometric series; i.e., when can a function be represented by a trigonometric series). This paper was submitted to the University of Göttingen in 1854 as Riemann's ''Habilitationsschrift'' (qualification to become an instructor). It was published in 1868 in ''Abhandlungen der Königlichen Gesellschaft der Wissenschaften zu Göttingen'' (Proceedings of the Royal Philosophical Society at Göttingen), vol. 13, pages 87-132. (Available online [https://books.google.com/books?id=PDVFAAAAcAAJ&pg=RA1-PA87 here].) For Riemann's definition of his integral, see section 4, "Über den Begriff eines bestimmten Integrals und den Umfang seiner Gültigkeit" (On the concept of a definite integral and the extent of its validity), pages 101–103.</ref> For many functions and practical applications, the Riemann integral can be evaluated by the [[fundamental theorem of calculus]] or approximated by [[numerical integration]], or simulated using [[Monte Carlo integration]]. == Overview == Imagine you have a curve on a graph, and the curve stays above the x-axis between two points, a and b. The area under that curve, from a to b, is what we want to figure out. This area can be described as the set of all points (x, y) on the graph that follow these rules: a ≤ x ≤ b (the x-coordinate is between a and b) and 0 < y < f(x) (the y-coordinate is between 0 and the height of the curve f(x)). Mathematically, this region can be expressed in [[set-builder notation]] as <math display="block">S = \left \{ (x, y)\,: \,a \leq x \leq b\,,\, 0 < y < f(x) \right \}.</math> To measure this area, we use a '''Riemann integral''', which is written as: <math display="block">\int_a^b f(x)\,dx.</math> This notation means “the integral of f(x) from a to b,” and it represents the exact area under the curve f(x) and above the x-axis, between x = a and x = b. 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 x-axis, the integral gives a '''signed area'''. This means the integral adds the part above the x-axis as positive and subtracts the part below the x-axis as negative. So, the result of <math>\int_a^b f(x)\,dx</math> can be positive, negative, or zero, depending on how much of the curve is above or below the x-axis. == Definition == === Partitions of an interval === {{Main|Partition of an interval}} A '''partition''' of an interval {{math|[''a'', ''b'']}} is a finite sequence of numbers of the form <math display="block">a = x_0 < x_1 < x_2 < \dots < x_i < \dots < x_n = b</math> Each {{math|[''x<sub>i</sub>'', ''x''<sub>''i'' + 1</sub>]}} 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, <math display="block">\max \left(x_{i+1}-x_i\right), \quad i \in [0,n-1].</math> A '''tagged partition''' {{math|''P''(''x'', ''t'')}} of an interval {{math|[''a'', ''b'']}} is a partition together with a choice of a sample point within each sub-interval: that is, numbers {{math|''t''<sub>0</sub>, ..., ''t''<sub>''n'' − 1</sub>}} with {{math|''t<sub>i</sub>'' ∈ [''x<sub>i</sub>'', ''x''<sub>''i'' + 1</sub>]}} for each {{mvar|i}}. The mesh of a tagged partition is the same as that of an ordinary partition. Suppose that two partitions {{math|''P''(''x'', ''t'')}} and {{math|''Q''(''y'', ''s'')}} are both partitions of the interval {{math|[''a'', ''b'']}}. We say that {{math|''Q''(''y'', ''s'')}} is a '''refinement''' of {{math|''P''(''x'', ''t'')}} if for each integer {{mvar|i}}, with {{math|''i'' ∈ [0, ''n'']}}, there exists an integer {{math|''r''(''i'')}} such that {{math|''x<sub>i</sub>'' {{=}} ''y''<sub>''r''(''i'')</sub>}} and such that {{math|''t<sub>i</sub>'' {{=}} ''s<sub>j</sub>''}} for some {{mvar|j}} with {{math|''j'' ∈ [''r''(''i''), ''r''(''i'' + 1)]}}. That is, a tagged partition breaks up some of the sub-intervals and adds sample points where necessary, "refining" the accuracy of the partition. 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. === Riemann sum === {{Main|Riemann sum}} Let {{mvar|f}} be a real-valued function defined on the interval {{math|[''a'', ''b'']}}. The '''Riemann sum''' of {{mvar|f}} with respect to a tagged partition {{math|''P''(''x'', ''t'')}} of {{math|[''a'', ''b'']}} is<ref>{{Cite book |last=Krantz |first=Steven G. |url=https://www.worldcat.org/oclc/56214595 |title=Real Analysis and Foundations |date=2005 |publisher=Chapman & Hall/CRC |isbn=1-58488-483-5 |location=Boca Raton, Fla. |oclc=56214595 |page=173}}</ref> <math display="block">\sum_{i=0}^{n-1} f(t_i) \left(x_{i+1}-x_i\right).</math> 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 {{math|''f''(''t<sub>i</sub>'')}} and width {{math|''x''<sub>''i'' + 1</sub> − ''x<sub>i</sub>''}}. 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 {{mvar|f}} on each sub-interval: <math display="block">\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}</math> If {{mvar|f}} 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 {{mvar|f}} on each subinterval. (When {{mvar|f}} 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. === {{anchor|Riemann-integrable}} Riemann integral === Loosely speaking, the Riemann integral is the limit of the [[Riemann sum]]s 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.<ref>{{Cite book|last=Taylor|first=Michael E. |author-link=Michael E. Taylor|title=Measure Theory and Integration| publisher=American Mathematical Society |year=2006 |isbn=9780821872468 |page=1|url=https://books.google.com/books?id=P_zJA-E5oe4C&pg=PA1}}</ref> 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 {{mvar|f}} exists and equals {{mvar|s}} if the following condition holds: <blockquote>For all {{math|''ε'' > 0}}, there exists {{math|''δ'' > 0}} such that for any [[Partition of an interval|tagged partition]] {{math|''x''<sub>0</sub>, ..., ''x<sub>n</sub>''}} and {{math|''t''<sub>0</sub>, ..., ''t''<sub>''n'' − 1</sub>}} whose mesh is less than {{mvar|δ}}, we have <math display="block">\left| \left( \sum_{i=0}^{n-1} f(t_i) (x_{i+1}-x_i) \right) - s\right| < \varepsilon.</math></blockquote> 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 {{mvar|f}} exists and equals {{mvar|s}} if the following condition holds: <blockquote>For all {{math|''ε'' > 0}}, there exists a tagged partition {{math|''y''<sub>0</sub>, ..., ''y<sub>m</sub>''}} and {{math|''r''<sub>0</sub>, ..., ''r''<sub>''m'' − 1</sub>}} such that for any tagged partition {{math|''x''<sub>0</sub>, ..., ''x<sub>n</sub>''}} and {{math|''t''<sub>0</sub>, ..., ''t''<sub>''n'' − 1</sub>}} which is a refinement of {{math|''y''<sub>0</sub>, ..., ''y<sub>m</sub>''}} and {{math|''r''<sub>0</sub>, ..., ''r''<sub>''m'' − 1</sub>}}, we have <math display="block">\left| \left( \sum_{i=0}^{n-1} f(t_i) (x_{i+1}-x_i) \right) - s\right| < \varepsilon.</math></blockquote> Both of these mean that eventually, the Riemann sum of {{mvar|f}} with respect to any partition gets trapped close to {{mvar|s}}. Since this is true no matter how close we demand the sums be trapped, we say that the Riemann sums converge to {{mvar|s}}. These definitions are actually a special case of a more general concept, a [[net (mathematics)|net]]. As we stated earlier, these two definitions are equivalent. In other words, {{mvar|s}} works in the first definition if and only if {{mvar|s}} works in the second definition. To show that the first definition implies the second, start with an {{mvar|ε}}, and choose a {{mvar|δ}} that satisfies the condition. Choose any tagged partition whose mesh is less than {{mvar|δ}}. Its Riemann sum is within {{mvar|ε}} of {{mvar|s}}, and any refinement of this partition will also have mesh less than {{mvar|δ}}, so the Riemann sum of the refinement will also be within {{mvar|ε}} of {{mvar|s}}. 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 {{mvar|ε}}, and choose a partition {{math|''y''<sub>0</sub>, ..., ''y<sub>m</sub>''}} such that the lower and upper Darboux sums with respect to this partition are within {{math|''ε''/2}} of the value {{mvar|s}} of the Darboux integral. Let <math display="block"> r = 2\sup_{x \in [a, b]} |f(x)|.</math> If {{math|''r'' {{=}} 0}}, then {{mvar|f}} is the zero function, which is clearly both Darboux and Riemann integrable with integral zero. Therefore, we will assume that {{math|''r'' > 0}}. If {{math|''m'' > 1}}, then we choose {{mvar|δ}} such that <math display="block">\delta < \min \left \{\frac{\varepsilon}{2r(m-1)}, \left(y_1 - y_0\right), \left(y_2 - y_1\right), \cdots, \left(y_m - y_{m-1}\right) \right \}</math> If {{math|''m'' {{=}} 1}}, then we choose {{mvar|δ}} to be less than one. Choose a tagged partition {{math|''x''<sub>0</sub>, ..., ''x<sub>n</sub>''}} and {{math|''t''<sub>0</sub>, ..., ''t''<sub>''n'' − 1</sub>}} with mesh smaller than {{mvar|δ}}. We must show that the Riemann sum is within {{mvar|ε}} of {{mvar|s}}. To see this, choose an interval {{math|[''x<sub>i</sub>'', ''x''<sub>''i'' + 1</sub>]}}. If this interval is contained within some {{math|[''y<sub>j</sub>'', ''y''<sub>''j'' + 1</sub>]}}, then <math display="block"> m_j \leq f(t_i) \leq M_j</math> where {{mvar|m<sub>j</sub>}} and {{mvar|M<sub>j</sub>}} are respectively, the infimum and the supremum of ''f'' on {{math|[''y<sub>j</sub>'', ''y''<sub>''j'' + 1</sub>]}}. 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 {{mvar|s}}. This is the case when {{math|''m'' {{=}} 1}}, so the proof is finished in that case. Therefore, we may assume that {{math|''m'' > 1}}. In this case, it is possible that one of the {{math|[''x<sub>i</sub>'', ''x''<sub>''i'' + 1</sub>]}} is not contained in any {{math|[''y<sub>j</sub>'', ''y''<sub>''j'' + 1</sub>]}}. Instead, it may stretch across two of the intervals determined by {{math|''y''<sub>0</sub>, ..., ''y<sub>m</sub>''}}. (It cannot meet three intervals because {{mvar|δ}} is assumed to be smaller than the length of any one interval.) In symbols, it may happen that <math display="block">y_j < x_i < y_{j+1} < x_{i+1} < y_{j+2}.</math> (We may assume that all the inequalities are strict because otherwise we are in the previous case by our assumption on the length of {{mvar|δ}}.) This can happen at most {{math|''m'' − 1}} times. To handle this case, we will estimate the difference between the Riemann sum and the Darboux sum by subdividing the partition {{math|''x''<sub>0</sub>, ..., ''x<sub>n</sub>''}} at {{math|''y''<sub>''j'' + 1</sub>}}. The term {{math|''f''(''t<sub>i</sub>'')(''x''<sub>''i'' + 1</sub> − ''x<sub>i</sub>'')}} in the Riemann sum splits into two terms: <math display="block">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).</math> Suppose, [[without loss of generality]], that {{math|''t<sub>i</sub>'' ∈ [''y<sub>j</sub>'', ''y''<sub>''j'' + 1</sub>]}}. Then <math display="block">m_j \leq f(t_i) \leq M_j,</math> so this term is bounded by the corresponding term in the Darboux sum for {{mvar|y<sub>j</sub>}}. To bound the other term, notice that <math display="block">x_{i+1}-y_{j+1} < \delta < \frac{\varepsilon}{2r(m-1)},</math> It follows that, for some (indeed any) {{math|''t''{{su|b=''i''|p=*}} ∈ [''y''<sub>''j'' + 1</sub>, ''x''<sub>''i'' + 1</sub>]}}, <math display="block">\left|f\left(t_i\right)-f\left(t_i^*\right)\right|\left(x_{i+1}-y_{j+1}\right) < \frac{\varepsilon}{2(m-1)}.</math> Since this happens at most {{math|''m'' − 1}} times, the distance between the Riemann sum and a Darboux sum is at most {{math|''ε''/2}}. Therefore, the distance between the Riemann sum and {{mvar|s}} is at most {{mvar|ε}}. == Examples == Let <math>f:[0,1]\to\R</math> be the function which takes the value 1 at every point. Any Riemann sum of {{mvar|f}} on {{math|[0, 1]}} will have the value 1, therefore the Riemann integral of {{mvar|f}} on {{math|[0, 1]}} is 1. Let <math>I_{\Q}:[0,1]\to\R</math> be the [[indicator function]] of the rational numbers in {{math|[0, 1]}}; that is, <math>I_{\Q}</math> takes the value 1 on rational numbers and 0 on irrational numbers. This function does not have a Riemann integral. To prove this, we will show how to construct tagged partitions whose Riemann sums get arbitrarily close to both zero and one. To start, let {{math|''x''<sub>0</sub>, ..., ''x<sub>n</sub>''}} and {{math|''t''<sub>0</sub>, ..., ''t''<sub>''n'' − 1</sub>}} be a tagged partition (each {{mvar|t<sub>i</sub>}} is between {{mvar|x<sub>i</sub>}} and {{math|''x''<sub>''i'' + 1</sub>}}). Choose {{math|''ε'' > 0}}. The {{mvar|t<sub>i</sub>}} have already been chosen, and we can't change the value of {{mvar|f}} at those points. But if we cut the partition into tiny pieces around each {{mvar|t<sub>i</sub>}}, we can minimize the effect of the {{mvar|t<sub>i</sub>}}. Then, by carefully choosing the new tags, we can make the value of the Riemann sum turn out to be within {{mvar|ε}} of either zero or one. Our first step is to cut up the partition. There are {{mvar|n}} of the {{mvar|t<sub>i</sub>}}, and we want their total effect to be less than {{mvar|ε}}. If we confine each of them to an interval of length less than {{math|''ε''/''n''}}, then the contribution of each {{mvar|t<sub>i</sub>}} to the Riemann sum will be at least {{math|0 · ''ε''/''n''}} and at most {{math|1 · ''ε''/''n''}}. This makes the total sum at least zero and at most {{mvar|ε}}. So let {{mvar|δ}} be a positive number less than {{math|''ε''/''n''}}. If it happens that two of the {{mvar|t<sub>i</sub>}} are within {{mvar|δ}} of each other, choose {{mvar|δ}} smaller. If it happens that some {{mvar|t<sub>i</sub>}} is within {{mvar|δ}} of some {{mvar|x<sub>j</sub>}}, and {{mvar|t<sub>i</sub>}} is not equal to {{mvar|x<sub>j</sub>}}, choose {{mvar|δ}} smaller. Since there are only finitely many {{mvar|t<sub>i</sub>}} and {{mvar|x<sub>j</sub>}}, we can always choose {{mvar|δ}} sufficiently small. Now we add two cuts to the partition for each {{mvar|t<sub>i</sub>}}. One of the cuts will be at {{math|''t<sub>i</sub>'' − ''δ''/2}}, and the other will be at {{math|''t<sub>i</sub>'' + ''δ''/2}}. If one of these leaves the interval [0, 1], then we leave it out. {{mvar|t<sub>i</sub>}} will be the tag corresponding to the subinterval <math display="block">\left [t_i - \frac{\delta}{2}, t_i + \frac{\delta}{2} \right ].</math> If {{mvar|t<sub>i</sub>}} is directly on top of one of the {{mvar|x<sub>j</sub>}}, then we let {{mvar|t<sub>i</sub>}} be the tag for both intervals: <math display="block">\left [t_i - \frac{\delta}{2}, x_j \right ], \quad\text{and}\quad \left [x_j,t_i + \frac{\delta}{2} \right ].</math> 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 {{math|1 − ''ε''}}. 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 {{mvar|ε}}. 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 {{mvar|s}}, so this function is not Riemann integrable. However, it is [[Lebesgue integral|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. <math>I_{\Q}</math> 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 {{mvar|C}} be the [[Smith–Volterra–Cantor set]], and let {{math|''I<sub>C</sub>''}} be its indicator function. Because {{mvar|C}} is not [[Jordan measure|Jordan measurable]], {{math|''I<sub>C</sub>''}} is not Riemann integrable. Moreover, no function {{mvar|g}} equivalent to {{math|''I<sub>C</sub>''}} is Riemann integrable: {{mvar|g}}, like {{math|''I<sub>C</sub>''}}, must be zero on a dense set, so as in the previous example, any Riemann sum of {{mvar|g}} has a refinement which is within {{mvar|ε}} of 0 for any positive number {{mvar|ε}}. But if the Riemann integral of {{mvar|g}} exists, then it must equal the Lebesgue integral of {{math|''I<sub>C</sub>''}}, which is {{math|1/2}}. Therefore, {{mvar|g}} is not Riemann integrable. == Similar concepts == It is popular to define the Riemann integral as the [[Darboux integral]]. This is because the Darboux integral is technically simpler and because a function is Riemann-integrable if and only if it is Darboux-integrable. Some calculus books do not use general tagged partitions, but limit themselves to specific types of tagged partitions. If the type of partition is limited too much, some non-integrable functions may appear to be integrable. One popular restriction is the use of "left-hand" and "right-hand" Riemann sums. In a left-hand Riemann sum, {{math|''t<sub>i</sub>'' {{=}} ''x<sub>i</sub>''}} for all {{mvar|i}}, and in a right-hand Riemann sum, {{math|''t<sub>i</sub>'' {{=}} ''x''<sub>''i'' + 1</sub>}} for all {{mvar|i}}. Alone this restriction does not impose a problem: we can refine any partition in a way that makes it a left-hand or right-hand sum by subdividing it at each {{mvar|t<sub>i</sub>}}. In more formal language, the set of all left-hand Riemann sums and the set of all right-hand Riemann sums is [[cofinal (mathematics)|cofinal]] in the set of all tagged partitions. Another popular restriction is the use of regular subdivisions of an interval. For example, the {{mvar|n}}th regular subdivision of {{math|[0, 1]}} consists of the intervals <math display="block">\left [0, \frac{1}{n} \right], \left [\frac{1}{n}, \frac{2}{n} \right], \ldots, \left[\frac{n-1}{n}, 1 \right].</math> 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]] <math>I_{\Q}</math> will appear to be integrable on {{math|[0, 1]}} 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: <math display="block">\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.</math> 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 <math>I_{\Q}.</math> The Lebesgue integral is defined in such a way that all these integrals are 0. == Properties == === Linearity === The Riemann integral is a linear transformation; that is, if {{mvar|f}} and {{mvar|g}} are Riemann-integrable on {{math|[''a'', ''b'']}} and {{mvar|α}} and {{mvar|β}} are constants, then <math display="block">\int_{a}^{b} (\alpha f(x) + \beta g(x))\,dx = \alpha \int_{a}^{b}f(x)\,dx + \beta \int_{a}^{b}g(x)\,dx. </math> Because the Riemann integral of a function is a number, this makes the Riemann integral a [[Linear form|linear functional]] on the [[vector space]] of Riemann-integrable functions. == Integrability == A [[bounded function]] on a [[Compact space|compact interval]] {{math|[''a'', ''b'']}} is Riemann integrable if and only if it is [[continuous function|continuous]] [[almost everywhere]] (the set of its [[Classification of discontinuities|points of discontinuity]] has [[measure zero]], in the sense of [[Lebesgue measure]]). This is the '''{{visible anchor|Lebesgue-Vitali theorem|Lebesgue integrability condition}}''' (of characterization of the Riemann integrable functions). It has been proven independently by [[Giuseppe Vitali]] and by [[Henri Lebesgue]] in 1907, and uses the notion of [[measure zero]], but makes use of neither Lebesgue's general measure or integral. The integrability condition can be proven in various ways,<ref name="apostol169">{{harvnb|Apostol|1974|pp=169–172}}</ref><ref>{{Cite journal| issn = 0002-9890| volume = 43| issue = 7| pages = 396–398 | last = Brown| first = A. B.| title = A Proof of the Lebesgue Condition for Riemann Integrability| journal = The American Mathematical Monthly| date = September 1936| jstor = 2301737 | doi = 10.2307/2301737}}</ref><ref>Basic real analysis, by Houshang H. Sohrab, section 7.3, Sets of Measure Zero and Lebesgue’s Integrability Condition, [https://books.google.com/books?id=gBPI_oYZoMMC&pg=PA264 pp. 264–271]</ref><ref>''[http://ramanujan.math.trinity.edu/wtrench/texts/TRENCH_REAL_ANALYSIS.PDF Introduction to Real Analysis],'' updated April 2010, William F. Trench, 3.5 "A More Advanced Look at the Existence of the Proper Riemann Integral", pp. 171–177</ref> one of which is sketched below. {| class="toccolours collapsible collapsed" width="90%" style="text-align:left" !Proof |- |The proof is easiest using the [[Darboux integral]] definition of integrability (formally, the Riemann condition for integrability) – a function is Riemann integrable if and only if the upper and lower sums can be made arbitrarily close by choosing an appropriate partition. One direction can be proven using the [[Oscillation (mathematics)|oscillation]] definition of continuity:<ref>[http://unapologetic.wordpress.com/2009/12/15/lebesgues-condition/ Lebesgue’s Condition], John Armstrong, December 15, 2009, The Unapologetic Mathematician</ref> For every positive {{mvar|ε}}, Let {{math|''X''<sub>''ε''</sub>}} be the set of points in {{math|[''a'', ''b'']}} with oscillation of at least {{mvar|ε}}. Since every point where {{mvar|f}} is discontinuous has a positive oscillation and vice versa, the set of points in {{math|[''a'', ''b'']}}, where {{mvar|f}} is discontinuous is equal to the union over {{math|{''X''<sub>1/''n''</sub>}}} for all natural numbers {{mvar|n}}. If this set does not have zero [[Lebesgue measure]], then by [[countable additivity]] of the measure there is at least one such {{mvar|n}} so that {{math|''X''<sub>1/''n''</sub>}} does not have a zero measure. Thus there is some positive number {{mvar|c}} such that every [[countable]] collection of open intervals [[cover (topology)|covering]] {{math|''X''<sub>1/''n''</sub>}} has a total length of at least {{mvar|c}}. In particular this is also true for every such finite collection of intervals. This remains true also for {{math|''X''<sub>1/''n''</sub>}} less a finite number of points (as a finite number of points can always be covered by a finite collection of intervals with arbitrarily small total length). For every [[partition of an interval|partition of {{math|[''a'', ''b'']}}]], consider the set of intervals whose interiors include points from {{math|''X''<sub>1/''n''</sub>}}. These interiors consist of a finite open cover of {{math|''X''<sub>1/''n''</sub>}}, possibly up to a finite number of points (which may fall on interval edges). Thus these intervals have a total length of at least {{mvar|c}}. Since in these points {{mvar|f}} has oscillation of at least {{math|1/''n''}}, the [[infimum and supremum]] of {{mvar|f}} in each of these intervals differ by at least {{math|1/''n''}}. Thus the upper and lower sums of {{mvar|f}} differ by at least {{math|''c''/''n''}}. Since this is true for every partition, {{mvar|f}} is not Riemann integrable. We now prove the converse direction using the sets {{math|''X''<sub>''ε''</sub>}} defined above.<ref>[http://unapologetic.wordpress.com/2009/12/09/jordan-content-integrability-condition/ Jordan Content Integrability Condition], John Armstrong, December 9, 2009, The Unapologetic Mathematician</ref> For every {{mvar|ε}}, {{math|''X''<sub>''ε''</sub>}} is [[compact space|compact]], as it is bounded (by {{mvar|a}} and {{mvar|b}}) and closed: *For every series of points in {{math|''X''<sub>''ε''</sub>}} that is converging in {{math|[''a'', ''b'']}}, its limit is in {{math|''X''<sub>''ε''</sub>}} as well. This is because every neighborhood of the limit point is also a neighborhood of some point in {{math|''X''<sub>''ε''</sub>}}, and thus {{mvar|f}} has an oscillation of at least {{mvar|ε}} on it. Hence the limit point is in {{math|''X''<sub>''ε''</sub>}}. Now, suppose that {{mvar|f}} is continuous [[almost everywhere]]. Then for every {{mvar|ε}}, {{math|''X''<sub>''ε''</sub>}} has zero [[Lebesgue measure]]. Therefore, there is a countable collections of open intervals in {{math|[''a'', ''b'']}} which is an [[open cover]] of {{math|''X''<sub>''ε''</sub>}}, such that the sum over all their lengths is arbitrarily small. [[Compact space#Open cover definition|Since {{math|''X''<sub>''ε''</sub>}} is compact]], there is a finite [[subcover]] – a finite collections of open intervals in {{math|[''a'', ''b'']}} with arbitrarily small total length that together contain all points in {{math|''X''<sub>''ε''</sub>}}. We denote these intervals {{math|{''I''(''ε'')<sub>''i''</sub>}}}, for {{math|1 ≤ ''i'' ≤ ''k''}}, for some natural {{mvar|k}}. The [[complement (set theory)|complement]] of the union of these intervals is itself a union of a finite number of intervals, which we denote {{math|{''J''(''ε'')<sub>''i''</sub>}}} (for {{math|1 ≤ ''i'' ≤ ''k'' − 1}} and possibly for {{math|1=''i'' = ''k'', ''k'' + 1}} as well). We now show that for every {{math|''ε'' > 0}}, there are [[Darboux integral#Darboux sums|upper and lower sums]] whose difference is less than {{mvar|ε}}, from which Riemann integrability follows. To this end, we construct a [[partition of an interval|partition of {{math|[''a'', ''b'']}}]] as follows: Denote {{math|1=''ε''<sub>1</sub> = ''ε'' / 2(''b'' − ''a'')}} and {{math|1=''ε''<sub>2</sub> = ''ε'' / 2(''M'' − ''m'')}}, where {{mvar|m}} and {{mvar|M}} are the [[infimum and supremum]] of {{mvar|f}} on {{math|[''a'', ''b'']}}. Since we may choose intervals {{math|{''I''(''ε''<sub>1</sub>)<sub>''i''</sub>}}} with arbitrarily small total length, we choose them to have total length smaller than {{math|''ε''<sub>2</sub>}}. Each of the intervals {{math|{''J''(''ε''<sub>1</sub>)<sub>''i''</sub>}}} has an empty intersection with {{math|''X''<sub>''ε''<sub>1</sub></sub>}}, so each point in it has a neighborhood with oscillation smaller than {{math|''ε''<sub>1</sub>}}. These neighborhoods consist of an [[open cover]] of the interval, and since the interval is compact there is a finite subcover of them. This subcover is a finite collection of open intervals, which are subintervals of {{math|''J''(''ε''<sub>1</sub>)<sub>''i''</sub>}} (except for those that include an edge point, for which we only take their intersection with {{math|''J''(''ε''<sub>1</sub>)<sub>''i''</sub>)}}. We take the edge points of the subintervals for all {{math|''J''(''ε''<sub>1</sub>)<sub>''i''</sub> − ''s''}}, including the edge points of the intervals themselves, as our partition. Thus the partition divides {{math|[''a'', ''b'']}} to two kinds of intervals: *Intervals of the latter kind (themselves subintervals of some {{math|''J''(''ε''<sub>1</sub>)<sub>''i''</sub>}}). In each of these, {{mvar|f}} oscillates by less than {{math|''ε''<sub>1</sub>}}. Since the total length of these is not larger than {{math|''b'' − ''a''}}, they together contribute at most {{math|1=''ε''{{su|b=1}}(''b'' − ''a'') = ''ε''/2}} to the difference between the upper and lower sums of the partition. *The intervals {{math|{''I''(''ε'')<sub>''i''</sub>}}}. These have total length smaller than {{math|''ε''<sub>2</sub>}}, and {{mvar|f}} oscillates on them by no more than {{math|''M'' − ''m''}}. Thus together they contribute less than {{math|1=''ε''{{su|b=2}}(''M'' − ''m'') = ''ε''/2}} to the difference between the upper and lower sums of the partition. In total, the difference between the upper and lower sums of the partition is smaller than {{mvar|ε}}, as required. |} In particular, any set that is at most [[countable set|countable]] has [[Lebesgue measure]] zero, and thus a bounded function (on a compact interval) with only finitely or countably many discontinuities is Riemann integrable. Another sufficient criterion to Riemann integrability over {{math|[''a'', ''b'']}}, but which does not involve the concept of measure, is the existence of a right-hand (or left-hand) limit at ''every'' point in {{math|[''a'', ''b'')}} (or {{math|(''a'', ''b'']}}).<ref>{{cite journal |last1=Metzler |first1=R. C. |title=On Riemann Integrability |journal=The American Mathematical Monthly |date=1971 |volume=78 |issue=10 |pages=1129–1131 |doi=10.2307/2316325 |jstor=2316325 |url=https://www.jstor.org/stable/2316325 |issn=0002-9890}}</ref> An [[indicator function]] of a bounded set is Riemann-integrable if and only if the set is [[Jordan measure|Jordan measurable]]. The Riemann integral can be interpreted [[measure theory|measure-theoretically]] as the integral with respect to the Jordan measure. If a real-valued function is [[monotone function|monotone]] on the interval {{math|[''a'', ''b'']}} it is Riemann integrable, since its set of discontinuities is at most countable, and therefore of Lebesgue measure zero. If a real-valued function on {{math|[''a'', ''b'']}} is Riemann integrable, it is [[Lebesgue integral|Lebesgue integrable]]. That is, Riemann-integrability is a ''stronger'' (meaning more difficult to satisfy) condition than Lebesgue-integrability. The converse does not hold; not all Lebesgue-integrable functions are Riemann integrable. The Lebesgue–Vitali theorem does not imply that all type of discontinuities have the same weight on the obstruction that a real-valued bounded function be Riemann integrable on {{math|[''a'', ''b'']}}. In fact, certain discontinuities have absolutely no role on the Riemann integrability of the function—a consequence of the [[Classification of discontinuities|classification]] of the discontinuities of a function.{{citation needed|date=December 2021}} If {{math|''f''<sub>''n''</sub>}} is a [[uniform convergence|uniformly convergent]] sequence on {{math|[''a'', ''b'']}} with limit {{mvar|f}}, then Riemann integrability of all {{math|''f''<sub>''n''</sub>}} implies Riemann integrability of {{mvar|f}}, and <math display="block"> \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.</math> 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.<ref>{{cite journal|author=Cunningham|first= Frederick Jr.|title=Taking limits under the integral sign | journal = Mathematics Magazine | volume = 40 | year = 1967 |issue= 4| pages=179–186 | url=http://www.maa.org/programs/maa-awards/writing-awards/taking-limits-under-the-integral-sign | doi=10.2307/2688673|jstor= 2688673}}</ref> == Generalizations == It is easy to extend the Riemann integral to functions with values in the Euclidean vector space <math>\R^n</math> for any {{mvar|n}}. The integral is defined component-wise; in other words, if {{math|1='''f''' = (''f''<sub>1</sub>, ..., ''f''<sub>''n''</sub>)}} then <math display="block">\int\mathbf{f} = \left(\int f_1,\,\dots, \int f_n\right).</math> 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 of a function#Multiple limits at infinity|limit]], in other words, as an [[improper integral]]: <math display="block">\int_{-\infty}^\infty f(x)\,dx = \lim_{a \to -\infty \atop b \to \infty}\int_a^b f(x)\,dx.</math> This definition carries with it some subtleties, such as the fact that it is not always equivalent to compute the [[Cauchy principal value]] <math display="block">\lim_{a\to\infty} \int_{-a}^a f(x)\,dx.</math> For example, consider the [[sign function]] {{math|''f''(''x'') {{=}} sgn(''x'')}} which is 0 at {{math|''x'' {{=}} 0}}, 1 for {{math|''x'' > 0}}, and −1 for {{math|''x'' < 0}}. By symmetry, <math display="block">\int_{-a}^a f(x)\,dx = 0</math> always, regardless of {{mvar|a}}. 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 <math display="block">\begin{align} \int_{-a}^{2a} f(x)\,dx &= a, \\ \int_{-2a}^a f(x)\,dx &= -a. \end{align}</math> 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 <math display="block">\lim_{a\to\infty} \int_{-a}^a f(x)\,dx,</math> then the integral of the translation {{math|''f''(''x'' − 1)}} 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 {{math|∞ − ∞}}). 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 {{math|''f<sub>n</sub>''}} is a sequence of functions that [[uniform convergence|converge uniformly]] to {{mvar|f}} on a compact set {{math|[''a'', ''b'']}}, then <math display="block">\lim_{n\to\infty} \int_a^b f_n(x)\,dx = \int_a^b f(x)\,dx.</math> On non-compact intervals such as the real line, this is false. For example, take {{math|''f<sub>n</sub>''(''x'')}} to be {{math|''n''<sup>−1</sup>}} on {{math|[0, ''n'']}} and zero elsewhere. For all {{mvar|n}} we have: <math display="block">\int_{-\infty}^\infty f_n\,dx = 1.</math> The sequence {{math|(''f<sub>n</sub>'')}} converges uniformly to the zero function, and clearly the integral of the zero function is zero. Consequently, <math display="block">\int_{-\infty}^\infty f\,dx \neq \lim_{n\to\infty}\int_{-\infty}^\infty f_n\,dx.</math> 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 {{mvar|f}} defined on a bounded interval is Riemann-integrable if and only if it is bounded and the set of points where {{mvar|f}} 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 {{math|''x''<sub>''k'' + 1</sub> − ''x''<sub>''k''</sub>}} 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 <math>\R^n\to\R</math> are [[multiple integral]]s. ==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.<ref>{{cite web|title=An Open Letter to Authors of Calculus Books|url=https://math.vanderbilt.edu/schectex/ccc/gauge/letter/|access-date=27 February 2014}}</ref> == See also == * [[Area]] * [[Antiderivative]] * [[Lebesgue integration]] ==Notes== {{Reflist|30em}} == References == * Shilov, G. E., and Gurevich, B. L., 1978. ''Integral, Measure, and Derivative: A Unified Approach'', Richard A. Silverman, trans. Dover Publications. {{isbn|0-486-63519-8}}. * {{citation|first=Tom|last=Apostol|author-link=Tom Apostol|title=Mathematical Analysis|year=1974|publisher=Addison-Wesley}} ==External links== *{{Commons category-inline}} * {{springer|title=Riemann integral|id=p/r081950}} {{integral}} {{Bernhard Riemann}} {{Authority control}} [[Category:Definitions of mathematical integration]] [[Category:Bernhard Riemann]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Anchor
(
edit
)
Template:Authority control
(
edit
)
Template:Bernhard Riemann
(
edit
)
Template:Calculus
(
edit
)
Template:Citation
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite web
(
edit
)
Template:Commons category-inline
(
edit
)
Template:Harvnb
(
edit
)
Template:Integral
(
edit
)
Template:Isbn
(
edit
)
Template:Main
(
edit
)
Template:Math
(
edit
)
Template:Mvar
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Springer
(
edit
)
Template:Visible anchor
(
edit
)
Search
Search
Editing
Riemann integral
Add topic