Text and Solution Exam 20200910
Text and Solution Exam 20200910
3 Ex 4 Total
• All answers and calculations must be clearly justified. You have to write your answers on these sheets only. You are
not allowed to use or even have with you notes, texts or any electronic device, including mobiles.
ut + u ux = 0, x ∈ R, t > 0
(
1 x≤0
u(x, 0) = g(x) :=
x x>0
Find the solution by the method of characteristics, specifying where it is a continuous function.
Sketch of the solution.
It is Burger’s equation, that is
ut + q(u)x = ut + q 0 (u)ux = 0
u2
with q 0 (u) = u and q(u) = 2 .
The characteristic lines that start at the point (x0 , 0) satisfy the equation
x = x0 + g(x0 )t
The families of characteristic lines which transport the initial data g(x) are
x = x0 + 1 · t = x0 + t x0 ≤ 0 ,
x = x0 + x0 · t = x0 (1 + t) x0 > 0 .
In the region spanned by the characteristic lines starting at x0 < 0 the solution is u(x, t) = 1. Consider the region
spanned by the characteristic lines starting at x0 > 0. The characteristic going through the point (x, t) has base
x x
point x0 = 1+t , therefore in that region the solution is u(x, t) = 1+t .
A shock line leaves from the point (x, t) = (0, 0) . The RH condition is
x2
0 1 1 − (1+t)2 11+t+x 1 1 x
x (t) = x = = + .
2 1 − 1+t 2 1+t 2 21+t
This is a linear equation. The solution satisfying the initial condition x(0) = 0 is
√
x(t) = 1 + t − 1 + t .
√ x
√
The solution of the equation is u(x, t) = 1 if x < 1 + t − 1 + t and u(x, t) = if x > 1 + t − 1 + t. The
√ 1+t
solution is continuous for all t ≥ 0 and all x such that x 6= 1 + t − 1 + t.
2. Let Ω := (0, π) × (0, +∞). Solve the following problem
2 2
∂tt u(x, t) − ∂xx u(x, t) = 0, (x, t) ∈ Ω
∂ u(0, t) = ∂ u(π, t) = 0,
x x t>0
u(x, 0) = 1 + x, x ∈ (0, π)
∂t u(x, 0) = 0 x ∈ (0, π) .
Solution
Since the solution has to obey homogeneous b.c. it should be of the following form
a0 X
u(x, t) = + (ak cos kt + bk sin kt) cos kx.
2
k≥1