What is the general solution of the differential equation #y''' - y'' = e^xcosx #?
2 Answers
Explanation:
Given:
Let u =
The integrating factor is
Multiply both sides of equation two by
We know that the left side integrates to the product of
Reverse the substitution:
# y(x) = Ax+B + Ce^x -1/2e^xcosx#
Explanation:
We have:
# y''' - y'' = e^xcosx # ..... [A]
This is a Third order linear non-Homogeneous Differentiation Equation with constant coefficients. The standard approach is to find a solution,
Complimentary Function
The homogeneous equation associated with [A] is
# y''' -y'' = 0 #
And it's associated Auxiliary equation is:
# m^3 -m^2 = 0 #
# m^2(m-1) = 0 #
Which has repeated solutions
Thus the solution of the homogeneous equation is:
# y_c = (Ax+B)e^(0x) + Ce^(1x) #
# \ \ \ = Ax+B + Ce^x #
Note this solution has
Particular Solution
In order to find a particular solution of the non-homogeneous equation we would look for a solution of the form:
# y = e^x(acosx + bsinx) #
Where the constants
Differentiating wrt
# y' = e^x(-asinx + bcosx) + e^x(acosx + bsinx) #
# \ \ \ = e^x(acosx -asinx + bcosx + bsinx) #
Differentiating again wrt
# y'' = e^x(-asinx -acosx - bsinx + bcosx) + e^x(acosx -asinx + bcosx + bsinx) #
# \ \ \ \ = e^x(-2asinx + 2bcosx) #
Differentiating again wrt
# y''' = e^x(-2acosx - 2bsinx) + e^x(-2asinx + 2bcosx) #
# \ \ \ \ = e^x(-2acosx - 2bsinx -2asinx + 2bcosx)#
# \ \ \ \ = e^x(-2acosx -2asinx - 2bsinx + 2bcosx)#
Substituting into the DE [A] we get:
# y''' - y'' = e^xcosx #
# :. e^x(-2acosx -2asinx - 2bsinx + 2bcosx) - e^x(-2asinx + 2bcosx) = e^xcosx#
# :. -2acosx -2asinx - 2bsinx + 2bcosx - +2asinx - 2bcosx = cosx#
Equating coefficients of
# cos: \ \ -2a + 2b - 2b = 1 => -2a=1 => a=-1/2#
# sin: \ \ -2a - 2b + 2a = 0 => -2b=0 => b =0#
And so we form the Particular solution:
# y_p = e^x(-1/2cosx + 0) #
# \ \ \ = -1/2e^xcosx #
Which then leads to the GS of [A}
# y(x) = y_c + y_p #
# \ \ \ \ \ \ \ = Ax+B + Ce^x -1/2e^xcosx#