Professional Documents
Culture Documents
3 Loss functions
In the following, we consider two methods: the Ritz Method [37], and the
Least Squares Method [29].
Multiplying the PDE from Eq. (1a) by a test function v ∈ V (where V = H01 (Ω)),
integrating by parts and incorporating the boundary conditions, we arrive at the
variational formulation:
It is easy to prove that the original (strong) and variational (weak) formulations
are equivalent (see, for instance, [20]).
To introduce the Ritz method, we define the energy function FR : V −→ R
given by
1
FR (v) = (σ∇v, ∇v) − (f, v) − (g, v)ΓN . (6)
2
As proved in [20], problem (5) is equivalent to the following energy minimiza-
tion problem:
u = arg min FR (v), (7)
v∈V
Gu := ∇ · (σ∇u) + f x ∈ Ω, (8a)
Bu := (σ∇u) · n − g x ∈ ΓN . (8b)