Solveeit Logo

Question

Question: How can I solve this differential equation \[y''' - 6y'' = 3 - \cos x\] by undetermined coefficients...

How can I solve this differential equation y6y=3cosxy''' - 6y'' = 3 - \cos x by undetermined coefficients?

Explanation

Solution

In this question we have to solve the differential equation using undetermined coefficients, first solve the characteristic equation of this differential, and use the fact that homogeneous part of solution is yc=C1+C2x+C3e6x{y_c} = {C_1} + {C_2}x + {C_3}{e^{6x}} ,as the terms C2x{C_2}x and C1{C_1} have part of homogenous solution, particular solution must be in form: yp=Ax2+Bcosx+Csinx{y_p} = A{x^2} + B\cos x + C\sin x , now deriving the yp{y_p} three times and comparing this with the given equation we will get the coefficients, and by adding the equations yc{y_c} and yp{y_p} , we will get the required answer.

Complete step by step solution:
Given equation is y6y=3cosxy''' - 6y'' = 3 - \cos x ,
First the characteristic equation of this differential one will be,
x36x2=0\Rightarrow {x^3} - 6{x^2} = 0 ,
Now taking common term we get,
x2(x6)=0\Rightarrow {x^2}\left( {x - 6} \right) = 0 ,
Now this can be written as,
xx(x6)=0\Rightarrow x \cdot x\left( {x - 6} \right) = 0 ,
Hence the roots are,
\Rightarrow x1=0{x_1} = 0 , x2=0{x_2} = 0 and x3=6{x_3} = 6 ,
We know that homogeneous part of solution is yc=C1+C2x+C3e6x{y_c} = {C_1} + {C_2}x + {C_3}{e^{6x}} ,as the terms C2x{C_2}x and C1{C_1} have part of homogenous solution, particular solution must be in form: yp=Ax2+Bcosx+Csinx{y_p} = A{x^2} + B\cos x + C\sin x ,
Now differentiating both sides we get,
yp=2AxBsinx+Ccosx\Rightarrow y{'_p} = 2Ax - B\sin x + C\cos x ,
Now again differentiating on both sides we get,
yp=2ABcosxCsinx\Rightarrow y'{'_p} = 2A - B\cos x - C\sin x ,
Now again differentiating on both sides we get,
yp=BsinxCcosx\Rightarrow y''{'_p} = B\sin x - C\cos x ,
From the above we get, by substituting the values in the given equation we get,’
\Rightarrow y6y=BsinxCcosx6(2ABcosxCsinx)y''' - 6y'' = B\sin x - C\cos x - 6\left( {2A - B\cos x - C\sin x} \right) ,
Now simplifying we get,
y6y=BsinxCcosx12A+6Bcosx+6Csinxy''' - 6y'' = B\sin x - C\cos x - 12A + 6B\cos x + 6C\sin x ,
Now combing the like terms we get,
y6y=sinx(B+6C)+cosx(6BC)12A\Rightarrow y''' - 6y'' = \sin x\left( {B + 6C} \right) + \cos x\left( {6B - C} \right) - 12A ,
Now we know that y6y=3cosxy''' - 6y'' = 3 - \cos x , now comparing the terms we get,
3cosx=sinx(B+6C)+cosx(6BC)12A\Rightarrow 3 - \cos x = \sin x\left( {B + 6C} \right) + \cos x\left( {6B - C} \right) - 12A ,
Now comparing we get,
12A=3\Rightarrow - 12A = 3 , 6BC=16B - C = - 1 and B+6C=0B + 6C = 0 ,
Now simplifying we get,
A=312=14\Rightarrow A = \dfrac{{ - 3}}{{12}} = \dfrac{{ - 1}}{4} ,
Now solving the equations 6BC=1(1)6B - C = - 1 - - - - (1) and
B+6C=0(2)B + 6C = 0 - - - - (2) , we get,
\Rightarrow B=6CB = - 6C , now substituting the value in (1) we get,
6(6C)C=1\Rightarrow 6\left( { - 6C} \right) - C = - 1 ,
Now simplifying we get,
36CC=1\Rightarrow - 36C - C = - 1 ,
Now adding we get,
37C=1\Rightarrow - 37C = - 1 ,
Now taking out negative sign we get,
37C=1\Rightarrow 37C = 1 ,
Now dividing 37 on both sides we get,
37C37=137\Rightarrow \dfrac{{37C}}{{37}} = \dfrac{1}{{37}} ,
Now simplifying we get,
C=137\Rightarrow C = \dfrac{1}{{37}} ,
Now substituting the values in the equation yp=Ax2+Bcosx+Csinx{y_p} = A{x^2} + B\cos x + C\sin x , we get,
yp=14x2637cosx+137sinx\Rightarrow {y_p} = \dfrac{{ - 1}}{4}{x^2} - \dfrac{6}{{37}}\cos x + \dfrac{1}{{37}}\sin x ,
So, finally required equation will be sum of yc{y_c} and yp{y_p} , so, equation is,
yc+yp=C1+C2x+C3e6x14x2637cosx+137sinx\Rightarrow {y_c} + {y_p} = {C_1} + {C_2}x + {C_3}{e^{6x}}\dfrac{{ - 1}}{4}{x^2} - \dfrac{6}{{37}}\cos x + \dfrac{1}{{37}}\sin x ,

By solving differential equation y6y=3cosxy''' - 6y'' = 3 - \cos x by undetermined coefficients is equal to yc+yp=C1+C2x+C3e6x14x2637cosx+137sinx{y_c} + {y_p} = {C_1} + {C_2}x + {C_3}{e^{6x}}\dfrac{{ - 1}}{4}{x^2} - \dfrac{6}{{37}}\cos x + \dfrac{1}{{37}}\sin x .

Note: The method of finding a particular solution yp{y_p} , first make an assumption about the form of yp{y_p} , then find the coefficients, and general rule for assumption is that linear combination of all the linearly independent types of functions that aside from repeated differentiations. No function in the assumed yp{y_p} duplicates any part of yc{y_c} .