Answers of The Exam of November 1, 2013 Differential Equations (wi2180LR)
Answers of The Exam of November 1, 2013 Differential Equations (wi2180LR)
Answers of The Exam of November 1, 2013 Differential Equations (wi2180LR)
1. Question:
Use the Laplace transform to solve the following initial value problem:
Answer:
The transformed equation is
1
s2 Y (s) sy(0) y (0) + 4Y (s) = e10s + ,
s
which, after substitution of the initial conditions, gives
1
s2 Y (s) s + 4Y (s) = e10s + .
s
The transformed solution is therefore
e10s 1 s
Y (s) = + + .
s2 + 4 s(s2 + 4) s2 + 4
1 a bs + c
= + 2 ,
(s2 + 4)s s s +4
and hence
a(s2 + 4) + (bs + c)s = 1 .
Collecting terms of like power gives the following four equations
a + b = 0, c=0,
4a = 1.
1
Solving these systems gives c = 0, a = 4, and b = 41 . The transformed
solution can now be written as
e10s 3 s 1
Y (s) = + + .
s2 + 4 4 s2 + 4 4s
2. Question:
Find the general solution of the following system of differential equations
2 1 0
x = x+ .
3 2 2et
Answer:
First solve the homogeneous equation. Put x = ert . Substitution in the
homogeneous equation gives the eigenvalue problem
2 1
= r .
3 2
The characteristic equation is
(2 r)(2 + r) + 3 = 0 r2 1 = 0
so
r1 = 1 and r2 = 1
with corresponding eigenvectors
1 1
1 = and 2 =
1 3
The general solution of the homogeneous equation reads
1 t 1
xh = c1 e + c2 et .
1 3
A particular solution of the inhomogeneous problem can be found using the
method of undetermined coefficients (alternative techniques are diagonali-
sation and variation of parameters). Put
xp = (a + bt) et .
b = Ab .
3. Question:
Consider the following system of nonlinear equations
dx
dt = y
dy
dt = sin x y
3 3
i) Find all critical points with x-coordinates in the interval 2 , 2
ii) Investigate type and stability of the critical points.
iii) Sketch the phase portrait in the neighbourhood of the critical points;
argue and indicate the direction of motion.
Answer:
i) The equilibria satisfy x = y = 0. Therefore we find y = 0 and sin x = 0,
which implies that the
3
equilibria are (n, 0) for n = , 2, 1, 0, 1, 2, . In
the interval 3
2 , 2 there are three equilibria: (0, 0), (, 0), (, 0).
ii) Define the vector function
F (x, y) y
=
G(x, y) sin x y
At the critical point (0,0), the coefficient matrix of the linearized system is
0 1
J(0, 0) =
1 1
with eigenvalues 21 i 21 3. As the real parts of the eigenvalues are negative
the equilibrium (0, 0) corresponds to an (asymptotically) stable spiral point.
At the critical points (, 0), the coefficient matrix of the linearized system is
0 1
J(, 0) =
1 1
with eigenvalues r1,2 = 12 12 5. As r1 > 0 and r2 < 0, the critical points
(, 0) are both (unstable) saddle points.
The phase portraits in the neighbourhood of the equilibria are shown in the
figure below
Figure 1: Phase portraits of the equilibria. One focus and two saddles.
4. Question:
Find the formal solution (using the method of separation of variables) of the
heat equation
ut = uxx + 2 , 0 < x < 1, t > 0 ,
with nonhomogeneous boundary conditions
u(x, 0) = 4 , 0x1.
ii) Calculate the transient part w(x, t). Integrals arsing in this calculation
need not to be computed, but their expressions should be written down.
Answer:
Set u(x, t) = w(x, t) + v(x), where v(x) is a stationary solution. If we substi-
tute this in the heat equation, we find
vxx + 2 = 0.
v(x) = x2 + Ax + B.
X = c1 ex + c2 ex .
X + 2 X = 0
X = c1 cos(x) + c2 sin(x) .
From the b.c X(0) = 0 follows c1 = 0. From the b.c. X(1) = 0, it follows that
sin() = 0, so we choose = n, n = 1, 2, .
In conclusion, the eigenvalues are n = (n)2 , n = 1, and the correspond-
ing eigenfunctions are Xn = sin( nx
L ), n = 0, 1, .
Solving the equation for T for n yields
n 2
Tn = kn e( L ) t
In order to satisfy the initial condition we write down the general solution:
X 2
u(x, t) = v(x) + cn e(n) t sin(nx) .
n=1
5. Question:
Consider the following function
f (x) = x , 0x2.
Let g(x) be the even periodic extension of f (x) such that g(x + 4) = g(x).
i) Sketch the graph of g(x) on the interval (4, 4)
ii) Find the Fourier series for g(x).
Answer:
g(x)
4 2 0 2 4 x
with
ZL
2 nx
an = g(x) cos dx, n = 0, 1, 2,
L L
0
Hence
Z2 2
nx 2
an = x cos dx an = (cos n 1), n = 1, 2, .
2 n
0
For n = 0 we find a0 = 2.
Note that cos n = 1 for n even. Take n 2n 1. Then the Fourier
series for g(x) can be written as
X 8 (2n 1)x
g(x) = 1 2 (2n 1)2
cos .
n=1
2
6. Question:
y + y = 0 , y (0) = 0, y(1) = 0 .
y 2 y = 0
y = c1 ex + c2 ex .
y + 2 y = 0 .
y = c1 cos(x) + c2 sin(x) .
y = c1 sin(x) + c2 cos(x) .
From the b.c y (0) = 0 follows c2 = 0. From the b.c. y(1) = 0 follows
cos() = 0, which is true if = (n 12 ), n = 1, 2, . So the non-normalized
eigenfunctions are yn = An cos((n 12 )x), n = 1, 2, 3, .
The normalization constant An must be chosen such that
Z1
1
[An cos((n )x)]2 dx = 1
2
0
which yields An = 2.
So the normalized eigenfunctions n (x) are
1
n (x) = 2 cos((n )x), n = 1, 2, 3, .
2
X 1 2 2 2 1
2bn ((n ) + ( ) ) cn cos((n )x) = 0.
n=1
2 2 2
As the n (x) are linearly independent, the coefficients for each of the n (x)
have to vanish. For n = 1 the term multiplying b1 vanishes, whereas c1 6=0.
Therefore there is no solution of the boundary value problem.
An alternative (standard) technique to find the solution is to compute the
solution to the homogeneous equation yh and a particular solution yp which
gives the general solution y = yp + yh .
x x
yh = c1 sin + c2 cos .
2 2
Computing the particular solution gives
1 3x
yp = sin .
2 2 2
Imposing the boundary conditions gives
1 3
c1 + = 0, c1 =0
2 2 2 4
These two equations for c1 do not have a solution. Therefore the boundary
value problem does not have a solution either.