R2 sin2 θ sin2 φ
D R̂ sin θ cos φ θˆcos θ cos φ φˆsin φ
R2 sin2 θ sin2 φ R2 sin2 θ cos2 φ
R2 sin2 θ cos2 φ
R̂ sin θ sin φ θˆcos θ sin φ φ cos φ 2 2
ˆ
R sin θ sin2 φ R2 sin2 θ cos2 φ
R̂ cos θ θˆsin θ 4
R̂ sin θ cos φ sin2 φ sin θ sin φ cos2 φ 4 cos θ
θˆ cos θ cos φ sin φ cos θ sin φ cos φ 4 sin θ 2 2
φˆ cos3 φ sin3 φ
ELEKTRO A
D P4 R̂ sin 35
26 cos 45 sin2 45 sin 35
26 sin 45 cos2 45 4 cos 35
26
θˆ cos 35
26 cos 45 sin2 45 cos 35
26 sin 45 cos2 45 4 sin 35
26
φˆ cos3 45 sin3 45
R̂ 3
67 θˆ1
73 φˆ0
707
(c) U z cos φ 1 r2 ,
(d) W e R sin θ,
(e) S 4x2 e z y3 ,
(f) N r2 cos2 φ,
(g) M R cos θ sin φ.
Solution:
(a) From Eq. (3.72),
6x 6z
∇T xˆ zˆ
x2
z2 2 x2 z2 2
(b) From Eq. (3.72),
∇W R̂e R
sin θ θˆ e R
R cos θ
(e) From Eq. (3.72),
S 4x2 e z y3
∂S ∂S ∂S
∇S xˆ yˆ zˆ xˆ8xe z
yˆ3y2 zˆ4x2 e z
∂x ∂y ∂z
(f) From Eq. (3.82),
N r2 cos2 φ
∂N 1 ∂N ∂N
∇N rˆ φˆ zˆ rˆ2r cos2 φ φˆ2r sin φ cos φ
∂r r ∂φ ∂z
(g) From Eq. (3.83),
M R cos θ sin φ
∂M 1 ∂M 1 ∂M cos φ
∇M R̂ θˆ φˆ R̂ cos θ sin φ θˆsin θ sin φ φˆ
∂R R ∂θ R sin θ ∂φ tan θ
CHAPTER 3 143
∇T zˆe 3z
If T 10 at z 0, find T z .
Solution:
∇T zˆe 3z
By choosing P1 at z 0 and P2 at any point z, (3.76) becomes
T z
T 0
0
z
∇T dl
0
z
zˆe 3z
xˆdx
yˆdy
zˆdz
z
z e 3z 1
e 3z
dz 1 e 3z
0 3
0
3
Hence,
1 1
T z T 0 1 e 3z
10 1 e 3z
3 3
Problem 3.34 Follow a procedure similar to that leading to Eq. (3.82) to derive the
expression given by Eq. (3.83) for ∇ in spherical coordinates.
Solution: From the chain rule and Table 3-2,
∂T ∂T ∂T
∇T xˆ yˆ zˆ
∂x ∂y ∂z
∂T ∂R ∂T ∂θ ∂T ∂φ
xˆ
∂R ∂x ∂θ ∂x ∂φ ∂x
∂T ∂R ∂T ∂θ ∂T ∂φ
∂R ∂y ∂θ ∂y ∂φ ∂y
yˆ
∂T ∂R ∂T ∂θ ∂T ∂φ
∂R ∂z ∂θ ∂z ∂φ ∂z
zˆ
xˆ
∂T ∂
∂R ∂x
x2 y2 z2
∂T ∂
∂θ ∂x
tan 1 x2 y2 z
∂T ∂
∂φ ∂x
tan 1 y x
yˆ
∂R ∂y
∂T ∂
x2 y2 z2
∂T ∂
∂θ ∂y
tan 1 x2 y2 z
∂T ∂
∂φ ∂y
tan 1 y x
zˆ
∂T ∂
∂R ∂z
x2 y2 z2
∂T ∂
∂θ ∂z
tan 1 x2 y2 z
∂T ∂
∂φ ∂z
tan 1 y x
144 CHAPTER 3
∂T x ∂T z x ∂T y
xˆ 2
∂R x2
y2
z2 ∂θ x2
y2
z2 x2
y2 ∂φ x y
2
∂T y ∂T z y ∂T x
yˆ
∂R x2
y2
z2 ∂θ x2 y2 z2
x2
y2 ∂φ x2 y2
zˆ
∂T
∂R x2
z
y2 z2
∂T
∂θ x2
y2
1
z2
x2
y2
∂T
0
∂φ
∂T R sin θ cos φ ∂T R cos θ R sin θ cos φ ∂T R sin θ sin φ
xˆ
∂R
R ∂θ R2 R sin θ ∂φ R2 sin2 θ
∂T R sin θ sin φ ∂T R cos θ R sin θ sin φ ∂T R sin θ cos φ
yˆ
∂R ∂θ R2 R sin θ ∂φ
R R2 sin2 θ
∂T R cos θ ∂T R sin θ
∂R R ∂θ R2
zˆ
xˆ sin θ cos φ
∂R
∂θ R
∂T ∂T cos θ sin φ ∂T cos φ
∂φ R sin θ
yˆ sin θ sin φ
∂R ∂θ R
∂T ∂T sin θ
∂θ R
zˆ cos θ
∂R
∂T
xˆsin θ cos φ yˆsin θ sin φ zˆcos θ
∂R
1 ∂T
xˆcos θ cos φ yˆcos θ sin φ zˆsin θ
R ∂θ
1 ∂T
xˆsin φ yˆcos φ
R sin θ ∂φ
∂T ˆ1 ∂T ˆ 1 ∂T
R̂ θ φ
∂R R ∂θ R sin θ ∂φ
which is Eq. (3.83).
Problem 3.35 For the scalar function V xy2 z2 , determine its directional
derivative along the direction of vector A xˆ yˆz and then evaluate it at
P 1 1 4 .
Solution: The directional derivative is given by Eq. (3.75) as dV dl ∇V aˆl , where
the unit vector in the direction of A is given by Eq. (3.2):
xˆ yˆz
aˆl
1
z2
CHAPTER 3 145
dV y2 2xyz
dl 1 z2
At P 1 1 4 ,
dV 9
2
18
dl
1 1 4 17
Problem 3.36 For the scalar function T 12 e r 5 cos φ, determine its directional
derivative along the radial direction rˆand then evaluate it at P 2 π 4 3 .
Solution:
1 r5
T e cos φ
2
∂T ˆ1 ∂T ∂T e r 5 cos φ e r 5 sin φ
∇T rˆ φ zˆ rˆ φˆ
∂r r ∂φ ∂z 10 2r
e cos φ
dT r 5
∇T rˆ
dl 10
dT e 2 5 cos π4
4
74 10 2
dl 2 π 4 3 10
Problem 3.37 For the scalar function U R1 sin2 θ, determine its directional
derivative along the range direction R̂ and then evaluate it at P 5 π 4 π 2 .
Solution:
1 2
U sin θ
R
∂U ˆ1 ∂U ˆ 1 ∂U sin2 θ 2 sin θ cos θ
∇U R̂ θ φ R̂ θˆ
∂R R ∂θ R sin θ ∂φ R2 R
sin θ
2
dU
∇U R̂
dl R2
dU sin2 π 4
0
02
dl 5 π 4 π 2 25
146 CHAPTER 3
points along R̂, (b) the magnitude of E is a function of only the distance from the
origin, (c) E vanishes at the origin, and (d) ∇ E 12, everywhere. Find an expression
for E that satisfies these properties.
Solution: According to properties (a) and (b), E must have the form
E R̂ER
∇ E
1 ∂
R2 ∂R
R2 ER 12
∂
R2 ER 12R2
∂R
R ∂ 2 R
R ER dR 12R2 dR
0 ∂R 0
R
12R3
R2 ER R
0
3 0
R2 ER 4R3
Hence,
ER 4R
and
E R̂4R
Problem 3.39 For the vector field E xˆxz yˆyz2 zˆxy, verify the divergence
theorem by computing:
(a) the total outward fl ux fl owing through the surface of a cube centered at the
origin and with sides equal to 2 units each and parallel to the Cartesian axes,
and
(b) the integral of ∇ E over the cube’s volume.
Solution:
(a) For a cube, the closed surface integral has 6 sides:
E ds Ftop
Fbottom
Fright
Fleft
Ffront
Fback
CHAPTER 3 147
Ftop
1 1
xˆxz
yˆyz2
zˆxy z 1
zˆdy dx
x
1 y
1
1 1
1 1 x2 y2
xy dy dx
0
4
x 1 y 1 y
1 x
1
1 1
Fbottom xˆxz yˆyz2 zˆxy zˆdy dx
x 1 y 1 z
1
1 1
1 1 x2 y2
xy dy dx
0
x
1 y
1 4 y
1 x
1
1 1
Fright xˆxz 2
yˆyz zˆxy yˆdz dx
x 1 z 1 y 1
1 1
1 1 xz3 4
z dz dx
2
3 3
x 1 z 1 z
1 x
1
1 1
Fleft xˆxz yˆyz2 zˆxy yˆdz dx
x
1 z
1 y
1
1 1
1 1 xz3 4
z dz dx
2
3 3
x 1 z 1 z
1 x 1
1 1
Ffront xˆxz yˆyz2 zˆxy xˆdz dy
y
1 z
1 x 1
1 1
1 1 yz2
z dz dy
0
y
1 z
1 2 z
1 y
1
Fback
1 1
xˆxz
yˆyz2
zˆxy x 1
xˆdz dy
y 1 z 1
1 1
1 1 yz2
z dz dy
0
y
1 z
1 2 z
1 y
1
4 4 8
E ds 0 0 0 0
3 3 3
148 CHAPTER 3
(b)
∇ E dv
1 1 1
∇ xˆxz
yˆyz2
zˆxy dz dy dx
x
1 y
1 z
1
1 1 1
z z2 dz dy dx
x
1 y
1 z
1
1 1
1
z2 z3 8
xy
2 3 3
z
1 y
1 x
1
Problem 3.40 For the vector field E rˆ10e r zˆ3z, verify the divergence theorem
for the cylindrical region enclosed by r 2, z 0, and z 4.
Solution:
E ds
r 0 φ 0
2 2π
rˆ10e r
zˆ3z
zˆr dr dφ
z 0
2π 4
φ 0 z 0
rˆ10e r
zˆ3z rˆr dφ dz
r 2
2 2π
r 0 φ 0
rˆ10e r
zˆ3z zˆr dr dφ
z 4
2π 4 2 2π
0 10e 2 2 dφ dz 12r dr dφ
φ 0 z 0
r 0 φ 0
160πe 2
48π 82
77
10e r
4 2 2π r 1
∇ E dV 3
r dφ dr dz
z 0 r 0 φ 0
r
2
8π r
10e 1 r 3r dr
r 0
2
3r2
8π 10e r
10e r
1 r
2 r 0
160πe 2
48π 82
77
Problem 3.41 A vector field D rˆr3 exists in the region between two concentric
cylindrical surfaces defined by r 1 and r 2, with both cylinders extending
between z 0 and z 5. Verify the divergence theorem by evaluating:
(a) D ds,
S
CHAPTER 3 149
(b) ∇ D dV .
V
Solution:
(a)
D ds Finner
Fouter
Fbottom
Ftop
Finner
φ 0 z 0
2π
5
rˆr3
rˆr dz dφ
r 1
2π 5
r4 dz dφ 10π
φ 0 z 0
r 1
Fouter
2π 5
φ 0 z 0
rˆr3 rˆr dz dφ
r 2
2π 5
r4 dz dφ r 2
160π
φ 0 z 0
Fbottom
2 2π
r 1 φ 0
rˆr3
zˆr dφ dr
z 0
0
Ftop
2 2π
r 1 φ 0
rˆr3 zˆr dφ dr
z 5
0
Therefore, D ds 150π.
(b) From the back cover, ∇ D 1 r ∂ ∂r rr 3 4r2 . Therefore,
5 2π 2 2π 5
4r r dr dφ dz r4 150π
2
∇ D dV 2
r 1 φ
z 0 φ 0 r 1 0
z 0
Problem 3.42 For the vector field D R̂3R2 , evaluate both sides of the divergence
theorem for the region enclosed between the spherical shells defined by R 1 and
R 2.
Solution: The divergence theorem is given by Eq. (3.98). Evaluating the left hand
side:
V
∇ D dV
2π
φ 0 θ 0 R 1
π
2
1 ∂ 2
R2 ∂R
R 3R2
R2 sin θ dR dθ dφ
π
2π cos θ 180π
2
θ 0 3R4
R 1
150 CHAPTER 3
φ 0 θ 0
π
R̂3R2
R̂R2 sin θ dθ dφ
S
R 1
2π π
R̂3R2 R̂R2 sin θ dθ dφ
φ 0 θ 0
R 2
π π
y y
1 1
L3 L3 L2
L2
L1
0 x 0 x
L1 1 1 2
(a) (b)
Figure P3.43: Contours for (a) Problem 3.43 and (b) Problem 3.44.
(a)
E dl L1
L2
L3
L1 xˆxy
yˆ x2
2y2 xˆdx
yˆdy
zˆdz
1 0 0
xy y 0 z 0 dx x2 2y2 dy 0 y 0 dz 0
x 0
y 0
z 0
z 0
CHAPTER 3 151
L2 xˆxy
yˆ x2
2y2 xˆdx
yˆdy
zˆdz
1 1 0
xy 0 dx x2 2y2 dy 0 x 1 dz
x 1
z
y 0 x 1z 0 z 0
1
2y3 5
0 y
0
3 y 0 3
y 1 x y z
0 z 0
0
x3 2
y3
0
0
3 x 1
y 1
3
Therefore,
E dl 0 3 3
5 2
1
x
zˆ3x zˆdy dx z 0
1 x 1
3x dy dx 3x x 0 dx x3
1
1
x 0 y 0
x 0
0
Problem 3.44 Repeat Problem 3.43 for the contour shown in Fig. P3.43(b).
Solution: In addition to the independent condition that z 0, the three lines of the
triangle are represented by the equations y 0, y 2 x, and y x, respectively.
(a)
E dl L1
L2
L3
L1 xˆxy
yˆ x2
2y2 xˆdx
yˆdy
zˆdz
2 0 0
xy y 0 z 0 dx x2 2y2 dy 0 y 0 dz 0
x 0
y 0 z 0 z 0
y 0 x 2 yz
0 z 0
1
x3 11
0
1
x2
3
4y
2y2
y3 y 0
3
x 2
152 CHAPTER 3
L3 xˆxy
yˆ x2
2y2 xˆdx
yˆdy
zˆdz
0 0 0
xy 0 dx x2 2y2 dy 0 y x dz
x 1
y xz
y 1 x yz 0 z 0
0
x3 2
y3
0
0
3 x 1
y 1
Therefore,
E dl 0
11 2
3 3
3
x 0 y 0
x
zˆ3x zˆdy dx z 0
2 2 x
x 1 y 0
zˆ3x zˆdy dx z 0
1 x
3x dy dx
2
3x dy dx
2 x
x 0 y 0
x 1 y 0
1 2
3x x 0 dx 3x 2 x 0 dx
x 0
x 1
3 1
3
2
x 3x2 x3
0 x 1
Problem 3.45 Verify Stokes’s theorem for the vector field B rˆr cos φ φˆsin φ
by evaluating:
(a) B dl over the semicircular contour shown in Fig. P3.46(a), and
C
(b) ∇ B ds over the surface of the semicircle.
S
Solution:
(a)
B dl B dl
B dl
B dl
L1 L2 L3
B dl rˆr cos φ φˆsin φ rˆdr φˆr dφ zˆdz r cos φ dr r sin φ dφ
L1
B dl r 0
2
r cos φ dr
φ 0 z 0
0
φ 0
r sin φ dφ
z 0
0 2
1 2 2
2r
r 0
CHAPTER 3 153
y y
2 L2 2
L3 L2
1
L4 L1
x 0 x
-2 L3 0 L1 2 1 2
(a) (b)
Figure P3.46: Contour paths for (a) Problem 3.45 and (b) Problem 3.46.
L2
B dl
r 2
2
r cos φ dr
z 0
π
φ 0
r sin φ dφ
r 2 z 0
π
0 2 cos φ 4
φ 0
L3
B dl
r 2
0
r cos φ dr
φ πz 0
φ π
π
r sin φ dφ
z 0
0 2
1 2 0
2r r 2
B dl 2 4 2 8
(b)
rˆ 0 φˆ 0
r ∂φ ∂z ∂z
1 ∂ ∂
zˆ r sin φ r cos φ
r ∂r ∂φ
1 1
φ 0 z sin φ r sin φ z sin φ 1
r
ˆ
r0 ˆ ˆ ˆ
r
∇ B ds π
φ 0 r 0
2
zˆsin φ 1
1
r
zˆr dr dφ
π 2 π
sin φ r 1 dr dφ cos φ 12 r2 r
2
8
φ 0 r 0
r 0
φ 0
Problem 3.46 Repeat Problem 3.45 for the contour shown in Fig. P3.46(b).
Solution:
154 CHAPTER 3
(a)
B dl B dl
B dl
B dl
B dl
L1 L2 L3 L4
B dl rˆr cos φ φˆsin φ rˆdr φˆr dφ zˆdz r cos φ dr r sin φ dφ
L1
B dl
r 1
2
r cos φ dr
φ 0 z 0
0
φ 0
r sin φ dφ
z 0
3
0
1 2 2
2r
r 1
2
L2
B dl
r 2
2
r cos φ dr
z 0
φ 0
π
r sin φ dφ
r 2 z 0
π 2
0 2 cos φ 2
φ 0
L3
B dl
r 2
1
r cos φ dr
φ π 2 z 0
π 2
φ π 2
r sin φ dφ
0
z 0
L4
B dl
r 1
1
r cos φ dr
z 0
φ π 2
0
r sin φ dφ
r 1 z 0
0 cos φ 0
1
φ π 2
3 5
B dl 2 0 1
2 2
(b)
r ∂φ ∂z ∂z ∂r
1 ∂ ∂
zˆ r sin φ r cos φ
r ∂r ∂φ
1 1
rˆ0 φ 0 zˆ sin φ r sin φ zˆsin φ 1
r
ˆ
r
∇ B ds π 2 2
φ 0 r 1
zˆsin φ 1
1
r
zˆr dr dφ
π 2 2
sin φ r 1 dr dφ
φ 0 r 1
π 2 5
cos φ 12 r2 r
2
r 1
φ 0 2
CHAPTER 3 155
Problem 3.47 Verify Stokes’s Theorem for the vector field A R̂ cos θ φˆsin θ by
evaluating it on the hemisphere of unit radius.
Solution:
A R̂ cos θ φˆsin θ R̂AR θˆAθ φˆAφ
Hence, AR cos θ, Aθ 0, Aφ sin θ.
1 ∂ 1 ∂ 1 ∂AR
∇ A R̂ Aφ sin θ
θˆ RAφ φˆ
R sin θ ∂θ R ∂R R ∂θ
1 ∂ 1 ∂ 1 ∂
R̂ sin2 θ θˆ R sin θ φˆ cos θ
R sin θ ∂θ R ∂R R ∂θ
2 cos θ ˆsin θ ˆsin θ
R̂ θ φ
R R R
For the hemispherical surface, ds R̂R2 sin θ dθ dφ.
2π
φ 0 θ 0
π 2
∇ A ds
2π π 2
φ 0 θ 0
R̂2 cos θ
R
θˆ
sin θ
R
φˆ
sin θ
R
R̂R sin θ dθ dφ
2
R 1
π 2
sin θ 2
4πR 2π
2 0 R 1
The contour C is the circle in the x–y plane bounding the hemispherical surface.
C
A dl
φ 0
2π
R̂ cos θ
φˆsin θ φˆR dφ θ π 2 R sin θ
0
2π
dφ θ π 2
2π
R 1 R 1
Solution:
(a)
∇ A ∇ xˆx2
yˆ2xy
∂ 2 ∂
x
∂x ∂y
2xy 2x 2x 0
∇ A ∇ xˆx 2
yˆ2xy
∂ ∂ ∂ 2 ∂ ∂ ∂ 2
xˆ 0 2xy
yˆ x 0
zˆ 2xy x
∂y ∂z ∂z ∂x ∂x ∂y
xˆ0 yˆ0 zˆ 2y 0
The field A is solenoidal but not conservative.
(b)
∇ B ∇ xˆx2
yˆy2
zˆ2z
∂ 2 ∂ 2 ∂
x y
∂x ∂y ∂z
2z 2x 2y 2 0
∇ B ∇ xˆx2 yˆy2 zˆ2z
∂ ∂ ∂ 2 ∂ ∂ ∂
xˆ 2z y2
yˆ x 2z
zˆ y2 x2
∂y ∂z ∂z ∂x ∂x ∂y
xˆ0 yˆ0 zˆ0
The field B is conservative but not solenoidal.
(c)
∇C ∇ rˆ 2
sin φ ˆcos φ
r
φ 2
r
1 ∂ sin φ 1 ∂ cos φ ∂
r
0
r ∂r r 2 r ∂φ r 2 ∂z
sin φ sin φ 2 sin φ
3 3 0
r r r3
sin φ ˆcos φ
∇ C ∇ rˆ 2 φ 2
r r
1 ∂ ∂ cos φ ∂ sin φ ∂
rˆ 0
φ ∂z r2
∂r 0
ˆ
r ∂φ ∂z r2
1 ∂ cos φ ∂ sin φ
r ∂r r2
∂φ r2
zˆ r
(d)
∇D ∇ R̂
R
1 ∂
R2 ∂R
R 2 1
R
1 ∂ 1
R sin θ ∂θ 0 sin θ R sin θ ∂φ 0 R2
∂ 1
R̂
∇ D ∇
R
1 ∂ ∂ 1 1 ∂ 1 ∂
0 sin θ R 0
∂φ
R̂ 0 θˆ
R sin θ ∂θ
R sin θ ∂φ R ∂R
1 ∂ ∂ 1
R 0 rˆ0 θˆ0 φˆ0
∂θ R
φˆ
R ∂R
The field D is conservative but not solenoidal.
(e)
r
E rˆ 3 zˆz
1 r
∇ E 1 ∂
r ∂r
rEr
1 ∂Eφ ∂Ez
r ∂φ ∂z
1 ∂ r2
1 r
3r 1
r ∂r
1
3
2r r2
1
r
1 r 1 r 2
2
1 3 3r 6r 2r 2r2 r2
r
2
1 r
1
2r2 4r 3
r 1 r 2
1 0
1 ∂Ez ∂Eφ ∂Er ∂Ez 1 ∂ 1 ∂Er
∇ E rˆ
rEφ 0
r ∂φ
φ
ˆ zˆ
r ∂φ ∂z ∂z ∂r r ∂r
∂
2
x
2xy
2xy
0
x2 y2 2 x2 y2 2
158 CHAPTER 3
∇ F xˆ 0
0
yˆ 0
0
zˆ
∂
∂x
∂
x2 y2 ∂y
x
x2
y
y2
1 2x2 1 2y2
zˆ
x2 y2 x2 y2 2 x2 y2 x2 y2 2
2 y2 x2
zˆ 2 2 2 0
x y
Hence, F is neither solenoidal nor conservative.
(g)
G xˆ x2 z2 yˆ y2 x2 zˆ y2 z2
∇ G
∂ 2
∂x
x z
2 ∂ 2
∂y
y x
2 ∂ 2 2
y z
∂z
2x 2y 2z 0
∂ 2 ∂ 2 ∂ 2 ∂
∇ G xˆ y z2 y x2
yˆ x z2 y2 z2
∂y ∂z ∂z ∂x
∂ 2 ∂ 2 2
zˆ y x2 x z
∂x ∂y
xˆ2y yˆ2z zˆ2x 0
Hence, G is neither solenoidal nor conservative.
(h)
H R̂ Re R
∇ H 1 ∂
R2 ∂R
R3 e R
1
R2
3R2 e R
R3 e R
e R
3
R 0
∇ H 0
Solution:
(a) From Eq. (3.110), ∇2 4xy2 z3 8xz3 24xy2 z
CHAPTER 3 159
(b) ∇2 xy yz zx 0
(c) From the inside back cover of the book,
3 12
∇ 2
∇2 3r 2 12r 4
x2 y2 x2 y2 2
(d)
1 1
∇ 5e cos φ 5e cos φ 1
2 r r
r r2
(e)
2 cos2 θ sin2 θ
∇2 10e R
sin θ 10e R
sin θ 1
R R2 sin θ
y x 1
Vector A starts at point P1 0 2 and ends at point P2 on the line such that A is
orthogonal to the line. Find an expression for A.
Solution: We first plot the given line.
160 CHAPTER 3
P1 (0, 2)
A B
P2 (x, x-1)
x
P4 (1, 0)
P3 (0, -1)
B xˆ 1 0 yˆ 0 1 xˆ yˆ
Vector A starts at P1 0 2 and ends on the line at P2 . If the x-coordinate of P2 is x,
then its y-coordinate has to be y x 1, per the equation for the line. Thus, P2 is at
x x 1 , and vector A is
A xˆ x 0 yˆ x 1 2 xˆx yˆ x 3
Since A is orthogonal to B,
A B 0
xˆx yˆ x 3 xˆ yˆ 0
x x 3 0
3
x
2
Finally,
3 3
A xˆx yˆ x 3 xˆ yˆ 3
2 2
3 3
xˆ yˆ
2 2
CHAPTER 3 161
Problem 3.54 Evaluate the line integral of E xˆx yˆy along the segment P1 to P2
of the circular path shown in the figure.
y
P1 (0, 3)
x
P2 (-3, 0)
162 CHAPTER 3
Since the path is along the perimeter of a circle, it is best to use cylindrical
coordinates, which requires expressing both E and d in cylindrical coordinates.
Using Table 3-2,
E xˆx yˆy φˆsin φ r cos φ rˆsin φ φˆcos φ r sin φ
rˆcos φ
rˆr cos φ sin2 φ φˆ2r sin φ cos φ
2
The designated path is along the φ-direction at a constant r 3. From Table 3-1, the
applicable component of d is:
d φˆr dφ
Hence,
P2
E d
φ 180
rˆr cos2 φ
sin2 φ
φˆ2r sin φ cos φ φˆr dφ
P1 φ 90
r 3
180
2r2 sin φ cos φ dφ
90 r 3
180
sin2 φ
2r2 9
2 φ 90 r 3
Problem 3.55 Verify Stokes’s theorem for the vector field B rˆcos φ φˆsin φ by
evaluating:
(a)
C
B d over the path comprising a quarter section of a circle, as shown in the
figure, and
(0, 3)
L2
L1
x
(-3, 0) L3
CHAPTER 3 163
Solution:
(a)
B d B d B d B d
C L1 L2 L3
Given the shape of the path, it is best to use cylindrical coordinates. B is already
expressed in cylindrical coordinates, and we need to choose d in cylindrical
coordinates:
d rˆdr φˆr dφ zˆdz
Along path L1 , dφ 0 and dz 0. Hence, d rˆdr and
L1
B d
r 0
r 3
rˆcos φ
φˆsin φ rˆdr φ 90
3
cos φ dr r cos φ 3r 0 0
φ 90 φ 90
r 0
L2
B d
φ 90
180
rˆcos φ
φˆsin φ φˆr dφ r 3
3 cos φ 180
3
90
L3
B d
r 3
0
rˆcos φ
φˆsin φ rˆdr φ 180
0
cos φ dr φ r 0
3
r 3
180
3
Hence,
B d 0 3 3 6
C
(b)
1 ∂ ∂Br
∇ B zˆ
∂φ
rBφ
r ∂r
1 ∂ ∂
zˆ r sin φ cos φ
r ∂r ∂φ
1 2
zˆ sin φ sin φ zˆ sin φ
r r
3 180 2
∇ B ds zˆ sin φ
zˆr dr dφ
S r 0 φ 90 r
180
2r 3r 0 cos φ 6
φ 90
164 CHAPTER 3
Solution:
(a)
1 ∂ ∂V1 1 ∂2V1 ∂2V
∇ V1 2
r
r ∂r ∂r r2 ∂φ2 ∂z2
1 ∂ ∂ 1 ∂2
r 10r3 sin 2φ
10r3 sin 2φ 0
r ∂r ∂r r2 ∂φ2
1 ∂ 1
30r3 sin 2φ 10r3 4 sin 2φ
r ∂r r2
90r sin 2φ 40r sin 2φ 50r sin 2φ
(b)
1 ∂ 2 ∂V2 1 ∂ ∂V2 1 ∂2V2
∇ V2 2
R
sin θ
R ∂R
2 ∂R R2
1 ∂ ∂ 2
sin θ cos θ sin φ
R sin θ ∂θ
2 ∂θ R2
1 ∂2 2
cos θ sin φ
R sin θ ∂φ R2
2 2 2
4 4 2 cos θ
cos θ sin φ cos θ sin φ sin φ
R 4 R 4 R4 sin2 θ
2 cos θ sin φ
R4 sin2 θ