Professional Documents
Culture Documents
(MATH 251)
Department Of Mathematics
In this section we discuss higher order differential equations that are non -
homogenous. A second order, linear non homogenous differential equation
is
y ” + p(t)y ′ + q(t)y = g (t) g (t) ̸= 0 (1)
Thus g (t) is non-zero function. The general solution of non-homogenous
differential equation is of the form
where,
yc (t) = Complimentary function
and
yp (t) = Particular Integral Function
Compute the value for the arbitrary constants and the formulate the
Particular Integrated function yp (t)
Linear function Ax + B
Quadratic function Ax 2 + Bx + C
Cubic function Ax 3 + Bx 2 + Cx + D
Exponential Function Ae βx
y ′′ − 5y ′ + 6y = 2t + 3
y ′′ − 5y ′ + 6y = 2t + 3
y ′′ − 5y ′ + 6y = 0
by converting it to a polynomial;
r 2 − 5r + 6 = 0
(r − 3)(r − 2)
r =3 r =2
F.A Wireko, PhD Department Of Mathematics
DIFFERENTIAL
Kwame Nkrumah
EQUATIONS
University
I (MATH
Of Science
251)and Technology
February 16, 2023 7 / 29
Cont...
r =3 r =2
therefore the complimentary function will be;
yc (t) = C1 e 3t + C2 e 2t
yp (t) = At + B
we then differentiate the trial solution to the second order, since the order
of the differential equation is 2.
1 7
=⇒ y (t) = Ae 3t + Be 2t + t +
3 9
y ′′ − 5y ′ + 6y = 12e 5t
y ′′ − 5y ′ + 6y = 2t + 3
y ′′ − 5y ′ + 6y = 0
by converting it to a polynomial;
r 2 − 5r + 6 = 0
(r − 3)(r − 2)
r =3 r =2
F.A Wireko, PhD Department Of Mathematics
DIFFERENTIAL
Kwame Nkrumah
EQUATIONS
University
I (MATH
Of Science
251)and Technology
February 16, 2023 11 / 29
Cont...
r =3 r =2
therefore the complimentary function will be;
yc (t) = C1 e 3t + C2 e 2t
6A = 12 =⇒ A = 2
yp (t) = 2e 5t
y (t) = C1 e 3t + C2 e 2t + 2e 5t
y ′′ − 5y ′ + 6y = 12e 2t
yc (t) = C1 e 3t + C2 e 2t
we therefore solve for yp (t). The RHS is still a linear function, so our
particular integral function should have been
yp (t) = Ae 2t
y (t) = C1 e 3t + C2 e 2t − 12te 2t
y ′′ − 4y ′ + 4y = 2e 2t .
yp (t) = t 2 e 2t
y (t) = C1 e 2t + C2 te 2t + t 2 e 2t
y ′′ − 5y ′ + 6y = sin(t)
y ′′ − 5y ′ + 6y = sin(t)
y ′′ − 5y ′ + 6y = 0
by converting it to a polynomial;
r 2 − 5r + 6 = 0
(r − 3)(r − 2)
r =3 r =2
F.A Wireko, PhD Department Of Mathematics
DIFFERENTIAL
Kwame Nkrumah
EQUATIONS
University
I (MATH
Of Science
251)and Technology
February 16, 2023 19 / 29
Cont...
r =3 r =2
therefore the complimentary function will be;
yc (t) = C1 e 3t + C2 e 2t
5A − 5B = 0
5A + 5B = 1
1 1
A= , B=
10 10
1 1
ypt = cos(t) + sin(t)
10 10
y = yc(t) + yp(t)
1 1
y = C1 e 3t + C2 e 2t + cos(t) + sin(t)
10 10
y ′′ + y = cos t
Solution : We first solve the homogeneous side and this will have complex
roots, and will therefore have its complimentary solution as;
yc (t) = C1 cos t + C2 sin t
Now we compute the non-homogeneous side by determining the trial
solution yp (t).The RHS is a trigonometric function and therefore our trial
function should have been;
yp (t) = A cos t + B sin t
but since the complimentary function is of similar form, it will become;
yp (t) = t (A cos t + B sin t)
F.A Wireko, PhD Department Of Mathematics
DIFFERENTIAL
Kwame Nkrumah
EQUATIONS
University
I (MATH
Of Science
251)and Technology
February 16, 2023 23 / 29
Cont...
t
y (t) = C1 cos(t) + C2 cos(t) − sin(t)
2
y ′′ + 4y = 3sin2x
y ” − 4y ′ − 12y = 2t 3 − t + 3
y ′′ + 9y = e 2x
y ′′ − 4y ′ − 12y = te 4t
Write down the guess for the particular solution to the given differential
equation
y ′′ + 3y ′ − 28 = 7t + e −7t − 1
−2t t t
4y ” + y = e sin + 6tcos
2 2
′ −2t t t
4y ” + 16y + 17y = e sin + 6tcos
2 2