Docsity

PH507_HW2_solution.pdf, Cheat Sheet of Electrodynamics

Toggle sidebar
bg1
HW2 solution
I. PROBLEM 1
The potential is given by
ϕ(r) = qe−αr
r
(a) The electric field is
E=−∇ϕ=−ˆr∂
∂r qe−αr
r=−ˆrq−αe−αr
r−e−αr
r2=qe−αr α
r+1
r2ˆr
We can use the Gauss’s law to find the charge within a sphere of radius r.
Q
ϵ0
=IE·ds=Iqe−αr α
r+1
r2ˆr·ˆrr2sin θdθdϕ =qe−αr α
r+1
r2r2Isin θdθdϕ
= 4πqe−αrαr + 1
∴Q= 4πϵ0qe−αr (αr + 1)
For r→ ∞,Q→0.
(b) Using the Poisson’s equation, we have
−ρ
ϵ0
=∇2ϕ=∇2qe−αr
r=q∇2e−αr
r=q
r
∂2
∂r2re−αr
r=q
r
∂2
∂r2(e−αr ) = qα2e−αr
r
However, this result is not enough to describe the charge distribution because we have the singularity at r= 0. We
can use the identity
∇2(fg) = f∇2g+ 2∇f· ∇g+g∇2f
we have
f=1
r, g =e−αr
1
r∇2e−αr =1
r
1
r2
∂
∂r r2∂
∂r e−αr =1
r3
∂
∂r (−αr2e−αr ) = −2αre−αr +α2r2e−αr
r3=α2
r−2α
r2e−αr
2∇e−αr · ∇ 1
r= 2(−αe−αr ˆr)·−ˆr
r2=2α
r2e−αr
e−αr∇21
r=−4πe−αr δ(r)
Here, we used ∇2(1/r) = −4πδ(r) where δ(r) is the Dirac delta function. Therefore, we have
−ρ
ϵ0
=∇2ϕ=qα2
r−2α
r2e−αr −4πqe−αrδ(r) + 2α
r2e−αr =qα2
re−αr −4πqe−αrδ(r)
ρ= 4πϵ0qδ(r)e−αr −qϵ0
α2
re−αr
When r= 0, δ(r)e−αr =δ(0)e0=δ(0), so we can drop the exponential multiplied by delta function.
∴ρ= 4πϵ0qδ(r)−qϵ0
α2
re−αr
pf3
pf4
pf5

Partial preview of the text

Download PH507_HW2_solution.pdf and more Cheat Sheet Electrodynamics in PDF only on Docsity!

HW2 solution

I. PROBLEM 1

The potential is given by

ϕ(r) = q e

−αr r

(a) The electric field is

E = −∇ϕ = −ˆr

∂r

q e−αr r

= −rqˆ

−αe−αr r −^

e−αr r^2

= qe−αr

α r +

r^2

r ˆ

We can use the Gauss’s law to find the charge within a sphere of radius r.

Q ϵ 0

I

E · ds =

I

qe−αr

α r

r^2

ˆr · ˆrr^2 sin θdθdϕ = qe−αr

α r

r^2

r^2

I

sin θdθdϕ

= 4πqe−αr

αr + 1

∴ Q = 4πϵ 0 qe−αr^ (αr + 1)

For r → ∞, Q → 0. (b) Using the Poisson’s equation, we have

ρ ϵ 0 = ∇^2 ϕ = ∇^2

q e−αr r

= q∇^2

e−αr r

q r

∂^2

∂r^2

r e−αr r

q r

∂^2

∂r^2 (e−αr^ ) = q α^2 e−αr r

However, this result is not enough to describe the charge distribution because we have the singularity at r = 0. We can use the identity

∇^2 (f g) = f ∇^2 g + 2∇f · ∇g + g∇^2 f

we have

f =^1 r , g = e−αr 1 r ∇^2 e−αr^ =

r

r^2

∂r

r^2

∂r e−αr

r^3

∂r (−αr^2 e−αr^ ) = − 2 αre−αr^ + α^2 r^2 e−αr r^3

α^2 r

2 α r^2

e−αr

2 ∇e−αr^ · ∇

r = 2(−αe−αr^ ˆr) ·

ˆr r^2

2 α r^2 e−αr

e−αr^ ∇^2

r =^ −^4 πe

−αr (^) δ(r)

Here, we used ∇^2 (1/r) = − 4 πδ(r) where δ(r) is the Dirac delta function. Therefore, we have

− ρ ϵ 0 = ∇^2 ϕ = q

α^2 r − 2 α r^2

e−αr^ − 4 πqe−αr^ δ(r) +^2 α r^2 e−αr^ = q α

2 r e−αr^ − 4 πqe−αr^ δ(r)

ρ = 4πϵ 0 qδ(r)e−αr^ − qϵ 0 α^2 r e−αr

When r = 0, δ(r)e−αr^ = δ(0)e^0 = δ(0), so we can drop the exponential multiplied by delta function.

∴ ρ = 4πϵ 0 qδ(r) − qϵ 0 α^2 r e−αr

We have the another approach to find the charge distribution. Using the Taylor expansion, we have

ϕ = q e−αr r

q r

X^ ∞

n=

(−αr)n n! = −qα

X^ ∞

n=

(−αr)n−^1 n! = −qα

 X∞

n=

(−αr)n−^1 n!

(−αr)−^1 0!

= −qα

X^ ∞

n=

(−αr)n−^1 n!

q r

∇^2 ϕ = ∇^2

− qα

X^ ∞

n=

(−αr)n−^1 n!

+ ∇^2

q r = −qα

X^ ∞

n=

n!

r

∂^2

∂r^2 (r(−αr)n−^1 ) + q∇^2

r

= −qα

X^ ∞

n=

n!

r

∂^2

∂r^2 ((−α)n−^1 rn) + q∇^2

r = −qα

X^ ∞

n=

n!

r (−α)n−^1 n(n − 1)rn−^2 + q∇^2

r

= qα^2 r

X^ ∞

n=

(−αr)n−^2 (n − 2)!

  • q∇^2

r

qα^2 r e−αr^ − 4 πqδ(r)

∴ ρ = 4πϵ 0 qδ(r) − qϵ 0 α^2 r e−αr

(c) The total chrge Q enclosed by sphere of radius r is

Q =

Z Z Z

ρ dτ =

Z Z Z 

4 πϵ 0 qδ(r) − qϵ 0 α

2 r e−αr

dτ

= 4πϵ 0 q

Z Z Z

δ(r) dτ − qϵ 0

Z (^2) π

0

Z (^) π

0

Z (^) r

0

α^2 e

−αr r r^2 sin θdrdθdϕ = 4πϵ 0 q − 4 πqϵ 0 α^2

Z (^) r

0

re−αr^ dr

= 4πϵ 0 q − 4 πqϵ 0 α^2

− r α e−αr

r

0

Z (^) r

0

α e−αr^ dr

= 4πϵ 0 q − 4 πqϵ 0 α^2

− r α e−αr

r

0

+^1

α

−e−αr α

r

0

= 4πϵ 0 q − 4 πqϵ 0 α^2

r α e−αr^ +

α^2 (−e−αr^ + 1)

= 4πqϵ 0 (1 + αre−αr^ + e−αr^ − 1)

= 4πqϵ 0 e−αr^ (αr + 1)

We obtained result as in (b). Criteria (a) +4 points for deriving Q. (b) +4 points for deriving ρ from ϕ. If ρ does not have δ(r) term, -2 points. (c) +2 points for comparing the result with (a).

II. PROBLEM 2

Consider:

∇^2 Φ = − ρ ϵ 0

∂n = −E · ˆn = −En

∇^2 Φ′^ = − ρ′ ϵ 0

∂n = −E′^ · ˆn = −E n′

Using the Green’s theorem, Z

V

(ρΦ′^ − ρ′Φ) dτ = −ϵ 0

Z

V

(Φ′∇^2 Φ − Φ∇^2 Φ′) dτ = −ϵ 0

I

S

Φ′^

∂n −^ Φ^

∂n

da

Since En = −σ/ϵ 0 and E n′ = −σ′/ϵ 0 , Z

V

(ρΦ′^ − ρ′Φ) dτ = −

I

S

Φ′σ − Φσ′

da

∴

Z

V

ρΦ′^ dτ +

I

S

Φ′σ da =

Z

V

ρ′Φ dτ +

I

S

Φσ′^ da

Let us use the approach of section 1.11 of Jackon textbook. The matrix p is given by

Φi =

X^3

j=

Pij qj

P =

4 πϵ 0

1 /r 1 1 /r 2 1 /r 3 1 /r 2 1 /r 2 1 /r 3 1 /r 3 1 /r 3 1 /r 3

and the matrix C = P −^1 is the inverse matrix. Skipping the process of obtaining the inverse matrix, the result is as follows:

C 13 ∝ P 12 P 23 − P 22 P 13 =

r 2

r 3

r 2

r 3

V. PROBLEM 5

Since electric charge is uniformly distributed, charge distribution ρ and electric field E are given by

ρ = 4 Q 3 πR^3

= 3 Q

4 πR^3

, E =

4 πϵ 0

Q

R^3 r^ (r < R) 1 4 πϵ 0

Q

r^3 r (r > R)

The force is

F =

Z Z Z

Vupper

ρE dτ = 3 Q

2 16 π^2 ϵ 0 R^6

Z (^2) π

0

Z (^) π/ 2

0

Z R

0

rr^2 sin θdrdθdϕ

3 Q^2

16 π^2 ϵ 0 R^6

Z (^2) π

0

Z (^) π/ 2

0

Z R

0

(r sin θ cos ϕˆx + r sin θ sin ϕyˆ + r cos θzˆ)r^2 sin θdrdθdϕ

Here, ˆx and ˆy have sin ϕ and cos ϕ. Integrating these over the interval [0, 2 π] yields a value of 0. Therefore,

F =

Z Z Z

Vupper

ρE dτ =

3 Q^2

16 π^2 ϵ 0 R^6

Z (^2) π

0

Z (^) π/ 2

0

Z R

0

cos θzrˆ^3 sin θdrdθdϕ

3 Q^2 zˆ 16 π^2 ϵ 0 R^6

Z (^2) π

0

dϕ

Z (^) π/ 2

0

cos θ sin θ dθ

Z R

0

r^3 dr = 3 Q^2 ˆz 16 π^2 ϵ 0 R^6 (2π)

R^4

4 πϵ 0

3 Q^2

16 R^2

ˆz

There is another approach to obtain a force using Maxwell stress tensor T. It is given by

Tij = ϵ 0

EiEj −

δij E^2

μ 0

BiBj −

δij B^2

, (E^2 = E · E, B^2 = B · B)

Since we don’t have magnetic field, Bi = 0. The electric force is given by

F =

Z Z Z

Vupper

∇ · T dτ =

I

∂Vupper

T · ˆn da

where ∂Vupper is the boundary of Vupper, ˆn is the unit vector perpendicular to ∂Vupper. Here, ∂Vupper consists of two parts: lower plate and upper bowl. Therefore,

F =

I

∂Vupper

T · ˆn da =

Z

lower plate

T · n daˆ +

Z

upper bowl

T · n daˆ (1)

For convenience of calculation, we can the shape of the closed surface for integration. If we expand to whole space,

F =

Z Z Z

whole space

ρE dτ =

Z Z Z

Vupper

ρE dτ +

Z Z Z

outer region

ρE dτ

Z Z Z

Vupper

ρE dτ + 0

because ρ = 0 in the outer region. Also, T → 0 for r → ∞ because E → 0 for r → ∞. Therefore, Eq. (1) is given by

F =

Z

xy-plane

T · ˆn da = −zˆ

Z

xy-plane

Tzz da

In this case, ˆn = −ˆz and F has only z-component because of symmetry. Also, Ez = 0 in the xy-plane. Thus,

Tzz = ϵ 0

E^2 z − 1 2

E^2

= − ϵ^0 2

E^2 =

32 π^2 ϵ 0

Q^2 r^2 R^6 (r < R) −

32 π^2 ϵ 0

Q^2

r^4 (r > R)

F = −zˆ

Z

xy-plane

Tzz da = − 2 πzˆ

 Z R

0

32 π^2 ϵ 0

Q^2 r^2 R^6 rdr +

Z ∞

R

32 π^2 ϵ 0

Q^2

r^4 rdr

= zQˆ

2 16 πϵ 0

R^6

Z R

0

r^3 dr +

Z ∞

r

r^3 dr

= zQˆ

2 16 πϵ 0

R^6

R^4

2 R^2

= ˆzQ

2 16 πϵ 0

4 R^2

4 R^2

4 πϵ 0

3 Q^2

16 R^2 ˆz

We obtained the same result. Criteria +10 points for deriving the correct force.