Professional Documents
Culture Documents
SF2521NPDE lecture2AK
SF2521NPDE lecture2AK
SF2521NPDE lecture2AK
I Hyperbolic Equations
• First order equations
• Characteristics & Examples
• Linear Riemann problems
1/7
Wellposedness
2/7
Boundary conditions and initial conditions
Discussed problems follow a pattern:
• meaning of a) is clear.
• “uniqueness” typically means “unique within a certain class of
functions”.
Example.: a problem might have several solutions, only one of which
is bounded. We’d say: solution is unique in the space of bounded
functions.
• A solution depends continuously on data and parameters if “small”
changes in initial or boundary values (in appropriate norms) and in
parameter values result in “small” changes in the solution (in some
appropriate norm).
Well-Posed Problems
I Notion of well-posedness is important in applied math.
But:
⇣t ⌘
ku" (t) u0 (t)k1 = "2 sinh !1 for " ! 0.
"
Since sinh(t/") = 12 (e t/" e t/"
), the error is exponentially large.
Well-Posedness of Example 1?
The solutions u0 and u" only differ in the choice of the initial value with
We have u0 ⌘ 0 and
⇣t ⌘
ku" (t) u0 (t)k1 = "2 sin "2 ! 0 for " ! 0.
"
Small change in initial data ) small change of solution for t > 0.
I We will do this only with simple problems for which one can write
down a solution.
3/7
Hyperbolic equations of first order
In the following, we focus on
Hyperbolic first order conservation laws in 1d.
Here, for some smooth flux function f : R ! R we seek
u = u(x, t) : R ⇥ R+ ! R
such that
f (u) = a u
@t u + a @x u = 0
@t u + u @x u = 0
4/7
Characteristics
I Characteristics is an important tool to understand Conservation Laws.
I A characteristic is a line/curve in the x t plane along which the solution
is constant.
Example: Linear advection
I Linear advection with constant speed - the simplest example.
@t u + a@x u = 0,
u(x, 0) = v (x),
u(x, t) = v (x at)
@
= a( (t)), (0) = x0 .
@t
I Then u( (t), t) = v (x0 ),
@
since @t u( (t), t) = 0 (show by chain rule) and u( (0), 0) = v (x0 ).
Definition
For every x0 2 R there is a maximum time T > 0 such that (by Picard-Lindelöf
theorem) there is a unique solution to
0
(t) = f 0 u( (t), t) for t 2 (0, T ),
(0) = x0 .
Definition
For x0 2 R and maximum time T > 0, let solve
0
(t) = f 0 u( (t), t) for t 2 (0, T ),
(0) = x0 .
General properties:
I The map t 7! u( (t), t) is always constant on [0, T ].
I The function has the form
(t) = f 0 v (x0 ) t + x0 .
@t u + @x f (u)= 0
0
(t)= f 0 u( (t), t)
Characteristics - Proof: (t) = f 0 v (x0 ) t + x0 .
Characteristics - Summary
Definition
For x0 2 R and maximum time T > 0, let solve
0
(t) = f 0 u( (t), t) for t 2 (0, T ),
(0) = x0 .
General properties:
I The map t 7! u( (t), t) is always constant on [0, T ].
I The function has the form (t) = f 0 v (x0 ) t + x0 .
Why characteristics?
1. Understanding solutions.
2. Constructing solutions.
Characteristics - Understanding solutions
Some observations:
(t) = f 0 v (x0 ) t + x0 ;
5/7
Characteristics of Burger’s equation
Example: Understanding Burger’s equation, where f (u) = 12 u 2 :
@t u + u @x u = 0.
For the initial value we assume v 2 C 1 (R) and there are x1 and x2 with
x1 x2
For t0 = v (x1 ) v (x2 ) > 0 we have 1 (t0 ) = 2 (t0 ) and hence
(t) = sin(⇡x0 ) · t + x0 .
where v = v(x) : R ! Rm .
We introduce
I the corresponding diagonal matrix:
⇤:= diag( 1, · · · , m );
and we have
I A = R⇤R 1
.
Derive decoupled system
@t u + A @x u = 0
Characteristics of decoupled linear advective system
1
We get the following system (z = R u)
@t z + ⇤ @x z = 0.
p (t) = p t + x0 .
p (t) = p t + x0 ,
zp (x, t) =
Solution of original linear advective system
1
We have @ t zp + p @ x zp = 0 and zp (0) = (R v)p
p = 1, . . . , m, and
1 1
zp (x, t) = zp (x0 , 0) = (R v(x0 ))p = (R v(x p t))p =: z0p (x p t).
and
m
X m
X
u = Rz = zp (x, t)rp = z0p (x p t) rp
p=1 p=1
Hence
I solution u is given as linear combination (superposition) of zp ;
I superposition of waves propagating with speed p , p = 1, . . . , m.
Characteristics: Linear systems. Example: m = 3
t
p (t) = p t + x0 .
x0 + 1t
x0 + Range of influence of x0 :
2t
All points along p (t) = p t + x0
for p = 1, 2, 3.
x0 + 3t “Information” in x0 spreads
along the red lines.
x0 x
t
x⇤
Domain of dependence of x ⇤ at time T :
Set of points
x⇤ 1t
D(x ⇤ , T ) := {x ⇤ p T | p = 1, 2, 3}.
@t z + ⇤ @x z = 0.
z(0, x) =
Linear system, explicit example contd.
From
✓ ◆
c 1
@t z + ⇤ @x z = 0; z(x, 0) = v (x)
2 1 0
we conclude that
✓ ◆ ✓ ◆
z(x + ct, 0) c v0 (x + ct)
z(x, t) = =
z(x ct, 0) 2 v0 (x ct)
and hence
✓ ◆✓ ◆ ✓ ◆
c 1 1 v0 (x + ct) 1 cv0 (x + ct) cv0 (x ct)
u(x, t) = Rz(x, t) = 1 1 = .
2 c c
v0 (x ct) 2 v0 (x + ct) + v0 (x ct)
Linear system, explicit example contd.
✓ ◆ ✓ ◆✓ ◆ ✓ ◆ ✓ ◆
u1 0 c2 u1 u1 (x, 0) 0
+ =0 and = .
u2 t 1 0 u2 x u2 (x, 0) v0 (x)
c 1
u1 (x, t) = (v0 (x + ct) v0 (x ct)) and u2 (x, t) = (v0 (x + ct) + v0 (x ct)).
2 2
(t) = x0 ± ct.
u2 (x, t)
6/7
The Riemann-problem - Scalar case
I Riemann-problem: conservation law with discontinuous initial
condition.
I In the following we consider the linear Riemann-problem
Scalar case: for a 2 R, find u : R ⇥ [0, 1) ! R with
(
ul for x 0
@t u + a@x u = 0 and u(x, 0) = v (x) :=
ur for x > 0.
Formal issue:
v is discontinuous ) there exists no continuous (classical) solution u.
However: we know how a physically correct solution looks like:
initial value v moves with speed a, i.e.
u is constant along the characteristic (t) = x0 + a t. Hence
u(x, t) = v (x at).
The Riemann-problem - Scalar case
Scalar case: for a 2 R, find u : R ⇥ [0, 1) ! R with
(
ul for x 0
@t u + a@x u = 0 and u(x, 0) = v (x) :=
ur for x > 0.
t x = at
ul x at < 0 ul
u = ul
ur u = ur ur
x at > 0
x x aT x
which solves
(
1
1 R ul for x 0
@t z + ⇤ @x z = 0 and z(x, 0) = R v(x) := 1
R ur for x > 0.
Remember the notation
If the system is hyperbolic we have
I A 2 Rm⇥m is diagonalizable with real non-zero eigenvalues
1 . . . m;
We introduce
I the corresponding diagonal matrix:
⇤:= diag( 1, · · · , m );
and we have
I A = R⇤R 1
.
The Riemann-problem - solution with characteristic variables
The system
(
1
zl := R ul for x 0
@t z + ⇤ @x z = 0 and z(x, 0) = 1
zr := R ur for x > 0
We have
(
zpl for x pt 0
zp (x, t) = zp (x p t, 0) =
zpr for x p > 0
t
Solution:
X X
u(x, t) = Rz = zpl rp + zpr rp
p with p with
x p t0 x p t>0
The Riemann-problem - solution regions
X X
u(x, t) = zpl rp + zpr rp
p with p with
x p t0 x p t>0
We identify m + 1 regions.
Example: If m = 3, we have 4 regions (cases):
1. x 1t 0; x 2t 0 and x 3t 0.
2. x 1t > 0; x 2t 0 and x 3t 0.
3. x 1 t > 0; x 2 t > 0 and x 3 t 0.
x 1t x 2t x 3t
x= 1t t x= 2t
x= 3t
t=T
2
1 3
4
x
Observe: The characteristics form m + 1 = 4 regions.
X X
u(x, t) = zpl rp + zpr rp
p with p with
x p t0 x p t>0
The solution to the Riemann-problem
Example: m = 3, where 1 < 0 and 2, 3 0.
x= 1t t x= 2t
x= 3t
t=T
2
1 3
4
x= 1t t x= 2t
x= 3t
t=T (x ⇤ , T )
uregion 1 uregion 2 = z1l r1 + z2l r2 + z3l r3 z1r r1 z2l r2 z3l r3 = (z1l z1r ) r1 .
| {z }
jump 6=0
The Riemann-problem - Explicit example of system
Find u = u(x, t) : R ⇥ [0, 1) ! R2 with
Eigenvalues: 1 2 and
= = 2.
✓ ◆ 2 ✓ ◆
2 2
Eigenvectors: r1 = and r2 = .
1 1
@ t z1 2 @ x z1 = 0 and @t z2 +2 @x z2 = 0.
We have:
8 ! ! !
>
> 1 1 2 0 1 1
> 1
<R
> ul = 4
1 2 1
= 2
1
for x 0
1 ! ! !
z(0, x) = R v(x) =
>
> 1 1 2 1 1 1
> 1
:R
> ur = 4
1 2 1
= 4
3
for x > 0.
The Riemann-problem - Explicit example, contd.
From 1 = 2, 2 = 2 and
8 !
>
> 1 1
>
> for x 0
<2 1
z(0, x) = !
>
> 1 1
>
> for x > 0.
:4 3
Discontinuity of z1 Discontinuity of z2
x = 2t t x = 2t
t=T
2 z1 =z1r
z2 =z2l
1 z1 =z1l z1 =z1r 3
z2 =z2l z2 =z2r
✓ 1◆ ✓ ◆✓ ◆✓ ◆ x
z 2 2 1/2 0
1 u(x, t)= R l2 = = = ul for x + 2t < 0.
zl 1 1 1/2 1
✓ 1◆ ✓ ◆✓ ◆ ✓ ◆
z 2 2 1/4 1/2
2 u(x, t)= R r2 = = for x + 2t 0 and x 2t < 0.
zl 1 1 1/2 3/4
✓ 1◆ ✓ ◆✓ ◆ ✓ ◆
z 2 2 1/4 1
3 u(x, t)= R r2 = = = ur for x 2t 0.
zr 1 1 3/4 1
Initial condition at t = 0 (u1 ).
(
0 for x < 0
u1 (x, 0) = .
1 for x 0
u1 (x, 0)
1 3
t=0
x
Solution at t = T (u1 )
We have
8
<0
> for x + 2t < 0
u1 (x, t) = 1
for x + 2t 0 and x 2t < 0 .
>2
:
1 for x 2t 0
x= 2t t x = 2t
t=T
2
1 3
x
Solution at t = T (u1 )
We have
8
<0
> for x + 2t < 0
u1 (x, t) = 1
for x + 2t 0 and x 2t < 0 .
>2
:
1 for x 2t 0
x= 2t t x = 2t
t=T
2
1 3
x
Solution at t = T (u1 )
We have
8
<0
> for x + 2t < 0
u1 (x, t) = 1
for x + 2t 0 and x 2t < 0 .
>2
:
1 for x 2t 0
u1 (x, 0)
t=T 1
2
1/2
1 3
x
Solution at t = T (u1 )
We have
8
<0
> for x + 2t < 0
u1 (x, t) = 1
for x + 2t 0 and x 2t < 0 .
>2
:
1 for x 2t 0
u1 (x, 0)
t=T 1
2
1/2
1 3
x
u2 : solution at t = T
We have
8
<1
> for x + 2t < 0
u2 (x, t) = 3
for x + 2t 0 and x 2t < 0 .
>4
:
1 for x 2t 0
u2 (x, 0)
t=T 1 1
3/4
1 2 3
x
Suggested Exercises
7/7