Docsity

Sample Problems with Solution on Elementary Mathematical Physics | PHYS 227, Study notes of Physics

Toggle sidebar
bg1
Physics 227 Lecture 13 Appendix B 1 Autumn 2007
1.5 10.5 0.5 1 1.5
x
1.5
1
0.5
0.5
1
1.5y
1.510 .5 0.5 1 1.5
x
1.5
1
0.5
0.5
1
1.5y
Lecture 13 – Appendix B: Some sample problems from Boas
Here are some solutions to the sample problems assigned for Chapter 6.8 to 6.11.
§6.8: 2
Solution: We want to practice doing closed line integrals of the form
2 2
x y dx xdy F dr
clockwise along a set of curves. Let us first check the
curl of the vector in the integrand. We have
ˆ ˆ ˆ
ˆ ˆ
2 2 4 0.
2 2 0
x y z
F z z
x y z
x y x
Thus we expect nonzero (path-dependent) closed path integrals
a) On a circle of radius 1: here we can use cylindrical
coordinates (see example 2) and find
2
0
2 2
2 2
0 0
2 2 cos 2sin sin 2cos cos
1
sin cos 2 sin cos sin 2 2 4 .
2
x y dx xdy d
d d
b) On the square of side 2 with sides aligned with axes and
starting at (1,1): writing out the contributions from the 4
sides (only x or y varies on each side), we find
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Sample Problems with Solution on Elementary Mathematical Physics | PHYS 227 and more Study notes Physics in PDF only on Docsity!

1.5  1  0.5 0.5 1 1.

x

 1.

 1

 0.

1

y

1.5  1  0.5 0.5 1 1.

x

 1.

 1

 0.

1

y

Lecture 13 – Appendix B: Some sample problems from Boas

Here are some solutions to the sample problems assigned for Chapter 6.8 to 6.11.

Solution: We want to practice doing closed line integrals of the form

x  2 y dx  2 xdyF dr

 

 

clockwise along a set of curves. Let us first check the

curl of the vector in the integrand. We have

 

x y z

F z z

x y z

x y x

Thus we expect nonzero (path-dependent) closed path integrals

a) On a circle of radius 1: here we can use cylindrical

coordinates (see example 2) and find

    

 

2

0

2 2

2 2

0 0

2 2 cos 2sin sin 2 cos cos

sin cos 2 sin cos sin 2 2 4.

x y dx xdy d

d d

 

 

 

b) On the square of side 2 with sides aligned with axes and

starting at (1,1): writing out the contributions from the 4

sides (only x or y varies on each side), we find

1.5  1 0.5 0.5 1 1.

x

 1.

 1

 0.

1

y

         

   

1 1 1 1

1 1 1 1

1 1

2 2

1 1

1 1

1 1

x y dx xdy dx x dy dx x dy

x x

x y x y

  

     

c) On the square of side 2 , rotated by 45 with respect to the

axis and starting at (0,1). With constant slope on each side we

can express both dx and dy in terms of a single variable, say

dt ,

dr   xdt ˆ  ydt ˆ

. Thus we have

   

 

 

 

 

 

 

 

         

1 1

, 1 1,

0 0

1 1

, 1 1 ,

0 0

1 1

1

2

0

0 0

x t y t x t y t

x t y t x t y t

x y dx xdy dt x y x dt x y x

dt x y x dt x y x

dt t t t t dt t t t

     

     

  

 

 

Solution: Now we want to perform a(n open) line integral,

2

C C

y dxxdydzF dr

 

, along 2 different paths. Again we check the curl to see

if there is path dependence expected. We find a non-zero curl and expect path

dependence

       

2

ˆ ˆ ˆ

ˆ ˆ ˆ ˆ 0 0 2 2 2 1 0.

2 1

x y z

F x y z y z y

x y z

y x

  

         

  

 

     

x y z

F x y z

x y z

z y

Next we want to find a potential  such that ( i.e ., we perform some trivial integrals)

1

constant.

x

F z x yz

y

y

z

 

 

 

 

          

  

 

 

Solution: Now the same game as in the previous exercise except that now

2

ˆ ˆ Fy sin 2 xx sin xy

. So the curl again vanishes,

     

2

ˆ ˆ ˆ

sin 2 sin 0

ˆ ˆ ˆ 0 0 2 cos sin sin 2 0.

x y z

F

x y z

y x x

x y z x x x

  

  

  

    

 

We find the potential from

2 2

sin 2

sin sin constant.

0

y x

x

F x y x

y

z

 

 

 

 

        

 

 

 

Solution: Finally for

2 2 2 2

ˆ ˆ Fx y 1  x yy x 1  x y

we find

2 2 2 2

2 2 2 2

3

2 2 2 2

2 2

ˆ ˆ ˆ

1 1 0

1 1

ˆ ˆ ˆ 0 0 0,

1 1

1

x y z

F

x y z

y x y x x y

x y x y

x y z

x y x y

x y

  

  

  

 

 

  

     

 

 

  

 

 

and (this requires recognizing the derivatives of the arcsine function)

2 2

2 2 1

1

1 sin constant.

0

y x y

x

F x x y xy

y

z

 

 

  

 

         

 

 

 

0.5 0.5 1 1.5 2

x

1

y

 

2

2 2

0

1

cos sin.

2

A d ab ab ab

     

Solution: For the path in the ( x , y ) plane defined by the 4 points (3,1), (5,1), (5,3),

(3,3), we want to evaluate the line integral

 

2 ydx  3 xdy.



This expression suggests that we define P  2 y and Q   3 x and consider the

expression in the 2D Green’s theorem,  Q    x Py   3  2   5. Since this is a

constant, Green’s theorem tells us that we need only the area of the square defined by

the 4 points (with sides of length 2), which is just 4. Thus the easy approach, use

Green, is

 

square

2 ydx  3 xdy   5 dxdy  20.

 

On the other hand proceeding directly (and laboriously) we find

 

       

5 3 3 1

1 5 3 3

3 1 5 3

5 3 5 3

3 1 3 1

2 3

2 3 2 3

2 15 6 9 4 30 12 18 20.

y x y x

ydx xdy

dx y dy x dx y dy x

dx dy dx dy

   

     

         

   

   

Solution: Here is one more contour integral over the

indicated triangle in the clockwise direction. Using

Green’s theorem we have

   

   

  

2

triangle

2

triangle

triangle

sin

sin

1 1 2area 2 2.

C

I x x y dx x y dy

x y

x x y

dxdy

x y

dxdy





Solution: Now we want to practice using the divergence theorem to relate surface

and volume integrals. In this case the vector field is

2 2

Vx cos yxxzyz sin yz

and the boundary surface is a sphere of radius 3. Thus we find

 

2 2

3 3 3 3

3

3

cos sin

4

3

r r r r

r

V d Vd y y d d

r

   

      

 

   

  

This approach is clearly simpler than during the surface integral directly!

Solution: Next we consider a similar problem where the surface is a cone of height 3

and a base of radius 4, and the vector field is

Vrxxyyzz ˆ

. Thus we find

(again this the simpler approach)

 

cone cone cone cone

2

3, 4

h r

r d rd d d

r h

 

   

surface above the x,y plane, we can express the local differential area as

d   sec  dxdy  sec dd  , where the angle  is the angle between the local

normal to the surface (as worked out above) and the z direction,

2

sec  1 n z ˆ  ˆ 4   1

. This factor, which is  1 , just accounts for how much larger

the area of the true surface is compared to its projection onto the x,y plane. Thus we

have in our case

 

2 2 2

2 2 2

2

2

0 0 4 4

2

2

3 4

0

0

2

4 1

4 1

4 16.

z x y

d F d d

d

    

     

    

 

    

 

 

  

  

Again we see that the actual integration is much simpler using the divergence

theorem.

Solution: This exercise concerns an electrostatics problem with concentric charged

cylindrical conductors, with radii

1

R and

2

R , and with k coulombs per meter and – k

coulombs per meter, respectively. We can use Gauss’s law applied (per unit length)

to find the electric field as function of the radius and then, by integration, the

corresponding potential. Clearly we want to use cylindrical coordinates,  , , z in my

notation. We begin by using the translational symmetry in the z direction (the axis of

the cylinders and the cylinders are “very long”) to argue that the electric field has no

variation with the z coordinate. Likewise the rotational symmetry about the z axis

means there is no dependence on the azimuthal angle . Since we are assuming that

this is a static situation with no moving charges, there can be no nonzero components

of the electric field in the surface of the conductors (otherwise charges would move).

Hence, by general arguments, we have only a  component and it varies only with ,

   

ˆ E rE  

. So now we apply Gauss for the three cases:

1

  R ,

1 2

R   R , and

2

  R. In the first and last cases there is no net charge per unit length and thus the

electric field must vanish,

   

 

   

 

 

1 1

1

1

1

2 2

2

1

1

2

1

0 0 0 0

2

2

2

0 0 0 0 0

vol 0 0,

vol 0.

R R

R

R

R

R R

R

R

R E d E d dz E dz

q q

d d d dz dz E R

R E d dz E dz

k k

q q

d d d dz dz E R

 

 

 

 

 

 

  

    

 

    

In the interesting region where the charge inside the surface of integration is nonzero

we have

 

 

1 2

1 2

1 2

1 2

1 2

2

0 0 0 0 0

1 2

0

: 2

vol

ˆ

.

2

R R

R R

R R

R R

R R E d E dz

q q k

d d d dz dz

k

E R R

 

   

  

  

 

 

 

 

 

   

   

   

 

    

Finally to write the electric as the gradient of a potential, E   

 

, we can simply

integrate. For the inner and outer regions where the electric field vanishes the

potential is a constant, and, for simplicity we take the potential to vanish at the center.

In the interesting region we need only observe that  

d    ln 1  const

. Thus

with the given boundary condition at

1

  R ,

 

1

R  0 , we find

1

1

1 2

0 0

1

2

0 2

: , ln

: 0, ln.

R E

k k R

R R E

k R

R E

R

 

 

   

 



 

 

0 0

z z

I V d V dr V d

  

 

   

  

Thus using Stokes’ twice we can write the desired integral as a surface integral in the

( x,y ) plane where d   z ˆ

. This last result suggests that we evaluate the curl of the

vector field in the ( x,y ) plane. We have

   

 

 

0

2 3 2 2

0

2 2 2

0

2 2

ˆ ˆ ˆ

ˆ ˆ 3 2 ˆ 0 0

ˆ ˆ

z

z

z

x y z

V

x y z

x x z yz y x y xz

x x yz y x xy z z

x x x xy y

  

  

  

  

       

  

 

So we find that  

0

z

V d

(the curl as no z component) and thus for any

surface with a boundary in the ( x,y ) plane we have

   

0

z

I V d V d

 

 

 

        

 

   

 

Solution: Here we again want to practice using Stokes’ theorem. We have a vector

field  

2 2 2

V  2 xyx ˆ  x  2 x y ˆ  x z z ˆ

and a surface defined by

2 2

z  9  x  9 y. Note that

in this exercise we do not have cylindrical symmetry. Instead the intersection of the

surface with the x,y plane ( z = 0) is an ellipse,  

2

2

x 3  y  1. So first we test for

simplifications by evaluating the curl,

   

 

2 2

2 2 2

x y z

V x xz y x x z xz y z

x y z

xy x x x z

We also see that the local normal to the specified surface is

 

 

2 2

2 2 2 2

z x y

xx yy z

n

z x y

x y

Thus doing the surface integral directly is going to be a bit messy. So instead we use

Stokes’ theorem on the boundary, which is the ellipse above. On the ellipse we can

define the parameterization

x  3cos  ,

y  sin  and write

 

 

     

 

 

2 2 2 2

2

0 9 9 9 9

2

2

0

2

2 2

0

2

3 2

0

2

0

3sin ˆ cos ˆ

3sin 2 3cos sin cos 9 cos 6 cos

3 6sin cos cos 3cos 2

3 6 cos 9 cos 2 cos

3 1 cos 2 6.

z x y x y

V d V ds d V x y

d

d

d

d

   

      

    

   

  

    

  

In obtaining the last line we used the fact that the integral of any odd power of the

cosine over a full cycle yields zero, plus the double angle formula for the even power,

i.e ., the average value of

2

cos  is 1 2. We will have more to say about this when we

study Fourier series.

To complete this discussion let us try to perform the surface integral directly. We

have

 

,

C

Iydxzdyxdz



with the contour C defined by the intersection of the surfaces xy  2 and

2 2 2

xyz  2 xy

. A little thought yields the result that the second surface is a

sphere of radius 2 centered on the point (1,1,0),    

2 2

2

x  1  y  1  z  2

. Thus

the intersection with the first surface (a flat surface parallel to the z - axis) is a circle of

radius

centered on the point (1,1,0). To simplify things we evaluate the curl of

the corresponding vector field,

ˆ ˆ Vyxzyxz ˆ

to find

       

ˆ ˆ ˆ

ˆ ˆ ˆ ˆ 1 1 1 ˆ ˆ.

x y z

V x y z x y z

x y z

y z x

  

            

  

 

Thus the curl is a simple, constant vector and we should be able to Stokes’ theorem.

We find

   

     

ˆ ˆ ˆ ˆ ˆ ˆ ˆ ˆ 2.

C

I ydx zdy xdz V dr V d

x y z n A x y z n

 

        

         

  

  

 

 

So the final question is to find the normal to the plane of the contour. This is just the

normal to the plane

xy  2

nxy 2 , where we have used our previous

knowledge that the equation of a plane is given by  

0

rrn  0

(with

0

rxy

So finally we have (note that the sign here is actually ambiguous since the text does

not specify the sense of the original contour)

 

 

 

ˆ ˆ

ˆ ˆ ˆ 2 2 2.

2

x y

I x y z  

      