Question
Question: Solve: \(\left( {{D}^{2}}+4D+13 \right)y=\cos 3x\)....
Solve: (D2+4D+13)y=cos3x.
Solution
The given second order differential equation has a function of x. So, this becomes a particular integral. As the function is trigonometrical, we assume the integral function as y(x)=Acos3x+Bsin3x. We find the values of D2=dx2d2,D=dxd and place them in the main equation. We get two equations of two unknowns A and B. we solve them to find the values of A and B.
Complete step by step answer:
We have been given a second order differential equation with constant coefficient.
(D2+4D+13)y=cos3x. Here D2=dx2d2,D=dxd.
In this type of equation, we get the characteristics equation by taking the differential form of the equation.
We assume the solution of the differential equation. As the function of x is f(x)=cos3x. We take the PI as y(x)=Acos3x+Bsin3x.
Here PI describes a particular integral which is the solution of the differential equation (D2+4D+13)y=cos3x. First, we find out the PI differentiations.
We have (D2+4D+13)y=dx2d2y+4dxdy+13y.
Differentiating both side of y(x)=Acos3x+Bsin3x, we get
y(x)=Acos3x+Bsin3x⇒dxdy=−3Asin3x+3Bcos3x
We differentiate again to find the value of dx2d2y.
dxdy=−3Asin3x+3Bcos3x⇒dx2d2y=−9Acos3x−9Bsin3x
We put the values in the equation to get
dx2d2y+4dxdy+13y=(−9Acos3x−9Bsin3x)+4(−3Asin3x+3Bcos3x)+13(Acos3x+Bsin3x)=cos3x(4A+12B)+sin3x(4B−12A)
We have to satisfy the value of (D2+4D+13)y=dx2d2y+4dxdy+13y with cos3x.
We equate them to get two equations of two unknowns A and B.
cos3x(4A+12B)+sin3x(4B−12A)=cos3x.
The equations are (4A+12B)=1,(4B−12A)=0.
We multiply the first equation with 3 and add it to the second equation.
3(4A+12B)=3,(4B−12A)=0⇒12A+36B=3,4B−12A=0
Adding them we get
(12A+36B)+(4B−12A)=3+0⇒40B=3⇒B=403
Putting value of B in one equation we get
(4A+12B)=1⇒4A+12(403)=1⇒4A=1−109=101⇒A=401
We got values of both A and B.
Putting the values in y(x)=Acos3x+Bsin3x we get y(x)=40cos3x+403sin3x.
Simplifying we get 40y=cos3x+3sin3x. This is the solution of (D2+4D+13)y=cos3x.
Note: We also can solve it by breaking it in two parts of CF and PI. Here CF defines the complementary function which is the solution of (D2+4D+13)y=0. Then we place the value of 3 in the particular integral. The final solution becomes y(x)=CF+PI.