M2asol D
M2asol D
Math 20D.
Exam 2
May 19, 2008
1. (a) (10 points) Find the general solution y(t) to the differential equation
9y 00 − 12y 0 + 4y = 0. (1)
(b) (10 points) Find the unique solution to the initial value problem given by Eq. (1)
and satisfying the initial conditions
1
y(0) = 2, y 0 (0) = .
3
Solution:
Part (a): The characteristic equation for the differential equation above is:
1£ p ¤
9r2 − 12r + 4 = 0 ⇒ r= 12 ± 122 − (42 )(32 )
18
12 2
= ⇒ r= .
18 3
Therefore, the general solution of this differential equation is
2 2
y(t) = c1 e 3 t + c2 te 3 t .
Part (b): From the general solution found in part (a) we know that y(0) = c1 , and the
initial condition y(0) = 2 then implies that c1 = 2.
The derivative of the general solution is
2 2 ³2 ´ 2 2
y 0 (t) = c1 e 3 t + t + 1 c2 e 3 t ⇒ y 0 (0) = c1 + c2 .
3 3 3
The initial condition y 0 (0) = 1/3 implies
1 2
= 2 + c2 ⇒ c2 = −1.
3 3
Therefore, the unique solution to the initial value problem given in part (b) is
2 2
y(t) = 2e 3 t − te 3 t .
2. (a) (15 points) Use the method of under-determined coefficients to find the general
solution y(t) to the differential equation
y 00 − 2y 0 − 3y = 3te2t . (2)
(b) (10 points) Find the unique solution to the initial value problem given by Eq. (2)
and satisfying the initial conditions
4 23
y(0) = , y 0 (0) = .
3 3
Solution:
Part (a): The characteristic equation is
1£ √ ¤
2
r − 2r − 3 = 0 ⇒ r= 2 ± 4 + 12
2
1
= (2 ± 4) ⇒ r1 = 3, r2 = −1.
2
So the general solution to the homogeneous equation is
Then we have
Introducing this information into the differential equation we obtain the values of the
coefficients a and b, as follows,
so we conclude that a = −1 and b = −2/3. yp (t) = −(t + 2/3)e2t . Then, the general
solution to the inhomogeneous equation is
³ 2 ´ 2t
y(t) = c1 e3t + c2 e−t − t + e .
3
Part (b): We first compute the derivative of the general solution found in part (a), and
we evaluate it at t = 0, that is,
³ 2 ´ 2t 4
y 0 (t) = 3c1 e3t − c2 e−t − 2 t + e − e2t ⇒ y 0 (0) = 3c1 − c2 − − 1.
3 3
Therefore, the initial condition equations are given by
4 2
= y(0) = c1 + c2 − ,
3 3 ⇒ c1 = 3, c2 = −1.
23 7
= y 0 (0) = 3c1 − c2 − ,
3 3
We conclude that the solution to the initial value problem is
³ 2 ´ 2t
y(t) = 3e3t − e−t − t + e .
3
3. (20 points) Decide whether the set of vectors shown below is linearly dependent or
independent. In the case that the set of vectors is linearly dependent, express one of
them as a linear combination of the other two.
n 1 −1 −5 o
3 , 1 , −3
2 −2 −10
(b) (10 points) Graph in a phase diagram the trajectories of the fundamental solutions
found in part (4a). Furthermore, do a qualitative sketch of the trajectories of
several linear combinations of these fundamental solutions.
(c) (10 points) Find the solution to the initial value problem given by Eq. (3) and
the initial condition · ¸
−1
x(0) =
−21
Solution:
Part (a): We find the eigenvalues and eigenvectors of the coefficient matrix. The
eigenvalues are the solutions λ of the characteristic equation:
¯ ¯
¯(1 − λ) 1 ¯
0 = ¯¯ ¯ = (λ − 1)(λ + 2) − 4 = λ2 + λ − 6 ⇒
4 (−2 − λ)¯
(
1³ √ ´ 1 λ1 = 2,
λ= −1 ± 1 + 24 = (−1 ± 5) ⇒
2 2 λ2 = −3.
The eigenvectors are found solving the following systems: First, for λ1 = 2,
· ¸ · ¸ · ¸
−1 1 1 −1 1 1
→ ⇒ v = .
4 −4 0 0 1
Part (b): The graphs is not reproduced here, but it is similar to Figure 7.5.2 (a) on
page 393 in the Boyce-DiPrima Differential Equations book, eight edition.
Part (c): The general solution to the homogeneous equation is
· ¸ · ¸
1 2t 1 −3t
x(t) = c1 e + c2 e .
1 −4
So, we have obtained c1 = −5, c2 = 4. Hence, the solution to the initial value problem
is given by
· ¸ · ¸
1 2t 1 −3t
x(t) = −5 e +4 e .
1 −4