Solve # (d^2y)/(dx^2) -4 dy/dx + 3y = e^xcos(2x) # ?
2 Answers
See below.
Explanation:
Considering
and inverting
NOTE:
etc.
# y(x) = Ae^(x) + Be^(3x) -1/8e^xcos2x-1/8e^xsin2x #
Explanation:
We have:
# (D^2-4D+3)y=xe^x #
Where
# (d^2y)/(dx^2) -4 dy/dx + 3y = e^xcos(2x) # ..... [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
# (d^2y)/(dx^2) -4dy/dx + 3y = 0#
And it's associated Auxiliary equation is:
# m^2 -4m+3 = 0 => (m-3)(m-1) = 0#
Which has two real and distinct solutions
Thus the solution of the homogeneous equation is:
# y_c = Ae^(1x) + Be^(3x) #
# \ \ \ = Ae^(x) + Be^(3x) #
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)e^x #
Where the constants
Differentiating wrt
# dy/dx = (acos2x+bsin2x)(e^x) + (-2asin2x+2bcos2x)(e^x) #
# " " = ((a+2b)cos2x+(b-2a)sin2x)(e^x) #
Differentiating again wrt
# (d^2y)/(dx^2) = ((a+2b)cos2x+(b-2a)sin2x)(e^x)+(-2a-4b)sin2x+(2b-4a)cos2x)(e^x)#
# " " = ((a+2b +2b-4a )cos2x+ (b-2a-2a-4b)sin2x)(e^x) #
# " " = ((-3a+4b)cos2x+ (-4a-3b)sin2x)(e^x) #
Substituting into the DE [A] we get:
# ((-3a+4b)cos2x+ (-4a-3b)sin2x)(e^x) -4 ((a+2b)cos2x+(b-2a)sin2x)(e^x) + 3(acos2x+bsin2x)e^x = e^xcos(2x) #
# :. (-3a+4b -4 (a+2b) + 3a)cos2x+ (-4a-3b-4(b-2a)+3b)sin2x = cos(2x) #
# :. (-4a-4b)cos2x + (4a-4b)sin2x = cos(2x) #
Equating coefficients of
# cos2x: -4a-4b=1#
# sin2x: 4a-4b = 0 #
Solving simultaneously, we have:
# a = -1/8 #
# b = -1/8 #
And so we form the Particular solution:
# y_p = (-1/8cos2x-1/8sin2x)e^x #
# \ \ \ = -1/8e^xcos2x-1/8e^xsin2x #
Which then leads to the GS of [A}
# y(x) = y_c + y_p #
# \ \ \ \ \ \ \ = Ae^(x) + Be^(3x) -1/8e^xcos2x-1/8e^xsin2x #