In the previous chapters we have studied solutions to the Poisson and Laplace equations for simple geometries with homogeneous density distributions.
The following chapters introduce techniques which will enable us to calculate potentials and their gradients in a subdomain \(\Omega\) that does not contain the sources.
However, we incorporate the effect of the sources by enforcing boundary conditions along the boundaries \(\partial\Omega\) of the subdomain.
The ultimate goal is to find a solution of the Poisson (or similar) PDE.
The Poisson equation
\[
\Delta U(\vb r) = f(\vb r)
\]
with \(\vb r \in \Omega \subset \mathbb R^3\) has no unique solution, if no further conditions on \(U(\vb r)\) are enforced.
Example
The function \[
\Phi(x,y,z) = e^{\alpha x + \beta y} \sin(\sqrt{\alpha^2 + \beta^2}z)
\]
is a solution of the PDE \(\Delta \Phi = 0\) for arbitrary choices of \(\alpha\) and \(\beta\).
Hence, the solution is non-unique.
However, the solution space can be restricted by proper choices of \(\alpha\) and \(\beta\).
Check using SymPy:
Show the code
import sympy as spfrom IPython.display import display, Mathalpha, beta, x, y, z = sp.symbols('alpha beta x y z') Phi = sp.exp(alpha * x + beta * y) * sp.sin(sp.sqrt(alpha**2+ beta**2) * z)display(Math('\\Phi = '+ sp.latex(Phi)))Phi