Presentation is loading. Please wait.

# ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals.

## Presentation on theme: "ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals."— Presentation transcript:

ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals

 In this lecture, we extend the idea of a definite integral to double integrals of functions of two or three variables.  These ideas are then used to compute volumes, and centroids of more general regions than we were able to consider in Calculus I. Double Integral

In this section, we will learn about: Double integrals and using them to find volumes. Double Integrals over Rectangles

Just as our attempt to solve the area problem led to the definition of a definite integral, we now seek to find the volume of a solid. In the process, we arrive at the definition of a double integral.

DEFINITE INTEGRAL—REVIEW First, let’s recall the basic facts concerning definite integrals of functions of a single variable. If f(x) is defined for a ≤ x ≤ b, we start by dividing the interval [a, b] into n subintervals [x i–1, x i ] of equal width ∆x = (b – a)/n. We choose sample points x i * in these subintervals.

Then, we form the Riemann sum Equation 1

Then, we take the limit of such sums as n → ∞ to obtain the definite integral of f from a to b: Equation 2

In the special case where f(x) ≥ 0, the Riemann sum can be interpreted as the sum of the areas of the approximating rectangles. DEFINITE INTEGRAL—REVIEW

Then, represents the area under the curve y = f(x) from a to b. DEFINITE INTEGRAL—REVIEW

In a similar manner, we consider a function f of two variables defined on a closed rectangle R = [a, b] x [c, d] = {(x, y) | a ≤ x ≤ b, c ≤ y ≤ d} and we first suppose that f(x, y) ≥ 0. – The graph of f is a surface with equation z = f(x, y). Volumes

Volumes (contd.) Let S be the solid that lies above R and under the graph of f, that is, S = {(x, y, z) | a ≤ x ≤ b, c ≤ y ≤ d, 0 ≤ z ≤ f(x, y)} Our goal is to find the volume of S.

The first step is to divide the rectangle R into subrectangles. – We divide the interval [a, b] into m subintervals [x i–1, x i ] of equal width ∆x = (b – a)/m. – Then, we divide [c, d] into n subintervals [y j–1, y j ] of equal width ∆y = (d – c)/n. Volumes (contd.)

– Next, we draw lines parallel to the coordinate axes through the endpoints of these subintervals. Volumes (contd.)

– Thus, we form the subrectangles R ij = [x i–1, x i ] x [y j–1, y j ] = {(x, y) | x i–1 ≤ x ≤ x i, y j–1 ≤ y ≤ y j } each with area ∆A = ∆x ∆y Volumes (contd.)

Let’s choose a sample point (x ij *, y ij *) in each R ij. Volumes (contd.)

Then, we can approximate the part of S that lies above each R ij by a thin rectangular box (or “column”) with: – Base R ij – Height f (x ij *, y ij *) Volumes (contd.)

Compare the figure with the earlier one. Volumes (contd.)

The volume of this box is the height of the box times the area of the base rectangle: f(x ij *, y ij *) ∆A Volumes (contd.) We follow this procedure for all the rectangles and add the volumes of the corresponding boxes.

Thus, we get an approximation to the total volume of S: Equation 3

This double sum means that: – For each subrectangle, we evaluate f at the chosen point and multiply by the area of the subrectangle. – Then, we add the results. Volumes (contd.)

Our intuition tells us that the approximation given in Equation 3 becomes better as m and n become larger. So, we would expect that m and n approaches infinity, i.e. Equation 4

We use the expression in Equation 4 to define the volume of the solid S that lies under the graph of f and above the rectangle R. Volumes (contd.)

Definition: DOUBLE INTEGRAL The double integral of f over the rectangle R is: if this limit exists.

The sample point (x ij *, y ij *) can be chosen to be any point in the subrectangle R ij *. However, suppose we choose it to be the upper right-hand corner of R ij [namely (x i, y j )]. Double Integral

Then, the expression for the double integral looks simpler: Equation 5

It can be seen that a volume can be written as a double integral, as follows. If f(x, y) ≥ 0, then the volume V of the solid that lies above the rectangle R and below the surface z = f(x, y) is: Double Integral

The sum in Definition of double integral, i.e. is called a double Riemann sum. – It is used as an approximation to the value of the double integral. – Notice how similar it is to the Riemann sum in Equation 1 for a function of a single variable. DOUBLE REIMANN SUM

Remember that the interpretation of a double integral as a volume is valid only when the integrand f is a positive function. Important Note

PROPERTIES OF DOUBLE INTEGRALS These properties are referred to as the linearity of the integral. where c is a constant

 In this section, we will learn how to: - Express double integrals as iterated integrals.  Once we have expressed a double integral as an iterated integral, we can then evaluate it by calculating two single integrals.  Suppose that f is a function of two variables that is integrable on the rectangle R = [a, b] x [c, d] Iterated Integrals

Iterated Integrals (contd.) We use the notation to mean: – x is held fixed – f(x, y) is integrated with respect to y from y = c to y = d – This procedure is called partial integration with respect to y, and is very much similar to similarity to partial differentiation.

PARTIAL INTEGRATION Now, is a number that depends on the value of x. So, it defines a function of x:

If we now integrate the function A with respect to x from x = a to x = b, we get: The integral on the right side of Equation 1 is called an iterated integral. – Usually, the brackets are omitted. Equation 1

Thus, means that: – First, we integrate with respect to y from c to d. – Then, we integrate with respect to x from a to b. Equation 2

ITERATED INTEGRALS (contd.) Similarly, the iterated integral means that: – First, we integrate with respect to x (holding y fixed) from x = a to x = b. – Then, we integrate the resulting function of y with respect to y from y = c to y = d. – Notice that, in both Equations 1 and 2, we work from the inside out.

Evaluate the iterated integrals. a. b. Example: 1

Regarding x as a constant, we obtain: Example: 1(a)

Thus, the function A in the preceding discussion is given by in this example. Example: 1(a)

We now integrate this function of x from 0 to 3: Example: 1(a)

Here, we first integrate with respect to x: Example: 1(b)

Notice that, in Example 1, we obtained the same answer whether we integrated with respect to y or x first. In general, it turns out that the two iterated integrals in Equations 1 and 2 are always equal. – That is, the order of integration does not matter. Example 1: summary

FUBUNI’S THEOREM The following theorem gives a practical method for evaluating a double integral by expressing it as an iterated integral (in either order). If f is continuous on the rectangle R = {(x, y) |a ≤ x ≤ b, c ≤ y ≤ d then

Evaluate the double integral where R = {(x, y)| 0 ≤ x ≤ 2, 1 ≤ y ≤ 2} Example: 2

Fubini’s Theorem gives: Example: 2 (contd.)

This time, we first integrate with respect to x: Example: 2 (contd.)

Notice the negative answer in Example 2. Nothing is wrong with that. – The function f in the example is not a positive function. – So, its integral doesn’t represent a volume. Example: 2 (summary)

Evaluate where R = [1, 2] x [0, π] Example: 3

If we first integrate with respect to x, we get: Example: 3 (contd.)

If we reverse the order of integration, we get: Example: 3 (contd.)

To evaluate the inner integral, we use integration by parts with: Example: 3 (contd.)

Thus, Example: 3 (contd.)

If we now integrate the first term by parts with u = –1/x and dv = π cos πx dx, we get: du = dx/x 2 v = sin πx and Example: 3 (contd.)

Therefore, Thus, Example: 3 (contd.)

In Example 2, Solutions 1 and 2 are equally straightforward. However, in Example 3, the first solution is much easier than the second one. – Thus, when we evaluate double integrals, it is wise to choose the order of integration that gives simpler integrals. Example: 3 (summary)

Find the volume of the solid S that is bounded by: – The elliptic paraboloid x 2 + 2y 2 + z = 16 – The planes x = 2 and y = 2 – The three coordinate planes Example: 4

We first observe that S is the solid that lies: – Under the surface z = 16 – x 2 – 2y 2 – Above the square R = [0, 2] x [0, 2] – Now, however, we are in a position to evaluate the double integral using Fubini’s Theorem. Example: 4 (contd.)

Thus, Example: 4 (contd.)

Fact Consider the special case where f(x, y) can be factored as the product of a function of x only and a function of y only. – Then, the double integral of f can be written in a particularly simple form. To be specific, suppose that: – f(x, y) = g(x)h(y) – R = [a, b] x [c, d]

Then, Fubini’s Theorem gives: Fact (contd.)

In the inner integral, y is a constant. So, h(y) is a constant and we can write: since is a constant. Fact (contd.)

Hence, in this case, the double integral of f can be written as the product of two single integrals: where R = [a, b] x [c, d] Equation 3

If f = sinx cosy & R = [0, π/2] x [0, π/2], then, by Equation 3, Example: 5  The function f(x, y) = sin x cos y in this example is positive on R.  So, the integral represents the volume of the solid that lies above R and below the graph of f

Example: 6

Exercise Answers

Double Integrals Over General Regions In the previous section we looked at double integrals over rectangular regions. The problem with this is that most of the regions are not rectangular so we need to now look at the following double integral, Where D is any region

Double Integrals Over General Regions There are two types of regions that we need to look at. Here is a sketch of both of them.

TYPE I Regions Some examples of type I regions are shown.

TYPE II Regions Two such regions are illustrated.

Example: 1

Solution: 1(a)

Solution: 1(b)

Solution: 1(c)

Exercise: 1 Evaluate where D is the region bounded by the parabolas y = 2x 2 and y = 1 + x 2.

The parabolas intersect when 2x 2 = 1 + x 2, that is, x 2 = 1. – Thus, x = ±1. Exercise: 1 (contd.)

We note that the region D is a type I region but not a type II region. – So, we can write: D = {(x, y) | –1 ≤ x ≤ 1, 2x 2 ≤ y ≤ 1 + x 2 } Exercise: 1 (contd.)

The lower boundary is y = 2x 2 and the upper boundary is y = 1 + x 2. Exercise: 1 (contd.)

When we set up a double integral as in Exercise 1, it is essential to draw a diagram. – Often, it is helpful to draw a vertical arrow as shown. Exercise: 1 (contd.)

Then, the limits of integration for the inner integral can be read from the diagram: – The arrow starts at the lower boundary y = g 1 (x), which gives the lower limit in the integral. – The arrow ends at the upper boundary y = g 2 (x), which gives the upper limit of integration. Exercise: 1 (contd.)

NOTE For a type II region, the arrow is drawn horizontally from the left boundary to the right boundary.

Find the volume of the solid that lies under the paraboloid z = x 2 + y 2 and above the region D in the xy–plane bounded by the line y = 2x and the parabola y = x 2. Exercise: 2

From the figure, we see that D is a type I region and D = {(x, y) | 0 ≤ x ≤ 2, x 2 ≤ y ≤ 2x} – So, the volume under z = x 2 + y 2 and above D is calculated as follows. Exercise: 2 (contd.)

From this figure, we see that D can also be written as a type II region: D = {(x, y) | 0 ≤ y ≤ 4, ½y ≤ x ≤ – So, another expression for V is as follows. Exercise: 2 (Another way!)

Exercise: 2 (contd.)

Reversing the order of Integration

Example: 1(a)

Example: 1(b)

Download ppt "ME 2304: 3D Geometry & Vector Calculus Dr. Faraz Junejo Double Integrals."

Similar presentations

Ads by Google