Académique Documents
Professionnel Documents
Culture Documents
14 November, 2011
Problem 1. Solve the following diffusion equation
ut uxx = et x > 0, t > 0
u(x, 0) = cos x x>0
ux (0, t) = 0 t>0
R
Hints: S(, ) d = 1 and cos = Re(ei ).
Solution
Let w(x, t) be the even extension of u(x, t) about the point x = 0, then w satisfies the system
wt wxx = fe (x, t) x R, t > 0
w(x, 0) = e (x) xR
where
et x>0 cos x x>0
fe (x, t) = = et and e (x) = = cos x
et x<0 cos(x) x < 0
Using the formula for diffusion equation
Z Z tZ
w(x, t) = S(x y, t)e (y) dy + S(x y, t s)fe (y, s) dy ds
0
1
Problem 2. Solve the following system of equations
1 x R t (0, 1)
ut uxx =
0 xR t1
1 |x| 1
u(x, 0)=
0 |x| > 1
where
1 y R, s (0, 1) 1 y [1, 1]
f (y, s) = and (y) =
0 y R, s 1 0 y (, 1) (1, )
1
f (y, s) = 1
-y
O
Z tZ Z 1 Z t Z
S(x y, t s)f (y, s) dy ds = + S(x y, t s)f (y, s) dy ds
0 0 1
Z 1Z
= S(x y, t s)(1) dy ds
0
Z 1 Z
(let q = x y) = S(q, t s) (dq) ds
0
Z 1Z
= S(q, t s) dq ds
0
| {z }
1
Z 1
= ds = 1
0
2
2. t (0, 1) s
6
f (y, s) = 0
1
r
(x, t) f (y, s) = 1
-y
O
Z tZ Z tZ
S(x y, t s)f (y, s) dy ds = S(x y, t s)(1) dy ds
0 0
Z t Z
(let q = x y) = S(q, t s) (dq) ds
0
Z tZ
= S(q, t s) dq ds
0
| {z }
1
Z t
= ds = t
0
So,
1 x+1 1 x1
Erf Erf +1 t>1
2
2 t 2 2 t
u(x, t) =
1 x+1 1 x1
Erf
Erf +t t (0, 1)
2 2 t 2 2 t
Since the boundary conditions for w(x, t) are zero, w(x, t) can be solved by separation.
Let v(x, t) = X(x)T (t) be the separated solution that satisfies
vtt 4vxx = 0 x (0, ), t > 0
v(0, t) = 0 t>0
v(, t) = 0 t>0
3
Furthermore, substituting v(x, t) = X(x)T (t) into the boundary conditions gives
X(0) = X() = 0
To determine the values of , we need to solve the spatial system
X (x) + X(x) = 0 x (0, )
X(0) = X() = 0
and the following three cases have to be considered separately.
1. If > 0, let = > 0, then the solutions are of the form
X(x) = c1 ex + c2 ex
But X(0) = X() = 0 forces c1 = c2 = 0, so this case is rejected as it gives out trivial
solution X(x) = 0.
2. If = 0, the differential equation becomes X (x) = 0, then the solution is
X(x) = ax + b
But X(0) = X() = 0 forces a = b = 0, so this case is also rejected.
3. If > 0, let = > 0, then the solutions are of the form
X(x) = C cos x + D sin x
The boundary conditions X(0) = X() = 0 gives
X(0) = C = 0 and X() = D sin = 0
For a non-trivial solution, we require D 6= 0, which forces = n = 1, 2, 3, .
The solutions to the corresponding temporal system T (t) + 4n2 T (t) = 0 are of the form
T (t) = A cos 2nt + B sin 2nt