0% found this document useful (0 votes)
195 views

Jackson 2.23 Homework Problem Solution

The potential (Φ) inside a hollow conducting cube with two walls held at constant potential (V) and the other four walls at zero potential is described by an infinite series solution. The solution is derived using the Laplace equation and applying the boundary conditions at each wall to determine the coefficients. The potential at the center of the cube is numerically evaluated by calculating the first few terms of the series solution. Three significant figures of accuracy requires keeping only the first term. The numerical result equals the average potential on the walls, as expected. The surface charge density on the wall held at potential V is also determined from the solution.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
195 views

Jackson 2.23 Homework Problem Solution

The potential (Φ) inside a hollow conducting cube with two walls held at constant potential (V) and the other four walls at zero potential is described by an infinite series solution. The solution is derived using the Laplace equation and applying the boundary conditions at each wall to determine the coefficients. The potential at the center of the cube is numerically evaluated by calculating the first few terms of the series solution. Three significant figures of accuracy requires keeping only the first term. The numerical result equals the average potential on the walls, as expected. The surface charge density on the wall held at potential V is also determined from the solution.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Jackson 2.

23 Homework Problem Solution


Dr. Christopher S. Baird
University of Massachusetts Lowell

PROBLEM:
A hollow cube has conducting walls defined by six planes x = 0, y = 0, z = 0, and x = a, y = a, z = a.
The walls z = 0 and z = a are held at constant potential V. The other four sides are at zero potential.

(a) Find the potential Φ(x, y, z) at any point inside the cube.

(b) Evaluate the potential at the center of the cube numerically, accurate to three significant figures.
How many terms in the series is it necessary to keep in order to attain this accuracy? Compare your
numerical result with the average value of the potential on the walls. See Problem 2.28.

(c) Find the surface-charge density on the surface z = a.

SOLUTION:
The problem contains no charge, so the electric potential is described everywhere inside the cube by
the Laplace equation:

∇ 2 =0

This problem has a boundary, the cube, that best matches rectangular coordinates. In rectangular
coordinates, the Laplace equation becomes:

∂2  ∂ 2  ∂2 
  =0
∂ x 2 ∂ y 2 ∂ z2

Using the method of separation of variables, the most general solution to this equation is:

  x , y , z = A 0B  0 x A 0B  0 y A 0B  0 z 


∑  A 0 B 0 x A e i  y  B e−i  y  A e  zB  e− z 

∑  A ei  x B  e −i  x  A 0B  0 y A e  z B e− z 



∑  A e i  x  B e−i  x  A e i  y B e −i  y  A e  z B e− z 
, 

Apply the boundary condition, Φ(x = 0, y, z) = 0


0= A 0 A 0B  0 y  A 0B  0 z
∑  A0  A ei  y B  e−i  y  A e  zB  e− z 

∑  AB  A  0B  0 y A e B e


z − z


∑  AB  A ei  y B  e−i  y  A e  z B  e − z 
 ,

This must be true for all y and z, so that each term must vanish separately.
This forces Aα0 = 0 and Bα = -Aα. The solution now becomes:

  x , y , z = B 0 x A 0 B 0 y  A 0B  0 z 


∑  B 0 x  A e i  y B e−i  y  A e  z B e− z 

∑ A sin  x A0 B 0 y  A e  z B  e − z 



∑ A sin  x  A e
i y −i  y z − z
 B e  A e  B e 
 ,

Similarly, the boundary condition, Φ(x, y = 0, z) = 0 leads to Aβ0 = 0 and Bβ = -Aβ which gives the
solution:

  x , y , z = B 0 x B  0 y A 0B  0 z 


∑  B 0 x  A sin  y  A e  z B  e − z 

∑ A sin  x  B  0 y  A e  B e
z − z


∑ A sin x  A sin  y  A e  z B  e − z 
, 

Now apply the boundary condition Φ(x = a, y, z) = 0

0= B  0 a B  0 y  A 0 B 0 z 


z − z
∑  B 0 a  A sin  y A e B e 

∑ A sin a  B 0 y  A e  z B  e − z 

∑ A sin  a A sin  y  A e  z B e− z 
 ,

The only way this can be true for all y and z is if Bα0 = 0 and α = nπ/a where n = 0, 1, 2,...

  x , y , z =∑ An sin
n
 
n x
a
 B 0 y  A e  z B  e− z ∑ An sin
n ,
n x
a  
A sin  y  A e  z B  e − z 

Similarly, apply the boundary condition Φ(x, y = a, z) = 0 to get Bβ0 = 0 and β = mπ/a where
n = 0, 1, 2,...

  x , y , z =∑ An sin
n, m
 
n x
a
Am sin
a 
m y

 A e  zB  e− z 
By definition we have  2 = 2 2 so that we now know = n 2m2 2 / a2 . We can combine several
constants so that we now have:

  x , y , z =∑ sin
n, m
  n x
a
sin
m y
a  2 2 2 2

 An ,m e z n m   / a Bn ,m e −z  n m   /a 
2 2 2 2

Now apply the boundary condition Φ(x, y, z = 0) = V

V =∑ sin
n ,m
  
n x
a
sin
m y
a
 An , mB n , m  
Multiply both side by sin  n ' x
a
sin
a  
m'  y

and integrate over x and y from 0 to a

a a

∫∫ V sin
0 0
 n ' x
a   
sin
m ' y

a
a
dx dy
a
= ∑∫    sin
n x
a
sin
n ' x
a
dx ∫ sin
m y
a
sin 
m'  y
a 
dy  An , mB n , m    
n, m 0 0

Due to orthogonality, each integral on the right is zero, except when n = n' and m = m'
a a
a2
∫∫ V sin
0 0
  
n x
a
sin
m y
a 
dx dy=  A n , mB n , m 
4

a a
4V
 An ,m Bn , m= 2
a  
∫ sin na x dx ∫ sin m a y dy
0 0
 
4V a a
 An ,m Bn , m= [ 1−−1n ] [ 1−−1m ]
a n m
2

16 V
An , mB n , m= n, m = odd
n m 2

Now apply the final boundary condition Φ(x, y, z = a) = V

V =∑ sin
n ,m
  
n x
a
sin
m y
a  2 2 2 2

 An , m e a  n  m   /a Bn , m e −a  n m   / a 
2 2 2 2

Repeat the process done above to get

16 V
An , m e   n m  Bn ,m e− n m   =
2 2 2 2 2 2

n, m = odd
n m 2

Solve the system of equations in the boxes above to find:


1
−   n2m2  2
8V e 2
A n , m=
n m  2 cosh  / 2  n2m2 

1
 n2 m2  2
8V e2
B n , m=
n m  2 cosh  / 2  n2m2 

The final solution is now:

 
1 1
−  n 2m2  2 2 2 2
z  n m   / a
2  n2m2   2 −z n 2m2  2 /a 2

   
2 2
n x m y 8 V e e e e
  x , y , z = ∑ sin
a
sin
a n m 2 cosh  / 2  n m 
2 2
n ,m odd

  x , y , z = ∑
n ,m odd
16 V
n m 2
sin
n x
a
sin   
m y
a  cosh   /2  n2 m2 2 z / a−1
cosh  /2  n m 
2 2 
(b) Evaluate the potential at the center of the cube numerically, accurate to three significant figures.
How many terms in the series is it necessary to keep in order to attain this accuracy? Compare your
numerical result with the average value of the potential on the walls. See Problem 2.28.

The potential at the center of the cube is:

 a /2, a / 2, a /2=
16V
2

n ,m odd
1
nm    
sin
n
2
sin
m
2
1
cosh  /2  n2 m2  
Φ( a /2, a /2, a /2)=V [
16
π 2
sin
π
2
sin
π
( ) ( )(1
2 cosh ((π/ 2) √ 2) )
16 1
 2 sin
 3

2
sin    
3
2
1
cosh  / 2 10 
16 1
 2 sin
 3
3
2
sin    
 1
2 cosh / 2 10 
16 1
 2 sin
 5

2
sin    
5
2
1
cosh  / 2  26
... ]

 a /2, a / 2, a /2=V [0.3476−0.0075−0.00750.0002...]

Here is solution, to three significant figures, if you only keep the first term, or the first two terms, etc:

1 term a /2, a /2, a /2=V [0.348 ]


 2 terms  a /2, a /2, a /2=V [0.340]
3 terms  a/ 2, a/ 2, a /2=V [0.333]
 4 terms  a /2, a /2, a /2=V [0.333]
We only have to keep the first three terms to have the answer accurate to three significant figures. It is
obvious that the solution is converging to:

V
 a / 2, a /2, a /2=
3

There are six walls on the cube and two sides have a non-zero potential V, so the average value of the
2V V
potential on the sides of the cube is Φ ave on surf = 6 = 3 . This leads to the interesting conclusion that:

 a / 2, a /2, a /2=ave on surf

(c) Find the surface-charge density on the surface z = a.

[
= − 0
d
dn ]
n=a

We have solved the potential on the inside of the cube, so we can only use that potential to find the
surface charge density on the inside of the z = a surface. The normal to the inside surface is in the
negative z direction so that:

[
=  0
d
dz ]
z=a

[
=  0
d
∑ 16 V
dz n , m odd n m  2
sin  
n x
a
sin
m y
a  cosh   /2  n2m2  2 z /a −1 
cosh /2  n 2m2  ]
z =a

[
=  0 ∑
n ,m odd
16 V
n m 2
sin   
n x
a
sin
m y
a  sinh   /2  n 2m2 2 z /a−1 
cosh  /2  n m 
2 2 
 /a  n 2m2
]
z=a

16 ϵ0 V √ n 2+m2
σ=
πa
∑ n m sin
n , m odd
( ) ( )(tanh ((π/ 2) √ n +m ))
nπ x
a
sin
mπ y
a
2 2

You might also like