Professional Documents
Culture Documents
Phys 302
Electromagnetism Instr: Umran S. Inan
Deadline:15.03.2022 23.59
HW #3 Solutions
Q1. a) Let us use cylindrical coordinates. The infinitesimal charge dq = ρ0 r′ dr′ dϕ′ . Then the infinitesimal
electric field,
⃗ = dq (⃗r − r⃗′ ) ρ0 r′ dr′ dϕ′ (⃗r − r⃗′ )
dE =
4πϵ0 |⃗r − r⃗′ |2 |⃗r − r⃗′ | 4πϵ0 (r′2 + z 2 ) |⃗r − r⃗′ |
Due to symmetry I can consider only z-component of infinitesimal electric fields.
ρ0 r′ dr′ dϕ′ ⃗
dE = cosθ, ,where θ is the angle between z-axis and dE
4πϵ0 (r′2 + z 2 )
z ρ0 r′ dr′ dϕ′ z
cosθ = √ →
− dE =
r′2 + z 2 4πϵ0 (r′2 + z 2 )3/2
ZR Z2π ZR Z2π
ρ0 r′ dr′ dϕ′ z r′ dr′
ρ0 z ρ0 z
E= = dϕ′ = 1− √
4πϵ0 (r′2 + z 2 )3/2 4πϵ0 (r′2 + z 2 )3/2 2ϵ0 R2 + z 2
0 0 0 0
b) When z ≪ R, √ z →
− 0
R2 +z 2
ρ0
E≈
2ϵ0
Q2. a)
ZR2 ZR2
⃗ ⃗ Q Q Q R1
WR1 →
− R2 = − Edl = − dr = (lnR1 − lnR2 ) = ln
4πϵ0 r 4πϵ0 4πϵ0 R2
R1 R1
b)
Q R1
W∞→
− R2 = R lim ln
1→− ∞ 4πϵ0 R2
Since the limit diverges an infinite amount of work should be done. Since infinite work is physically meaningless,
this kind of electric field source cannot exist physically.
Q3. a) Infinitesimal charge dq = ρ0 adϕ′ , the location of source r⃗′ = acosϕ′ x̂ + asinϕ′ ŷ and the target location
⃗r = z ẑ
Zπ/2 3π/2
aρ0 dϕ′
Z
⃗ =
E +
(z ẑ − acosϕ′ x̂ − asinϕ′ ŷ)
4πϵ0 (a2 + z 2 )3/2
0 π
aρ0 πz Qz
= ẑ = ẑ
4πϵ0 (a2 + z 2 )3/2 4πϵ0 (a2 + z 2 )3/2
Since the electric field spherically symmetric if we choose a spherical shell as the surface S which the integral is
taken, electric field is constant on this surface.
cπr4 cr2
Z
ϵ0 E ds = Qenc (r) →− E= 2
= , when 0 < r < R
4πr ϵ0 4ϵ0
S
When r > R, the enclosed charge is equal to the total charge again by Gauss’ law,
cR4
Z
ϵ0 E ds = Qtot → − E = 2 , when r ≥ R
4r ϵ0
S
Zr ZR Zr
cR4 cr2 cR3 3c(R3 − r3 )
Φ(r) = − E(r) = − dr − dr = + when 0 < r < R
4r2 ϵ0 4ϵ0 4ϵ0 4ϵ0
∞ ∞ R
Q5. Since the setting is cylindrically symmetric, we should choose our Gaussian surfaces as cylindrical shells.
By Gauss’ law,
πr2 ρa h
Z
rρa
ϵ0 Eds = πr2 hρa →
− E= =
2πrhϵ0 2ϵ0
ρa a2 + ρb (r2 − a2 )
ϵ0 E2πrh = πh(ρa a2 + ρb (r2 − a2 )) →
− E=
2rϵ0
For r > b,
Za Zb
′ ′
Qenc = ρa 2πr dr h + ρb 2πr′ dr′ h = ρa πa2 h + ρb π(b2 − a2 )h
0 a
ρa a2 + ρb (b2 − a2 )
E=
2rϵ0