24
Chapter 4 Weak formulation of elliptic problems ”Alan Turing is reported as saying that PDE’s are made by God, the boundary conditions by the Devil ! The situation has changed, Devil has changed places. . . We can say that the main challenges are in the interfaces, with Devil not far away from them. . . ” Jacques-Louis Lions (1928-2001) In this chapter, we consider linear elliptic problems that are commonly found in mechanical and physical partial differential models. The aim is to introduce the notion of weak formulation that give access to existence and uniqueness results for the solutions and that is well suited for the numerical approximation of such problems. Contents 4.1 Dirichlet problem ................................... 53 4.2 Neumann problem ................................... 54 4.3 Abstract variational problems ............................ 55 4.4 Variational approximation of elliptic problems .................. 66 4.5 Application to boundary-value problems in R .................. 71 4.6 Maximum principles .................................. 74 4.7 Exercises ......................................... 75 4.1 Dirichlet problem Let consider a bounded domain Ω R d with a piecewise C 1 continuous boundary Ω and let denote by ν the unit outer normal vector to Ω. We first recall a Green’s identity. Lemma 4.1 For every function u H 2 (Ω) and every function v H 1 (Ω), we have the Green’s identity: - Ω u)v dx = d i=1 Ω x i u∂ x i v dx - Ω ∂u ∂ν v dσ . (4.1) 53

W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

Chapter 4

Weak formulation of elliptic problems

”Alan Turing is reported as saying that PDE’s are made by God, theboundary conditions by the Devil ! The situation has changed, Devilhas changed places. . .We can say that the main challenges are in theinterfaces, with Devil not far away from them. . . ”Jacques-Louis Lions (1928-2001)

In this chapter, we consider linear elliptic problems that are commonly found in mechanical andphysical partial di!erential models. The aim is to introduce the notion of weak formulation that giveaccess to existence and uniqueness results for the solutions and that is well suited for the numericalapproximation of such problems.

Contents4.1 Dirichlet problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 534.2 Neumann problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544.3 Abstract variational problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 554.4 Variational approximation of elliptic problems . . . . . . . . . . . . . . . . . . 664.5 Application to boundary-value problems in R . . . . . . . . . . . . . . . . . . 714.6 Maximum principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 744.7 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

4.1 Dirichlet problem

Let consider a bounded domain " ! Rd with a piecewise C1 continuous boundary !" and let denote by" the unit outer normal vector to ". We first recall a Green’s identity.

Lemma 4.1 For every function u " H2(") and every function v " H1("), we have the Green’s identity:

#!

Ω(#u)v dx =

d"

i=1

!

Ω!xiu !xiv dx#

!

∂Ω

!u

!"v d# . (4.1)

53

Page 2: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

54 Chapter 4. Weak formulation of elliptic problems

We consider the following model problem:Given a real-valued function f " L2("), find a function u defined in " solving

##u = f in " (4.2)u = 0 on !" . (4.3)

Suppose the solution u is su$ciently smooth, for example u " H2("). Then, we can multiply each sideof the equation (4.2) by a test function v " H1

0 (") and integrate on " to obtain:

#!

Ω(#u)v dx =

!

Ωfv dx .

Thanks to Green’s identity (4.1) and by noticing that v|∂Ω = 0, we obtain:

$v " H10 (") ,

d"

i=1

!

Ω!xiu !xiv dx =

!

Ωfv dx . (4.4)

The specific boundary conditions and the Theorem 2.21 yield to conclude that the solution u of theproblem (4.4) is such that:

u " H10 (")

and the initial problem is now replaced by the following problem:Given a function f " L2("), find a function u " H1

0 (") such that identity (4.4) holds.This is the weak formulation of the Dirichlet problem (4.2).

We have seen that any solution u of the Dirichlet problem (4.2), su$ciently smooth, is solution ofthe problem (4.4). Conversely, a solution u " H1

0 (") is a solution of the problem (4.4) if and only if:

$$ " D(") ,d"

i=1

!

Ω!xiu !xi$ dx =

!

Ωf$ dx ,

since H10 (") is the closure of D(") in H1(") (cf. Definition 2.14). Consequently, if u satisfies the equation

(4.4), then the initial equation ##u = f is satisfied on " in the distributional sense and since f " L2("),this equation is verified in L2("), thus almost everywhere in ". Finally, u " H1

0 (") leads to satisfy theboundary condition according to the trace theorem on the boundary !".

4.2 Neumann problem

Let consider an open bounded domain " ! Rd with a piecewise C1 continuous boundary !". We nowfocus on the following problem:

Given a function f " L2("), find a function u defined on " solving

##u + u = f in " (4.5)!u

!"= 0 on !" . (4.6)

Suppose the solution u " H2("). Then, following the same procedure as for the Dirichlet problem, weobtain:

$v " H1(") ,d"

i=1

!

Ω!xiu !xiv dx +

!

Ωuv dx =

!

Ωfv dx . (4.7)

Page 3: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.3. Abstract variational problems 55

The original boundary-value problem is then replaced by the following:Given a function f " L2("), find a solution u " H1(") verifying equation (4.7).

Any su$ciently smooth solution u of the Neumann problem is solving the previous problem. Conversely,if u " H1(") solves the problem (4.7), we have

$$ " D(") ,d"

i=1

!

Ω!xiu !xi$ dx +

!

Ωu$ dx =

!

Ωf$ dx ,

and since u and f are L2(") functions, the initial equation ##u + u = f is satisfied in the distributionalsense, in L2("). When u " H2("), we can show, using the Green’s formula, that equation 4.7 is equivalentto the initial equation and that:

$v " H1(") ,

!

∂Ω

!u

!"v d# = 0 ,

and, since the trace space on " is dense in L2("), we have:

$w " L2(!") ,

!

∂Ω

!u

!"w d# = 0 ,

which leads to the Neumann boundary condition in the L2(") sense. Any smooth solution of equation(4.7) is thus solving the initial Neumann problem.

4.3 Abstract variational problems

The previous examples fit in a general abstract framework that is well suited for the resolution of a largeclass of boundary value elliptic problems. To this end, we consider:

(i) a Hilbert space V on R, endowed with a norm % · %,

(ii) a bilinear form a defined and continuous on V & V , i.e. such that there exists a constant M > 0such that:

$u " V ,$v " V , a(u, v) ' M%u% %v% ,

(iii) a linear form l continuous on V , i.e. an element l of the topological dual space V ′ = L(V, R) of Vendowed with the dual norm

%l%V ′ = supv∈Vv #=0

l(v)%v% .

Then, we consider the general variational problem:

(P)

#Given l " V ′ , find u " V solving the problem

$v " V , a(u, v) = l(v)(4.8)

As such, this problem is certainly not well-posed. We will give a su$cient condition on the bilinear forma to have a unique solution. We first introduce a definition.

Definition 4.1 The problem (P) is said to be well-posed if there is a unique solution to this problemand if the following linear stability property is satisfied:

(C > 0 ,$l " V ′ , %u% ' C %l%V ′ .

The objective is now to determine if and when a variational problem is well-posed. Two fundamentalresults will help us to solve this question.

Page 4: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

56 Chapter 4. Weak formulation of elliptic problems

4.3.1 The Lax-Milgram theorem

Definition 4.2 The bilinear form a(·, ·) is said to be V -elliptic if there exists a constant % > 0 such that

$v " V , a(v, v) ) %%v%2 .

Theorem 4.1 (Lax-Milgram lemma) Let V be a Hilbert space, a " L(V & V, R) be a bilinear form,and l " V ′ be a linear form continuous on V . Then, under the condition that:

(c0) the bilinear form a is continuous and V -elliptic with constant %,

the problem P is well-posed (i.e. has a unique solution) and we have the estimate:

$l " V ′ , %u%V ' 1%%l%V ′ ,

(i.e. the mapping u *+ l is an isomorphism of V on V ′).

Proof. Since the linear form l is continuous on V , the Riesz representation theorem asserts the existence of aunique element wl " V such that

$v " V , l(v) = ,wl, v- .This relation defines a linear one-to-one isometric mapping l *+ wl from V ! on V . Similarly, u being fixed in V ,the linear form v *+ a(u, v) is continuous on V . It is thus an isomorphism. Invoking the representation theoremagain, there exists a unique element w " V such that:

$v " V , a(u, v) = ,w, v- ,

and we pose w = Au. We claim that A : V + V is a bounded continuous linear operator. It follows that theproblem (P) is equivalent to finding u " V solving

Au = wl .

The existence and uniqueness are obtained by establishing that the linear operator A is a bijective mapping fromV to V . A being continuous, the inverse A"1 is continuous from V to V .

(i) A is an injection, i.e. Ker(A) = 0. Actually, since a is V -elliptic, we have

$v " V , %%v%2 ' a(v, v) = ,Av, v- ' %Av% %v% ,

and thus,$v " V , %Av% ) %%v% .

This shows that A is an injection, since:

v " Ker(A) . Av = 0 / ,Av, v- = 0

thus v = 0 and, consequently, Ker(A) = 0.(ii) A is a surjection, i.e. ImA = R(A) = V . We need to show that R(A) is closed and dense in V .

Let consider w " R(A) (the closure of R(A) in V ) and let (Avm)m#N be a sequence of R(A) that convergesto w in V . We have:

%Avm #Avn% ) %%vm # vn%such that (vm) is a Cauchy sequence in the Hilbert space V : it converges to an element v " V and (Avm)converges to Av, since A is continuous. Hence, we have:

w = Av " R(A) ,

and we can conclude that R(A) is closed in V .Now, let consider v0 " (R(A))$, we have

%%v0%2 ' a(v0, v0) = ,Av0, v0- = 0 ,

anf thus v0 = 0. This shows that (R(A))$ is reduced to 0 and thus A is a surjection.

Page 5: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.3. Abstract variational problems 57

The linear operator A is a one-to-one mapping from V to V . From the V -ellipticity property, we deduce

$v " V , %A"1v% ' 1%%v% ,

and hence that A"1 is continuous. By noticing that:

%wl% = supv#Vv %=0

,wl, v-%v% = sup

v#Vv %=0

l(v)%v% = %l%& ,

we obtain that the solution u to the problem (P) is such that:

%u% = %A"1wl% ' 1%%wl% =

1%%l%V ′ ,

and the result follows. !

When the bilinear form a(·, ·) is symmetric and positive, the problem (P) can be interpreted as aminimization problem.

Theorem 4.2 Consider a Hilbert space V , a " L(V &V, R) and l " V ′. Suppose the bilinear form a(·, ·)is symmetric and positive:

$u, v " V , a(u, v) = a(v, u) and $u " V , a(u, u) ) 0 .

Then, u is solution of the problem (P) if and only if u minimizes on V the functional

$v " V , J(v) =12a(v, v)# l(v) ,

i.e. J(u) = infv∈V

J(v).

Proof. Suppose u is solution of the problem (P). A direct calculation gives:

$v " V , J(v) = J(u) + a(u, v # u)# l(v # u) +12a(v # u, v # u)

= J(u) +12a(v # u, v # u)

) J(u) ,

which attests that u minimizes the function J on V . Conversely, let consider v " V , & "]0, 1] and we posew = u + &v. A direct calculation gives:

J(w)# J(u) = & (a(u, v)# l(v)) +&2

2a(v, v) ) 0 .

Dividing by & and letting & + 0 yields

$v " V , a(u, v) ) l(v) .

Substituting v by #v yields to the equality and thus to conclude that u is solution of the problem (P). !

Remark 4.1 (i) When the bilinear form a(·, ·) is symmetric, the problem (P) corresponds to the min-imization of a quadratic functional on a Hilbert space V , which is the abstract formulation ofnumerous problems in calculus of variations. This explains why (P) is called a variational problem.

Page 6: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

58 Chapter 4. Weak formulation of elliptic problems

(ii) When the bilinear form a(·, ·) is symmetric and V -elliptic, the Lax-Milgram theorem indicates thatthe optimization problem infv∈V J(v) has a unique solution. The V -ellipticity of a can be seen as aproperty of strong convexity of the functional J .

(iii) In many applications, the functional J corresponds to an energy (cf. the deformation of an elasticmembrane).

Example 4.1 We consider the Dirichlet problem (4.2). Its variational (weak) formulation is that ofproblem (P), if we pose

V = H10 (") endowed with %v% = %v%1,Ω ,

a(u, v) =d"

i=1

!

Ω!xiu !xiv dx ,

l(v) =!

Ωfv dx .

It is easy to see that the bilinear form a(·, ·) (resp. the linear form l(·)) is continuous on H10 (")&H1

0 (")(resp. on H1

0 (")) since we have

a(u, v) ' |u|1,Ω|v|1,Ω ' %u%1,Ω %v%1,Ω

l(v) ' %f%0,Ω%v%0,Ω ' %f%0,Ω %v%1,Ω ,

where | · |1,Ω denotes the semi-norm on H1("):

|v|1,Ω =

$d"

i=1

%!xiv%20,Ω

%1/2

.

Furthermore, since " is an open bounded subset of Rd, the bilinear form a(·, ·) is H10 (")-elliptic, as we

have:$v " H1

0 (") , a(v, v) ) 11 + C2

%v%21,Ω ,

thanks to Poincare’s inequality. According to Lax-Milgram theorem, there exists a unique function u "H1

0 (") such that

$v " H10 (") ,

d"

i=1

!

Ω!xiu !xiv dx =

!

Ωfv dx ,

that is precisely the form (4.4).

Remark 4.2 We could have considered the Dirichlet boundary-value problem in the following formula-tion: given f " H−1("), find u such that

##u = f in " and u = 0 on !" .

As the right-hand side is not smooth, we will not look for a classical solution (u " C2(")) for this problem.Since #u is in H−1("), it seems reasonable to look for u " H1(") and thus in H1

0 (") because of theboundary condition. Let consider v " H1

0 ("). The density of D(") in H10 (") leads to write:

$v " H10 (") , $w " H1(") , ,##w, v- = ,0w,0v-L2(Ω) .

Page 7: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.3. Abstract variational problems 59

Hence, if u is a solution of the problem in H1("), then u is also a solution of the weak formulation: findu " H1

0 (") such that$v " H1

0 (") , ,0u,0v-L2(Ω) = ,f, v- .

Conversely, suppose u is a solution of the problem above and consider v = $ " D("):

$$ " D(") , ,f, v- = ,0u,0$-L2(Ω) = #,#u, $- ,

hence, in the distributional sense:##u = f ,

and since f " H−1("), this equality is posed in H−1("). To solve this problem, we have to show thatthe weak formulation has a unique solution. This can be achieved by invoking Lax-Milgram theorem withV = H1

0 ("), V ′ = H−1("), a(u, v) = ,0u,0v-L2(Ω) and l(v) = ,f, v-. H10 (") is a Hilbert space endowed

with the norm | · |1,Ω (equivalent to the norm % ·%1,Ω thanks to Poincare’s inequality) and ,0u,0v-L2(Ω) isthe inner product associated with this norm. Hence, the hypothesis of Lax-Milgram theorem are satisfiedfor M = 1 and % = 1, the problem has a unique solution and moreover,

|u|1,Ω ' %f%−1,Ω . (4.9)

If the function f has more regularity, the solution u will also have more regularity. For instance, iff " L2("), then u " H2(") since #u " L2(") and all the second derivatives are in L2(").

Definition 4.3 An open set " is said to be Lipschitz (or Lipschitz continuous) if it is bounded and if inthe vicinity of any point of its boundary, the boundary can be locally parametrized by a Lipschitz function$, the domain being located on one side of the boundary.An open set " is said to be of class Cm,1 if the Lipschitz function $ can be replaced by a Cm-continuousfunction, whose derivatives of order m are Lipschitz continuous.

Theorem 4.3 1. Suppose " is of class C1,1 or " is a convex polygon (polyhedron). Then, the operator## is an isomorphism of H2(") 1H1

0 (") on L2(").

2. Suppose " is an arbitrary polygon in R2. For each t such that 1 < t ' 4/3, the operator ## is anisomorphism of W 2,t(") 1H1

0 (") on Lt(").

3. Suppose " is a Lipschitz polyhedron in R3. The operator ## is an isomorphism of H3/2(")1H10 (")

on L3/2(").Then, under the Lax-Milgram hypothesis, there exists a constant C such that

$u " H2(") 1H10 (") , %u%2,Ω ' C %#u%0,Ω .

Remark 4.3 This result is not true if " is a polygon with a concave corner, i.e. there exists right-handside terms f for which the solution of the Dirichlet problem is not in H2(").

4.3.2 Non-homogeneous Dirichlet conditions

Now, we consider the non-homogeneous Dirichlet problem:Given f " H−1(") and given g " H1/2(!"), find u " H1(") such that:

##u = f in "u = g on !" .

(4.10)

Page 8: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

60 Chapter 4. Weak formulation of elliptic problems

Notice that this problem has at most one solution. The aim is to retrieve a homogeneous problem thatwe can solve. The trace theory indicates that if !" is C1-continuous and if g " H1/2(!") then thereexists a function ug " H1(") such that '0(ug) = g. In other words, the trace of ug on !" is the functiong. This function ug is called a Dirichlet lift of g in ". We pose u0 = u#ug and our problem is equivalentto the homogeneous problem:

Given f " H−1(") and g " H1/2(!"), find u0 " H1(") such that

##u0 = f + #ug in "u0 = 0 on !" .

(4.11)

Notice first that if ug " H1(") then #ug " D′(") but #ug /" L2("). However, since #ug " H−1("), thisproblem has a unique solution u0. Hence, u = u0 +ug is solution of the initial problem (4.10) that has atmost one solution, then this solution is unique and is independent of the Dirichlet lift function ug. Since,

%#ug%−1,Ω ' %0ug%0,Ω = |ug|1,Ω ,

the inequality (4.9) leads to write:

|u0|1,Ω ' %f%−1,Ω + %#ug%−1,Ω ' %f%−1,Ω + |ug|1,Ω .

Hence, for every lift ug of the function g,

%u%1,Ω ' %u0%1,Ω + %ug%1,Ω ' (C2 + 1)1/2%f%−1,Ω + ((C2 + 1)1/2 + 1)%ug%1,Ω ,

and then

%u%1,Ω ' (C2 + 1)1/2%f%−1,Ω + ((C2 + 1)1/2 + 1) infγ0v=g

%v%1,Ω

' (C2 + 1)1/2%f%−1,Ω + ((C2 + 1)1/2 + 1)%g%H1/2(∂Ω) .

Finally, we enounce several results that summarize and extend the previous remarks.

Theorem 4.4 (interior regularity) Let consider " ! Rd an open bounded domain such that theDirichlet problem is well-posed. We note u " H1

0 (") the weak solution. Then, if f " Hmloc(") for a

certain m ) 0, then u " Hm+2loc ("), where

Hmloc(") = u " D′(") , $u " Hm(Rd) , $$ " D(") .

Theorem 4.5 (global regularity) Let u be the weak solution of the Dirichlet problem (??). If !"is bounded and Cm+2-continuous (or if " = Rd

+) and if f " Hm(") (m ) 0), then u " Hm+2(").Furthermore, there exsts a constant Cm > 0 (independent of u and f) such that:

%u%Hm+2(Ω) ' Cm %f%Hm(Ω) .

Theorem 4.6 If " is C1-continuous and bounded in one direction, the non-homogeneous Dirichlet prob-lem (4.10) admits:

Page 9: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.3. Abstract variational problems 61

1. A unique weak solution u " H1(") if f " L2(") and g " H1/2(!"). The solution u is such that:

%u%H1(Ω) ' C (%f%L2(Ω) + %g%H1/2(∂Ω)) ,

where the constant C is independent from u, f and g.

2. interior regularity: if f " Hmloc(") then u " Hm+2

loc (") for every m " N.

3. global regularity: if !" is bounded and of class Cm+2 or if !" = Rd+, f " Hm(") and g "

Hm+3/2(!") (m " N) then u " Hm+2("). Furthermore, we have the following estimate:

%u%Hm+2(Ω) ' C (%f%Hm(Ω) + %g%Hm+3/2(∂Ω)) ,

where the constant C is independent from u, f and g.

Proof. The trace theory indicates that if !" is C1-continuous and if g " H1/2(!") then there exists a functionug " H1(") such that '0(ug) = g. We consider the problem (4.11) as being posed in D!("). Hence, we have:

,##u0, $-D′'D = ,f, $-D′'D + ,#ug, $-D′'D , $$ " D(") .

By definition of the derivation of distributions, we have:

d"

i=1

,!xiu0, !xi$-D′'D = ,f, $-D′'D #d"

i=1

!xiug, !xi$-D′'D , $$ " D(") .

All the terms being L2(") functions, we can rewrite the previous identity as:!

!0u0 ·0$ dx =

!

!fv dx#

!

!0ug ·0$ dx , $$ " D(") ,

and the weak formulation of problem (4.11) becomes:Find u0 " H1

0 (") such that:!

!0u0 ·0w dx =

!

!fv dx#

!

!0ug ·0w dx , $w " H1

0 (") .

In order to involve the Lax-Milgram theorem, we define the bilinear form a(v, w) =&!0u0 ·0w dx and the linear

form l(w) =&! fw x#

&!0ug ·0w dx. The linear form l is continuous since we have the estimate:

|l(w)| ' %f%L2(!)%w%L2(!) + %0ug%L2(!)%0w%L2(!) .

If we pose C = max(%f%L2(!), %0ug%L2(!)), we obtain:

|l(w)| ' C%w%H1(!) , $w " H10 (") .

The Lax-Milgram theorem states that there exists a constant C > 0 such that:

%u0%H1(!) ' C(%f%L2(!) + %0ug%L2(!)) ' C(%f%L2(!) + %ug%H1(!)) ' C(%f%L2(!) + %g%H1/2(!)) .

Since u = u0 + ug, it is easy to obtain the same type of estimate for the function u " H1("). The theorem 4.4gives the second item. Finally, if " is Cm+2-continuous and if g " Hm+3/2(!"), we can chose ug " Hm+2(") suchthat %ug%Hm+2(!) ' 1/2%g%Hm+3/2(!). Then, #ug " L2(") and theorem 4.5 can be invoked to conclude. !

Page 10: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

62 Chapter 4. Weak formulation of elliptic problems

4.3.3 The Necas theorem

Now, we introduce an important theoretical result due to the Czech mathematician Necas (1929-).

Theorem 4.7 (Necas) Let V and W be two Hilbert spaces. We consider the abstract problemGiven l " V ′, find u " W such that : a(u, v) = l(v) , $v " V ,

where a is a bilinear continuous form on W &V and f is a linear form on V . This problem is well-posedif and only if:

(c1) there exists a constant % > 0 such that

infw∈W

supv∈V

a(w, v)%w%W %v%V

) % > 0 ,

(c2) we have:$v " V , ($w " W , a(w, v) = 0) / (v = 0) .

Under these assumptions, we have the stability estimate:

$l " V ′ , %u%W ' 1%%l%V ′ .

Proof. We consider the operator A " L(W, V !), u " W *+ Au " V !, defined by ,Au, v-V ′,V = a(u, v) for v " V .The problem (P) can be written as: find u " W such that Au = l in V !. Again, to ensure the existence anduniqueness of the solution, it is su$cient to show that A is a one-to-one mapping. This can be established usingthe same approach than for the Lax-Milgram theorem. The stability inequality results from :

%%u%W ' supv#V

a(u, v)%v%V

= supv#V

l(v)%v%V

= %l%V ′ .

!

Remark 4.4 • The condition (c1) can be written in the following form:

$w " W, %%w%W ' supv∈V

a(w, v)%v%V

.

This condition is equivalent to: Ker(A) = 0 and Im(A) = R(A) is closed.

• The condition (c2) is often found as follows:

$v " V , (v 2= 0) /'

supw∈W

a(w, v) > 0(

.

This condition is equivalent to: Ker(At) = R(A)⊥ = 0.

• Both conditions (c1) and (c2) are optimal as they provide necessary and su!cient conditions forthe problem (P) to be well-posed.

Page 11: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.3. Abstract variational problems 63

4.3.4 Saddle-point problems

We turn to a di!erent type of problem, called a mixed problem. Let " be a bounded open subset of Rd,the Stokes problem reads: find u, p in appropriate Hilbert spaces such that:

)*+

*,

##u +0p = f in " ,

div u = g in " ,

u = 0 on !" .

(4.12)

where f : " + Rd and g : " + R are given functions and the unknowns u and p represent the velocityand the pressure in an (possibly incompressible) slow viscous flow confined in ". The solution (u, p) isa saddle point as will be explained hereafter. Notice that we have a constraint of zero velocity on theboundary:

&Ω g = 0 since

&Ω0 · u =

&∂Ω u · " = 0, using the divergence theorem.

Suppose the solution u, p is su$cienly smooth, we can take a test function v su$ciently smooth withvalues in Rd. Since the velocity vanishes on the boundary, we will consider a test function that vanisheson the boundary, just as we did for the homogeneous Dirichlet problem. We multiply each term of thefirst equation by v and we integrate by parts on ". We obtain successively the terms:

#!

Ωv ·#u =

d"

i=1

#!

Ωvi#ui =

d"

i=1

!

Ω0ui ·0vi

=d"

i,j=1

!

Ω!xjui !xjvi =

!

Ω0u : 0v ,

the term&Ω v ·0p = #

&Ω p div v and finally, the following equation:

!

Ω0u : 0v #

!

Ωp div v =

!

Ωf · v . (4.13)

In this equation, suppose f " L2(")d, then all terms are meaningful if we consider functions u " H10 (")d

and p " L2("). To test the second equation, we consider a su$ciently smooth test function q:!

Ωq div u =

!

Ωgq .

Since u " H10 (")d, the left-hand side term is well defined if q " L2("). However, since we notice that&

Ω div u =&Ω g = 0, It is not necessary to test this equation by the constants. Hence, we can restrict the

test function space to the subspace of L2(") defined as:

L20(") = q " L2(") ,

!

Ωq = 0 .

Moreover, if p is a solution, p + c is also a solution (where c is a constant). To overcome this problem,we add a condition of zero mean pressure. The weak form of this problem reads:

Given f " L2(")d and g " L20("), find (u, p) " H1

0 (")d & L20(") such that:

)**+

**,

!

Ω0u : 0v #

!

Ωp div v =

!

Ωf · v , $v " H1

0 (")d ,!

Ωq div u =

!

Ωg q , $q " L2

0(") .(4.14)

Page 12: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

64 Chapter 4. Weak formulation of elliptic problems

Let V and W be two Hilbert spaces. We introduce a specific form of the problem:Given l " V ′, find u " W such that: a(u, v) = l(v), $v " V

which leads under certain assumptions to a saddle-point problem. Let consider f " V ′, g " W ′ and twobilinear forms a, defined on V & V , and b defined on W & V . The new abstract problem reads:

Given f " V ′, g " W ′, find u " V and p " W such that:

(S)

#a(u, v) + b(v, p) = f(v) , $v " V ,

b(u, q) = g(q) , $q " W .(4.15)

Remark 4.5 It is easy to check that in the Stokes problem we considered, V = H10 (")d, W = L2

0("),

a(u, v) =!

Ω0u : 0v, b(v, p) = #

!

Ωp div v, f(v) =

!

Ωf · v and g(q) = #

&Ω g q.

The following result can be considered as the natural extension of the Necas theorem for the abstractproblem (S).

Theorem 4.8 Let V and W be two Hilbert spaces, f " V ′, g " W ′, a " L(V &V, R) and b " L(V &W, R).The abstract problem (S) is well-posed if and only if:

(% > 0 , infu∈Ker(b)

supv∈Ker(b)

a(u, v)%u%V %v%V

) % ,

$v " Ker(b) , ($u " Ker(b), a(u, v) = 0) / (v = 0) ,

(4.16)

where Ker(b) = v " V ,$q " W, b(v, q) = 0 and

(( > 0 , infq∈W

supv∈V

b(v, q)%v%V %q%W

) ( . (4.17)

Under these assumptions, we have the following estimates:

%u%V ' c1 %f%V ′ + c2 %g%W ′ ,

%p%W ' c3 %f%V ′ + c4 %g%W ′ .(4.18)

where the constants are given as: c1 = 1α , c2 = 1

β (1 + ‖a‖α ), c3 = 1

β (1 + ‖a‖α ) and c4 = ‖a‖

β2 (1 + ‖a‖α ).

Proof. We introduce the operators A : X + X, ,Au, v-X′,X = a(u, v) and B : X + M ! (resp. Bt : M + X !),,Bv, q-M ′,M = b(v, q). Then, the problem (4.15) is equivalent to the problem offinding u " X and p " M ! such that: #

Au + Btp = f ,

Bu = g ,

and this problem is well-posed if and only if the two following conditions are satisfied (admitted here):

(i) Ker(B) + Ker(B!) is an isomorphism,

(ii) B : X + M is surjective.

According to this result, we admit here that the problem is well-posed. There exists ug " X such that Bug = gand (%ug%X ' %g%M ′ . Introducing the variable ) = u# ug leads to write:

$v " Ker(B) , a(), v) = f(v)# a(ug, v) .

Page 13: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.3. Abstract variational problems 65

By observing that:|f(v)# a(ug, v)| ' (%f%X′ + %a% %ug%X) %v%X

' (%f%X′ +%a%(%g%M ′) %v%X ,

and by taking the supremum on v " Ker(B), we deduce that:

%%)%X ' %f%X′ +%a%(%g%M ′ .

Using the triangle inequality %u%X ' %u# ug%X + %ug%X leads to the first inequality. The stability inequality onp results from (%p%M ' %Btp%X′ , thus

(%p%M ' %a% %u%X + %f%X′ .

The results follows using the previous estimate on %u%X . !

Remark 4.6 If the bilinear form a(·, ·) is V -elliptic then the conditions (4.16) are satisfied.

We noticed before that if the bilinear form a(·, ·) is symmetric and positive, such abstract problem canbe interpreted as a minimization problem. Here, if the bilinear form a(·, ·) is symmetric positive, thisminimization problem is transformed into a saddle-point problem.

Definition 4.4 Given a linear mapping L : V &W + R, we say that (u, p) is a saddle-point of L if:

$(v, q) " V &W , L(u, q) ' L(u, p) ' L(v, p) .

Proposition 4.1 (u, p) is a saddle-point of the linear mapping L if and only if:

supq∈W

L(u, q) = infv∈V

supq∈W

L(v, q) = L(u, p) = supq∈W

infv∈V

L(v, q) = infv∈V

L(v, p) . (4.19)

Proof. According to the previous definition, we have:

infv#V

supq#W

L(v, q) ' supq#W

L(u, q) ' L(u, p) ' infv#V

L(v, p) ' supq#W

infv#V

L(v, q) .

Moreover, for every (v, q) " V &W , we have

infv′#V

L(v!, q) ' L(v, q) ' supq′#W

L(v, q!) ,

and we deduce thensupq#W

infv#V

L(v, q) ' infv#V

supq#W

L(v, q) .

In other words, we deduce

infv#V

supq#W

L(v, q) = supq#W

L(u, q) = L(u, p) = infv#V

L(v, p) = supq#W

infv#V

L(v, q) .

and the results follows. !

Theorem 4.9 Suppose the bilinear form a(·, ·) is symmetric and positive. The pair (u, p) is solution ofthe problem (S) if and only if (u, p) is a saddle-point of the functional

L(v, q) =12a(v, v) + b(v, q)# f(v)# g(q) . (4.20)

Page 14: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

66 Chapter 4. Weak formulation of elliptic problems

Proof. Suppose (u, p) " V &W . On the one hand, we have

($q " W, L(u, q) ' L(u, p)) . ($q " W, b(u, q # p) ' g(q # p)). ($q " W, b(u, q) = g(q)) ,

On the other hand, we introduce the functional J(v) = 12a(v, v) + b(v, p)# f(v).

($v " V, L(u, p) ' L(v, p)) . (J(u) = minv#V

J(v))

. ($v " V, a(u, v) + b(v, p) = f(v)) ,

From these inequalities we deduce that both equalities of the problem (S) are satisfied. !

Corollary 4.1 Suppose the bilinear form a(·, ·) is symmetric and positive and the conditions (4.16) and(4.17) are satisfied. Then,

(i) The problem (S) has a unique solution that is the unique saddle-point of the functional L,

(ii) This solution satisfies the equalities (4.19).

The next step in the analysis of the weak formulation of eliptic problems is related to the approxi-mation of the solution of such problems.

4.4 Variational approximation of elliptic problems

This section is devoted to the approximation of an abstract problem using a numerical method.

4.4.1 Abstract theory

We return to the general situation for the elliptic problems and we suppose given

(i) a Hilbert space V on R, endowed with a norm denoted % · %,

(ii) a bilinear form a(·, ·) continuous on V & V and V -elliptic, i.e. such that:

$u " V ,$v " V , a(u, v) ' M%u% %v%$v " V , a(v, v) ) %%v%2 .

(iii) a linear form l(·) continuous on V .

And, according to Lax-Milgram theorem, we know that the problem:(P) Find u " V such that $v " V , a(u, v) = l(v),

has a unique solution. In this context, the Hilbert space V is of infinite dimension; In order to obtaina numerical approximation of the solution u, we will consider replacing the problem (P) by a ”discreteproblem” posed in a finite dimensional space, denoted Vh, where h represents a discretization param-eter intended to tend towards 0. For the sake of simplicity, we will only consider here a conformingapproximation for which Vh ! V .

Under these assumptions, the bilinear form a(·, ·) and the linear form l(·) are defined on Vh & Vh andVh, respectively and we consider the discrete problem:

Find u " V such that:(Ph) $vh " Vh , a(uh, vh) = l(vh) . (4.21)

In this case, the discrete problem is called a Galerkin approximate problem, named after the Russianmathematician B.G. Galerkin (1871-1945). More generally, this approach is called a Galerkin method.

Under the three hypothesis (i)# (iii) given hereabove, we have the following result.

Page 15: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.4. Variational approximation of elliptic problems 67

Theorem 4.10 (Lax-Milgram) The discrete problem (Ph) defined by (4.21) has a unique solution uh

in Vh and we have the estimate:

$l " V ′ , %uh%V ' 1%%l%V ′ .

Proof. This result can be obtained by a direct application of the Lax-Milgram theorem , since Vh is a Hilbertspace for the norm associated with V . !

Now, we analyze the error commited by replacing the solution u of he problem (P) by the solution uh

of the problem (Ph). The following result, due to the French mathematician Jean Cea (1933-), helps tounderstand why the variational approximation method is so interesting. It states that the discretizationerror of the problem (P) is of the same order than the error commited by approximating V by Vh.

Lemma 4.2 (Cea) Under the hypothesis of the Lax-Milgram theorem, we have the error estimate:

%u# uh% 'M

%inf

vh∈Vh

%u# vh% . (4.22)

Proof. Suppose vh " Vh. We pose wh = vh#uh. Since Vh is a subspace of V , wh " Vh and thus wh " V . Hence,we have

a(u# uh, wh) = 0 ,

ora(u# uh, u# uh) = a(u# uh, u# vh) .

From the hypothesis (i)# (iii), we deduce that

%%u# uh%2 ' a(u# uh, u# uh) = a(u# uh, u# vh) ' M%u# uh% %u# vh% ,

and the results follows. !

Remark 4.7 When the bilinear form a(·, ·) is symmetric, we have, for all vh " Vh:

a(u# vh, u# vh) = a(u# uh, u# uh) + a(uh # vh, uh # vh)

and thusa(u# uh, u# uh) = inf

vh∈Vh

a(u# vh, u# vh) .

and then, the constant in the error estimate is replaced by-

Mα .

The theorem shows that the evaluation of the error is equivalent to the evaluation of the quantityinfvh∈Vh %u # vh%, in other words, it consists in evaluating the distance in V between the solution u ofthe problem (P) and the subspace Vh of V .

Theorem 4.11 Suppose that there exists a subspace V ! V , dense in V and a linear mapping rh : V + Vh

such that:$v " V , lim

h→0%v # rh(v)% = 0 .

Then, the approximation method converges, i.e.

limh→0

%u# uh% = 0 .

Page 16: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

68 Chapter 4. Weak formulation of elliptic problems

Proof. Let * > 0, since V is dense in V , there exists an element v " V such that

%u# v% ' *

2C, C =

M

%.

For such element v, there exists h(*) > 0 such that

$h ' h(*) , %u# rh(v)% ' *

2C.

For a su$ciently small h ' h(*), we have

%u# uh% ' C(%u# v%+ %v # rh(v)%) ' * .

and the result follows. !When the variational approximation converges, it is interesting to study its rate of convergence, when

h + 0. In general, we will look for a bound on the approximation error of the form

%u# uh% ' C(u)hk , k > 0 ,

where C(u) is a constant independent of h and k > 0 is a constant. In such a case, the approximation issaid to be of order k and we write:

%u# uh% = O(hk) .

The approximation spaces Vh of V must be carefully chosen, and several criteria can be used todetermine the appropriate spaces.

(i) Vh must have a basis ($1, . . . ,$N ) such that the coe$cients a($i, $j) and l($i) are easy to computenumerically, and such that the resulting linear system is not too di$cult to solve with numericalalgorithms,

(ii) Vh must be chosen so that the approximation method converges and so that the numerical solutionis an accurate approximation of the exact solution u.

Unfortunately, the requirements are often contradictory and a good compromise must be sought.

4.4.2 Linear system

The problem (Ph) is a linear system to solve. If N = dimVh, suppose ($1, . . . ,$N ) is a basis of Vh. Thesti"ness matrix A " RN,N of the system is the matrix of coe$cients:

aij = a($j , $i) , 1 ' i, j,' N .

The solution uh can be decomposed in the basis of Vh as:

uh =N"

i=1

ui$i ,

with the vector U = (ui)1≤i≤N " RN . Denoting the right-hand side term of equation (4.21) F = (fi) "RN , where

fi = l($i) 1 ' i ' N ,

leads us to write the problem (Ph) in the matrix form as:

AU = F .

In the discrete forms of the Lax-Milgram and Necas theorems, we face the following conditions:

Page 17: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.4. Variational approximation of elliptic problems 69

(c0h) (Lax-Milgram) there exists a constant %h > 0 such that

$uh " Vh , a(uh, vh) ) %h%uh%2V .

(c1h) (Necas) there exists a constant %h > 0 such that

infwh∈Wh

supvh∈Vh

a(wh, vh)%wh%W %vh%V

) %h ,

(c2h) (Necas) we have:$vh " Vh , ( sup

wh∈Wh

a(wh, vh) = 0) / (vh = 0) .

Proposition 4.2 We have the following properties:

1. (c0h) . A is positive definite,

2. (c1h) . Ker(A) = 0,

3. (c2h) . rankA = dimVh.

Proof.1. Suppose (c0h) holds. A direct calculation gives

$X " RN , ,AX, X-N = a(%,%) ) %%%%2V ) c%X%2N ,

where ,·, ·-N denotes the Euclidean scalar product in RN , % · %N the associated norm and for X " RN ,X = (Xi)1(i(N , % =

.Ni=1 Xi$i " Vh. This result shows that A is positive definite. Conversely, if the

matrix A is positive definite, for every X " RN , with %X%N = 1, we have ,AX, X-N > 0. hence, we have

$% " Vh ,% 2= 0 , a(%,%) = ,AX, X-N =/

AX

%X%N,

X

%X%N

0

N

%X%2N

) c%X%2N ) c%%%2V ,

noticing that the unit sphere of RN is compact and thus the continuous mapping X *+ ,AX, X-N is boundedby below by a constant c > 0.

2. We have the following equivalence:

X " Ker(A) . $i ,N"

i=1

aijXj = 0 . $i , a(%, $i) = 0

. supv#Vh

a(%, v) = 0 ,

we deduce

(c1h) / ($% " Vh , ( supv#Vh

a(%, v) = 0) / (% = 0))

/ Ker(A) = 0 .

Conversely, suppose Ker(A) = 0. We consider a sequence (wn)n#N " Vh with %wn%W = 1 and such that

supvh#Vh

a(wn, v)%v%V

' 1n

.

From the compacity of the unit sphere of Vh, we deduce that any subsequence also denoted (wn) tendstowards w when n + 3. The limit is such that %w%V = 1 and supv#Vh

a(w, v) = 0. This means thatW " Ker(A), where w =

.Ni=1 Wi$i. Hence, W = 0 which is in contradiction with the assumption that

%w%V = 1.

Page 18: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

70 Chapter 4. Weak formulation of elliptic problems

3. proceed similarly with At.

!

Remark 4.8 If the bilinear form a(·, ·) is symmetric so is the matrix A.

4.4.3 Approximation of a saddle-point problem

We consider here the approximation of the abstract problem (S). Suppose Vh is a subspace of V , Wh isa subspace of W , both of finite dimensions and we consider the discrete problem:

(Sh)

)*+

*,

find uh " Vh and ph " Wh such thata(uh, vh) + b(vh, ph) = f(vh) , $vh " Vh ,

b(uh, qh) = g(qh) , $qh " Wh .

(4.23)

The following result establishes the existence and uniqueness conditions for a solution to the discreteproblem.

Theorem 4.12 The discrete problem (Sh) is well-posed if and only if two conditions are satisfied:

(%h > 0 , infuh∈Ker(Bh)

supvh∈Ker(Bh)

a(uh, vh)%uh%V %vh%V

) %h , (4.24)

where Bh : Vh + W ′h is the operator induced by the bilinear form b on the discrete spaces: ,Bhvh, qh- =

b(vh, qh) and Ker(Bh) denotes the kernel of Bh:

Ker(Bh) = vh " Vh , b(vh, qh) = 0 ,$qh " Wh ,

and if

((h > 0 , infqh∈Wh

supvh∈Vh

b(vh, qh)%vh%V %qh%W

) (h . (4.25)

and the solution (uh, ph) verifies the following estimates:

%u# uh%V ' c1h infvh∈Vh

%u# vh%V + c2h infqh∈Wh

%p# qh%W , (4.26)

with c1h =11 + ‖a‖

αh

2 11 + ‖b‖

βh

2, c2h = ‖b‖

αhif Ker(Bh) 2! Ker(B) and c2h = 0 if Ker(Bh) ! Ker(B) and

%p# ph%W ' c3h infvh∈Vh

%u# vh%V + c4h infqh∈Wh

%p# qh%W , (4.27)

with c3h = c1h‖a‖βh

and c4h = 1 + ‖b‖βh

+ c2h‖a‖βh

.

Proof. It consists in using Theorem 4.8 while noticing that in finite dimension, the first condition on %h impliesthe first two conditions o the theorem (the injectivity and surjectivity are equivalent notions for an endomorphismin finite dimension).We introduce the notation

Zh(g) = wh " Xh , b(wh, qh) = g(qh) , $qh " Mh .

Let consider vh " Xh. Since Bh satisfies (4.25), there exists rh " Xh such that

$qh " Mh , b(rh, qh) = b(u# vh, qh) and (h%rh%X ' %b%%u# vh%X .

Page 19: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.5. Application to boundary-value problems in R 71

Since b(rh + vh, qh) = g(qh), then rh + vh belongs to the space Zh(g). We pose wh = rh + vh and we notice thatuh # wh " Ker(Bh) and we have:

%h%uh # wh%x ' supyh#Ker(Bh)

a(uh # wh, yh)%yh%X

' supyh#Ker(Bh)

a(uh # u, yh) + a(u# wh, yh)%yh%X

' supyh#Ker(Bh)

b(yh, p# ph) + a(u# wh, yh)%yh%X

If Ker(Bh) ! Ker(B), then b(yh, p# ph) = 0 for yh " Ker(Bh) and thus

%h%uh # wh%X ' %a% %u# wh%X .

The triangle inequality yields

%u# uh%X ''

1 +%a%%h

(%u# wh%X .

In the general case, we have b(yh, ph) = b(yh, qh) = 0 for every qh " Mh since yh " Ker(Bh). Hence

%h%uh # wh%X ' %a% %u# wh%X + %b% %p# qh%M .

The triangle inequality yields

%u# uh%X ''

1 +%a%%h

(%u# wh%X +

%b%%h%p# qh%M .

By noticing that the inequality %u# wh%X ' %u# vh%X + %rh%X can be written as follows:

%u# wh%X ''

1 +%b%(h

(%u# vh%X ,

we obtain the desired result.Since for every vh " Xh, b(vh, p# ph) = a(uh # u, vh), we obtain by considering qh " Mh:

$vh " Xh , b(vh, qh # ph) = a(uh # u, vh) + b(vh, qh # p) .

And by taking into account the condition (4.25), we deduce:

(h%qh # ph%M ' %a% %u# uh%X + %b% %p# qh%M .

The final result is otained using the triangle inequality. !

4.5 Application to boundary-value problems in RWe will briefly present the weak formulation and the variational approximation concepts on two basicboundary-value problems in one dimension.

4.5.1 Dirichlet problem

Let consider the homogeneous Dirichlet boundary-value problem in one dimension:)*+

*,

# d

dx

'"

du

dx

(+ µu = f , $x " " =]0, 1[ ,

u(0) = u(1) = 0 .

, (4.28)

Page 20: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

72 Chapter 4. Weak formulation of elliptic problems

for " and µ given functions of L∞(") such that

"(x) ) % > 0 , µ(x) ) 0 , a.e. in " .

We pose

a(u, v) =! 1

0("u′v′ + µuv) dx ,

and the weak formulation of this problem consists in finding u " V = H10 (") solving:

$v " H10 (") , a(u, v) =

! 1

0fv dx . (4.29)

The bilinear form a(·, ·) est continuous on V & V and V -elliptic, thus, for any f " L2("), the variationalproblem (4.29) is well-posed and has a unique solution u " V .

To construct an approximation uh of u, we consider the subspace Vh ! V composed of piecewise a$necontinuous functions on intervals. Let introduce the step h = 1

N+1 , for N " N∗ given, and the pointsxn = nh, 0 ' n ' N + 1. The latter subdivide the interval " into N + 1 subintervals Kn = [xn, xn+1] oflength h. The subspace Vh is chosen a:

Vh = v " V , v|Kn " P1 , 0 ' n ' N ,

where P1 denotes the space of polynomial functions of degree lesser than or equal to one. A functionv " V = H1

0 (") is (almost everywhere equal to) a continuous function on [0, 1] and satisfies the conditionsv(0) = v(1) = 0. Furthermore, any continuous function on ", piecewise C1 on intervals and such thatv(0) = v(1) = 0 is a function of H1

0 ("). This leads to consider Vh as:

Vh = v " C0(") , v(0) = v(1) = 0 , v|Kn " P1 , 0 ' n ' N .

The dimension of Vh is exactly N and the sequence of functions ($n)1≤n≤N " Vh defined by:

$i(xj) = +i,j , 1 ' j ' N ,

forms a basis of Vh. Each function $i can be written as:

$i =

)+

,1# |x# xi|

h$x " [xi−1, xi+1] ,

0 otherwise

Hence, a function uh " Vh can be uniquely determined using its coordinates un = uh(xn) in the basis($n)1≤n≤N . The variational method consists in approaching the solution u " V by the function uh =.N

j=1 uj$j " Vh, where the (uj)1≤j≤N are solution of the linear system:

N"

j=1

a($j , $i)uj =! 1

0f$j dx , 1 ' i ' N .

Actually, the linear system is relatively simple since the support of a function $j is the interval [xj−1, xj+1].This leads to consider the system:

)************+

************,

a($1, $1)u1 + a($2, $1)u2 =! 1

0f$1 dx

...

a($i−1, $i)ui−1 + a($i, $i)ui + a($i+1, $i)ui+1 =! 1

0f$i dx

...

a($N−1, $N )uN−1 + a($N , $N )uN =! 1

0f$N dx

Page 21: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.5. Application to boundary-value problems in R 73

The next step consists in evaluating the coe$cients of this linear system and specifically all integrals.To this end, we introduce the notations:

"i+1/2 =1h

! xi+1

xi

"(x) dx ,

)*******+

*******,

µ−i+1/2 =3h3

! xi+1

xi

(xi+1 # x)2µ(x) dx ,

µi+1/2 =6h3

! xi+1

xi

(xi+1 # x)(x# xi)µ(x) dx ,

µ+i−1/2 =

3h3

! xi+1

xi

(x# xi+1)2µ(x) dx ,

and )**+

**,

f−i+1/2 =2h2

! xi+1

xi

(xi+1 # x)f(x) dx ,

f+i+1/2 =

2h2

! xi+1

xi

(x# xi+1)f(x) dx ,

yielding to the following linear system:)*******************+

*******************,

'1h

("1/2 + "3/2) +h

3(µ+

1/2 + µ−3/2

(u1 +

'#1

h"3/2 +

h

6µ3/2

(u2 =

h

2(f+

1/2 + f−3/2) ,

...'#1

h"i−1/2 +

h

6µi−1/2

(ui−1 +

'1h

("i−1/2 + "i+1/2) +h

3(µ+

i−1/2 + µ−i+1/2)(

ui+'#1

h"i+1/2 +

h

6µi+1/2

(ui+1 =

h

2(f+

i−1/2 + f−i+1/2)

...'#1

h"N−1/2 +

h

6µN−1/2

(uN−1 +

'1h

("N−1/2 + "N+1/2) +h

3(µ+

N−1/2 + µ−N+1/2)(

uN

=h

2(f+

N−1/2 + f−N+1/2)

The last issue that remains to be addressed concerns the right-hand side term. If the function f is anarbitrary function, the quantities f−i+1/2 and f+

i+1/2 cannot be evaluated directly, they must be evaluatedusing a numerical integration scheme. Given a continuous function g defined on a bounded interval [a, b],the mid-point formula allows to compute (exactly if g is a$ne) the integral of g on [a, b] as:

! b

ag(x) dx 4 (b# a)g

'a + b

2

(.

We proceed similarly for evaluating the quantities involving the functions " and µ. It is important tocarefully evaluate such quantities as it a!ects the sti!ness matrix A of the system.

The choice of the basis ($n)1≤n≤N as described above leads to a tridiagonal matrix A. Thus, e$cientmethods exist to resolve the system numerically (cf. Chapter 5).

4.5.2 Neumann problem

Let consider the Neumann boundary-value problem in one dimension:)*+

*,

# d

dx

'"

du

dx

(+ µu = f , $x " " =]0, 1[ ,

u′(0) = u′(1) = 0 .

, (4.30)

Page 22: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

74 Chapter 4. Weak formulation of elliptic problems

for " and µ given functions of L∞(") such that

"(x) ) % > 0 , µ(x) ) 0 , a.e. in " .

We have already seen that for any given f " L2("), this problem is well-posed and the solution u " H1(").Considering the subdivision of " into N + 1 subintervals Kn = [xn, xn+1] of length h, we introduce

the space Vh ! H1(") defined as:

Vh = v " C0(") , v|Kn " P1 , 1 ' n ' N .

It is a subspace of H1(") of dimension N +2. A basis of this space is given by the functions ($n)0≤n≤N+1:

$0(x) =

#1# x

hif 1 ' x ' h

0 otherwise

$i(x) =

)+

,1# |x# xi|

hif xi−1 ' x ' xi+1

0 otherwise

$N+1(x) =

)+

,1# 1# x

hif 1# h ' x ' 1 ,

0 otherwise

The variational approximation method consists in searching for the solution uh =.N+1

j=0 uj$j " Vh

solving the linear system:)****************+

****************,

'1h

("1/2 +h

3(µ−1/2

(u0 +

'#1

h"1/2 +

h

6µ1/2

(u1 =

h

2(f−1/2) ,

...'#1

h"i−1/2 +

h

6µi−1/2

(ui−1 +

'1h

("i−1/2 + "i+1/2) +h

3(µ+

i−1/2 + µ−i+1/2)(

ui+'#1

h"i+1/2 +

h

6µi+1/2

(ui+1 =

h

2(f+

i−1/2 + f−i+1/2)

...'#1

h"N+1/2 +

h

6µN+1/2

(uN +

'1h

"N+1/2 +h

3µ+

N+1/2

(uN+1 =

h

2f+

N+1/2

As for the Dirichlet boundary-value problem, the sti!ness matrix A is tridiagonal and symmetric positivedefinite.

Remark 4.9 In the Neumann problem, the numerical solution uh does not verify the boundary conditionsu′h(0) = u′h(1) = 0, neither a priori nor a posteriori.

4.6 Maximum principles

We conclude this chapter by a few words on maximum principles.

Page 23: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

4.7. Exercises 75

4.7 Exercises

Exercise 4.1 Suppose " ! Rd is an open set and f " L2(") is a given function. We consider thefollowing Neumann problem: )

+

,

##u + u = f , on "!u

!n= 0 , on !" .

(4.31)

1. Show that the weak formulation of this problem is:

$v " H1(") ,

!

Ω0u ·0v + uv dx =

!

Ωfv dx ,

and that there is a unique solution to this problem in H1(").

2. Sho wthat the solution u " H1(") of this problem verifies ##u + u = f in D′(").

3. Suppose " is of class C2 and thus u " H2("). In what sense u is a solution of the initial problem ?

Page 24: W eak for m ulation of elliptic pr oblems - UPMC · W eak for m ulation of elliptic pr oblems ÓA lan T uring is rep orte d as saying that PDEÕs ar e made by Go d, the boundary cond

76 Chapter 4. Weak formulation of elliptic problems