(nonhomogeneous linear ODEs) #y''+4y'=-12sin2x, (y_h+y_p=)#?
2 Answers
# y(x) = A + Be^(-4x) + 6/5cos2x+3/5sin2x #
Explanation:
We have:
# y''+4y'=-12sin2x # .... [A}
This is a second order linear non-Homogeneous Differentiation Equation with constant coefficients. The standard approach is to find a solution,
Complementary Function
The homogeneous equation associated with [A] is
# y''+4y = 0#
And it's associated Auxiliary equation is:
# m^2+4m = 0 => m(m+4)#
Which has two real and distinct solution
Thus the solution of the homogeneous equation is:
# y_c = Ae^(0x) +_Be^(-4x) #
# \ \ \ = A + Be^(-4x) #
Particular Solution
In order to find a particular solution of the non-homogeneous equation we would look for a solution of the form:
# y = (acos2x+bsin2x) #
Where the constants
Differentiating wrt
# dy/dx = -2asin2x+2bcos2x #
Differentiating again wrt
# (d^2y)/(dx^2) = -4acos2x+4bsin2x #
Substituting into the DE [A] we get:
# (-4acos2x+4bsin2x) + 4(-2asin2x+2bcos2x) = -12sin2x #
# :. -4acos2x+4bsin2x + -8asin2x+8bcos2x = -12sin2x #
# :. (-4a+8b)cos2x+(4b-8a) = -12sin2x #
Equating coefficients of
# cos2x: -4a+8b = 0#
# sin2x: -4b-8a=-12 #
Solving simultaneously, we have:
# a = 6/5 #
# b = 3/5 #
And so we form the Particular solution:
# y_p = 6/5cos2x+3/5sin2x#
Which then leads to the GS of [A}
# y(x) = y_c + y_p #
# \ \ \ \ \ \ \ = A + Be^(-4x) + 6/5cos2x+3/5sin2x #
See below.
Explanation:
For the homogeneous solution
for the particular solution
this must be true for all