Diff_2
Diff_2
d2 y dy
ax2 2
+ bx + cy = 0 , x > 0 Cauchy-Euler equation
dx dx
x = et
y
d2 y dy
a 2
+ (b − a) + cy = 0 eq. with const. coeff.
dt dt
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
Find the general solution of the D.E. 4x2 y′′ − 4xy′ + 5y = 0 , x > 0
Solution
(C-E eq.) Let x = et then the equation becomes:
d2 y dy
4 −8 + 5y = 0
dt2 dt
√
8 ∓ 64 − 80 1
char.eq.: 4r2 − 8r + 5 = 0 ⇒ r = = 1 ∓ i complex roots.
8 2
1 1
⇒ y = c1 et cos t + c2 et sin t
2 2
1 1
⇒ y = c1 x cos ln x + c2 x sin ln x
2 2
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
Find the general solution of the D.E. t2 y′′ − 12y = 0 , t > 0
Solution
(C-E eq.) Let t = ez then the equation becomes:
d2 y dy
− − 12y = 0
dz2 dz
char.eq.: r2 − r − 12 = 0 ⇒ (r − 4)(r + 3) = 0 ⇒ r1 = 4, r2 = −3 distinct
real roots.
⇒ y = c1 e4z + c2 e−3z
⇒ y = c1 t4 + c2 t−3
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
Find the general solution of the D.E. x2 y′′ − 5xy′ + 9y = 0 , x > 0
Solution
(C-E eq.) Let x = et then the equation becomes:
d2 y dy
−6 + 9y = 0
dt2 dt
char.eq.: r2 − 6r + 9 = 0 ⇒ (r − 3)2 = 0 ⇒ r = 3 double root.
General solution of const. coeff. eq.: y = c1 e3t + c2 te3t
Substituting back x = et we obtain the general solution of the C-E equation
as: y = c1 x3 + c2 x3 ln x
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
Find the general solution of the D.E. t2 y′′ + ty′ + 4y = 0 , t > 0
Solution
(C-E eq.) Let t = ez then the equation becomes:
d2 y
+ 4y = 0
dz2
char.eq.: r2 + 4 = 0 ⇒ r2 = −4 ⇒ r = ∓2i complex roots.
⇒ y = c1 cos(2z) + c2 sin(2z)
⇒ y = c1 cos(2 ln t) + c2 sin(2 ln t)
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Recall: Undetermined Coefficients
y = yh + yp
g(t) yp
Pn (t) = an tn + an−1 tn−1 + ... + a0 ts An tn + An−1 tn−1 + ... + A0
Pn (t)eαt ts An tn + An−1 tn−1 + ... + A0 eαt
ts An tn + An−1 tn−1 + ... + A0 eαt cos(βt)
Pn (t)eαt cos(βt) or Pn (t)eαt sin(βt)
+ Bn tn + Bn−1 tn−1 + ... + B0 eαt sin(βt)
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Example
For the following differential equations, use the method of
undetermined coefficients to write the shortest form of a particular
solution (do not evaluate the undetermined coefficients)
a) y′′ − 5y′ + 4y = −2e2t + sin t − t cos t
Solution
Char. eq.: r2 − 5r + 4 = 0 ⇒ (r − 1)(r − 4) = 0 ⇒ r1 = 1 , r2 = 4
⇒ yh = c1 et + c2 e4t
g(t) = −2e2t + sin t − t cos t ⇒ yp = Ae2t + (Bt + C)cos t + (Dt + E)sin t
| {z } | {z }
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
c) y′′ + 3y′ + 2y = (t2 − 1)et + e−2t + te−t + t cos(3t)
Solution
Char. eq.: r2 + 3r + 2 = 0 ⇒ (r + 1)(r + 2) = 0 ⇒ r1 = −1 , r2 = −2
⇒ yh = c1 e−t + c2 e−2t
−2t
g(t) = (t2 − 1)et + e|{z} te−t + t cos(3t)
+ |{z}
| {z } | {z }
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .