Professional Documents
Culture Documents
(MATH 251)
Department Of Mathematics
assuming that y1 (t) and y2 (t) are its fundamental set of solutions , that is,
If y1 (t), y2 (t) and yp (t) are known from (4) and (5), then the general
solution will be given as :
To solve for the general solution of (3), we follow these few steps.
Now substitute the Wronskian and solutions from the steps above
into (5) to compute for the Particular integral solution yc (t).
Finally, formulate
yc(t) = Ay1 (t) + By2 (t)
and hence if given any conditions substitute to find the values of the
arbitrary constants.
F.A Wireko, PhD Department Of Mathematics
DIFFERENTIAL
Kwame Nkrumah
EQUATIONS
University
I (MATH
Of Science
251)and Technology
February 16, 2023 4 / 21
Cont...
y ′′ − 3y ′ + 2y = e t + e 2t
Solution : Given
y ′′ − 3y ′ + 2y = e t + e 2t
we deduce the characteristic equation to be
r 2 − 3r + 2 = e t + e 2t
r 2 − 3r + 2 = 0
(r − 1)(r − 2) = 0
r =1 r =2
yc (t) = Ae t + Be 2t
y1 = e t
y2 = e 2t
= e t (2e 2t ) − e t (e 2t )
W (y1 (t), y2 (t)) = e 3t
e 2t (e t + e 2t )
Z t t
e (e + e 2t )
Z
yp (t) = −e t dt + e 2t
dt
e 3t e 3t
Z Z
yp (t) = −e t e −t (e t + e 2t )dt + e 2t e −2t (e t + e 2t )dt
Z Z
yp (t) = −e t (1 + e t )dt + e 2t (e −t + 1)dt
yp (t) = −e t (t + e t ) + e 2t (−e −t + t)
yp (t) = −te t − e 2t − e t + te 2t
yp (t) = e t (−t − 1) + e 2t (t − 1)
y (t) = yc (t) = Ae t + Be 2t − e t (t + 1) + e 2t (t − 1)
et
y ′′ − 2y ′ + y =
t2 + 1
=e t (e t + te t ) − e t (te t )
=e 2t + te 2t − te 2t
=e 2t
We then compute for the non-homogeneous solution
Z Z
y2 g (t) y1 g (t)
yp (t) = −y1 dt + y2 dt
W (y1 , y2 ) W (y1 , y2 )
te t (e t ) e t (e t )
Z Z
t t
yp (t) = −e dt + te dt
(t 2 + 1)e 2t (t 2 + 1)e 2t
te 2t e 2t
Z Z
t t
yp (t) = −e dt + te dt
(t 2 + 1)e 2t (t 2 + 1)e 2t
Z Z
t t t 1
yp (t) = −e 2
dt + te 2
dt
(t + 1) (t + 1)
F.A Wireko, PhD Department Of Mathematics
DIFFERENTIAL
Kwame Nkrumah
EQUATIONS
University
I (MATH
Of Science
251)and Technology
February 16, 2023 10 / 21
Cont...
1
t
yp (t) = −e ln |t + 1| + te t (ln |t 2 + 1|) + c
2
2
1
yp (t) = −e t ln |t 2 + 1| + te t (ln |t 2 + 1|)
2
t 2 1
yp (t) = e ln|t + 1| − + t
2
therefore the general solution will be;
2y ′′ + 18y = 6 tan(3t)
Solution : Given
2y ′′ + 18y = 6 tan(3t) (6)
We can first simplify the differential equation by dividing through by 2
y ′′ + 9y = 3 tan(3t) (7)
r 2 + 9 = 3 tan(3t) (8)
r2 + 9 = 0 (9)
r1,2 = ±3i (10)
therefore the complimentary solution yc (t) will be
we then determine our y1 (t) and y2 (t) from the complimentary solution,
given as;
Z Z
= − cos(3t) sec(3t) − cos(3t)dt + sin(3t) sin(3t)dt
cos(3t) sin(3t)
=− (ln |sec(3t) + tan(3t)| − sin(3t)) + (−cos(3t))
3 3
cos(3t)
=− ln |sec(3t) + tan(3t)|
3
The general solution is;
y ′′ + y = sec(t)
Solution : Given
y ′′ + y = sec(t)
could be transformed as
r 2 + 1 = sec(t)
solving the homogeneous part
r2 + 1 = 0
r1,2 = ±i
y1 t = cos t
y2 t = sin t
we then substitute
Z Z
sin t sec t sin t sec t
yp (t) = − cos t dt + cos t dt
1 1
we further simplify and integrate
Z Z
sin t
− cos t dt + sin t 1dt
cos t
Z Z
− cos t tan tdt + sin t 1dt