How to Solve Poisson's Equation Using Fourier Transforms
How to Solve Poisson's Equation Using Fourier Transforms
Poisson’s equation is an important partial differential equation that has broad applications in physics and engineering. This article will deal with electrostatic potentials, though the techniques outlined here can be applied in general.

One way to solve this equation is to perform Fourier transforms (FT) relating the variables both in position space




x



{\displaystyle \mathbf {x} }

and in the




k



{\displaystyle \mathbf {k} }

space. This converts the equation into an integration problem, which is relatively easier to deal with.
Steps

Begin with Poisson’s equation. Recall that the electric field E {\displaystyle \mathbf {E} } {\mathbf {E}} can be written in terms of a scalar potential E = − ∇ ϕ . {\displaystyle \mathbf {E} =-\nabla \phi .} {\mathbf {E}}=-\nabla \phi . We can then use Gauss’ law to obtain Poisson’s equation as seen in electrostatics. ∇ 2 ϕ = − ρ ϵ 0 {\displaystyle \nabla ^{2}\phi =-{\frac {\rho }{\epsilon _{0}}}} \nabla ^{{2}}\phi =-{\frac {\rho }{\epsilon _{{0}}}} In this equation, it is often the case that we know the charge density ρ , {\displaystyle \rho ,} \rho , called the source function, and wish to know the potential ϕ . {\displaystyle \phi .} \phi . Therefore, we need to find some way to invert this equation.

Write out the FTs and inverse FTs of the potential and charge density. Since we are dealing with three dimensions, the FTs are adjusted accordingly, with the constant factor there for normalization purposes. The bounds will differ depending on conventions on where to set the potential to 0. Although we will not explicitly write the boundaries until evaluating the integrals, we will set the potential to 0 at infinity, so that we are integrating over all space. ϕ ~ ( k ) = 1 ( 2 π ) 3 / 2 ∫ ϕ ( x ) e − i k ⋅ x d 3 x ϕ ( x ) = 1 ( 2 π ) 3 / 2 ∫ ϕ ~ ( k ) e i k ⋅ x d 3 k {\displaystyle {\begin{aligned}{\tilde {\phi }}(\mathbf {k} )&={\frac {1}{(2\pi )^{3/2}}}\int \phi (\mathbf {x} )e^{-i\mathbf {k} \cdot \mathbf {x} }\mathrm {d} ^{3}\mathbf {x} \\\phi (\mathbf {x} )&={\frac {1}{(2\pi )^{3/2}}}\int {\tilde {\phi }}(\mathbf {k} )e^{i\mathbf {k} \cdot \mathbf {x} }\mathrm {d} ^{3}\mathbf {k} \end{aligned}}} {\begin{aligned}{\tilde {\phi }}({\mathbf {k}})&={\frac {1}{(2\pi )^{{3/2}}}}\int \phi ({\mathbf {x}})e^{{-i{\mathbf {k}}\cdot {\mathbf {x}}}}{\mathrm {d}}^{{3}}{\mathbf {x}}\\\phi ({\mathbf {x}})&={\frac {1}{(2\pi )^{{3/2}}}}\int {\tilde {\phi }}({\mathbf {k}})e^{{i{\mathbf {k}}\cdot {\mathbf {x}}}}{\mathrm {d}}^{{3}}{\mathbf {k}}\end{aligned}} ρ ~ ( k ) = 1 ( 2 π ) 3 / 2 ∫ ρ ( x ) e − i k ⋅ x d 3 x ρ ( x ) = 1 ( 2 π ) 3 / 2 ∫ ρ ~ ( k ) e i k ⋅ x d 3 k {\displaystyle {\begin{aligned}{\tilde {\rho }}(\mathbf {k} )&={\frac {1}{(2\pi )^{3/2}}}\int \rho (\mathbf {x} )e^{-i\mathbf {k} \cdot \mathbf {x} }\mathrm {d} ^{3}\mathbf {x} \\\rho (\mathbf {x} )&={\frac {1}{(2\pi )^{3/2}}}\int {\tilde {\rho }}(\mathbf {k} )e^{i\mathbf {k} \cdot \mathbf {x} }\mathrm {d} ^{3}\mathbf {k} \end{aligned}}} {\begin{aligned}{\tilde {\rho }}({\mathbf {k}})&={\frac {1}{(2\pi )^{{3/2}}}}\int \rho ({\mathbf {x}})e^{{-i{\mathbf {k}}\cdot {\mathbf {x}}}}{\mathrm {d}}^{{3}}{\mathbf {x}}\\\rho ({\mathbf {x}})&={\frac {1}{(2\pi )^{{3/2}}}}\int {\tilde {\rho }}({\mathbf {k}})e^{{i{\mathbf {k}}\cdot {\mathbf {x}}}}{\mathrm {d}}^{{3}}{\mathbf {k}}\end{aligned}}

Relate ϕ ~ ( k ) {\displaystyle {\tilde {\phi }}(\mathbf {k} )} {\tilde {\phi }}({\mathbf {k}}) with ρ ~ ( k ) {\displaystyle {\tilde {\rho }}(\mathbf {k} )} {\tilde {\rho }}({\mathbf {k}}). The result will relate the potential and charge density in the k {\displaystyle \mathbf {k} } {\mathbf {k}} space, and as it will turn out, the relation is algebraic, which is considerably simpler. Take the Laplacian of ϕ ( x ) . {\displaystyle \phi (\mathbf {x} ).} \phi ({\mathbf {x}}). We can differentiate under the integral here because the integral is being taken with respect to k , {\displaystyle \mathbf {k} ,} {\mathbf {k}}, and x {\displaystyle \mathbf {x} } {\mathbf {x}} is an independent variable. ∇ 2 ϕ ( x ) = 1 ( 2 π ) 3 / 2 ∫ − k 2 e i k ⋅ x ϕ ~ ( k ) d 3 k = ρ ( x ) ϵ 0 {\displaystyle \nabla ^{2}\phi (\mathbf {x} )={\frac {1}{(2\pi )^{3/2}}}\int -k^{2}e^{i\mathbf {k} \cdot \mathbf {x} }{\tilde {\phi }}(\mathbf {k} )\mathrm {d} ^{3}\mathbf {k} ={\frac {\rho (\mathbf {x} )}{\epsilon _{0}}}} \nabla ^{{2}}\phi ({\mathbf {x}})={\frac {1}{(2\pi )^{{3/2}}}}\int -k^{{2}}e^{{i{\mathbf {k}}\cdot {\mathbf {x}}}}{\tilde {\phi }}({\mathbf {k}}){\mathrm {d}}^{{3}}{\mathbf {k}}={\frac {\rho ({\mathbf {x}})}{\epsilon _{{0}}}} FT charge density so that it is also written in the k {\displaystyle \mathbf {k} } {\mathbf {k}} space. ρ ( x ) ϵ 0 = 1 ( 2 π ) 3 / 2 ∫ ρ ~ ( k ) ϵ 0 e i k ⋅ x d 3 k {\displaystyle {\frac {\rho (\mathbf {x} )}{\epsilon _{0}}}={\frac {1}{(2\pi )^{3/2}}}\int {\frac {{\tilde {\rho }}(\mathbf {k} )}{\epsilon _{0}}}e^{i\mathbf {k} \cdot \mathbf {x} }\mathrm {d} ^{3}\mathbf {k} } {\frac {\rho ({\mathbf {x}})}{\epsilon _{{0}}}}={\frac {1}{(2\pi )^{{3/2}}}}\int {\frac {{\tilde {\rho }}({\mathbf {k}})}{\epsilon _{{0}}}}e^{{i{\mathbf {k}}\cdot {\mathbf {x}}}}{\mathrm {d}}^{{3}}{\mathbf {k}} By direct comparison, we see that the below relation holds. k 2 ϕ ~ ( k ) = ρ ~ ( k ) ϵ 0 {\displaystyle k^{2}{\tilde {\phi }}(\mathbf {k} )={\frac {{\tilde {\rho }}(\mathbf {k} )}{\epsilon _{0}}}} k^{2}{\tilde {\phi }}({\mathbf {k}})={\frac {{\tilde {\rho }}({\mathbf {k}})}{\epsilon _{{0}}}} If we were given charge density in the k {\displaystyle \mathbf {k} } {\mathbf {k}} space and wanted to find potential in the same space, it would be very easy. However, we are interested in finding these quantities in the x {\displaystyle \mathbf {x} } {\mathbf {x}} space. Therefore, we will need to transform a second time.

Write ϕ ( x ) {\displaystyle \phi (\mathbf {x} )} \phi ({\mathbf {x}}) in terms of ρ ( x ) {\displaystyle \rho (\mathbf {x} )} \rho ({\mathbf {x}}). Inverse FT charge density and simplify the resulting expression. The prime symbols for the dummy variables in line 2 signify that we are taking a separate integral. ϕ ( x ) = 1 ( 2 π ) 3 / 2 ∫ e i k ⋅ x ρ ~ ( k ) k 2 ϵ 0 d 3 k = 1 ( 2 π ) 3 / 2 ∫ e i k ⋅ x d 3 k k 2 ϵ 0 [ 1 ( 2 π ) 3 / 2 ∫ e − i k ⋅ x ′ ρ ( x ′ ) d 3 x ′ ] = 1 ( 2 π ) 3 ∫ e i k ⋅ ( x − x ′ ) k 2 d 3 k ∫ ρ ( x ′ ) ϵ 0 d 3 x ′ {\displaystyle {\begin{aligned}\phi (\mathbf {x} )&={\frac {1}{(2\pi )^{3/2}}}\int e^{i\mathbf {k} \cdot \mathbf {x} }{\frac {{\tilde {\rho }}(\mathbf {k} )}{k^{2}\epsilon _{0}}}\mathrm {d} ^{3}\mathbf {k} \\&={\frac {1}{(2\pi )^{3/2}}}\int e^{i\mathbf {k} \cdot \mathbf {x} }{\frac {\mathrm {d} ^{3}\mathbf {k} }{k^{2}\epsilon _{0}}}\left[{\frac {1}{(2\pi )^{3/2}}}\int e^{-i\mathbf {k} \cdot \mathbf {x} ^{\prime }}\rho (\mathbf {x} ^{\prime })\mathrm {d} ^{3}\mathbf {x} ^{\prime }\right]\\&={\frac {1}{(2\pi )^{3}}}\int {\frac {e^{i\mathbf {k} \cdot (\mathbf {x} -\mathbf {x} ^{\prime })}}{k^{2}}}\mathrm {d} ^{3}\mathbf {k} \int {\frac {\rho (\mathbf {x} ^{\prime })}{\epsilon _{0}}}\mathrm {d} ^{3}\mathbf {x} ^{\prime }\end{aligned}}} {\begin{aligned}\phi ({\mathbf {x}})&={\frac {1}{(2\pi )^{{3/2}}}}\int e^{{i{\mathbf {k}}\cdot {\mathbf {x}}}}{\frac {{\tilde {\rho }}({\mathbf {k}})}{k^{{2}}\epsilon _{{0}}}}{\mathrm {d}}^{{3}}{\mathbf {k}}\\&={\frac {1}{(2\pi )^{{3/2}}}}\int e^{{i{\mathbf {k}}\cdot {\mathbf {x}}}}{\frac {{\mathrm {d}}^{{3}}{\mathbf {k}}}{k^{{2}}\epsilon _{{0}}}}\left[{\frac {1}{(2\pi )^{{3/2}}}}\int e^{{-i{\mathbf {k}}\cdot {\mathbf {x}}^{{\prime }}}}\rho ({\mathbf {x}}^{{\prime }}){\mathrm {d}}^{{3}}{\mathbf {x}}^{{\prime }}\right]\\&={\frac {1}{(2\pi )^{{3}}}}\int {\frac {e^{{i{\mathbf {k}}\cdot ({\mathbf {x}}-{\mathbf {x}}^{{\prime }})}}}{k^{{2}}}}{\mathrm {d}}^{{3}}{\mathbf {k}}\int {\frac {\rho ({\mathbf {x}}^{{\prime }})}{\epsilon _{{0}}}}{\mathrm {d}}^{{3}}{\mathbf {x}}^{{\prime }}\end{aligned}}

Evaluate the k {\displaystyle \mathbf {k} } {\mathbf {k}} space integral. It is easier if we change to spherical coordinates (we are using the physicist's convention). In line 5, we recognize that sin ⁡ a = e i a − e − i a 2 i {\displaystyle \sin {a}={\frac {e^{ia}-e^{-ia}}{2i}}} \sin {a}={\frac {e^{{ia}}-e^{{-ia}}}{2i}} from Euler's formula, and in line 7, we recognize the integral ∫ 0 ∞ sin ⁡ a a d a = π 2 . {\displaystyle \int _{0}^{\infty }{\frac {\sin a}{a}}\mathrm {d} a={\frac {\pi }{2}}.} \int _{{0}}^{{\infty }}{\frac {\sin a}{a}}{\mathrm {d}}a={\frac {\pi }{2}}. 1 ( 2 π ) 3 ∫ − ∞ ∞ e i k ⋅ ( x − x ′ ) k 2 d 3 k = 1 ( 2 π ) 3 ∫ 0 2 π d ϕ ∫ 0 ∞ k 2 d k ∫ 0 π sin ⁡ θ d θ e i k | x − x ′ | cos ⁡ θ k 2 = 1 ( 2 π ) 2 ∫ 0 ∞ d k ∫ 0 π sin ⁡ θ d θ e i k | x − x ′ | cos ⁡ θ , u = cos ⁡ θ = 1 ( 2 π ) 2 ∫ 0 ∞ d k ∫ − 1 1 d u e i k | x − x ′ | u = 1 ( 2 π ) 2 ∫ 0 ∞ d k 1 i k | x − x ′ | ( e i k | x − x ′ | − e − i k | x − x ′ | ) = 1 2 π 2 ∫ 0 ∞ d k 1 k | x − x ′ | sin ⁡ ( k | x − x ′ | ) , v = k | x − x ′ | = 1 2 π 2 | x − x ′ | ∫ 0 ∞ d v sin ⁡ v v = 1 4 π | x − x ′ | {\displaystyle {\begin{aligned}&{\frac {1}{(2\pi )^{3}}}\int _{-\infty }^{\infty }{\frac {e^{i\mathbf {k} \cdot (\mathbf {x} -\mathbf {x} ^{\prime })}}{k^{2}}}\mathrm {d} ^{3}\mathbf {k} \\=\ &{\frac {1}{(2\pi )^{3}}}\int _{0}^{2\pi }\mathrm {d} \phi \int _{0}^{\infty }k^{2}\mathrm {d} k\int _{0}^{\pi }\sin \theta \mathrm {d} \theta {\frac {e^{ik|\mathbf {x} -\mathbf {x^{\prime }} |\cos \theta }}{k^{2}}}\\=\ &{\frac {1}{(2\pi )^{2}}}\int _{0}^{\infty }\mathrm {d} k\int _{0}^{\pi }\sin \theta \mathrm {d} \theta e^{ik|\mathbf {x} -\mathbf {x^{\prime }} |\cos \theta },\ u=\cos \theta \\=\ &{\frac {1}{(2\pi )^{2}}}\int _{0}^{\infty }\mathrm {d} k\int _{-1}^{1}\mathrm {d} ue^{ik|\mathbf {x} -\mathbf {x^{\prime }} |u}\\=\ &{\frac {1}{(2\pi )^{2}}}\int _{0}^{\infty }\mathrm {d} k{\frac {1}{ik|\mathbf {x} -\mathbf {x^{\prime }} |}}(e^{ik|\mathbf {x} -\mathbf {x^{\prime }} |}-e^{-ik|\mathbf {x} -\mathbf {x^{\prime }} |})\\=\ &{\frac {1}{2\pi ^{2}}}\int _{0}^{\infty }\mathrm {d} k{\frac {1}{k|\mathbf {x} -\mathbf {x^{\prime }} |}}\sin {(k|\mathbf {x} -\mathbf {x^{\prime }} |)},\ v=k|\mathbf {x} -\mathbf {x^{\prime }} |\\=\ &{\frac {1}{2\pi ^{2}|\mathbf {x} -\mathbf {x^{\prime }} |}}\int _{0}^{\infty }\mathrm {d} v{\frac {\sin v}{v}}\\=\ &{\frac {1}{4\pi |\mathbf {x} -\mathbf {x^{\prime }} |}}\end{aligned}}} {\begin{aligned}&{\frac {1}{(2\pi )^{{3}}}}\int _{{-\infty }}^{{\infty }}{\frac {e^{{i{\mathbf {k}}\cdot ({\mathbf {x}}-{\mathbf {x}}^{{\prime }})}}}{k^{{2}}}}{\mathrm {d}}^{{3}}{\mathbf {k}}\\=\ &{\frac {1}{(2\pi )^{{3}}}}\int _{{0}}^{{2\pi }}{\mathrm {d}}\phi \int _{{0}}^{{\infty }}k^{{2}}{\mathrm {d}}k\int _{{0}}^{{\pi }}\sin \theta {\mathrm {d}}\theta {\frac {e^{{ik|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|\cos \theta }}}{k^{{2}}}}\\=\ &{\frac {1}{(2\pi )^{{2}}}}\int _{{0}}^{{\infty }}{\mathrm {d}}k\int _{{0}}^{{\pi }}\sin \theta {\mathrm {d}}\theta e^{{ik|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|\cos \theta }},\ u=\cos \theta \\=\ &{\frac {1}{(2\pi )^{{2}}}}\int _{{0}}^{{\infty }}{\mathrm {d}}k\int _{{-1}}^{{1}}{\mathrm {d}}ue^{{ik|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|u}}\\=\ &{\frac {1}{(2\pi )^{{2}}}}\int _{{0}}^{{\infty }}{\mathrm {d}}k{\frac {1}{ik|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}}(e^{{ik|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}}-e^{{-ik|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}})\\=\ &{\frac {1}{2\pi ^{{2}}}}\int _{{0}}^{{\infty }}{\mathrm {d}}k{\frac {1}{k|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}}\sin {(k|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|)},\ v=k|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|\\=\ &{\frac {1}{2\pi ^{{2}}|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}}\int _{{0}}^{{\infty }}{\mathrm {d}}v{\frac {\sin v}{v}}\\=\ &{\frac {1}{4\pi |{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}}\end{aligned}}

Substitute into the equation of the potential ϕ ( x ) {\displaystyle \phi (\mathbf {x} )} \phi ({\mathbf {x}}). This is the general solution to Poisson's equation up to a charge density, where ϕ ( ∞ ) = 0. {\displaystyle \phi (\infty )=0.} \phi (\infty )=0. The general solution to this equation cannot be written in closed form. Thus, we opt for the integral form, where we integrate the known charge density over all space to find the corresponding potential, though the integration for more complicated charge distributions becomes rather impractical. ϕ ( x ) = 1 4 π ϵ 0 ∫ ρ ( x ′ ) | x − x ′ | d 3 x ′ {\displaystyle \phi (\mathbf {x} )={\frac {1}{4\pi \epsilon _{0}}}\int {\frac {\rho ({\mathbf {x^{\prime }} })}{|\mathbf {x} -\mathbf {x^{\prime }} |}}\mathrm {d} ^{3}\mathbf {x^{\prime }} } \phi ({\mathbf {x}})={\frac {1}{4\pi \epsilon _{{0}}}}\int {\frac {\rho ({{\mathbf {x^{{\prime }}}}})}{|{\mathbf {x}}-{\mathbf {x^{{\prime }}}}|}}{\mathrm {d}}^{{3}}{\mathbf {x^{{\prime }}}}

What's your reaction?

Comments

https://umorina.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!