Course:MATH200/IntegrationOnRectangles

From UBC Wiki

Integration on Rectangles

Review of integration in one variable

Right Riemann sums

Let a and b be real numbers with a<b and let f:[a,b]→R be a function on the closed interval [a,b]={x∈R: a≤ x≤ b}. Let n be a positive integer, and set Δx=(b-a)/n. For each integer i with 1≤i≤n set xi=a+iΔx. Then the n-th right-endpoint Riemann sum is the number

 

The Riemann integral of a continuous function

Definition. Let f:[a,b]→R be a continuous function. Then we say that the Riemann integral of f on [a,b] is I∈R and write

 

if for every positive real number ε there exists a real number N such that

   

Another way to say this is to say that

 

Theorem. The Riemann integral of a continuous function always exists.

Remarks on Riemann integrals

When f is non-negative on [a,b], the usual way to think about the integral is as representing the area A under the graph of a the function. We approximate this area by partitioning the interval [a,b] into n sub-intervals of equal length I1=[a,x1], I2=[x1, x2],..., In=[xn-1,xn]. Then we approximate f on the k-th interval Ik by its f(xk) at the right endpoint of the sub-interval. The number f(xk) the approximates the area under the part of the graph of the function lying over Ik, and the sum approximates the area under A.

For discontinous f the definition of the integral needs to be changed slightly because it is not enough to consider the values of f at just the right endpoints of the subintervals. It is also very convenient to consider partitions where the subintervals do not necessarily all have the same length.

Integration of two variable functions

Top Right Riemann sumbs over rectangles

Now let a,b,c,d be real numbers with a≤ b, c≤ d. The set

 

is simply the rectangle with vertices (a,c), (a,d), (b,c) and (b,d) and area (b-a)(d-c). Suppose n is a positive integer. Set Δ x=(b-a)/n, Δy=(d-c)/n. For i an integer between 0 and n set

 

The n-th Riemann sum is the sum

 

Remark. It might be instructive to write the sum out in full. For example, suppose n=2. Then there are four terms,

 

The Riemann integral of functions on a rectangle

The definition of the Riemann integral is almost the same as before.

Definition. Let f:D→R be a continuous function. Then we say that the Riemann integral of f on [a,b] is I∈R and write

 

if for every positive real number ε there exists a real number N such that

   

Another way to say this is to say that

 

Remarks on the definition

Again this definition only works for continuous functions. For discontinuous functions it can give the wrong answer because we have only considered the value of f at the top right vertex of the rectangle Dij=[xi-1,xi]x[yj-1,yj]. The general definition is given below.

Evaluating Integral over Rectangle

Fubini's Theorem

The following result is the key to evaluating integrals (without having to take limits).

Fubini's Theorem Let f:D→R be a continous function on a rectangle D=[a,b]x[c,d]. Define functions

 

Then g(x) is a continuous function on [a,b] and h(y) is a continuous function on [c,d]. Moreover,

 

Remarks on Fubini

Another more compact way to state the theorem is to say that

 

We will not cover the proof of the theorem. However, we do have

  

(If you are at all uncertain about this, write out the sum for n=2 or 3.) So on the level of Riemann sums (before we take the limit) the theorem holds.

For function which are non-negative, the integral

 

is supposed to represent the volume of the region in space lying under the graph of the function and over the rectangle D. Fubini's theorem then says that this volume can be calculated by the usual method from one variable calculus: first calculate the areas g(x0) the cross-sections of the region with x=x0, then integrate these cross-sectional areas g(x) as x goes from a to b.

Examples of Integration on rectangles

Example 1.

Problem. Let D=[0,1]x[0,1]. Compute

 

Solution. By Fubini, we have

where we did the last integral by integrating by parts.

More General Riemann Sums

To be able to define integration of discontinuous functions, we need to consider more general Riemann Sums.

Partitions of Rectangles with sample points

Let D=[a,b]x[c,d] be a rectangle and let n and m be positive integers. Define Δx=(b-a)/n and Δy=(d-c)/m. Then set

 

Set Dij=[xi-1,xi]x,yj-1,yj]. Dij is called the (i,j)-th rectangle in the partition of D into nm subrectangles. The area of Dij is &Delta A;:=ΔxΔy.

The choice of a point for each 1≤ i≤ n, 1≤j≤m is called the choice of a sample point . It is also called a tagging of the partition of D. The data of D with n,m and the choice of the tij is sometimes called a tagged partition.

Riemann sums associated to partition with sample points

Lef f:D→R be a function.

Definition. The number

 

is called the Riemann sum associated to the tagged partition above.

=Common choices of sample points

  1. top-right: tij=(xi,yj).
  2. midpoint:

The Riemann Integral for General functions

We say that if for every positive real number ε there exists a real number N such that

 

for any tagged partition with n,m>N.