Final Exam Solutions
Final Exam Solutions
8.6.2020
1. Use the method of Frobenius to …nd a series solution for the di¤erential equation
x(2 x)y 00 xy 0 + 9y = 0
Thus we obtain
2an+1 (n + 2)(n + 1) an [(n + 1)2 9] = 0
and hence
(n + 4)(n 2)
an+1 = an ( )
2(n + 2)(n + 1)
for all n = 0: In particular for n = 2 we get a3 = 0: And then ( ) shows that ak = 0 for all k = 3
5 5
and a1 = 2; a2 = a1 = a0 : Therefore we can …nd the solution function explicitly as a scalar
12 6
multiple of
5
y(x) = x 2x2 + x3 :
6
2. Solve the initial value problem
1 if 0 t < 1
y 00 + 4y 0 = g(t); y(0) = 0; y 0 (0) = 1 where g(t) =
0 if ...... 1 < t
Remark Observe that we have a linear di¤erential equation with constant coe¢ cients and incprinciple
we can apply the general method of getting …rst the general solution of this equation as the sum of the
general solution yh of the corresponding homogeneous di¤erential equation and one particular solution
yp of the given equation. But since the right hand side of the equation is a discontinuous function it
is not a linear combination of functions of the form tm eat cos bt or tm eat sin bt with positive integer m
and real numbers a and b it is not possible to apply UC-method and the other method we could apply
namely the method of variation of parameters to the equation in standard form
needs the functions p; q and g to be continuous functions (Compare Theorem 7 on page 197 of the
text book). The method we have learned to deal with this kind of problem is the method of Laplace
transform.
Answer
First observe that
g(t) = 1 u(t 1)
where u(t) is the unit step function.
Taking the Laplace transform of both sides of the given equation and putting Y (s) = Lfy(t)](s) we get
s
1 e
s2 Y (s) 1 + 4sY (s) =
s
which shows that
s+1 e s
Y (s) = ;
s(s2 + 4s)
As
1 A B C
= + 2+
s2 (s + 4) s s s+4
1 1 1 1 1 1 1
implies that B = ;C = and = A + + and hence A = :
4 16 5 4 16 5 16
Furthermore
s+1 1 A B C
= + + 2+
s2 (s + 4) s(s + 4) s s s+4
1 1 1 1 1 1
= ( ) + 2+
4 s s+4 16s 4s 16(s + 4)
3 1 1 1 3 1
= + ;
16 s 4 s2 16 s + 4
So we have
3 1 1 1 3 1 s 1 1 1 1 1 1
Y (s) = + e ( + + )
16 s 4 s2 16 s + 4 16 s 4 s2 16 s + 4
and
3 1 3 4t 1 1 1 4(t 1)
y(t) = + t e ( + (t 1) + e )u(t 1)
16 4 16 16 4 16
3
16 + 14 t 16
3
e 4t if 0 t < 1
y(t) = 1 e 4
+3 :
2 e 4t ( 16 ) if ...... 1 < t
3. Find the general solution of the di¤erential equation
y 00 6y 0 + 9y = e3x + 50 sin x:
Remark A large number of students have found a particular solution to this equation by the so-called
operator method. which I did not mention in my lectures. So actually they should explain what that
method is and why it is possible to apply that method to this concrete problem.
Answer This is a nonhomogeneous linear di¤erential equation with constant coe¢ cients of order
two.The characteristic equation of the corresponding homogeneous equation is
r2 6r + 9 = 0
and it has only one real root with multiplicity 2, namely r = 3; So the general solution of the corre-
sponding homogeneous equation is
A particular solution yp (t) for the nonhomogeneous equation can be obtained by the UC-method.
According to the rule of the UC-method we have to put
and get
1 2 @M 1 @N
Let M (x; y) = x y + 2y + 3x and N (x; y) = x + 2y: Then we get that = 2x y + 2 and =1
@y @x
and hence the given equation is not exact but as
@M @N
@y @x 2x 1 y + 1 1
= =
N x + 2y x
R
1
depend only on x we see that it has an integrating factor depending only on x, namely =e x dx =
eln x = x: The equation we obtain by multiplying the given equation by = x namely
@F @F
and this means that = K and = L where K(x; y) = y 2 + 2xy + 3x2 and L(x; y) = x2 + 2xy:
@x @y
So we get R
F (x; y) = K(x; y)dx = xy 2 + x2 y + x3 + '(y)
and hence
@F
2xy + x2 + '0 (y) = (x; y) = x2 + 2xy
@y
Thus we can take '(y) = 0 and F (x; y) =; xy 2 + x2 y + x3 : Therefore the general solution of the given
equation is
xy 2 + x2 y + x3 = C:
Remark One can see tha the equation is a homogeneous equations because both M / and N are
homogeneous of the same degree 2 / Therefore one can solve this di¤erential equation by applying …rst
the substitution y = vx which transforms the equation to
xy 2 + x2 y + x3 = C: