Derive the Electrostatic Potential for Point Charges
Solve Poisson's equation for electrostatics using the method of Green's functions and visualize the equipotential surfaces for a collection of point charges
The classical formula for electrostatic potential due to a point charge is well known:
ϕ=
Q
4π
ϵ
0
r
In the formula,
ϕ
is the electric potential,
Q
is the electric charge,
ϵ
0
is the permittivity of free space, and
r
is the distance from the point charge. Starting from the differential form of Gauss's Law, it is possible to derive this expression for a static point charge by using a Green's function.
Lookup the formula for reference:
In[1]:=
FormulaData["PointCharge"]
Out[1]=
ϕ
1
4π
/
ε
0
Q
r
,
E
1
4π
/
ε
0
Q
2
r
Determining the electrostatic scalar potential is an application of Poisson's equation:
-
2
∇
ϕ=
ρ
ϵ
0
In the above formula,
ρ
represents the electric charge density.
Define the distribution of charge density for a point charge of magnitude
Q
located at
(
x
0
,
y
0
,
z
0
)
:
In[2]:=
ρ0[x_,y_,z_]:=Q*DiracDelta[x-x0,y-y0,z-z0]
Compute a Green's function for the Laplacian operator:
In[3]:=
gf=GreenFunction-
2
∇
{x,y,z}
ϕ[x,y,z],ϕ[x,y,z],{x,y,z}∈FullRegion[3],{a,b,c}
Out[3]=
1
4π
2
(-a+x)
+
2
(-b+y)
+
2
(-c+z)
Use the properties of Green's functions to solve the differential equation: