Question
Question: Solve the following differential equation: \(\left( {{D^2} - 6D + 9} \right)y = x + {e^{2x}}\)...
Solve the following differential equation:
(D2−6D+9)y=x+e2x
Solution
In this particular question use the concept that the solution of any differential equation is the sum of complementary function and particular integral, so find the complementary function by equating the L.H.S of the equation to zero and find it roots, then the general solution of the complementary function if both the roots are same is written as, (C1+C2x)emx, where m is the same roots so use these concepts to reach the solution of the question.
Complete step-by-step answer:
Given differential equation
(D2−6D+9)y=x+e2x
Now as we know that the solution of the above equation is the sum of complementary function and particular integral.
Therefore, y = C.F + P.I
Now first find out complementary functions.
So for this equation L.H.S of the above equation to zero so we have,
⇒(D2−6D+9)y=0
⇒(D2−6D+9)=0
Now factorize the above equation we have,
⇒(D2−3D−3D+9)=0
⇒(D−3)(D−3)=0
⇒D=3,3
So the solution of the complementary function is given as,
C.F = (C1+C2x)e3x, where C1 and C2 are some arbitrary constants.
Therefore, C.F = (C1+C2x)e3x
Now for Particular integral we have,
⇒(D2−6D+9)y=x+e2x
⇒y=D2−6D+9x+e2x
The above equation is also written as
⇒y=D2−6D+9x+D2−6D+9e2x
⇒y=(D−3)2x+D2−6D+9e2x
⇒y=(−3)2(1−3D)2x+D2−6D+9e2x
⇒y=9x(1−3D)−2+D2−6D+9e2x
Now according to the binomial expansion the expansion of (1−D)−n=1+nD
We neglect the higher terms of D as in the above expression, outside (1−3D)−2 this expression there is only x and D is the symbol of the differentiation, so higher order differentiation of x is zero, so use this property in the above expression we have,
⇒y=9x(1+23D)+D2−6D+9e2x
⇒y=9x+91.32(dxdx)+D2−6D+9e2x
Now in the above equation the coefficient of x in the power of exponential is 2, so substitute in place of D= 2 in the second expression of the above equation, so the particular integral is.
⇒P.I=9x+91.32(1)+22−6(2)+9e2x, [∵dxdx=1]
⇒P.I=9x+272+13−12e2x
⇒P.I=9x+272+e2x
So the solution of the given differential equation is,
⇒y=(C1+C2x)e3x+9x+272+e2x
So this is the required solution of the given differential equation.
Note Whenever we face such types of questions the key concept we have to remember is that always recall that there are multiple methods to solve the particular integral depending on the R.H.S of the differential equation, if the R.H.S is in the form of epx, then substitute in place of D i.e.dxd(px), p and solve as above then add these two solutions as above we will get the required answer.