Math204 Midterm2-Solutions
Math204 Midterm2-Solutions
MATH 204
SECOND EXAM MAY 2, 2013
Duration of Exam: 120 minutes
(Emre Alkan): —–
(Check One):
(Burak Özbağcı): —–
∞
X ∞
X
n
(1 − x) an+2 (n + 2)(n + 1)x + an x n = 0
n=0 n=0
∞
X ∞
X ∞
X
n n+1
=⇒ an+2 (n + 2)(n + 1)x − an+2 (n + 2)(n + 1)x + an x n = 0
n=0 n=0 n=0
X∞ ∞
X
=⇒ (an+2 (n + 2)(n + 1) + an )xn − an+2 (n + 2)(n + 1)xn+1 = 0
n=0 n=0
To compile each summand into one series, we need to equate the powers of x:
∞
X ∞
X
n
(an+2 (n + 2)(n + 1) + an )x − an+2 (n + 2)(n + 1)xn+1 = 0
n=0 n=0
X∞
=⇒ (a0+2 (0 + 2)(0 + 1) + a0 )x0 + (an+2 (n + 2)(n + 1) + an )xn
n=1
∞
X
− an+1 (n + 1)(n)xn = 0
n=1
∞
X
=⇒ (2a2 + a0 ) + (an+2 (n + 2)(n + 1) + an − an+1 (n + 1)(n))xn = 0
n=1
⇐⇒ (2a2 + a0 ) = 0
and (an+2 (n + 2)(n + 1) + an − an+1 (n + 1)(n)) = 0 for any index n
Problem 2 (20 pts) Using Laplace transform, solve the following initial value
problem. y 00 − 2y 0 + 2y = cos t, y(0) = 1, y 0 (0) = 0.
Solution 2
Problem 3 (20 pts) Using Laplace transform, solve the following initial value
problem. y 00 + 3y 0 + 2y = u2 (t), y(0) = 0, y 0 (0) = 1.
Solution 3
1 1/2 −1 1/2 1 1 −1
= + + and 2 = +
s(s2 + 3s + 2) s s+1 s+2 s + 3s + 2 s + 1 s + 2
Hence the solution for the IVP is
y = u2 (t)(1/2 − e−(t−2) + 1/2 · e−2(t−2) ) + e−t − e−2t
Problem 4 (20 pts) Using Laplace transform, solve the following Volterra type
integral equation. Z t
φ(t) + 2 cos(t − u)φ(u) du = e−t .
0
Solution 4
By taking the Laplace transform of both sides we obtain:
So we have
1 1
−t
L{e } s+1
L{φ(t)} = = s = s+12
1 + 2L{cos t} 1 + 2 (s + 1)
2
s +1 s2 + 1
s2 + 1 2 2 1
= 3
= 3
− 2
+
(s + 1) (s + 1) (s + 1) s+1
1 − λ 0 0
= (1 − λ)(λ2 − 2λ + 5) = (1 − λ)(λ − (1 + 2i))(λ − (1 − 2i)) = 0
2
1 − λ −2
3 2 1 − λ
So the eigenvalues are λ1 = 1, λ2 = 1 + 2i, λ3 = 1 − 2i. The eigenvector corre-
h 2 i
sponding to λ1 = 1 is ξ = −3 and hence x(1) (t) = et ξ (1) is a solution.
(1)
2
h 0
i
(2)
The eigenvector corresponding to λ2 = 1 + 2i is ξ = 1 and thus a complex
−i
solution is
0 0
h i h 0
i h i h i
(1+2i)t (2) t 0
e ξ = e (cos 2t + i sin 2t) 1 +i 0 = et cos 2t +i t
e sin 2t
0 −1 t
e sin 2t −et cos 2t
0 0
h 2
i h i h i
t
X(t) = c1 −3 e + c2 et cos 2t + c3 t
e sin 2t
2 t
e sin 2t −et cos 2t