The Poisson Problem

Published on

The Poisson equation is one of the most important partial differential equations (PDEs) in applied mathematics. Given a domain ΩRn\Omega \subset \mathbb{R}^n and a source term f:ΩRf : \Omega \to \mathbb{R}, the Poisson equation seeks a function u:ΩRu : \Omega \to \mathbb{R} satisfying

Δu=fin Ω,-\Delta u = f \quad \text{in } \Omega,

where Δu=i=1n2uxi2\Delta u = \sum_{i=1}^n \frac{\partial^2 u}{\partial x_i^2} is the Laplacian of uu. The negative sign is a convention that makes the operator positive definite, as we will see later. It arises in numerous areas of physics and engineering, including electrostatics, gravitational potential, heat conduction, and fluid mechanics.

To obtain a unique solution, the PDE must be supplemented with boundary conditions on Ω\partial\Omega. The boundary is typically partitioned as Ω=ΓDΓN\partial\Omega = \Gamma_D \cup \Gamma_N (with no overlap, ΓDΓN=\Gamma_D \cap \Gamma_N = \emptyset), and two types of conditions are imposed.

Dirichlet boundary conditions prescribe the value of the solution directly:

u=gDon ΓD.u = g_D \quad \text{on } \Gamma_D.

Neumann boundary conditions prescribe the outward normal derivative (flux):

un=gNon ΓN,\frac{\partial u}{\partial n} = g_N \quad \text{on } \Gamma_N,

where n\mathbf{n} is the unit outward normal to Ω\partial\Omega. When gN=0g_N = 0, the condition is called a zero-flux or natural condition.


Consider a square domain Ω=[1,1]2\Omega = [-1, 1]^2 with an off-centre circular hole of radius r=0.5r = 0.5 centered at (0.3,0.2)(0.3, 0.2). The outer square boundary ΓD\Gamma_D carries a homogeneous Dirichlet condition u=0u = 0, while the circular boundary ΓN\Gamma_N carries a zero-flux Neumann condition u/n=0\partial u / \partial n = 0. The source term is f=1f = 1.

Domain with Dirichlet boundary (square sides) and Neumann boundary (circle)

Solving this problem — using the finite element method developed throughout these posts — gives the solution shown below.

Solution to the Poisson problem on the square with circular hole


In one dimension the Poisson equation on Ω=(0,1)\Omega = (0, 1) with f=1f = 1 and homogeneous Dirichlet conditions u(0)=u(1)=0u(0) = u(1) = 0 reads

u(x)=1,x(0,1),u(0)=u(1)=0.-u''(x) = 1, \quad x \in (0, 1), \qquad u(0) = u(1) = 0.

Integrating twice and applying the boundary conditions gives the exact solution

u(x)=x(1x)2.u(x) = \frac{x(1 - x)}{2}.

Analytical solution to the 1D Poisson problem

This simple example will serve as a useful reference throughout the series: it is easy to verify computed approximations against the exact parabolic profile.

Feel free to leave any question, correction or comment in this Mastodon thread.