


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Differential Equations
Last time, we saw that when the characteristic equation has complex roots r 1. 2 = α ± iβ, the general solution of ay′′^ + by′^ + cy = 0
is y(t) = c 1 eαt^ cos(βt) + c 2 eαt^ sin(βt). Let’s do some examples.
Example 11.1. Solve the IVP y′′^ − 4 y′^ + 9y = 0 y(0) = 0, y′(0) = − 2. The characteristic equation is r^2 − 4 r + 9 = 0
which has roots r 1 , 2 = 2 ± i
y(t) = c 1 e^2 t^ cos(
5 t) + c 2 e^2 t^ sin(
5 t) y′(t) = 2c 1 e^2 t^ cos(
5 t) −
5 c 1 e^2 t^ sin(
5 t) + 2c 2 e^2 t^ sin(
5 t) +
5 c 2 e^2 t^ cos(
5 t).
If we apply the initial conditions, we get
0 = c 1 −2 = 2c 1 +
5 c 2
which is solved by c 1 = 0 and c 2 = − √^25. So the particular solution is
y(t) = −
e^2 t^ sin(
5 t).
Example 11.2. Solve the IVP y′′^ − 8 y′^ + 17y = 0 y(0) = 2, y′(0) = 5. The characteristic equation is r^2 − 8 r + 17 = 0,
which has roots r 1 , 2 = 4 ± i. Hence the general solution and its derivative are
y(t) = c 1 e^4 t^ cos(t) + c 2 e^4 t^ sin(t) y′(t) = 4c 1 e^4 t^ cos(t) − c 1 e^4 t^ sin(t) + 4c 2 e^4 t^ sin(t) + c 2 e^4 t^ cos(t)
and plugging in initial conditions yields the system
2 = c 1 5 = 4c 1 + c 2 ,
so we conclude c 1 = 2 and c 2 = −3 and the particular solution is
y(t) = 2e^4 t^ cos(t) − 3 e^4 t^ sin(t).
Example 11.3. Solve the IVP
4 y′′^ + 12y′^ + 10y = 0 y(0) = − 1 , y′(0) = 3.
The characteristic equation is 4 r^2 + 12r + 10 = 0,
which has roots r 1 , 2 = − 32 ± 12 i. So the general solution and its derivative are
y(t) = c 1 e
(^32) t cos
t 2
(^32) t sin
t 2
y′(t) =
c 1 e
3 2 t^ cos
t 2
c 1 e
3 2 t^ sin
t 2
c 2 e
3 2 t^ sin
c 2 e
3 2 t^ cos
t 2
Plugging in the initial conditions yields
−1 = c 1
3 =
c 1 +
c 2
which has solution c 1 = −1 and c 2 = 9. The particular solution is
y(t) = −e
3 2 t^ cos
t 2
3 2 t^ sin
t 2
Example 11.4. Solve the IVP
y′′^ + 4y = 0 y
( (^) π 4
= − 10 , y′^
( (^) π 4
The characteristic equation is r^2 + 4 = 0,
which has roots r 1 , 2 = ± 2 i. The general solution and its derivative are
y(t) = c 1 cos(2t) + c 2 sin(2t) y′(t) = − 2 c 1 sin(2t) + 2c 2 cos(2t).
The initial conditions gives the system
−10 = c 2 4 = − 2 c 1
so we conclude c 1 = −2 and c 2 = −10 and the particular solution is
y(t) = −2 cos(2t) − 10 sin(2t).
Remark. Here’s another way of looking at this choice of constants. Suppose we don’t make it. Then we have, for our general solution,
y(t) = c 1 e−^
b 2 a t^ + c 2 (ct + k)e−^
b 2 a t
= c 1 e−^ 2 ba t^
= (c 1 + c 2 k)e−^
b 2 a t^ + c 2 cte−^
b 2 a t.
Since c 1 , c 2 , c, and k are just constants, we’ll just roll them together and write
y(t) = c 1 e−^
b 2 a t^ + c 2 te−^
b 2 a t.
To summarize the previous discussion: if the characteristic equation has repeated roots r 1 = r 2 = r, the general solution is y(t) = c 1 ert^ + c 2 tert.
Let’s work some examples.