Loading [MathJax]/jax/element/mml/optable/GeneralPunctuation.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

11.1: Riemann integral over Rectangles

( \newcommand{\kernel}{\mathrm{null}\,}\)

Riemann integral over rectangles

Note: FIXME1 lectures

As in chapter FIXME, we define the Riemann integral using the Darboux upper and lower integrals. The ideas in this section are very similar to integration in one dimension. The complication is mostly notational.

Rectangles and partitions

Let (a1,a2,,an) and (b1,b2,,bn) be such that akbk for all k. A set of the form [a1,b1]×[a2,b2]××[an,bn] is called a closed rectangle. If ak<bk, then a set of the form (a1,b1)×(a2,b2)××(an,bn) is called an open rectangle.

For an open or closed rectangle R:=[a1,b1]×[a2,b2]××[an,bn]Rn or R:=(a1,b1)×(a2,b2)××(an,bn)Rn, we define the n-dimensional volume by V(R):=(b1a1)(b2a2)(bnan).

A partition P of the closed rectangle R=[a1,b1]×[a2,b2]××[an,bn] is a finite set of partitions P1,P2,,Pn of the intervals [a1,b1],[a2,b2],,[an,bn]. That is, for every k there is an integer k and the finite set of numbers Pk={xk0,xk1,xk2,,xkk} such that ak=xk0<xk1<xk2<<xkk1<xkk=bk. Picking a set of n integers j1,j2,,jn where jk{1,2,,k} we get the subrectangle [x1j11,x1j1]×[x2j21,x2j2]××[xnjn1,xnjn]. For simplicity, we order the subrectangles somehow and we say {R1,R2,,RN} are the subrectangles corresponding to the partition P of R. In other words we subdivide the original rectangle into many smaller subrectangles. It is not difficult to see that these subrectangles cover our original R, and their volume sums to that of R. That is R=Nj=1Rj,andV(R)=Nj=1V(Rj).

When Rk=[x1j11,x1j1]×[x2j21,x2j2]××[xnjn1,xnjn] then V(Rk)=Δx1j1Δx2j2Δxnjn=(x1j1x1j11)(x2j2x2j21)(xnjnxnjn1).

Let RRn be a closed rectangle and let f:RR be a bounded function. Let P be a partition of [a,b]. Let Ri be a subrectangle corresponding to P that has N subrectangles. Define mi:=inf{f(x):xRi},Mi:=sup{f(x):xRi},L(P,f):=Ni=1miV(Ri),U(P,f):=Ni=1MiV(Ri). We call L(P,f) the lower Darboux sum and U(P,f) the upper Darboux sum.

We start proving facts about the Darboux sums analogous to the one-variable results.

[mv:sumulbound:prop] Suppose RRn is a closed rectangle and f:RR is a bounded function. Let m,MR be such that for all xR we have mf(x)M. For any partition P of R we have mV(R)L(P,f)U(P,f)MV(R).

Let P be a partition. Then note that mmi for all i and MiM for all i. Also miMi for all i. Finally Ni=1V(Ri)=V(R). Therefore, mV(R)=m(Ni=1V(Ri))=Ni=1mV(Ri)Ni=1miV(Ri)Ni=1MiV(Ri)Ni=1MV(Ri)=M(Ni=1V(Ri))=MV(R).\qedhere

Upper and lower integrals

By the set of upper and lower Darboux sums are bounded sets and we can take their infima and suprema. As before, we now make the following definition.

If f:RR is a bounded function on a closed rectangle RRn. Define R_f:=sup{L(P,f):P a partition of R},¯Rf:=inf{U(P,f):P a partition of R}. We call _ the lower Darboux integral and ¯ the upper Darboux integral.

As in one dimension we have refinements of partitions.

Let RRn be a closed rectangle and let P={P1,P2,,Pn} and ˜P={˜P1,˜P2,,˜Pn} be partitions of R. We say ˜P a refinement of P if as sets Pk˜Pk for all k=1,2,,n.

It is not difficult to see that if ˜P is a refinement of P, then subrectangles of P are unions of subrectangles of ˜P. Simply put, in a refinement we took the subrectangles of P and we cut them into smaller subrectangles.

[mv:prop:refinement] Suppose RRn is a closed rectangle, P is a partition of R and ˜P is a refinement of P. If f:RR be a bounded function, then L(P,f)L(˜P,f)andU(˜P,f)U(P,f).

Let R1,R2,,RN be the subrectangles of P and ˜R1,˜R2,,˜RM be the subrectangles of ˜R. Let Ik be the set of indices j such that ˜RjRk. We notice that Rk=jIk˜Rj,V(Rk)=jIkV(˜Rj).

Let mj:=inf{f(x):xRj}, and ˜mj:=inf{f(x):∈˜Rj} as usual. Notice also that if jIk, then mk˜mj. Then L(P,f)=Nk=1mkV(Rk)=Nk=1jIkmkV(˜Rj)Nk=1jIk˜mjV(˜Rj)=Mj=1˜mjV(˜Rj)=L(˜P,f).\qedhere

The key point of this next proposition is that the lower Darboux integral is less than or equal to the upper Darboux integral.

[mv:intulbound:prop] Let RRn be a closed rectangle and f:RR a bounded function. Let m,MR be such that for all xR we have mf(x)M. Then mV(R)R_f¯RfMV(R).

For any partition P, via mV(R)L(P,f)U(P,f)MV(R). By taking suprema of L(P,f) and infima of U(P,f) over all P we obtain the first and the last inequality.

The key of course is the middle inequality in [mv:intulbound:eq]. Let P1={P11,P21,,Pn1} and P2={P12,P22,,Pn2} be partitions of R. Define ˜P={˜P1,˜P2,,˜Pn} by letting ˜Pk=Pk1Pk2. Then ˜P is a partition of R as can easily be checked, and ˜P is a refinement of P1 and a refinement of P2. By , L(P1,f)L(˜P,f) and U(˜P,f)U(P2,f). Therefore, L(P1,f)L(˜P,f)U(˜P,f)U(P2,f). In other words, for two arbitrary partitions P1 and P2 we have L(P1,f)U(P2,f). Via we obtain sup{L(P,f):P a partition of R}inf{U(P,f):P a partition of R}. In other words R_f¯Rf.

The Riemann integral

We now have all we need to define the Riemann integral in n-dimensions over rectangles. Again, the Riemann integral is only defined on a certain class of functions, called the Riemann integrable functions.

Let RRn be a closed rectangle. Let f:RR be a bounded function such that ba_f(x) dx=¯baf(x) dx. Then f is said to be Riemann integrable. The set of Riemann integrable functions on R is denoted by R(R). When fR(R) we define the Riemann integral Rf:=R_f=¯Rf.

When the variable xRn needs to be emphasized we write Rf(x) dx,

implies immediately the following proposition.

[mv:intbound:prop] Let f:RR be a Riemann integrable function on a closed rectangle RRn. Let m,MR be such that mf(x)M for all xR. Then mV(R)bafMV(R).

A constant function is Riemann integrable. Suppose f(x)=c for all x on R. Then cV(R)R_f¯RfcV(R). So f is integrable, and furthermore Rf=cV(R).

The proofs of linearity and monotonicity are almost completely identical as the proofs from one variable. We therefore leave it as an exercise to prove the next two propositions. (FIXME add the exercise).

Let RRn be a closed rectangle and let f and g be in R(R) and αR.

  1. αf is in R(R) and Rαf=αRf
  2. f+g is in R(R) and R(f+g)=Rf+Rg.

Let RRn be a closed rectangle and let f and g be in R(R) and let f(x)g(x) for all xR. Then RfRg.

Again for simplicity if f:SR is a function and RS is a closed rectangle, then if the restriction f|R is integrable we say f is integrable on R, or fR(R) and we write Rf:=Rf|R.

For a closed rectangle SRn, if f:SR is integrable and RS is a closed rectangle, then f is integrable over R.

Given ϵ>0, we find a partition P such that U(P,f)L(P,f)<ϵ. By making a refinement of P we can assume that the endpoints of R are in P, or in other words, R is a union of subrectangles of P. Then the subrectangles of P divide into two collections, ones that are subsets of R and ones whose intersection with the interior of R is empty. Suppose that R1,R2,RK be the subrectangles that are subsets of R and RK+1,,RN be the rest. Let ˜P be the partition of R composed of those subrectangles of P contained in R. Then using the same notation as before. ϵ>U(P,f)L(P,f)=Kk=1(Mkmk)V(Rk)+Nk=K+1(Mkmk)V(Rk)Kk=1(Mkmk)V(Rk)=U(˜P,f|R)L(˜P,f|R) Therefore f|R is integrable.

Integrals of continuous functions

FIXME: We will later on prove a much more general result, but it is useful to start with continuous functions only. Before we get to continuous functions, let us state the following proposition, which has a very easy proof, but it is useful to emphasize as a technique.

Let RRn be a closed rectangle and f:RR a bounded function. If for every ϵ>0, there exists a partition P of R such that U(P,f)L(P,f)<ϵ, then fR(R).

Given an ϵ>0 find P as in the hypothesis. Then ¯RfR_fU(P,f)L(P,f)<ϵ. As ¯RfR_f and the above holds for every ϵ>0, we conclude ¯Rf=R_f and fR(R).

We say a rectangle R=[a1,b1]×[a2,b2]××[an,bn] has longest side at most α if bkakα for all k.

If a rectangle RRn has longest side at most α. Then for any x,yR,

\begin{split} \lVert {x-y} \rVert & = \sqrt{ {(x^1-y^1)}^2 + {(x^2-y^2)}^2 + \cdots + {(x^n-y^n)}^2 } \\ & \leq \sqrt{ {(b^1-a^1)}^2 + {(b^2-a^2)}^2 + \cdots + {(b^n-a^n)}^2 } \\ & \leq \sqrt{ {\alpha}^2 + {\alpha}^2 + \cdots + {\alpha}^2 } = \sqrt{n} \, \alpha . \qedhere \end{split}

[mv:thm:contintrect] Let R \subset {\mathbb{R}}^n be a closed rectangle and f \colon R \to {\mathbb{R}} a continuous function, then f \in {\mathcal{R}}(R).

The proof is analogous to the one variable proof with some complications. The set R is closed and bounded and hence compact. So f is not just continuous but in fact uniformly continuous by . Let \epsilon > 0 be given. Find a \delta > 0 such that \lVert {x-y} \rVert < \delta implies \left\lvert {f(x)-f(y)} \right\rvert < \frac{\epsilon}{V(R)}.

Let P be a partition of R such that longest side of any subrectangle is strictly less than \frac{\delta}{\sqrt{n}}. Then for all x, y \in R_k for a subrectangle R_k of P we have, by the proposition above, \lVert {x-y} \rVert < \sqrt{n} \frac{\delta}{\sqrt{n}} = \delta. Therefore f(x)-f(y) \leq \left\lvert {f(x)-f(y)} \right\rvert < \frac{\epsilon}{V(R)} . As f is continuous on R_k, it attains a maximum and a minimum on this interval. Let x be a point where f attains the maximum and y be a point where f attains the minimum. Then f(x) = M_k and f(y) = m_k in the notation from the definition of the integral. Therefore, M_i-m_i = f(x)-f(y) < \frac{\epsilon}{V(R)} . And so \begin{split} U(P,f) - L(P,f) & = \left( \sum_{k=1}^N M_k V(R_k) \right) - \left( \sum_{k=1}^N m_k V(R_k) \right) \\ & = \sum_{k=1}^N (M_k-m_k) V(R_k) \\ & < \frac{\epsilon}{V(R)} \sum_{k=1}^N V(R_k) = \epsilon. \end{split} As \epsilon > 0 was arbitrary, \overline{\int_a^b} f = \underline{\int_a^b} f , and f is Riemann integrable on R.

Integration of functions with compact support

Let U \subset {\mathbb{R}}^n be an open set and f \colon U \to {\mathbb{R}} be a function. We say the support of f be the set \operatorname{supp} (f) := \overline{ \{ x \in U : f(x) \not= 0 \} } . That is, the support is the closure of the set of points where the function is nonzero. So for a point not in the support we have that f is constantly zero in a whole neighbourhood.

A function f is said to have compact support if \operatorname{supp}(f) is a compact set. We will mostly consider the case when U={\mathbb{R}}^n. In light of the following exercise, this is not an oversimplification.

Suppose U \subset {\mathbb{R}}^n is open and f \colon U \to {\mathbb{R}} is continuous and of compact support. Show that the function \tilde{f} \colon {\mathbb{R}}^n \to {\mathbb{R}} \tilde{f}(x) := \begin{cases} f(x) & \text{ if $x \in U$} \\ 0 & \text{ otherwise} \end{cases} is continuous.

[mv:prop:rectanglessupp] Suppose f \colon {\mathbb{R}}^n \to {\mathbb{R}} be a function with compact support. If R is a closed rectangle such that \operatorname{supp}(f) \subset R^o where R^o is the interior of R, and f is integrable over R, then for any other closed rectangle S with \operatorname{supp}(f) \subset S^o, the function f is integrable over S and \int_S f = \int_R f .

The intersection of closed rectangles is again a closed rectangle (or empty). Therefore we can take \tilde{R} = R \cap S be the intersection of all rectangles containing \operatorname{supp}(f). If \tilde{R} is the empty set, then \operatorname{supp}(f) is the empty set and f is identically zero and the proposition is trivial. So suppose that \tilde{R} is nonempty. As \tilde{R} \subset R, we know that f is integrable over \tilde{R}. Furthermore \tilde{R} \subset S. Given \epsilon > 0, take \tilde{P} to be a partition of \tilde{R} such that U(\tilde{P},f|_{\tilde{R}})- L(\tilde{P},f|_{\tilde{R}}) < \epsilon . Now add the endpoints of S to \tilde{P} to create a new partition P. Note that the subrectangles of \tilde{P} are subrectangles of P as well. Let R_1,R_2,\ldots,R_K be the subrectangles of \tilde{P} and R_{K+1},\ldots,R_N the new subrectangles. Note that since \operatorname{supp}(f) \subset \tilde{R}, then for k=K+1,\ldots,N we have \operatorname{supp}(f) \cap R_k = \emptyset. In other words f is identically zero on R_k. Therefore in the notation used previously we have \begin{split} U(P,f|_S)-L(P,f|_S) & = \sum_{k=1}^K (M_k-m_k) V(R_k) + \sum_{k=K+1}^N (M_k-m_k) V(R_k) \\ & = \sum_{k=1}^K (M_k-m_k) V(R_k) + \sum_{k=K+1}^N (0) V(R_k) \\ & = U(\tilde{P},f|_{\tilde{R}})- L(\tilde{P},f|_{\tilde{R}}) < \epsilon . \end{split} Similarly we have that L(P,f|_S) = L(\tilde{P},f_{\tilde{R}}) and therefore \int_S f = \int_{\tilde{R}} f. Since \tilde{R} \subset R we also get \int_R f = \int_{\tilde{R}} f, or in other words \int_R f = \int_S f.

Because of this proposition, when f \colon {\mathbb{R}}^n \to {\mathbb{R}} has compact support and is integrable over a rectangle R containing the support we write \int f := \int_R f \qquad \text{or} \qquad \int_{{\mathbb{R}}^n} f := \int_R f . For example if f is continuous and of compact support then \int_{{\mathbb{R}}^n} f exists.

Exercises

FIXME

FIXME: Show that integration over a rectangle with one side of size zero results in zero integral.

[mv:exersmallerset] Suppose R and R' are two closed rectangles with R' \subset R. Suppose that f \colon R \to {\mathbb{R}} is in {\mathcal{R}}(R). Show that f \in {\mathcal{R}}(R').

[mv:zerooutside] Suppose R and R' are two closed rectangles with R' \subset R. Suppose that f \colon R \to {\mathbb{R}} is in {\mathcal{R}}(R') and f(x) = 0 for x \notin R'. Show that f \in {\mathcal{R}}(R) and \int_{R'} f = \int_R f . Hint: see the previous exercise.

Prove a stronger version of . Suppose f \colon {\mathbb{R}}^n \to {\mathbb{R}} be a function with compact support. Prove that if R is a closed rectangle such that \operatorname{supp}(f) \subset R and f is integrable over R, then for any other closed rectangle S with \operatorname{supp}(f) \subset S, the function f is integrable over S and \int_S f = \int_R f. Hint: notice that now the new rectangles that you add as in the proof can intersect \operatorname{supp}(f) on their boundary.

Suppose that R and S are closed rectangles. Let f(x) := 1 if x \in R and f(x) = 0 otherwise. Show that f is integrable over S and compute \int_S f.


This page titled 11.1: Riemann integral over Rectangles is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Jiří Lebl via source content that was edited to the style and standards of the LibreTexts platform.

  • Was this article helpful?

Support Center

How can we help?