Professional Documents
Culture Documents
r − r0
Z
1
E(r) = dq,
4πε0 |r − r0 |3
where |r − r0 | is the distance from the innitesimal charge source to the point r with charge dq . Further-
more dq = λ dx for a line, dq = σ da for a surface and dq = ρ dv for a volume1 .
Here we will study the electric eld from a rod placed along the x-axis of length 2L and with charge
density λ. The situation is shown in gure 1.
a) Determine the direction of the eld in the point P , a distance z normal to the middle of the rod (on
the z -axis). Show that the strength of the electric eld can be written as
Z L
2λz 1
Ez = dx.
4πε0 0 (x2 + z 2 )3/2
1 You might be more used to the notation dV for a volume element, but we use a little v in dv to distinguish from the
electrostatic potential V
1
z
dE
r-r'
r
r' dx x
-L L
Figure 1: A nite line segment. Notice the symmetry across the z-axis.
z
P
a
Figure 2: We can use the eld from a nite rod to nd the eld from a square loop.
dE
θ
θ r
-x x
-L L
Figure 3: Pairing up contributions at x and at −x it becomes clear that only the z -component of the eld survives.
Solution:
Pairing up contributions from a little charge dq at x and another one at -x we see that the all the
components of the eld except for the z -component will cancel. The z-component from a little charge
element at x is given by
1 dq z
dEz = |dE| cos θ = √ ,
4πε0 x2 + z 2 x2 + z 2
where θ is the angle between the vector dE and the z -axis and dq = λdx. The total eld at P is
therefore
Z L Z L
1 dq λ dx
Ez = 2 2 3/2
=
4πε0 −L (x + z ) 4πε0 −L (x2 + z 2 )3/2
and because the contributions at the negative part of the x-axis is equal to those at the positive part
(mathematically because 1/(x2 + z 2 )3/2 is an even function) this can be written as
Z L
2λ dx
Ez = .
4πε0 0 (x2 + z 2 )3/2
b) Evaluate the integral. You might want to use the substitution x = z tan θ.
Z Z
dx 1 1
= 2
cos3 θdθ (1)
(x + z 2 )3/2
2 z cos2 θ
Z
1
= cos θdθ (2)
z2
1
= sin θ (3)
z2
1 x
= √ . (4)
z 2 x2 + z 2
Therefore
Z L L
2λz dx 2λz 1 x 2λz 1 L
Ez = = = √
4πε0 0 (x2 + z 2 )3/2 4πε0 z 2 (x2 + z 2 )3/2 0 4πε0 z 2 L2 + z 2
Answer:
2λz 1 L
Ez = 2
√
4πε0 z L + z2
2
c) What do you expect the eld to look like when you move very far away from the rod, i.e. for z L?
Does the expression you have for the eld make sense in this limit?
Solution:
Everything looks like a point when we're far enough away, so the eld from the rod should
√ look like
the eld from a point charge. When z L, L is negligible compared to z such that L2 + z 2 ≈ L
and
1 2λL 1 Q
Ez = √ ≈
4πε0 z L2 + z 2 4πε0 z 2
where 2Lλ = Q is the total charge on the rod. Indeed, this looks like the eld from a point charge.
d) What does the eld look like for an innite rod, L → ∞? The expression you found in (b) was only
valid along the z-axis. Where is this expression valid?
1 2λ 1 2λ
lim Ez = lim q = .
L→∞ L→∞ 4πε0 z
2 4πε0 z
z 1+ L
For a nite rod we could exploit the fact that on the axes normal to the middle of the rod the
contributions from equidistant charges dq would cancel the x-component of the total eld. Now we
have an innite rod which means that we'll always be able to pair up equidistant contributions having
the same cancelling eect. So in comparison with the nite rod where we could only use this argument
along the axis normal to the middle of the rod, this is now true everywhere. This means that for an
innite rod the eld
1 2λ
E= r̂,
4πε0 r
where r is the distance from the rod in cylindrical coordinates, is valid everywhere.
e) Use your result from (b) to nd the eld at the point P a distance z from the center of a square loop
with sides of length a (gure 2).
Hint: Note that the z -axis in (b) does not correspond to the z -axis in gure 2. What is z and L in
this case?
Solution:
From (b) we had that
2λz 1 L
Ez = √ .
4πε0 z 2 L2 + z 2
Here L → a/2 and z → z 2 + ( a2 )2 so that the eld from one side from the square loop in point P is
p
2λ z 2 + ( a2 )2 a
p
2 1 λa
E1 = q r̂ = q r̂,
4πε0 4πε0
q
a 2 a 2 2 a2 a 2
+ z 2 + a2
2 + z2 2 z2 + 2 2 + z2
where the eld points radially away as show in gure 4. Now there are 4 sides in total and the eld
from the other 3 sides will cancel the component parallel to the plane of the square, so we get the
total eld by multiplying by 4 cos θ. Expressed in terms of the lengths in the problem this becomes
a/2 a
a
Figure 4
1 λa z 1 4λaz
Etot = 4 q q k̂ = q k̂.
4πε0 4πε0
q
a2 a 2 a 2 a 2 a2
z2 + 2 2 + z2 2 + z2 2 + z2 z2 + 2
Answer: No. The potential is always relative to another point, and so it can inherit any value without
regard to the absolute value of the electric eld.
b) In circuits we often use a voltmeter (voltage being just another word for the electric potential) to
measure potential. How can the voltmeter know what to read when the potential is a value relative
to any reference point O?
Answer: It reads out the potential dierence between the two terminals on the voltmeter. Thus, it
does not read out the potential, but the potential dierence.
c) If you shue your shoes across a nylon carpet you can obtain a potential dierence between yourself
and the oor of several thousand volts. If you then touch a metal sink you might feel a mild shock,
but touching a power line of the same voltage could be lethal. Why doesn't touching the sink kill
you?
Answer: Even if there is a high potential dierence, it might not carry enough energy to kill you.
The power line is lethal because it does not only have a high potential dierence, but also a huge
amount of current ready to push through your body.
where O is some reference point which are often chosen to be at innity. When O is at innity one nds
the potential for a discrete set of charges by
1 X qi
V (r) =
4πε0 i |r − ri |
Because the potential is a scalar function is it usually much simpler to nd by integration than the electric
eld itself. Therefore the potential, along with numerous other applications, can serve as a simplifying
intermediate step in nding the electric eld. We'll study this property in the next exercises.
a) Find the potential from a disk of radius R with uniform surface charge σ a distance z above the center
of the disc and show that it can be written as
σ p 2
V (z) = R + z2 − z
2ε0
Solution:
Here the distance r to the point where we are trying to nd the potential is z , i.e r = z .
and
√ from the gure 5 we see that the distance from the source charge dq 0 and the point P is |r − r0 | =
z + r . Since we are considering a surface dq = σda = σr0 dθdr0 such that
2 02 0
2π R
σr0 dr0 dθ
Z Z
1
V (z) = √ (5)
4πε0 0 0 z 2 + r02
Z z 2 +R2
2πσ 1 du
= (6)
4πε0 2 z2 u1/2
1 p 2
= z + R2 − z (7)
2σ
∂ ∂ ∂
∇V = V î + V ĵ + V î (8)
∂x ∂y ∂z
∂ σ p 2
= z + R2 − z k̂ (9)
∂z 2ε0
σ z
= √ − 1 k̂ (10)
2ε0 z 2 + R2
= −E (11)
so that
σ z
E= 1− √ k̂
2ε0 z + R2
2
c) Check the limit when z R and nd the eld for an innite disc by letting R → ∞.
In the case of the innite disk, how does the eld vary with distance? How can you justify this result?
√
Solution: One could rst try to argue that when z R z 2 + R2 ≈ z , but then
σ z
E≈ 1− k̂ = 0k̂
2ε0 z
b) Use the Numpy function gradient() to nd the electric eld as E = −∇V . Plot the electric eld
using the quiver3d() function.
Ex,Ey,Ez = gradient(V)
Ex = − Ex
Ey = − Ey
Ez = − Ez
See the course pages for information on how to set up and use Python and Mayavi.
where this is evaluated as a triple integral. What are the limits of the integral?
Solution: In this problem it's important to keep in mind that r is the point we're trying to nd the
potential at, while r0 is the point where the source charge dq 0 is located. When we are summing up
(integrating) the contributions from all source charges dq 0 we integrating over r0 and not r because
r0 is varying due to the dierent locations of the dierent dq 0 s. We are trying to nd
dq 0
Z
1
V (r) = .
4πε0 |r − r0 |
Now we are integrating over a volume, so dq 0 = ρ(r0 )dv 0 = ρr02 sin θdθdφdr0 where ρ(r0 ) = ρ is a
constant because the sphere is uniformly charged. Thus
The limits of integration are 0 < θ < π , 0 < φ < 2π and 0 < r0 < R.
Q 1
V (r) = .
4πε0 r
√
Hint: A simple substitution might be good here. Hint:
p
r2 + r02 − 2rr0 = (r − r0 )2 = |r − r0 |
Solution: 2π R π
r02 sin θdθdr0
Z Z Z
ρ
V (r) = dφ √
4πε0 0 0 0 r2 + r02 − 2rr0 cos θ
π Z r2 +r02 +2rr0
r02 sin θ r02
Z
√ dθ = u−1/2 du (15)
0 r2 + r02 − 2rr0 cos θ 2rr0 r2 +r02 −2rr0
r 0 p 2
(16)
p
= r + r02 + 2rr0 − r2 + r02 − 2rr0
r
r 0 p
(17)
p
= (r + r0 )2 − (r − r0 )2
r
r0
= (r + r0 − |r − r0 |) (18)
r
2r 02
r > r0
= { r0 (19)
2r r < r0
where we have used the substitution u = r2 + r02 − 2rr0 cos θ ⇒ du = 2rr0 sin θ. As long as we're
outside the sphere r will always be greater than r0 , but in (d) we'll nd the potential inside the sphere
and then this is not the case. Thus
"Z #
R
2πρ 2r02 0 4/3πρR3 1 Q
V (r) = dr = =
4πε0 0 r 4πε0 r 4πε0 r
c) Find the electric eld from the sphere and compare it with the electric eld from a point charge.
Solution:
Q 1 Q r̂
∇V = ∇ =− = −E
4πε0 r 4πε0 r2
such that
1 Q
E= r̂,
4πε0 r2
d) Go a few steps back in your derivation above and nd out what's dierent when we want to nd the
potential inside the sphere. Show that the potential here can be written as
r2
Q
V (r) = 3− 2
8πε0 R R
Solution: When we're inside the sphere, r < R and when integrating the contributions to the
potential from all charges dq 0 r0 can now be both greater and less than r. Thus
"Z #
r R
2r02 0
Z
2πρ
V (r) = dr + 0
2r dr 0
(20)
4πε0 0 r r
4πρ r3 R2 − r 2
= + (21)
4πε0 3r 2
r2
1
= 3− 2 (22)
8πε0 R R
r2
Q Q r
∇V = ∇ 3− 2 =− r̂ = −E
4πε0 R R 4πε0 R3
1 Qr
E= r̂
4πε0 R3
1 Q
E= r̂
4πε0 R2
Answer:
1 Qr
E= r̂
4πε0 R3