Professional Documents
Culture Documents
Volume Integrals
29.2
Introduction
A vector or scalar eld - including one formed from a vector derivative (div, grad or curl) - can be
integrated over a surface or volume. This Section shows how to carry out such operations.
Prerequisites
Before starting this Section you should . . .
Learning Outcomes
On completion you should be able to . . .
34
HELM (2005):
Workbook 29: Integral Vector Calculus
Example 16
If S is the surface of the sphere x2 + y 2 + z 2 = a2 nd the unit normal n
.
Solution
The unit normal at the point (x, y, z) points away from the centre of the sphere i.e. it lies in
the direction of xi + yj + zk. To make this a unit vector it must be divided by its magnitude
x2 + y 2 + z 2 i.e. the unit vector
x
n
=
x2 + y 2 + z 2
x
y
z
=
i+ j+ k
a
a
a
where a = x2 + y 2 + z 2
i+
z
j+
k
x2 + y 2 + z 2
x2 + y 2 + z 2
k
y
j
i
Figure 6
HELM (2005):
Section 29.2: Surface and Volume Integrals
35
Example 17
For the cube 0 x 1, 0 y 1, 0 z 1, nd the unit normal n
for each
face.
Solution
On the face given by x = 0, the unit normal points in the negative x-direction. Hence the unit
normal is i. Similarly :On the face x = 1 the unit normal is i.
On the face y = 0 the unit normal is j.
On the face y = 1 the unit normal is j.
On the face z = 0 the unit normal is k.
On the face z = 1 the unit normal is k.
Example 18
The rectangle OABC lies in the plane z = y (Figure 7). The vertices are O =
(0, 0, 0), A = (1, 0, 0), B = (1, 1, 1) and C = (0, 1, 1). Find a unit vector n
z
y
B
E
O
Figure 7
36
HELM (2005):
Workbook 29: Integral Vector Calculus
Solution
Note that two vectors in the rectangle are OA = i and OC = j + k. A vector perpendicular to the
1
1
Thus, dS = ( j + k)dx 2dy = (j + k)dxdy.
2
2
Note :- the factor of 2 could also have been found by comparing the area of rectangle OABC,
1
i.e. 1, with the area of its projection in the Oxy plane i.e. OADE with area .
2
Example 19
Evaluate the integral
A
1
dS
1 + x2
Solution
In this integral, S becomes kdxdy i.e. the unit normal times the surface element. Thus the integral
is
1
1 1
1
k
1
k tan x dy
dxdy =
2
0
y=0 x=0 1 + x
y=0
1
1
1
dy
k( 0) dy = k
=
4
4 y=0
0
y=0
=
k
4
HELM (2005):
Section 29.2: Surface and Volume Integrals
37
Example
20
udS where u = r2 = x2 + y 2 + z 2 and S is the surface of the unit cube
Find
S
0 x 1, 0 y 1, 0 z 1.
Solution
The unit cube has six faces and the unit normal vector n
points in a dierent direction on each face.
The surface integral must be evaluated for each face separately and the results summed.
On the face x = 0, the unit normal n
= i and the surface integral is
1
1
1 1
1 3
2
2
2
2
(0 + y + z )(i)dzdy = i
dy
y z+ z
3
y=0 z=0
y=0
z=0
1
1
1
2
1 3 1
2
dy = i y + y = i
= i
y +
3
3
3 0
3
y=0
On the face x = 1, the unit normal n
= i and the surface integral is
1
1 1
1
1 3
2
2
2
2
(1 + y + z )(i)dzdy = i
dy
z+y z+ z
3
y=0 z=0
y=0
z=0
1
1
4
5
1 3 4
2
= i
dy = i y + y = i
y +
3
3
3 0 3
y=0
The net contribution from the faces x = 0 and x = 1 is 23 i + 53 i = i.
Due to the symmetry of the scalar eld u and the unit cube, the net contribution from the faces
y = 0 and y = 1 is j while the net contribution
from the faces z = 0 and z = 1 is k.
The sum i.e. the surface integral
udS = i + j + k
S
Key Point 4
A scalar function integrated with respect to a unit normal gives a vector quantity.
When the surface does not lie in one of the planes Oxy, Oxz, Oyz, extra care must be taken when
nding dS.
38
HELM (2005):
Workbook 29: Integral Vector Calculus
Example
21
Find
bounded by (0, 0, 0), (0, 1, 1) and (1, 0, 1). (See Figure 8.)
z
Area
3
2
x
Area
1
2
Figure 8
Solution
The unit vector n is perpendicular to two vectors in the plane e.g. (j + k) and (i + k). The vector
As the area of the triangle is 23 and the area of its projection in the Oxy plane is 12 , the vector
3/2
dS =
n
dydx = (i + j + k)dydx.
1/2
Thus
1 1x
f dS = (i + j + k)
2x dydx
x=0
1
= (i + j + k)
y=0
1x
dx
2xy
x=0
1
y=0
= (i + j + k)
The scalar function being integrated may be the divergence of a suitable vector function.
HELM (2005):
Section 29.2: Surface and Volume Integrals
39
Example
22
( F )dS where F = 2xi + yzj + xyk and S is the surface of the
Find
S
Solution
Note that F = 2 + z = 2 as z = 0 everywhere along S. As the triangle lies in the Oxy plane,
the normal vector n = k and dS = kdydx.
Thus,
1 x
1 x
1
1
( F )dS =
2dydxk =
2xdxk = x2 = k
2y dxk =
x=0
y=0
Task
Answer
1 3y
4x dxdyk
y=0
x=0
40
HELM (2005):
Workbook 29: Integral Vector Calculus
Answer
38
k
3
Exercises
1. Evaluate the integral
xydS where S is the triangle with vertices at (0, 0, 4), (0, 2, 0) and
S
(1, 0, 0).
0 z 1.
(x2 i + yzj + x2 yk) dS where S is the rectangle with vertices
8
4
2
i+ j+ k
3
3
3
2.
1
(x + y + z),
4
3.
5
i
2
respectively. Again, when dS is expressed appropriately, the expression will reduce to a double
integral.
Example 23
Evaluate the integral
(x2 yi + zj + (2x + y)k) dS
A
x=0
y=0
1
1 2
3
(1 + y)dy = y + y
=
2
2
y=0
0
HELM (2005):
Section 29.2: Surface and Volume Integrals
x=0
41
Example
24
r dS where A represents the surface of the unit cube 0 x 1,
Evaluate
A
Solution
The vector dS (in the direction of the normal vector) will be a constant vector on each face but will
be dierent for each face.
On the face x = 0 (left), dS = dydzi and the integral on this face is
1 1
1 1
(0i + yj + zk) (dydzi) =
0 dydz = 0
z=0
y=0
z=0
y=0
Similarly on the face y = 0 (front), dS = dxdzj and the integral on this face is
1 1
1 1
(xi + 0j + zk) (dxdzj) =
0 dxdz = 0
z=0
x=0
z=0
x=0
Furthermore on the face z = 0 (bottom), dS = dxdyk and the integral on this face is
1 1
1 1
(xi + yj + 0k) (dxdyk) =
0 dxdy = 0
x=0
y=0
x=0
y=0
On these three faces, the contribution to the integral is zero. However, on the face x = 1 (right),
dS = +dydzi and the integral on this face is
1 1
1 1
(1i + yj + zk) (+dydzi) =
1 dydz = 1
z=0
y=0
z=0
y=0
27.)
Similarly, on the face y = 1 (back), dS = +dxdzj and the integral on this face is
1 1
1 1
(xi + 1j + zk) (+dxdzj) =
1 dxdz = 1
z=0
x=0
z=0
x=0
and nally,on the face z = 1 (top), dS = +dxdyk and the integral on this face is
1 1
1 1
(xi + yj + 1k) (+dxdyk) =
1 dxdy = 1
y=0
x=0
y=0
x=0
r dS = 0 + 0 + 0 + 1 + 1 + 1 = 3
42
HELM (2005):
Workbook 29: Integral Vector Calculus
Engineering Example 4
Magnetic flux
Introduction
0 I
2
yi + xj
x2 + y 2
Find the ux through a rectangular region (with sides parallel to the axes) on the plane y = 0.
Mathematical statement of problem
B dS over the surface, x1 x x2 , z1 z z2 . (see the accompanying
Find the integral
S
diagram which shows part of the plane y = 0 for which the ux is found and a single magnetic eld
line. The strength of the eld is inversely proportional to the distance from the axis.)
z
z2
z1
y
x1
x2
Figure 9
Mathematical analysis
0 I
0 I
and
dS = dx dz j so B dS =
On y = 0, B =
j
dx dz and the ux is given by
2x
2x
the double integral
z 2 x2
z2
x2
0 I
0 I
dx dz =
ln x
dz
2 z=z1
x1
z=z1 x=x1 2x
z2
0 I
ln x2 ln x1 dz
=
2 z=z1
z2
0 I
x2
0 I
=
z ln x2 ln x1
(z2 z1 ) ln
=
2
2
x1
z=z1
HELM (2005):
Section 29.2: Surface and Volume Integrals
43
Interpretation
The magnetic ux increases in direct proportion to the extent of the side parallel to the axis (i.e.
along the z-direction) but logarithmically with respect to the extent of the side perpendicular to the
axis (i.e. along the x-axis).
Example 25
2
If F = x i + y j + z k, evaluate
z = 0 bounded by x = 1, y = 1.
Solution
i j
k
2 2
F dS = x y
z 2 = y 2 dxdyi x2 dxdyj and
0 0 dxdy
1 1
2
y dxdyi
x2 dxdyj
F dS =
S
y=1
The integral
1
x=1
y=1
x=1
1
1
x=1
y=1
2
dy =
2y dy = y 3
y x
3
y=1
x=1
2
y dxdy =
y=1
1
=
1
4
3
4
x2 dxdy = .
Similarly
3
y=1 x=1
4
4
Thus
F dS = i j
3
3
S
Key Point 5
F (r) dS evaluates to a scalar.
The vector function involved may be the gradient of a scalar or the curl of a vector.
44
HELM (2005):
Workbook 29: Integral Vector Calculus
Example
26
().dS where = x2 + 2yz and S is the area between y = 0 and
Integrate
S
Figure 10
Solution
Here = 2xi + 2zj + 2yk and dS = k dydx. Thus ().dS = 2ydydx and
x2
().dS =
2y dydx
x=0
y=0
x2
y
x=0
1 5
x
5
=
0
x4 dx
x=0
y=0
1
dx =
1
5
F dS, non-Cartesian coordinates e.g. cylindrical polar or spherical
polar coordinates may be used. Once again, it is necessary to include any scale factors along with
the unit normal.
Example 27
F (r) dS
for F = z + z sin2
z and S being the complete surface (including ends) of the
cylinder a, 0 z 1. (See Figure 11.)
z
z=1
=a
Figure 11
HELM (2005):
Section 29.2: Surface and Volume Integrals
45
Solution
F (r) dS must be evaluated separately for the curved surface and the ends.
The integral
S
For the curved surface, dS = addz (with the a coming from the scale factor for and the fact
that = a on the curved surface.) Thus, F dS = a2 z ddz and
a 2
F (r) dS =
a2 z ddz
S
z=0 =0
a
a
2
2 1 2
= 2a
z
z dz = 2a
= a4
2
z=0
0
On the bottom, z = 0 so F = 0 and the contribution to the integral is zero.
On the top, z = 1 and dS = z dd and F dS = z sin2 dd = h sin2 dd and
a 2
F (r) dS =
h sin2 dd
=0 =0
S
a
1
d = ha2
= h
2
=0
1
h
So
F (r) dS = a4 + ha2 = a2 (a2 + )
2
2
S
Engineering Example 5
The current continuity equation
Introduction
When an electric current ows at a constant rate through a conductor, then the current continuity
equation states that
J dS = 0
S
where J is the current density (or current ow per unit area) and S is a closed surface. The equation
is an expression of the fact that, under these conditions, the current ow into a closed volume equals
the ow out.
Problem in words
A person is standing nearby when lightning strikes the ground. Find the voltage between the feet of
the person.
46
HELM (2005):
Workbook 29: Integral Vector Calculus
Figure 12
Mathematical statement of problem
(a) Find the currentJ at a distance r from the strike by integrating the current over the
J dS
hemisphere I =
S
I
(b) Find the eld E from the equation E = 2 where E = |E| and I is the current.
2 r
R2
(c) Find V from the integral
E dr
R1
Mathematical analysis
Imagine a hemisphere of radius r level with the surface of the ground so that the point of lightning
strike is at its centre. By symmetry, the pattern of current ow from the point of strike will be
uniform radial lines, and the magnitude of J will be a constant, i.e. over the curved surface of the
hemisphere J = J r.
Since the amount of current entering the hemisphere is I, then it follows that the current leaving
must be the same i.e.
J dS
(where Sc is the curved surface of the hemisphere)
I =
Sc
(J r) (dS r)
=
Sc
dS
= J
Sc
2
= 2r J
since the surface area of a sphere is 4r2 . Therefore
I
2r2
Note that if the current density J is uniformly radial over the curved surface, then the electric eld
E must be also, i.e. E = E r. Using Ohms law
J=
J = E
or
E = J
47
I
2r2
The voltage dierence between two points at radii R1 and R2 from the lightning strike is found by
integrating E between them, so that
R2
V =
E dr
E=
R1
R2
=
E dr
R1
I
=
2
R2
R1
dr
r2
R2
I 1
2 r R1
I
1
1
=
2 R1 R2
=
I
=
2
R2 R1
R1 R 2
Interpretation
Suppose the lightning strength is 10,000 A, the person is 12 m away with feet 0.35 m apart, and
the resistivity of the ground is 80 m. Clearly, the worst case (i.e. maximum voltage) would occur
when the dierence between R1 and R2 is greatest, i.e. R1 =12 m and R2 =12.35 m which would be
the case if both feet were on the same radial line. The voltage produced under these circumstances
is
I 1
1
V =
2 R1 R2
80 10000 1
1
=
2
12 12.35
= 300 V
Task
Your solution
Answer
(x2 + z 2 ) dxdz =
dS = dxdzj
1
48
8
3
HELM (2005):
Workbook 29: Integral Vector Calculus
Task
Your solution
Answer
1 1
4
(x + 0)k dxdz = k
3
1
2
(2xz)i +
1
Exercises
square 0 x 1, 0 y 1.
F dS where F = r cos
r and S
2. (e 1)j,
Answers 1. ,
3. a3
3
HELM (2005):
Section 29.2: Surface and Volume Integrals
49
Example 28
Integrate F over the unit cube 0 x 1, 0 y 1, 0 z 1 where F is
the vector function x2 yi + (x z)j + 2xz 2 k.
Solution
(x y) +
(x z) + (2xz 2 ) = 2xy + 4xz
x
y
z
The integral is
1
1 1
1 1 1
2
(2xy + 4xz)dzdydx =
dydx
2xyz + 2xz
F =
x=0
1
y=0
1
x=0
1
y=0
3
3xdx = x2
2
x=0
x=0
1
=
0
x=0
y=0
1
xy 2 + 2xy
=
=
z=0
dx
0
3
2
Key Point 6
The volume integral of a scalar function (including the divergence of a vector) is a scalar.
Task
2
2
Using spherical
polar
coordinates and the vector eld F = r r+r sin , evaluate
the integral
V
Your solution
Answer
F = 4r + 2r cos ,
50
=0
=0
HELM (2005):
Workbook 29: Integral Vector Calculus
Exercises
1. Evaluate
V
0 y 1.
2
F dV
2. For the vector eld F = (x y+sin z)i+(xy +e )j+(z +x )k, nd the integral
V
1
,
2
1
20
2.
Integrating a vector function over a volume integral is similar but care should be taken with the
various components. It may help to think in terms of a separate volume integral for each component.
The vector function may be of the form f or F .
Example 29
Integrate the function F = x2 i+2j over the prism given by 0 x 1, 0 y 2,
0 z (1 x). (See Figure 13.)
z
y
2
Figure 13
Solution
The integral is
1x
(x i + 2j)dzdydx =
x=0
1
y=0
2
=
x=0
1
z=0
x zi + 2zj
x=0
1x
2
y=0
y=0
x=0
dydx
z=0
(x2 x3 )i + (2 2x)j dydx
y=0
1
2
2 3 1 4
3
2
(2x 2x )i + (4 4x)j dx = ( x x )i + (4x 2x )j
=
3
2
x=0
0
1
=
i + 2j
6
HELM (2005):
Section 29.2: Surface and Volume Integrals
51
Example 30
2
( F )dV where V is the volume under the
For F = x yi + y j evaluate
V
Solution
i
j
k
F =
x y z
2
x y y2 0
so
( F )dV
= x2 k
x+y+2
(x2 )kdzdydx
=
x=1
1
y=1
1
z=0
x+y+2
2
(x )zk
=
x=1
1
y=1
1
x=1
1
y=1
dydx
z=0
x x2 y 2x2 dydxk
1
1 2 2
3
2
=
dxk
x y x y 2x y
2
x=1
y=1
1
1
1 4 4 3
8
3
2
=
k= k
2x 0 4x dxk = x x
2
3
3
x=1
1
z
(1, 1, 4)
(1, 1, 0)
(1, 1, 0)
x
(1, 1, 0)
(1, 1, 0)
Figure 14
52
HELM (2005):
Workbook 29: Integral Vector Calculus
Key Point 7
The volume integral of a vector function (including the gradient of a scalar or the curl of a vector)
is a vector.
Task
cube 1 x 1, 1 y 1, 1 z 1.
Your solution
Answer
1
x=1
y=1
8
(xi + y 2 j + zk)dzdydx = j
3
z=1
Exercises
1. For f = x2 + yz, and V beingthe
volume bounded by y = 0, x + y = 1 and x + y = 1 for
1 z 1, nd the integral
(f )dV .
V
the cube 1 x 1, 1 y 1, 1 z 1.
Answers
2
1. k,
3
2. 32i + 8k
HELM (2005):
Section 29.2: Surface and Volume Integrals
53