1 Functions as limits of integration

In Section 27.1 double integrals of the form

I = x = a x = b y = c y = d f x , y d y d x

were considered. They represent an integral over a rectangular region in the x y plane. If the limits of integration of the inner integral are replaced with functions G 1 , G 2 ,

I = x = a x = b G 1 ( x ) G 2 ( x ) f x , y d y d x

then the region described will not, in general, be a rectangle. The region will be a shape bounded by the curves (or lines) which these functions G 1 and G 2 describe.

As was indicated in 27.1

I = x = a x = b G 1 ( x ) G 2 ( x ) f ( x , y ) d y d x

can be interpreted as the volume lying above the region in the x y plane defined by G 1 ( x ) and G 2 ( x ) , bounded above by the surface z = f ( x , y ) . Not all double integrals are interpreted as volumes but this is often the case. If z = f ( x , y ) < 0 anywhere in the relevant region, then the double integral no longer represents a volume.

Key Point 4

Double Integral Over General Region

I = x = a x = b G 1 ( x ) G 2 ( x ) f x , y d y d x

  1. The functions G 1 , G 2 which are the limits for the inner integral are functions of the variable of the outer integral. This must be the case for the integral to make sense.
  2. The limits of the outer integral are constant.
  3. Integration over rectangular regions can be thought of as the special case where G 1 and G 2 are constant functions.
Example 8

Evaluate the integral I = x = 0 1 y = 0 1 x 2 x y d y d x

Solution

Figure 10

No alt text was set. Please request alt text from the person who provided you with this resource.

Figure 11

No alt text was set. Please request alt text from the person who provided you with this resource.

Projecting the relevant part of the surface (Figure 10) down to the x y plane produces the triangle shown in Figure 11. The extremes that x takes are x = 0 and x = 1 and so these are the limits on the outer integral. For any value of x , the variable y varies between y = 0 (at the bottom) and y = 1 x (at the top). Thus if the volume, shown in the diagram, under the function f ( x , y ) , bounded by this triangle is required then the following integral is to be calculated.

x = 0 1 y = 0 1 x f x , y d y d x

Once the correct limits have been determined, the integration is carried out in exactly the same manner as in Section 27.1

First consider the inner integral g ( x ) = y = 0 1 x 2 x y d y

Integrating 2 x y with respect to y gives x y 2 + C so g ( x ) = x y 2 y = 0 1 x = x ( 1 x ) 2

Note that, as is required, this is a function of x , the variable of the outer integral. Now the outer integral is

I = x = 0 1 x ( 1 x ) 2 d x = x = 0 1 x 3 2 x 2 + x d x = x 4 4 2 x 3 3 + x 2 2 x = 0 1 = 1 4 2 3 + 1 2 = 1 12

Regions do not have to be bounded only by straight lines. Also the integrals may involve other tools of integration, such as substitution or integration by parts. Drawing a sketch of the limit functions in the plane and shading the region is a valuable tools when evaluating such integrals.

Example 9

Evaluate the volume under the surface given by z = f ( x , y ) = 2 x sin ( y ) , over the region bounded above by the curve y = x 2 and below by the line y = 0 , for 0 x 1 .

Figure 12

No alt text was set. Please request alt text from the person who provided you with this resource.

Solution

First sketch the curve y = x 2 and identify the region. This is the shaded region in Figure 12. The required integral is

I = x = 0 1 y = 0 x 2 2 x sin ( y ) d y d x = x = 0 1 2 x cos ( y ) y = 0 x 2 d x = x = 0 1 2 x cos x 2 + 2 x d x = x = 0 1 1 cos x 2 2 x d x

Making the substitution u = x 2 so d u = 2 x d x and noting that the limits x = 0 , 1 map to u = 0 , 1 , gives

I = u = 0 1 1 cos u d u = u sin ( u ) u = 0 1 = 1 sin ( 1 ) 0.1585
Example 10

Evaluate the volume under the surface given by z = f ( x , y ) = x 2 + 1 2 y , over the region bounded by the curves y = 2 x and y = x 2 .

Figure 13

No alt text was set. Please request alt text from the person who provided you with this resource.

Solution

The sketch of the region is shown in Figure 13. The required integral is

I = x = a b y = x 2 2 x x 2 + 1 2 y d y d x

To determine the limits for the integration with respect to x , the points where the curves intersect are required. These points are the solutions of the equation 2 x = x 2 , so the required limits are x = 0 and x = 2 . Then the volume is given by

I = x = 0 2 y = x 2 2 x x 2 + 1 2 y d y d x = x = 0 2 x 2 y + 1 4 y 2 y = x 2 2 x d x = x = 0 2 x 2 + 2 x 3 5 4 x 4 d x = x 3 3 + x 4 2 x 5 4 x = 0 2 = 8 3
Example 11
  1. Evaluate the volume under z = f ( x , y ) = 5 x 2 y , over the half of the unit circle that lies above the x -axis. (Figure 14).

    Figure 14

    No alt text was set. Please request alt text from the person who provided you with this resource.

  2. Repeat 1. for z = f ( x , y ) = 1.
Solution
  1. This region is bounded by the circle y 2 + x 2 = 1 and the line y = 0 . Since only positive values of y are required, the equation of the circle can be written y = 1 x 2 . Then the required volume is given by I = x = 1 1 y = 0 1 x 2 5 x 2 y d y d x = x = 1 1 5 2 x 2 y 2 y = 0 1 x 2 d x = x = 1 1 5 2 x 2 ( 1 x 2 ) d x = 5 2 x 3 3 x 5 5 1 1 = 2 3
  2. I = x = 1 1 y = 0 1 x 2 1 d y d x = x = 1 1 y y = 0 1 x 2 d x = x = 1 1 1 x 2 d x ( which by substituting x = sin θ ) = π 2

Note that by putting f ( x , y ) = 1 we have found the volume of a semi-circular lamina of uniform height 1. This result is numerically the same as the area of the region in Figure 14. (This is a general result.)

Task!

Evaluate the following double integral over a non-rectangular region.

x = 0 1 y = x 1 x 2 + y 2 d y d x

  1. First sketch the region of the x y -plane determined by the limits:

    No alt text was set. Please request alt text from the person who provided you with this resource.

  2. Now evaluate the inner triangle:

    In the triangle, x varies between x = 0 and x = 1 . For every value of x , y varies between y = x and y = 1 .

    The inner integral is given by

    Inner Integral = y = x 1 x 2 + y 2 d y = x 2 y + 1 3 y 3 x 1 = x 2 × 1 + 1 3 × 1 3 ( x 2 × x + 1 3 x 3 ) = x 2 + 1 3 4 3 x 3
  3. Finally evaluate the outer integral:

    The inner integral is placed in the outer integral to give

    Outer Integral = 0 1 x 2 4 3 x 3 + 1 3 d x = 1 3 x 3 1 3 x 4 + 1 3 x 0 1 = ( 1 3 1 3 + 1 3 ) 0 = 1 3

    Note that the above Task is simply one of integrating a function over a region - there is no reference to a volume here. Another like this now follows.

Task!

Integrate the function z = x 2 y over the trapezium with vertices at ( 0 , 0 ) , ( 1 , 1 ) , ( 1 , 2 ) and ( 0 , 4 ) .

The integration takes place over the trapezium shown (left)

No alt text was set. Please request alt text from the person who provided you with this resource.

Considering variable x on the outer integral and variable y on the inner integral, the trapezium has an extent in x of x = 0 to x = 1 . So, the limits on the outer integral (limits on x ) are x = 0 and x = 1 .

For each value of x , y varies from y = x (line joining ( 0 , 0 ) to ( 1 , 1 ) ) to y = 4 2 x (line joining ( 1 , 2 ) and ( 0 , 4 ) ). So the limits on the inner integral (limits on y ) are y = x to y = 4 2 x .

The double integral thus becomes

x = 0 1 y = x 4 2 x x 2 y d y d x
The inner integral is
y = x 4 2 x x 2 y d y = x 2 y 2 2 y = x 4 2 x = x 2 ( 4 2 x ) 2 2 x 2 x 2 2 = 8 x 2 8 x 3 + 3 2 x 4
Putting this into the outer integral gives
x = 0 1 ( 8 x 2 8 x 3 + 3 2 x 4 ) d x = 8 3 x 3 2 x 4 + 3 10 x 5 0 1 = ( 8 3 2 + 3 10 ) 0 = 29 30
Exercises

Evaluate the following integrals

  1. x = 0 1 y = 3 x x 2 + 2 x y d y d x
  2. x = 1 2 y = x 2 + 2 3 x x y d y d x [Hint: Note how the same curves can define different regions.]
  3. x = 1 2 y = 1 x 2 x y d y d x , [Hint: use integration by parts for the outer integral.]
  1. 11 24
  2. 9 8
  3. 4 ln 2 3 2 1.27

1.1 Splitting the region of integration

Sometimes it is difficult or impossible to represent the region of integration by means of consistent limits on x and y . Instead, it is possible to divide the region of integration into two (or more) sub-regions, carry out a multiple integral on each region and add the integrals together. For example, suppose it is necessary to integrate the function g ( x , y ) over the triangle defined by the three points ( 0 , 0 ) , ( 1 , 4 ) and ( 2 , 2 ) .

Figure 15

No alt text was set. Please request alt text from the person who provided you with this resource.

It is not possible to represent the triangle A B C by means of limits on an inner integral and an outer integral. However, it can be split into the triangle A B D and the triangle B C D . D is chosen to be the point on A C directly beneath B , that is, line B D is parallel to the y -axis so that x is constant along it. Note that the sides of triangle A B C are defined by sections of the lines y = 4 x , y = x and y = 6 x + 10 .

In triangle A B D , the variable x takes values between x = 0 and x = 1 . For each value of x , y can take values between y = x (bottom) and y = 4 x . Hence, the integral of the function g ( x , y ) over triangle A B D is

I 1 = x = 0 x = 1 y = x y = 4 x g x , y d y d x

Similarly, the integral of g ( x , y ) over triangle B C D is

I 2 = x = 1 x = 2 y = x y = 6 x + 10 g x , y d y d x

and the integral over the full triangle is

I = I 1 + I 2 = x = 0 x = 1 y = x y = 4 x g x , y d y d x + x = 1 x = 2 y = x y = 6 x + 10 g x , y d y d x

Example 12

Integrate the function g ( x , y ) = x y over the triangle A B C .

Solution

Over triangle A B D , the integral is

I 1 = x = 0 x = 1 y = x y = 4 x x y d y d x = x = 0 x = 1 1 2 x y 2 y = x y = 4 x d x = x = 0 x = 1 8 x 3 1 2 x 3 d x = x = 0 x = 1 15 2 x 3 d x = 15 8 x 4 0 1 = 15 8 0 = 15 8

Over triangle B C D , the integral is

I 2 = x = 1 x = 2 y = x y = 6 x + 10 x y d y d x = x = 1 x = 2 1 2 x y 2 y = x y = 6 x + 10 d x = x = 1 x = 2 1 2 x ( 6 x + 10 ) 2 1 2 x ( x ) 2 d x = x = 1 x = 2 1 2 36 x 3 120 x 2 + 100 x x 3 d x = 1 2 x = 1 x = 2 35 x 3 120 x 2 + 100 x d x = 1 2 35 4 x 4 40 x 3 + 50 x 2 1 2 = 10 75 8 = 5 8

So the total integral is I 1 + I 2 = 15 8 + 5 8 = 5 2