Weak Formulation for PDEs
A lot of time I’ve come across the weak form of PDEs for physical systems, particularly for physics simulations. And just searching for “weak formulation of PDEs” led me into deep rabbit holes where I’d quickly feel lost and overwhelmed.
Then I saw notes “A brief introduction to weak formulations of PDEs and the finite element method” by Prof. T. J. Sullivan. He really nicely put the why behind all of the weak formulation. Primary concepts I learned are:
- The strong form is often too rigid for PDEs for physical simulation, which are either not tractable or don’t even have solutions for given constraints. So weak form is a less rigid version of such PDEs where the smoothness and continuity requirements are often relaxed by paring them against some test function.
- This weak formulation by test function + integration by parts lets us formulate 2nd order elliptical PDE (Poisson equation) into 1st order.
- One interesting thing I noticed, the space of all test functions forms a vector space, which is perfect candidate for writing the weak formulation in exterior calculus notation.
Strong Formulation
To begin with, let’s consider a 2nd order elliptical PDE, the Poisson problem over a subset of euclidean space such that . Where , are function over the domain. Then a strong form of Poisson equation is
Weak Formulation
Let be a compactly supported test function. This is cumbersome, but what it means is that is infinitely differentiable and is non-zero only over some subset of . More precisely, There exists some closed and bounded set such that is zero over . Why this matters? #look-into-it.
Now let’s pair with our strong form, then the weak form becomes:
Then in a weak sense we are saying that . If we pair this weak formulation with integration by parts, then we can relax the differentiability constraint on .
With the integration by parts, we can rearrange the equation as,
This effectively makes out to be only rather than . And I think this means that we can work with linear piecewise constant and , for which we already have lot of numerical machinery from linear algebra in place.
Linear algebra connection
We can express Eq. using a bilinear Form and inner product
where is a linear function of and and is a inner product given by
here we can see that is a covector and and is a differential form.
Sobolev Spaces
It’s a space of all scalar valued functions which are square integrable and their gradients are square integrable as well. (i.e. is finite). Why this matters? #look-into-it
This space is denoted by an is equipped with an inner product structure
and a norm
It seems like . #look-into-it