Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Variational formulations: the Poisson equation

Problem statement

{Δu=f on Ω,u=0 on ΓD,nu=0 on ΓN.\left\{ \begin{aligned} -\Delta u &= f \ &\text{on }\Omega, \\ u &= 0 \ &\text{on }\Gamma_D, \\ \partial_n u &= 0 \ &\text{on }\Gamma_N. \end{aligned} \right.

Weak formulation

The weak formulation is obtained by multiplying by a test function vH01(Ω)v \in H_0^1(\Omega) and integrating over Ω\Omega:

ΩΔuvdV=ΩfvdV.-\int_\Omega \Delta u\: v \:\mathrm{d}V = \int_\Omega f v\:\mathrm{d}V.

Using Green’s theorem, we can express the left-hand term as:

ΩΔuvdV=ΩuvdVΩnuvdS,-\int_\Omega \Delta u\: v \:\mathrm{d}V = \int_\Omega \underline{\nabla u}\cdot\underline{\nabla v}\:\mathrm{d}V - \int_{\partial\Omega} \partial_n u\:v\:\mathrm{d}S,

Resulting in the following weak formulation:

ΩuvdV=ΩfvdV+ΩnuvdS.\int_\Omega \underline{\nabla u}\cdot\underline{\nabla v}\:\mathrm{d}V = \int_\Omega f v\:\mathrm{d}V + \int_{\partial\Omega} \partial_n u\:v\:\mathrm{d}S.

However, in the case of our problem, nu=0\partial_n u =0 on ΓN\Gamma_N and v=0v=0 on ΓD\Gamma_D so that the last term is null as Ω=ΓDΓN\partial\Omega = \Gamma_D \cup \Gamma_N.

Boundary conditions

We distinguish two types of boundardy conditions: ones which are applied directly to the definition space of the function (Dirichlet boudnary conditions, also called essential boundary conditions), and conditions enforced in the weak formulation which appear when using Green’s theorem (called Neumann or natural boundary conditions). The latter is enforced through the weak form.