Professional Documents
Culture Documents
Exam 4 Practice Solutions
Exam 4 Practice Solutions
y(0) = 3,
y 0 (0) = 6.
2 4 4(1)(37)
2 144
=
= 1 6i.
2
2
Therefore, the solution to the differential equation is
y = C1 ex cos 6x + C2 ex sin 6x.
3. Solve the initial-value problem
y 00 + 5y 0 24y = 0,
y(0) = 0,
y 0 (0) = 3.
which factors as
(r + 8)(r 3) = 0,
so the solutions to the characteristic equation are r1 = 8, r2 = 3. Hence, the solution the homogeneous
equation is
y = C1 e8x + C2 e3x .
Plugging in x = 0, we get
0 = y(0) = C1 + C2 ,
so C1 = C2 . Hence
y = C2 e8x + C2 e3x
and so
y 0 = 8C2 e8x + 3C2 e3x .
Plugging in x = 0, we get
3 = y 0 (0) = 8C2 + 3C2 = 11C2 ,
so C2 = 3/11, meaning that C1 = C2 = 3/11. Therefore, the solution to the initial-value problem
is
3
3
y = e8x + e3x .
11
11
4. Solve the differential equation
y 00 + 9y = e2x .
Answer: First, solve the homogeneous equation y 00 + 9y = 0. The characteristic equation is
r2 + 9 = 0
meaning that r2 = 9 and so r = 3i. Therefore, the complementary solution is
yc = C1 cos 3x + C2 sin 3x.
Now, to find a particular solution, guess that
yp = Ae2x .
Then yp0 = 2Ae2x and yp00 = 4Ae2x . Therefore, since yp solves the equation,
e2x = yp00 + 9yp = 4Ae2x + 9Ae2x = 13Ae2x .
Therefore A = 1/13 and so
yp =
1 2x
e .
13
1 2x
e .
13
which factors as
(r + 3)(r + 2),
so the solutions are r1 = 3, r2 = 2. Thus, the complementary solution is
yc = C1 e3x + C2 e2x .
Now, guess that the particular solution is
yp = Ax2 + Bx + C.
Then
yp0 = 2Ax + B
and
yp00 = 2A.
Hence, since yp solves the equation,
x2 = yp00 + 5yp0 + 6yp = 2A + 5(2Ax + B) + 6(Ax2 + Bx + C) = 6Ax2 + (10A + 6B)x + (2A + 5B + 6C).
Therefore, 6A = 1 and so A = 1/6. In turn,
0 = 10A + 6B =
10
+ 6B,
6
2 25
+ 6C,
6 18
so we have that 6C = 19/18, meaning that C = 19/108. Thus, the particular solution is
yp =
x2
5
19
x+
.
6
18
108
x2
5
19
x+
.
6
18
108
Then
yp0 = A
and
yp00 = 0.
Since yp solves the equation, we have
1 + x = yp00 + 6yp0 + 9yp = 0 + 6A + 9(Ax + B) = 9Ax + (6A + 9B).
Therefore,
1 = 9A,
so A = 1/9. Also,
1 = 6A + 9B =
6
+ 9B,
9
y = yc + yp = C1 e3x + C2 xe3x +
1
x
+ .
9 27
ak xk .
k=0
Then
y0 =
kak xk1
k=1
and
y 00 =
k=2
X
X
X
0=
k(k 1)ak xk2 + x
kak xk1 + 2
ak xk
0=
0=
k=2
X
k=2
k=1
k=0
kak xk +
k=1
(k + 2)(k + 1)ak+2 xk +
k=0
0 = 2a2 + 2a0 +
2ak xk
k=0
X
k=1
kak xk +
2ak xk
k=0
k=1
Therefore,
0 = 2a2 + 2a0
a2 = a0
ak+2 =
1
ak
k+1
Hence
1
a3 = a1
2
1
1
a4 = a2 = a0
3
3
1
1
a5 = a3 =
a1
4
24
1
1
a6 = a4 =
a0
5
35
..
.
Putting this all together,
y = a0
X
k=0
X (1)k x2k+1
(1)k x2k
+ a1
1 3 5 (2k 1)
2k k!
k=0
ak xk ,
k=0
we have that
y0 =
kak xk1 .
k=1
X
X
k1
2
0=
kak x
4x
ak xk
0=
0=
k=1
X
k=0
k=0
(k + 1)ak+1 xk
(k + 1)ak+1 xk
k=0
0 = a1 + 2a2 x +
k=0
4ak xk+2
4ak2 xk
k=2
X
k=2
ak+1 =
Hence,
4
a0
3
4
a4 = a1 = 0
4
4
a5 = a2 = 0
5
4
42
a6 = a3 =
a0 .
6
36
a3 =
Hence,
y = a0
X
4k x3x
k=0
3k k!
4x3
3
k!
k=0
k
= a0 e
4x3
3
4
ak2 .
k+1