WOLFRAM|DEMONSTRATIONS PROJECT

​

​
picture
contour plot
3D plot
R
1
λ
1
-1
λ
2
1
point charges
The electrostatic potential in an
x
-
y
plane for an infinite line charge in the
z
direction with linear density
λ
is given by
ϕ(x,y)=-2λlog
2
x
+
2
y

.
We use Gaussian units for compactness. The zero of potential is evidently the value on the circle
2
x
+
2
y
=1
.
For two parallel line charges, with linear densities
λ
1
and
λ
2
, intersecting the plane at
(-R,0)
and
(R,0)
, respectively, the potential function generalizes to
ϕ(x,y)=-2
λ
1
log
2
(x+R)
+
2
y
-2
λ
2
log
2
(x-R)
+
2
y

.
For selected values of
R
,
λ
1
and
λ
2
, selecting "contour plot" shows the equipotentials of
ϕ(x,y)
. For
λ
1
=
λ
2
, the equipotentials have the form of Cassini ovals. Also shown as green contours are the orthogonal trajectories
ψ(x,y)
, which represent the electrostatic lines of force. These are given by
ψ(x,y)=-4
λ
1
arctan
y
x+R
-4
λ
2
arctan
y
x-R
,
as derived in the Details below.
A 3D plot of the potential contours is also available. Click the checkbox to display, for purposes of comparison, the analogous equipotentials and lines of force for two point charges
q
1
and
q
2
replacing the line charges.