Calculus 2
Calculus 2
P1 Calculus 2
Calculus of multiple variables
Introduction
So far in your explorations of the dierential and integral calculus, you have considered
one independent variable. The pressure in an oil eld will depend on latitude, longitude
and depth, and no doubt will change over time. The lectures in Calculus 2.I answer
the questions of how our notions of dierentiation and integration can be extended to
Lecture Content
1. The partial derivative. First and higher partial derivatives. Total and partial dif-
ferentials, and their use in estimating errors. Testing for total (or perfect) dier-
posite functions, the Chain Rule and the Chain Rule for Partials. Implicit Func-
tions.
dependence. Shape.
Tutorial Sheets
Reading
Pdf copies of these notes (in colour), copies of the lecture slides, the tutorial sheets,
Only the notes and the tute sheets will appear on Canvas.
Lecture 1
Total and Partial Derivatives and Dierentials
f (x + x ) f (x )
x f (x ) = xlim :
d
d !0 x (1.1)
The big changes we will encounter all take place when going from one variable to any
number more than one. So for much of the time we can keep the page uncluttered by
Fig. 1.1 shows that functions of two variables are conveniently represented graphically
using the Cartesian axes Oxyz . The function representation is a surface, as opposed
3
20 1
10 0.5 2
f(x,y)
f(x,y)
f(x,y)
0 0
1
−10 −0.5
−20 −1 0
5 5 5
4 4 4
0 2 0 2 0 2
0 0 0
−2 −2 −2
y −5 −4 y −5 −4 y −5 −4
x x x
such that
jf (x; y ) f (a; b)j < ; (1.2)
(x a )2 + ( y b )2 < 2 (1.3)
Or equivalently, as before, lim(x ;y )!(a;b) f (x; y )=f (a; b). Note that for functions of
more variables f (x1 ; x2 ; x3 ; :::) the neighbourhood would be dened by (x1 a ) 2 + ( x2
b)2 + (x3 c )2 + : : : < 2. The two-variable case is illustrated in Figure 1.2.
The extension of the idea of continuity to functions of several variables was direct.
Extending the notion of the derivative is not quite as simple, because the slope or
gradient of the f (x; y ) surface at (x; y ) depends on which direction you move o in.
The key idea is to derive the gradient in particular directions. For f (x; y ) the obvious
directions are those along the x axis and the y axis. And obviously if one wants to
move o from (x; y ) in the x direction, one has to keep y xed, and vice versa. This
The subscript y indicates that y is being kept constant, and then similarly for x
1.2.3 Geometrical interpretation of the partial derivative
Figure 1.3 shows the geometrical interpretation of the partial derivatives of a function
of two variables.
Given that the list of variables is known, and the one being varied is explicit, writing
the the held constant subscripts after the derivative is unnecessary. The subscripts
are often omitted, but you may wish to leave them in until you are more familiar with
@f @f
fx = @x and fy = @y : (1.5)
If we are dealing with a function of more variables, we keep all but the one variable
Figure 1.3: Interpreting partial derivatives as the slopes of slices through the function
The denition indicates that actually doing partial dierentiation is exactly the same
as normal dierentiation with respect to one variable, while remembering to treat all
| Examples.
fx = e (x 2 +y 2 )
[ 2x sin(xy 2 ) + y 2 cos(xy 2 )] (1.7)
fy = e (x 2 +y 2 )
[ 2y sin(xy 2 ) + 2xy cos(xy 2 )] : (1.8)
A:
)fx fy = 1=xy = e f (x ;y )
: (1.11)
Although you do not need to consider complicated relationships involving 2nd order
derivatives, you do need to know how to nd them. It is very obvious! fx and fy are
(well, probably are) perfectly good functions of (x; y ), so we can dierentiate both with
respect to either x or y.
| Example.
f (x; y ) = x 2y 3 2y 2 (1.12)
fx = 2xy 3 (1.13)
fy = 3 x 2 y 2 4y (1.14)
fx x = 2y 3 (1.15)
fy y = 6x 2 y 4 : (1.16)
@ @ 2f
@y fx = fy x = @y@x : in this case; 6xy 2 (1.17)
and
@ @ 2f
@x fy = fx y = @x@y : in this case; 6xy 2 : (1.18)
f (x; y ) = e ( x 2 +y 2 )
sin(xy 2 ) (1.19)
fx = e 2
( x +y ) 2
[ 2x sin(xy 2 ) + y 2 cos(xy 2 )] (1.20)
fy = e 2
( x +y ) 2
[ 2y sin(xy 2 ) + 2xy cos(xy 2 )] (1.21)
) fx y = e 2
( x +y ) 2
[ 4x 2 y cos(xy 2 ) + 2y cos(xy 2 ) 2y 3 x sin(xy 2 ) (1.22)
= e ( x 2 +y 2 )
[sin(xy 2 )[ 2y 3 x + 4xy ] + cos(xy 2 )[ 4x 2 y + 2y 2y 3 ]]
and fy x = e ( x 2 +y 2 )
[ 2y 3 cos(xy 2 ) + 2y cos(xy 2 ) 2xy 3 sin(xy 2 ) (1.23)
When both sides exist, and are continuous at the point of interest...
@2 @2
=
@x@y @y@x (1.24)
| Example.
@ 3f @ 3f @ 3f
4 5
=0
@ 2x@y @y@x 2 @x@y@x (1.25)
@ 3f @ @ 2f @ 3f @ 3f
@ 2x@y
= =
@x @x@y @x@y@x = @y@x@x ; (1.26)
So the order of higher partials is unimportant but a sensible ordering can save time!
| Example.
Q: Find
@3 5
(y + xy ) cosh(cosh(x 2 + 1=x )) + y 2 tx :
@t@y@x (1.27)
1.5. A STERN WARNING. PARTIAL DERIVATIVES ARE NOT FRACTION-LIKE. 1/7
Although total derivatives have fraction-like qualities, this is NOT the case with partial
derivatives.
y y du dv 1
d
dx
=
d
du
dv dx =
3
u 2=3
:3v 2:2x = 2x (1.28)
@p @V @T
@V @T @p : (1.29)
@p @V @T RT R V
= = 1:
@V @T @p
2
V p R (1.30)
In fact, study of implicit functions would show that for any function f (x; y; z ) = 0,
@x @y @z
= 1:
@y @z @x
Partial derivatives, unlike total derivates, do not behave as fractions.
Dierentials are about the following. Suppose that we have a continuous function
f (x; y ) in some region, and both fx and fy are continuous in that region. How much
does the value of the function change as one moves innitesimal amounts d x and d y
in the x and y f
directions? The amount, d , is the total dierential how do we
express it?
df x y
@f @f
The total dierential is the sum of the partial dierentials d and d .
@x @y
Figure 1.4: Total dierential as the sum of partial dierentials. Remember that dx and dy are innites-
imals.
Explanation Given small changes in x and y it is easy enough to write the change in
f as:
so that
@f @f
( )
d f =
@x (y + y ) x + @y y : (1.35)
y x
@f
(y + y ) @f
y + y .
where means evaluated at But
@x y @x y
@f @f @ 2f
(y + y )
@x y @x y
+
@y@x y (1.36)
and
@f @ 2f @f
f @x x + @y@x xy + @y y :
(1.37)
In the limit as x and y tend to dx and dy , the middle term becomes negligible.
Suppose we are given some expression p(x; y )dx +q (x; y )dy . In this, p(x; y ) and q (x; y )
could be quite properly be any functions of (x; y ). But can we determine whether the
Now, if it is,
@f @f
p(x; y ) = @x and q (x; y ) = @y (1.39)
and using fx y = fy x
@p @ 2f @q @ 2f
@y = @y@x =
@x =
@x@y (1.40)
Hence:
@p @q
@y = @x : (1.41)
Suppose we found p(x; y )dx + q (x; y )dy was a total dierential using the above test.
Could we recover the function f ? To recover f we must perform the reverse of partial
dierentiation.
As @f =@x = p(x; y ):
Z
f = p(x; y )dx + g (y ) + K1 (1.43)
where g is a function of y alone and K1 is a constant. You can see that we need
the g (y ) because when we dierentiate with respect to x it vanishes. As far as x is
Similarly,
Z
f = q (x; y )dy + h(x ) + K2 (1.44)
We now need to resolve the two expressions for f , and this is possible, up to a constant
K , as the following example shows.
| Example. Let f = xy + sin x sin y + 6y + 10 but pretend we do not know it.
3
Q: Determine whether
@
(3xy 2 + sin x cos y + 6) = 3y 2 + cos x cos y
@x
They are the same, so it is a total dierential.
and
f = y 3x + sin x sin y + 0 + g (y ) + K1
l l l l (1.49)
f = xy 3
+ sin x sin y + h (x ) + 6y + K2
So
We would need some extra piece of information to recover this say the value of the
1.7 Summary
We have dened partial dierentation, and seen that the process of nding partial
derivatives is straightforward.
We have dened the total or perfect dierential of a function of several variables, and
seen how to test for its validity, and then to recover the original function up to a
constant. The value of the total dierential in various operations will become clear
later.
1/12 LECTURE 1. TOTAL AND PARTIAL DERIVATIVES AND DIFFERENTIALS
The Figure shows the surface plot and the level contour plots of the function f (x; y ) =
0:6x + 0:1x
4 2
y 2
2x + 2 y + 5 .
2 2
10
6
f(x,y)
0
1
2
0 1
0
−1
y −1 −2
x
The following is some simple Matlab code to give a surface plot of a function.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% surface plot script
%
% vectors of grid x and y positions
x = [ -2:0.1:2];
y = [ -1:0.1:1];
% turn these in array suitable for surface plotting
[X , Y ] = meshgrid (x , y );
% find the function values at each point in mesh
Xsq = X .* X ;
Ysq = Y .* Y ;
Z = 0.6* Xsq .* Xsq + 0.1* Xsq .* Ysq - 2.*( Xsq - Ysq ) +5;
% initial graphics
set ( gca , ' FontSize ' , 18);
colormap ( ' default ');
brighten (0);
% now plot surface
surfc (X ,Y , Z );
% label axes
xlabel ( 'x '); ylabel ( 'y '); zlabel ( ' f (x , y ) ');
% save as postscript ( vector graphics )
print ( ' - depsc ' , ' surfplot . eps ');
% save as png image
print ( ' - dpng ' , ' surfplot . png ');
Lecture 2
Partial derivatives and function character
We now consider a number of relationships which can be derived if the function of
There is a danger that the various cases will become an unconnected jumble. It seems
If you are considering a function of multiple variables, think in terms of partial deriva-
Suppose f (x; y ) = xy sin(xy ). We could nd the partial derivatives in the usual way as
@f
@f
a function of more than one variable, but f can be written as a function of the single
@f df @u @f df @u
= =
@x du @x and
@y du @y (2.3)
If you think this result is obvious because you can cancel du and @u you need to
1
2/2 LECTURE 2. PARTIAL DERIVATIVES AND FUNCTION CHARACTER
2.1.1 Proof
The result is proved as follows. The total dierentials of f (x; y ) and u (x; y ) are:
@f @f @u @u
d f =
@x d x+ @y d y; and du =
@x dx +
@y dy : (2.4)
x+ y
@f @f
f
d d
@x @y
:
d
=
du
(2.5)
x+ y
@u @u
d d
@x @y
But x and y are independent, and hence so are dx and dy . If we take y to be xed, so
that dy = 0, we have
df dx @f @u
@f
du
@x
= @u =
@x @x ; (2.6)
dx
@x
and if dx = 0
df @f @u
du
=
@y @y : (2.7)
| Example.
df x2 @u @u
du
= 2
x + y2 ;
@x = y=x 2
;
@y = 1=x (2.8)
@f y @f x
) @x = x 2 + y 2 ; @y
= 2
x + y2 (2.9)
2.1. A FUNCTION OF A FUNCTION. F = F (U ) WHERE U = U (X; Y ). 2/3
@ 2z 1 @ 2z
@x 2
c2 =
@t 2 ;
no matter what f is exactly. (So z might be z = (x
ct )2 or z = 1= cosh(x ct ),
and so on, but we have to prove the result without knowing f .)
wrt x again
@z dg @u dg d f
2
2
@x 2 = du @x = du (1) = du 2 (2.11)
@ 2z g @u g 2d f
2
c du @t c du ( c ) = c du 2 :
d d
= =
@t 2 (2.13)
NB we have written nothing about the nature of function f, and you might care to
There are various cases of composite functions, and we deal with them in turn. This
section will also introduce the chain rule, which you will use over and over again.
Proof
@f @f
d f =
@x dx +
@y d y (2.15)
We know that f, x and y are functions of t alone so the d f =dt , dx=dt , and dy=dt all
f @f dx @f y
d d
= +
dt @x dt @y dt
(2.16)
f @f x @f x n
@f dxi
+ ::: =
t :
d d 1 d 2 X
= +
dt @x1 dt @x2 dt @xi (2.17)
d
i =1
Thus
f @f dy @f dy @f dz
d
= + +
dt @y dt @y dt @z dt (2.19)
dx dy dz
= ( y + z ) + (x + z ) + (x + y )
dt dt dt
(2.20)
2.2.3 What if z = f (x; y ) and x = x (t1; t2; :::) and y = y (t1; t2; :::) ?
This is like the previous composite function, but now f is eectively a function of
several variables t1; t2; : : :. Suppose we x all but one of the ti . We would end up with
@f @f @x @f @y
= +
@t
1
@x @t @y @t
1 1
(2.22)
@f @f @x @f @y
= +
@t2 @x @t2 @y @t2 (2.23)
and so on.
We can now easily generalize this result to a function f (x1; x2; x3; :::; xn ) with xi =
xi (t1; t2; :::; tm ). After chomping your way through the indices you should nd that
@tj =
@x1 @tj +
@x2 @tj +
@x3 @tj + : : : : j = 1; : : : ; m: (2.24)
It turns out that the chain rule for partials is very commonly used in transforming from
one set of coordinates to another. Here is one example, but we shall return to it again.
@f @f @x @f @y
= = 2x cos + 2y sin
@r @x @r + @y @r (2.25)
df @f
=
@r
dr @f
+ @ d = 2rdr , which is again consistent.)
2.2.4 What if f = f (x; y ) andy = y (x ) ?
f @f x @f y
d d d
= +
dt @x dt @y dt
(2.29)
morphs into
f @f x @f y
d d d
= +
dx @x dx @y dx
(2.30)
Ie,
f @f @f y
:
d d
= +
dx @x @y dx
(2.31)
Note that this expression contains both total and partial derivates of f wrt x. They
| Example.
z 1 1 1
y+y + x (1
y 2) 2 x
d 1=2
=
dx
(2.32)
1 1= 2
= x 1=2 + x 1=2 + x x
1=2
(2.33)
2
3 1
= x 1=2 + x 1=2 (2.34)
2 2
a result which can be checked directly in this case, using z = x 3=2 + x 1=2.
2.3. IMPLICIT FUNCTIONS 2/7
In calculus and analytic geometry it is common to see the equations of plane curves
written as
f (x; y ) = 0: (2.35)
p
For example the equation of a circle of radius 2 with centre at (0; 1) is
for y = y (x ) explicitly. But if we were to solve for y numerically we might trace out a
curve y = y (x ) which was single valued and dierentiable. In other words, f (x; y ) = 0
It turns out that for many purposes we don't need an explicit expression for the function.
Now suppose that we have f (x; y ) = 0. We have just argued that this gives us an
implicity = y (x ), so our previous result should hold. Indeed it does, but now we have
f = 0 always, so that df =dx = 0 always. Hence:
@f @f dy
0=
@x + @y dx : (2.38)
dy @f =@x
dx
=
@f =@y : (2.39)
2/8 LECTURE 2. PARTIAL DERIVATIVES AND FUNCTION CHARACTER
| Example.
First consider an example where the implicit function can be derived explicitly. This
y @f =@x 1 2xy 3
:
d
= =
dx @f =@y 3x 2 y 2
(2.40)
substitute for y in
y 1 2xy 3 1 2xx 1
1
x =3 :
d 4= 3
= = = =
dx 3x y 3x x 3x
(2.41)
2 2 2 2= 3 4=3
But remember! The whole point about implicit functions is that you do not need an
explicit y = y (x ) to get information about the derivatives. This is made clear in the
next example.
| Example.
the constants. Now we can't nd y as a function of x , but using the result for implicit
functions we have
y 2ax + 2hy + 2g
:
d
=
dx 2by + 2hx + 2f
(2.42)
Lecture 3
Changing variables & Jacobians
3.1 Introduction
The slope of the f = f (x; y ) surface depends on the direction in which one moves from
the point (x; y ), and in Lecture 1 we learnt that the partial derivative must be dened
For a function f (x; y ) we decided that the obvious directions to choose are along the
x and y axes, keeping y and x xed, respectively.
The question now is are these really the obvious directions?
f (x; y ) = e ( x 2 +y 2 )
cos(4(x 2 + y 2 ))
shown in Figure 3.1. Does it really make sense to impose a square x -constant, y -
constant cake-rack mesh onto this function? Probably not! It would be in more
sympathy with the function to use a mesh with radial symmetry as in Figure 3.2.
The more general problem is illustrated in Figure 3.3. Subgure (a) shows a surface
f (x; y ) with lines of constant x and y underneath. The partial derivatives wrt x and y
are found by slicing or moving along these directions.
Figure 3.3(b) shows the exactly the same surface with lines of constant u and v un-
derneath. The partial derivatives wrt u and v are found by slicing along these new
directions.
1
3/2 LECTURE 3. CHANGING VARIABLES & JACOBIANS
0.5
f(x,y)
0
−0.5
5
4
0 2
0
−2
y −5 −4
x
Figure 3.2: A radial dartboard mesh reects the symmetry rather better than the x; y constant cake
rack.
f (x , y ) F (u , v )
(a) (b)
Figure 3.3: (a) Surface f (x ; y ) above a set of x -constant and y -constant lines. (b) Surface F (u; v )
above a set of u -constant and v -constant curves but plotted in the x ; y frame. The surface has exactly
the same shape.
3.2. REWRITING THE FUNCTION AND FINDING THE DERIVATIVES 3/3
There is no routine method for doing this, but usually the problem symmetry drops
Later we will consider some of the most standard transformations, viz between Cartesian
and
First though we should consider the general problems of rewriting the function and
nding the partial derivatives with respect to arbitrary new variables (u; v ).
There are two main cases to consider:
We are transforming from (x; y ) to (u; v ) coordinates, and the transformation is given
as old in terms of new variables. That is:
Case 1A:
If we know what the function f (x; y ) is explicitly, we can replace x and y in the function
to get the new function as
Then one can work out the partial derivatives with respect to u and v directly from the
new function F (u; v ).
3/4 LECTURE 3. CHANGING VARIABLES & JACOBIANS
Case 1B: In this case we don't have an explicit form for f (x; y ), and, therefore, cannot
nd an explicit form for function F (u; v ).
But we can still write expressions for the partial derivatives using the Chain Rule for
Case 1B: Use the Chain Rule for partials to obtain the derivatives
@f @f @x @f @y
= +
@u @x @u @y @u (3.6)
@f @f @x @f @y
= +
@v @x @v @y @v (3.7)
@f @f @f u @f u
@v =
@x (0) + @y v2 =
@y v 2 : (3.9)
To check this result, let's use (as in the example of Case 1A) f (x; y ) = x=y . Then
@f 1 x 1 v u v 2 v v
=
@u y (1) + y2 v = u v u2 =
u u =0 (3.10)
@f 1 x u u 2v
=
@v y (0) + y2 v 2 = u 2v =1 (3.11)
Before continuing, it is worth checking that you are happy that the functions f () and
F () have dierent names. They work dierently on their parameters, so should be
named dierently.
3.2. REWRITING THE FUNCTION AND FINDING THE DERIVATIVES 3/5
But notice that the chain rule for partials seems to deliver an expression for @f =@u and
@f =@v .
But you might complain that f is a function of (x; y ) NOT (u; v ), and so we should
have written @F=@u and @F=@v . You are correct. So how are we getting away with it?
because at corresponding values of (x; y ) and (u; v ) the functions do return exactly
z
Some books introduce another symbol ( , say) as the go-between. They write z =
f (x; y ) and z = F (u; v ) and then write
@z @z @x @z @y @z @z @x @z @y
= +
@u @x @u @y @u ; @v =
@x @v +
@y @v ; (3.12)
We still wish to transform the function f = f (x; y ) to (u; v ) coordinates. But now the
One's rst thought is that this should be the better way of dening a transformation,
New-to-Old prevents us from nding either F (u; v ) or using the Chain Rule for Partials.
We cannot immediately work out @x=@u , etc.
We proceed in one of two ways.
| Example of Case 2A
Case 2B: When the transformation is not invertible Write down the Chain Rule for
Partials the wrong way round! That is, we want @f =@u , so start with @f =@x .
@f @f @u @f @v
= +
@x @u @x @v @x (3.16)
@f @f @u @f @v
= +
@y @u @y @v @y (3.17)
Treat these as simultaneous equations in the unknown @f =@u and @f =@v and re-
arrange. I.e.:
@f @f @v @f @v @u @v @u @v
@u =
@x @y @y @x = @x @y @y @x (3.18)
@f @f @u @f @u @u @v @u @v
@v =
@y @x @x @y = @x @y @y @x (3.19)
So we can recover the partial derivatives with respect to the new variables without an
3.2.4 SUMMARY
To summarize:
either
1A: nd the function explicity and nd the partials from it directly, or
either
2A: invert the given transformation to get OLD variables in terms of NEW, and
then go to CASE 1, or
2B: use the Chain-rule-for-partials for the OLD variables to give simultaneous
equations for the partial derivatives with respect to to the NEW variables.
3.2. REWRITING THE FUNCTION AND FINDING THE DERIVATIVES 3/7
| Example #1
z = z (x; y ) = exp (x 2 + y 2 ) :
(3.20)
By deriving the function in plane polars, nd @z=@r and @z=@ and comment on their
values. Determine the value of r where the hill is steepest.
z = exp r2 :
(3.21)
So
@z @z
2r exp r2
= and
@ = 0 :
@r (3.22)
The change of height is all in the radial direction. @z=@ = 0 means that if you move
at constant r (that is, round the hill) you will not change height at all.
The gradient (Slope in the equation below) is a function of r alone, so we can nd the
total derivative
( 2r exp r2 ) = ( 2 + 4r 2 ) exp r2
d d
=
d r Slope
d r (3.23)
p
p
This is zero (the 2D equivalent of an inection point) when r = 1= 2 and Slope =
2 exp f 1=2g.
| Example #2.
Try CASE 2A: Can we invert the transformation? Yes! Adding then substracting
we nd
1 1
x = 2 (u + v ) y = 2 (u v ) : (3.25)
3/8 LECTURE 3. CHANGING VARIABLES & JACOBIANS
1
f = F (u; v ) = x 2 y 2 = 4 (u + v )2 (u v )2 = uv
(3.26)
@f @f
=v and =u
@u @v (3.27)
That's the problem solved. But now notice that if CASE *A works, we can always nd
1 1
x = 2 (u + v ) y = 2 (u v ) :
we could use CASE 1B to nd just the derivatives:
@f @f @x @f @y 1 1
= = (2x ): + ( 2y ): = x y = v
@u @x @u + @y @u 2 2
(3.28)
@f @f @x @f @y 1 1
= = (2x ): + ( 2y ): =x +y =u
@v @x @v + @y @v 2 2
(3.29)
Now pretend that we did not (or could not) invert the transformation. We could still
Write the chain rule for partials the other way around:
@f @f @u @f @v
= +
@x @u @x @v @x (3.30)
@f @f @u @f @v
= +
@y @u @y @v @y (3.31)
@f @f
2x = (1) + (1)
@u @v (3.32)
@f @f
2y = (1) +
@u @v ( 1) (3.33)
@f @f
)
2x + 2 y = 2 = (x + y ) = u :
@v @v (3.35)
@ 2V @ 2V
@x 2 + @y 2 =0 : (3.36)
A: We want rst to write down expressions for @V=@x and @V=@y which will involve
@r=@x , @r=@y , @=@x , and @=@y . This is the wrong way round for the transformation.
So
Write the Chain Rule for Partials the other way round (Case 2B) and use simul-
taneous equations
@V @V @x @V @y @V @V
= + = cos + sin
@r @x @r @y @r @x @y (3.37)
@V @V @x @V @y @V @V
( r sin ) +
@ =
@x @ +
@y @ =
@x @y (r cos ) (3.38)
@V @V sin @V
= cos
@x @r r @ (3.39)
@V @V cos @V
= sin
@y @r + r @ (3.40)
@ @ sin @
= cos
@x @r r @ (3.41)
@ @ cos @
= sin +
@y @r r @ (3.42)
3/10 LECTURE 3. CHANGING VARIABLES & JACOBIANS
So the operator
@2 @ sin
@ @ sin @
= cos cos
@x 2 @r r @ @r r @ (3.43)
@2 1 @ 1 @2
= cos 2 cos sin
r 2 @ + r @r@
2
@r (3.44)
1 @ @2 sin @
cos @2
sin
@ @ @2
cos cos = cos 2
@r 2
@r @r (3.45)
@ sin @ 1 @ 1@2
cos = cos sin cos sin
@r r @ r2 @ r @r@ (3.46)
@2 @2 @ 1 @2 2
= sin 2
2
cos sin 2
@y 2 @r r @ r @@r (3.47)
1 @ @2 1 2 @
2
+ cos cos + sin
r @r @@r + r 2 cos @2 (3.48)
@2 @2 @2 1 @ 1 @2
+ 2 2 :
@x 2 + @y 2 = @r 2 + r @r r @ (3.49)
@ 2V 1 @V @ 2V
1
+ = 0:
@r 2 r @r + r 2 @2 (3.50)
3.3. JACOBIANS (JACOBIAN DETERMINANTS) 3/11
Recall the equations that appeared from solving the simultaneous equations in case 2B:
@f @f @v @f @v @u @v @u @v
@u =
@x @y @y @x = @x @y @y @x (3.51)
@f @f @u @f @u @u @v @u @v
@v =
@y @x @x @y = @x @y @y @x (3.52)
Notice that the denominator is the same in both expressions. It has special signicance,
It is common to write the Jacobian as a determinant, but there is also another useful
notation.
@u @v @v @u @u @v
@ (u; v )
J= @x @y @x @y = @x
@u
@x
@v =
@ (x; y ) (3.53)
@y @y
As we shall see later, the Jacobian is especially useful when changing variables from
@ (x; y ) @ (u; v )
=1
@ (u; v ) @ (x; y ) (3.55)
We shall gain an intuitive understanding of why this must be so when we come to use
Jacobians in multiple integration. However it is quite easy to prove using the Jacobian
@f @f @x @f @y @f @f @x @f @y
=
@u @x @u + @y @u @v =
@x @v +
@y @v (3.56)
3/12 LECTURE 3. CHANGING VARIABLES & JACOBIANS
@f @x @f @y @f @f @x @f @y @f
=
@u @u @x + @u @y @v =
@v @x + @v @y (3.57)
@ @x @ @y @ @ @x @ @y @
@u f =
@u @x f +
@u @y f @v f =
@v @x f +
@v @y f (3.58)
@ @x @ @y @ @ @x @ @y @
) @u f @u @x f +
@u @y f @v f @v @x f +
@v @y f (3.59)
Now repeat with the Chain Rule around the other way. You will arrive at the following
so that
) J
1
J J =I J :
h i
x ;y
u;v
u;v
x ;y
x ;y
u;v
= u;v
x ;y
(3.63)
But a result from linear algebra tells us that, if A and B are square, jABj = jAjjBj
,
y (x,y) (r, ϕ )
r
Figure 3.4: Cartesian to plane polars. Many texts use rather than .
The transformation is
) @x
@r = cos ;
@x
@ = r sin ;
@y
@r = sin ;
@y
@ = r cos (3.65)
@ @x @ @y @ @ @
= + = cos + sin
@r @r @x @r @y @x @y (3.66)
@ @x @ @y @ @ @
= r sin + r cos
@ = +
@ @x @ @y @x @y : (3.67)
@ @ sin
@ @ @ cos @
= cos = sin
@x @r r @ and
@y @r +
r @ : (3.68)
The Jacobian
@x @x
@ (x; y ) @r @
= r cos2 + r sin2 = r :
@ (r; ) = @y
@r
@y
@
(3.69)
and
@r @r
@ (r; ) cos sin 1
= (cos )( (sin )(
r :
@x @y
@ (x; y ) = @
@x
@
@y
r )
r )= (3.70)
3/14 LECTURE 3. CHANGING VARIABLES & JACOBIANS
Cylindrical polars add a z -axis, perpendicular to the plane, which is identical to the
Cartesian z -axis.
z r (x,y,z) (r, ϕ ,z)
ϕ
x
The transformation is
So
@ @ @
= cos + sin
@r @x @y (3.72)
@ @ @ @ @
@ = r sin @x + r cos @y and
@z =
@z (3.73)
@ @ sin @
= cos
@x @r r @ (3.74)
@ @ cos @ @ @
= sin + =
@y @r r @ and
@z @z (3.75)
@z @z @z
@r @ @z
@ (r; ; z ) @x @x @x 1
r :
@r @ @z
@ (x; y; z ) = @y
@r
@y
@
@y
@z
= (3.77)
@z @z @z
Most entries can be copied over from the plane polar case.
3.4. THREE STANDARD TRANSFORMATIONS 3/15
r
y
ϕ
x
Azimuthal angle
Hence
@ @ @ @
= sin cos + sin sin + cos
@r @x @y @z (3.79)
@ @ @ @
@ = r cos cos @x + r cos sin @y r sin @z (3.80)
@ @ @
@ = r sin sin @x + r sin cos @y (3.81)
and
@ @ 1 @ sin @
= sin cos + cos cos
@x @r r @ r sin @ (3.82)
@ @ 1 @ cos @
= sin sin + cos sin +
@y @r r @ r sin @ (3.83)
@ @ sin @
= cos
@z @r r @ (3.84)
3/16 LECTURE 3. CHANGING VARIABLES & JACOBIANS
The Jacobian
@r @r @r
@ (r; ; ) @x @y @z
1
@ (x; y; z ) =
@
@x
@
@y
@
@z =
r 2 sin : (3.86)
@ @ @
@x @y @z
Cylindrical and spherical polars are particularly useful when solving problems involving
cylindrical and spherical regions. But what in general makes a good transformation?
If you were asked what is the nicest region shape to t into Cartesian coordinates Oxy
you would answer a rectangle.
Similarly, if you drew your Ouv coordinate system at right angles and asked the same
So given some arbitrary region shape in the xy plane, the best sort of transformation
is one which maps it onto a rectangle in the uv plane, as illustrated in Figure 3.7(a).
A specic example is given in Figure 3.7(b) for plane polars. The quadrant's extent is
Another question is will any transformation work? The answer is no. If we start with
two (or n) independent variables (x; y ), we must ensure that the new two (or n) are
also independent.
@ (u; v )
@ (x; y ) 6= 0: (3.87)
Recall that the Jacobian is the denominator in a relationship relating partial derivatives
y v
x u
y ϕ
π/2
x r
a a
Figure 3.7: Useful transformations tend to take an awkward region shape in Ox y into a rectangle in
Ouv .
The proof is straightforward. u (x; y ) and v (x; y ) are functionally dependent, then
If
@z @u @z @v
@u @y + @v @y = 0 (3.89)
@ (u; v ) u v
= x x = (ux vy vx uy ) = ( uy vy vy uy ) = 0 :
@ (x; y ) uy v y (3.90)
3/18 LECTURE 3. CHANGING VARIABLES & JACOBIANS
| Example
u = x2 + y + 1 and v = x 4 + 2x 2y + y 2 x 2 y: (3.91)
A:
@ (u; v )
= ( ux v y v x uy )
@ (x; y ) (3.92)
So, yes the variables are not independent. With a little work you'll spot that the
dependence is v =u 2
3u + 2 .
Lecture 4
Multiple Integration
Recall that in the Calculus I lectures we considered a function f (x ) dened over some
bounded region R of x , and divided up R into n subregions, where xi denoted the width
of the i th subregion. Letting fi be the associated function value, the single integral was
the limit
Z n
f (x )dx = fi xi :
X
lim (4.1)
n!1 i =1
xi !0
Region R
f(x i )
δx
i
x
x
i
subregions, where Ai denotes the area of the i th subregion. Let fi be the function
1
4/2 LECTURE 4. MULTIPLE INTEGRATION
value associated with the i th subregion. If the sum exists and is nite as n!1 and
Ai !0, then its limit is the double integral:
ZZ n
Function
surface
fi
y
dA i
Region R
x in x,y plane
| Example
Q: Consider a thin plate, whose surface density (mass per unit area) is a function
M = (x; y )dA )
ZZ ZZ
d Total M= d M= (x; y )dA : (4.3)
R R
To progress further we have to (i) dene the region of integration, and (ii) dene d A.
You can think of placing the d A's as generating a tiling across the region.
In Cartesian coordinates, the xy plane is divided into a cake rack of x -constant, y -
d A = dx dy : (4.4)
4.2. DOUBLE INTEGRAL 4/3
Region in
the x,y plane
x
Figure 4.3: Placing a tile in general position
ZZ
Mass = (x; y )dx dy: (4.5)
R
You start by placing a tile in general position at an (x; y ) value that is not special
Suppose we rst summed the d d x y tiles into a strip parallel to the y -axis. For each
strip this involves holding x constant and summing up the length along y from one
y (x)
2
Region in
the x,y plane
y 1(x)
x x+dx x
Figure 4.4: Summing tiles into a strip parallel to the y -axis.
4/4 LECTURE 4. MULTIPLE INTEGRATION
Note that we are assuming that the x =constant line intersects the boundary just twice.
More on this later.
Then we want to sum the strip values up from the smallest to the largest values of x,
Sum over strips
in the region
Region in
the x,y plane
x1 x2
Figure 4.5: Summing strips into the complete region
Note that, because the inner limits are function of x, the length of the strip varies
automatically as x changes.
be left with some new function of (x; y ) which is evaluated between the limits
| Example
Q: Derive the area of the shaded triangular region of the xy plane by integration.
y
y 2 (x)
1
y 1 (x)
x
1 2
y =1
2 2
1
ZZ Z Z Z
A= x y=
d d d y dx = 1
2
x d x (4.8)
R x =0 y =x =2 x =0
1 22 1
= x x =2
4 0 4
4= 1 (4.9)
You can just as well sum tiles into strips along the x -direction, then sum strips in the
y -direction. You must take care to redene the region.
1 x =2y 1
ZZ Z Z Z
A= x y=
d d d x dy = 2 y dy (4.10)
R y =0 x =0 y =0
= y 2 10 =
1 (4.11)
x 1 (y) 1 x 2 (y) 2
| Example
Q: The mass per unit area of the thin triangular plate varies as (x; y ) = k xy , where
k is constant. Find the plate's mass.
A:
y
y 2 (x)
1
y 1 (x)
x
1 2
Tile into strip: y goes from x=2 to 1. Strip into region: x goes from 0 to 2.
x =2 y =1
Z Z
M=k x y dy dx : (4.13)
x =0 y =x = 2
4.4. COMPLICATED REGIONS 4/7
Step 6: Do it
x =2 y =1
Z Z
M = k x y dy dx (4.14)
x =0 y =x =2
x2 k x3
Z x =2 x =2
1
Z
= k x2 1 4
d x =
2
x 4
d x
x =0 x =0
k x2 x4 2
k k
= = [2 1] =
2 2 16 0
2 2
Earlier on it was noted that for a continuous function it does not matter how you
subdivide the region. There are several types of complicated regions where care must
be taken.
(a) Suppose we wish to nd the mass of a plate covering a region R comprised of
two sub-regions R1 having a density function 1(x; y ) and R2 having a density function
2(x; y ). Now it does matter how you subdivide R. No little element A should straddle
the boundary of R1 and R2 . The obvious solution is to perform two separate double
dA = dA + 2dA :
RR RR RR
R R 1
1 R2
R1
σ1 σ2
R2
R1 R2
(b). Any closed smooth contour has two points where the tangent is parallel to the x
axis and another two where it is parallel to the y axes, which coincide with the extremal
values of x and y respectively. Problems are caused when there are more tangent points
which are parallel to either the x or y axes, but which do not coincide with the extremal
values. In this case, there will be some lines of constant x and/or constant y which
cut the boundary more than twice (but note that the number of crossings is always
even). But integrals only have two limits! The solution is to subdivide the region R
into subregions not troubled by this shape problem, integrate over the subregions and
(c). Sometimes the boundary is not dened by a single function. In the example
shown, summing tiles into strips in the y direction would be straightforward, as the
two boundaries provide the lower and upper limits. However, summing tiles along the
The denition of the double integral involved a subdivision of the region into arbitrarily
shapes tiles d Ai . Then, for a function f (x; y ), it was noted that the obvious tiling is
d A = dx d y .
However, there is nothing particularly special about chopping the region of integration
into little rectangles. Indeed, as we discussed in Lecture 3, often the shape and sym-
Let us keep the function in xy space and consider the new tiling.
Two key things to note are that (i) these tiles are NOT rectangular, and (ii) they
1. A function value for each (u; v ). This is obtained by substituting for x and y
using x = x (u; v ) and y = y (u; v ). Thus F (u; v ) = f (x (u; v ); y (u; v )).
2. The area of the tile. This is best found using vector calculus, which we cover
Let r(x; y ) = x^ + y^ be the position vector of points in the x; y -plane, with ^; ^
the usual unit vectors. But as x = x (u; v ) and y = y (u; v ), we may write d r, an
innitesimal change in position, in two ways:
@r @r
d r = dx^ + dy^
and d r = @u du + @v dv : (4.16)
The tile in the new coordinates is not a rectangle but a parallelogram and its area
can be found from the vector product of its sides, which we have just seen are
@r @r
@u du and
@v dv : (4.17)
@x @x @y @y
dx = @u du + @v dv and dy = @u du + @v dv ; (4.18)
inserting these into Eq 4.16, and then equating the coecients of du and dv . (We
can equate coecients because du and dv are independent.) This gives the two
y y
x x
Figure 4.7: A region (left) showing lines of constant x and y giving rise to a dx dy tiling and (right)
showing lines of constant u and v giving rise to a du dv tiling. These tiles are NOT rectangles, and do
vector equations
@r @x @y @r @x @y
@u =
@u^ + @u^
and
@v =
@v ^ + @v ^ :
(4.19)
@r @r
dA = mod
@u du @v dv
^ ^
^ k
@x @y @x @y
= mod @x
@u
@y
@u
0 du dv =
@u @v @v @u u v :
d d
@x @y
@v @v
0
But the j:::j term is nothing other than the modulus of the Jacobian, so that
@ (x; y )
d A = dx dy = mod
@ (u; v ) u v:
d d (4.20)
3. The last issue we have to consider is the region of integration. We have to express
the regionR0 in uv space using the limits of integration of u and v to exactly cover
the physical region R previously expressed in terms of x and y limits.
| Example #1
Q: Consider a semicircle of radius a centred at the origin of xy space which lies in the
So the integral is
p
Z x =a Z y =+ a2 x 2 Z x =a
A= y x= a 2 x 2 dx :
p
p d d 2 (4.21)
x =0 y= a2 x2 x =0
4.5. CHANGE OF VARIABLES IN DOUBLE INTEGRALS 4/11
(a) (b)
Figure 4.8: Semicircle region in (a) Cartesians and (b) Plane Polars
@x @x @y @y
= cos ; = r sin = sin ;
@r @ @r @ = r cos (4.23)
so
@ (x; y )
= r cos2 ( r sin2 ) = r :
@ (r; ) (4.24)
Find region. This is 0 r a and =2 =2. Note that the new region
is a rectangle in r; space. As we have noted before this is the sort of convenient
a +=2 +=2 a
1
Z Z Z Z
A= rdrd = d rdr = 2 a2: (4.25)
r =0 = =2 = =2 r =0
4/12 LECTURE 4. MULTIPLE INTEGRATION
| Example #2
If you were not convinced about the merits of transformation by the previous example,
try this.
Q: The number of dopant atoms per unit area in a at semicircular semiconducting
wafer is
2
(x + y )
2 3=2
. Determine the average dopant level per unit area.
A: We must work out the total number of atoms and divide by the area. In Cartesians
Z a Z +pa 2 x2
N= p (x 2 + y 2 )3=2 dy dx (4.26)
x =0 y= a2 x2
which is a mess.
Transforming ...
=2 a
a5
Z Z
N= r 3 r dr d = 5 : (4.27)
= =2 r =0
Now divide by the area, A = a2=2, and the average number per unit area is T=A =
2a3 =5.
The method we have discussed for double integrals is, straightforwardly extensible to
triple and higher integrals, and is best explored now through examples. However, here
ZZZ n
integral.
4.6. TRIPLE INTEGRALS 4/13
but the plan is the same. You place a volume element (a cuboid in Cartesians) in
general position (x; y; z ), integrate the element rst into a rod, then integrate the
rod into a lamina or plate, and nally integrate the plate into the complete volume.
Changing variables: One can also change variables, and again the pattern is exactly
@x @y @z
@ (x; y; z ) @u @u @u @ (x; y; z )
) V
@ (u; v; w ) du dv dw
@y
mod = mod @x @z
=
@ (u; v; w ) @v
@x
@v
@y
@v
@z
d
@w @w @w
(4.31)
@ (x; y; z )
ZZZ
I= F (u; v; w ) @ (u; v; w ) du dv dw: (4.32)
R0
| Example #1
A: This is an obvious candidate for a transformation, but let's set up the integral rst
in Cartesian coordinates.
M = (x; y; z )dV ) M =
ZZZ
d xyz dx dy dz : (4.33)
R
Place the volume element in general position (x; y; z ), integrate into a rod over x , with
y and z constant, then integrate over y into a plate, then nally over z.
4/14 LECTURE 4. MULTIPLE INTEGRATION
z
Volume element
dxdydz
ymax
x
x max
Note that xmax is not 1. The extreme position for the volume element is on the surface
of the sphere, so xmax + y + z = a .
2 2 2 2
so ymax = a z.
The plate is integrated over z going from 0 to a.
Z a Z pa 2 z2 Z pa 2 y2 z2
M = z y x dx dy dz (4.34)
pa
z =0 y =0 x =0
a Z pa 2 z2
1
Z
2 y2 z2
= z y x 2
y z
d d (4.35)
2 z =0 y =0
0
a Z pa 2 z2
1
Z
=
2
z y ( a 2 y 2 z 2 ) dy dz (4.36)
z =0 y =0
a Z pa 2 z2
1
Z
=
2
z y ( a 2 z 2 ) y 3 dy dz (4.37)
z =0 y =0
p
1 a
y 2
y 4 a2 z 2
Z
=
2
z 2
(a 2 z 2) 4
d z (4.38)
z =0 y =0
(4.39)
4.7. THE ROLE OF MOD[JACOBIAN] 4/15
1 a 1 2 1 2
Z
M = z
2 z =0 2
(a z )
2 2
4
(a z 2 ) 2 dz (4.40)
1 a
Z
=
8 z =0
z (a 2 z 2 )2 d z (4.41)
1 a
Z
=
8 z =0
za 4
2z 3 a2 + z 5 dz (4.42)
1 1 2 4 1 4 2 1 6a
=
8 2
z a 2z a + 6z (4.43)
z =0
1 6
=
48
a (4.44)
We will return to perform this integral in spherical polar coordinates after reviewing the
@ (x; y ) @ (x; y; z )
ZZ ZZZ
I= F (u; v ) @ (u; v ) du dv and I= F (u; v; w ) @ (u; v; w ) du dv dw
R0
R0
(4.45)
will remind you that inserting the modulus of the Jacobian was the method of turning
u v
d d into a proper area, and d d d u v w into a proper volume. That is in our curvilinear
coordinate system
@ (x; y ) @ (x; y; z )
d A = @ (u; v ) du dv and d V =
@ (u; v; w ) du dv dw : (4.46)
In plane, cylindrical and spherical polars, although the lines of constant r; , etc, are
not straight, they always meet each other at right angles, and it turns out then to be
quite easy to visualise the area and volume elements. Being familiar with them will help
Here we specialize the general theory to look at the shapes of the area and volume
its modulus is r . Thus the element of area is dA = r dr d. This is readily seen from
Fig. 4.9(a).
4/16 LECTURE 4. MULTIPLE INTEGRATION
modulus of the Jacobian. Thus the volume element of area is dV = r dr ddz . Again
this is evident from the diagram Fig. 4.9(b). Note also that the volume element is
dimensionally correct.
The Jacobian is r 2 sin (see Lecture 3). Now theta ranges from 0 to , so the Jacobian
is always positive. Thus the element of area is d V = r sin dr d d.
2
r
One side of the volume element is d , the second is r d , and the third is r sin d.
Note that the third side is generated by swing the arm of length r sin through the
Recall the problem to nd the mass of the positive octant of a sphere with density xyz .
We convert the integral to spherical polars as follows:
M = fxy z g x y z
RRR
d d d (4.47)
R
@ (x; y; z )
= f(r sin cos )(r sin sin )(r cos )g mod
@ (r; ; ) dr dd (4.48)
RRR
R
1 6a 1 4 =2 1 2 =2
= r
6 r =0 4
sin
2
sin (4.52)
=0 =0
1 6
=
48
a (4.53)
Notice that the region of integration is now dened by limits of integration which are
all constants which means that the integration is separable into the product of three
single-variable integrations.
4.8. STANDARD TRANSFORMATIONS REVISITED 4/17
y d A =r d r d ϕ
dϕ dr
r ϕ
x
(a)
r dϕ
dz
z
r
dr y
ϕ
dϕ
x
(b)
z
r sin θ d ϕ
θ dr
dθ
r sin
θ
r dθ
dϕ y
x ϕ
(c)
Figure 4.9: Elements of (a) Area in plane polars: dA = r dr d. (b) Volume in cylindrical polars.
| Example
in the tank.
z In general posn
at r, ϕ ,z
z=3a/2
r max
a
a r max
z-a
a
z=0
Figure 4.10:
A: The spherical tank pulls you towards spherical polars, but the dependence of the
density on z alone should be enough to make you realize that cylindrical polars are
easier!
So
0 0
(3a=2 z )r dr ddz ) M =
ZZZ
dM = (3a=2 z )r dr ddz :
a a R
(4.54)
Now think about the region and the limits this places on the integrals.
The only limit requiring thought is rmax. From the inset diagram it is obvious that
rmax
2
= a2 (z a)2 = (2az z 2) : (4.56)
4.9. THE DEFINITIONS OF SEVERAL INTEGRAL PROPERTIES 4/19
p
0 z =3a=2 =2 r = 2az z 2
Z Z Z
M =
a (3a=2 z) d r dr d z
z =0 =0 r =0
0 z =3a=2 1 2 p2az z
Z
2
2
=
a z =0 (3a=2 z ) 2 r 0 dz
0 z =3a=2
Z
= a (3a=2 z )(2az z 2 )dz
z =0
0 a
Z z =3a=2
7
= a z 3 2 z 2 + 3 a 2 z dz
z =0
0 1 4 7a 3 3a2 2 z =3a=2
= a 4z 6
z + 2z
z=0
9a 1 9a 7a 3a 3a 2
2
= 0 4 4 4 6 2
+
2
9a 3 9 7 3 9a 3 5 3 45
= 0 4 16 4 + 2 = 0 4 16 = 0a 64
It is important to be able to set up integrals from rst principles. You should focus rst
on dening the d(Quantity) the total quantity is then simply the integral over the
region.
4.9.1 In 2D ...
Consider a lamina of uniform thickness and mass per unit area (x; y ) occupying the
region R in the
RR xy plane. Then
(1) Area is
RRR dx dy .
(2) Mass is
R
(x; y )dx dy .
y -axis is
(RRx; y ) x 2dx dy .
RR
(3) Moment of inertia about the
R
(4) Polar moment of inertia about the origin is
R
(x; y ) (x 2 + y 2)dx dy .
x -coordinate is x dx dRRy= dx dy .
RR RR
(5) Centroid
V = dx dy dz ) V
x y z =
RRR
(1) Volume: d d d d
R
) M=
ZZZ
d M = (x; y; z ) dx dy dz (x; y; z ) dx dy dz (4.57)
x, y z. x = (1=V ) x dx dy dz
RRR
(3) Centroid: Average value of or For example
R
1
ZZZ
xCoM = M x(x; y; z ) dx dy dz (4.58)
R
The value depends on the axis of rotation. Supposing this to the be the z -axis, the
moment of inertia is
) Jz =
ZZZ
d z J =r 2
d M = (x 2
+ y ) dM
2
(x 2 + y 2 )(x; y; z )dx dy dz : (4.59)
R
| Example
Q: Derive the moment of inertia Jx about the x-axis of the solid cylinder x 2 + y 2 a2
bounded by z = 0 and z = b. Assume uniform volume density .
So
Jx = ( y 2 + z 2 ) dx dy dz :
RRR
(4.62)
R
The geometry suggests transforming to cylindrical polar coordinates. There are again
three tasks in making the transformation: (i) rewrite the function, (ii) derive the Mod
4.9. THE DEFINITIONS OF SEVERAL INTEGRAL PROPERTIES 4/21
a
b
Figure 4.11:
Jacobian, (iii) rewrite the region. (i) The transformation is given by x = r cos ,
y = r sin , z = z . Thus the function (y 2 + z 2 ) is (r 2 sin 2
+ z 2 ). (ii) The Jacobian is
cos r sin 0
sin r cos 0 =r
0 0 1
So
Z a Z 2 Z b
Jx = rdr d (r 2 sin2 + z 2 )dz (4.63)
r =0 =0 z =0
Z a Z 2
= rdr (br 2 sin2 + b3 =3)d (4.64)
r =0 =0
Now
2 2
1
Z Z
sin d =
2
(1 cos 2)d =
0 2 0
so that
a
b3
Z
Jx = rdr (r b + 3 2) 2
(4.65)
r =0
a b b32a2
4
= 4
+
6
(4.66)
a2b
= 12
(3a2 + 4b2 ): (4.67)
4/22 LECTURE 4. MULTIPLE INTEGRATION
Sometimes volumes appear to arise from double integration. Here are two examples.
But don't be deceived in each case you have performed the third integral behind
Suppose a closed curve C enclosing a region R lying in the positive quadrant of the
xy plane is rotated about the x -axis. It sweeps out a volume known as a volume of
revolution.
To calculate the volume of the v.o.r. rst calculate the element of volume created by
dV = 2ydA : (4.68)
V = 2ydA = 2ydxdy :
RR RR
(4.69)
R R
where A is the area of the region. In other words we arrive at the intuitive result that
V = 2Ay (4.71)
Suppose you have a surface z = f (x; y ), and want to know the volume enclosed by a
region R on the x = y = 0 plane as it rises up to hit the surface. The volume formed
4.10. VOLUMES FROM DOUBLE INTEGRALS 4/23
| Example
A: This example has two surfaces, but it is easy enough to combine the volumes by
thinking about limits. The element dxdy is at (x; y ). The upper surface is a z = (4 y )
and the lower at z = 1, so the elemental dV = (4 y + 1)dxdy . Then integrate
over the circle by changing to plane polars ...
ZZ Z 2 Z 2
V = (5 y ) d x dy = (5 r sin )r dr d (4.73)
Circle =0 r =0
2
r2 r =2 2
Z Z
= 5r sin d = [10 2 sin ] d (4.74)
=0 2 r =0 =0
(It is easy to check this example. Because it is a plane slicing through the cylinder, we