Introduction

Solving a differential equation can be done by several methods

Boundary condition

First, it needs to be said that a differential equation has an infinite number of solution as rotating or shifting the initial curve does not impact the second derivative.

Therefore, we need to define boundary condition (which are just known values of f), so that the solution to the function is unique.

Dirichlet boundary condition states that $u(\delta\Omega) = C$ where $\delta\Omega$ represents the boundaries of the domain of definition of x and C is constant.

Weighted Residuals

From strong to weak form

Let’s come back to the strong form to prove it, we can define a function $v(x)$ called “test function” and say that:

$f(x) = u''(x) \implies f(x)v(x) = u''(x)v(v) \implies \int_\Omega f(x)v(x) = \int_\Omega u''(x)v(x)$.

<aside> đź’ˇ

This has to remain true for any given test function

</aside>

From weak form to strong form

In order to make sure that the weak form is stable, we should be able to recover the strong form from it.

image.png

If we take a function v defined as 0 everywhere but at a specific node, we can prove that the value

$f(x) = u''(x)$ at one point x

Therefore, we visually proved that the weak and strong form are equivalent.

image.png

Simplifying the weak form

The weak form is great but we have an issue:

Since we aim to approximate the function f using simpler u functions, we want u to not involve a double derivative in the equation as it would lead to constant functions (as seen on the image).

In order to avoid that, we can use Integration By Part on the weak form to end up with:

$$ \int_\Omega u''(x)v(x) = \newline [u'(x)v(x)]^\Omega - \int_\Omega u'(x)v'(x)dx \newline = \int_\Omega f(x)v(x)dx $$

image.png