Professional Documents
Culture Documents
Solutions To Homework 3: Section 3.4, Repeated Roots Reduction of Order
Solutions To Homework 3: Section 3.4, Repeated Roots Reduction of Order
r2 2r + 1 = 0,
y(t) = c1 et + c2 tet .
9r2 + 6r + 1 = 0,
16r2 + 24r + 9 = 0,
Q 11). Solve for the given initial value problem 9y 00 12y 0 + 4y = 0 with y(0) = 2 and y 0 (0) = 1, and
sketch the graph of the solution and describe its behavior of increasing t.
Answer: The characteristic equation is:
9r2 12r + 4 = 0,
1
solving it we get r = 2/3 as a repeated root, so the general solution is given by
So
y 0 (t) = (2c1 /3 + c2 + 2tc2 /3)e2t/3 .
Putting in the initial condition we get
Q 12). Solve for the given initial value problem y 00 6y 0 + 9y = 0 with y(0) = 0 and y 0 (0) = 2, and
sketch the graph of the solution and describe its behavior of increasing t.
Answer: The characteristic equation is:
r2 6r + 9 = 0,
So
y 0 (t) = (3c1 + c2 + 3tc2 )e3t .
Putting in the initial condition we get
y(t) = 2te3t .
To see the graph of the solution, one can type the following commands in MATLAB:
syms t;
ezplot(0 2 t exp(3 t)0 );
The solution y(t) when t .
Q 14). Solve for the given initial value problem y 00 + 4y 0 + 4y = 0 with y(1) = 2 and y 0 (1) = 1, and
sketch the graph of the solution and describe its behavior of increasing t.
2
Answer: The characteristic equation is:
r2 + 4r + 4 = 0,
So
y 0 (t) = (2c1 + c2 2tc2 )e2t .
Putting in the initial condition we get
To see the graph of the solution, one can type the following commands in MATLAB:
syms t;
ezplot(0 7 exp(2 2 t) + 5 t exp(2 2 t)0 );
The solution y(t) first increase, then decrease, and y(t) when t .
Q 23). Use the method of reduction to find a second solution: t2 y 00 4ty 0 + 6y = 0, y > 0; y1 (t) = t2 .
Answer: Assume y2 (t) = v(t)y1 (t), then
and
y200 (t) = v 00 (t)t2 + 2tv 0 (t) + 2v(t) + 2tv 0 (t) = v 00 (t)t2 + 4tv 0 (t) + 2v(t).
Insert y20 , y200 and y2 back into the ODE, we get
that is
t4 v 00 (t) = 0.
Thus we have
v 00 (t) = 0.
Let u = v 0 , we have u0 (t) = 0, so u(t) = C1 . Thus,
v 0 = u = C1 ,
3
Q 25). Use the method of reduction to find a second solution: t2 y 00 + 3ty 0 + y = 0, y > 0; y1 (t) = t1 .
Answer: Assume y2 (t) = v(t)y1 (t), then
and
that is
tv 00 (t) + v 0 (t) = 0.
Let u = v 0 , we have tu0 (t) + u(t) = 0, By separation of variables, u(t) = C1 /t. Thus,
v 0 = u = C1 /t,
y 00 2y 0 3y = 0 (H)
is
r2 2r 3 = 0,
with roots r1 = 3 and r2 = 1. So the general solution to (H) is
yh (t) = c1 e3t + c2 et .
y 00 2y 0 3y = 3e2t (N ),
4
then
yp0 (t) = 2Ae2t , yp00 = 4Ae2t .
Hence, putting yp , yp0 and yp00 back into (N ), we get
y 00 + 2y 0 = 0 (H)
is
r2 + 2r = 0,
with roots r1 = 2 and r2 = 0. So the general solution to (H) is
yh (t) = c1 e2t + c2 .
y 00 + 2y 0 = 3 + 4 sin(2t) (N ),
then
yp0 (t) = A + 2B1 cos(2t) 2B2 sin(2t),
yp00 = 4B1 sin(2t) 4B2 cos(2t).
Hence, putting yp , yp0 and yp00 back into (N ), we get
4B1 sin(2t) 4B2 cos(2t) + 2(A + 2B1 cos(2t) 2B2 sin(2t)) = 3 + 4 sin(2t).
2A = 3,
4B1 4B2 = 4,
4B2 + 4B1 = 0.
Solving them gives us
3 1
A= B1 = B2 = .
2 2
5
So the general solution to (N ) is
3t 1 1
y(t) = c1 e2t + c2 + sin(2t) cos(2t).
2 2 2
y 00 + 2y 0 + y = 0 (H)
is
r2 + 2r + 1 = 0,
with repeated roots r = 1. So the general solution to (H) is
yh (t) = c1 et + c2 tet .
y 00 + 2y 0 + y = 2et (N ),
(2A 2At 2At + At2 )et + 2(2At At2 )et + At2 et = 2et .
2y 00 + 3y 0 + y = 0 (H)
is
2r2 + 3r + 1 = 0,
6
with roots r1 = 1 and r2 = 1/2. So the general solution to (H) is
yh (t) = c1 et + c2 et/2 .
2y 00 + 3y 0 + y = t2 + 3 sin t (N ),
then
yp0 (t) = 2A1 t + A2 + B1 cos t B2 sin t,
yp00 = 2A1 B1 sin t B2 cos t.
Hence, putting yp , yp0 and yp00 back into (N ), we get
Q 16). Solve the initial value problem y 00 + 4y = t2 + 3et , with y(0) = 0 and y 0 (0) = 2.
Answer: The characteristic equation to the homogeneous ODE
y 00 + 4y = 0 (H)
is
r2 + 4 = 0,
7
with complex roots r = 2i. So the general solution to (H) is
yh (t) = c1 sin(2t) + c2 cos(2t).
Hence
t 3et
y 0 (t) = 2c1 cos(2t) 2c2 sin(2t) + + .
2 5
With the initial conditions y(0) = 0 and y 0 (0) = 2, we have
1 3
y(0) = c2 + = 0,
8 5
3
y 0 (0) = 2c1 + = 2.
5
7
Solving for c1 and c2 , we get c1 = 10 , c2 = 1940 , so the solution is
7 19 t2 1 3et
y(t) = sin(2t) cos(2t) + + .
10 40 4 8 5
8
Q 17). Solve the initial value problem y 00 2y 0 + y = tet + 4, with y(0) = 1 and y 0 (0) = 1.
Answer: The characteristic equation to the homogeneous ODE
y 00 2y 0 + y = 0 (H)
is
r2 + 2r + 1 = 0,
with repeated roots r = 1. So the general solution to (H) is
yh (t) = c1 et + c2 tet .
We have
1 1
y 0 (t) = (c1 + c2 t + t3 + c2 + t2 )et .
6 2
So the initial conditions y(0) = 1 and y 0 (0) = 1 gives us
c1 + 4 = 1,
c1 + c2 = 1.
Solving for it we get
c1 = 3, c2 = 4.
So the solution to the I.V.P is
1
y(t) = (3 + 4t + t3 )et + 4.
6