Solveeit Logo

Question

Question: If we have a differential equation \({y}''+9y=2{{x}^{2}}-5\) , How about the solution. \(\left( {{y}...

If we have a differential equation y+9y=2x25{y}''+9y=2{{x}^{2}}-5 , How about the solution. (yh=?,yp=?)\left( {{y}_{h}}=?,{{y}_{p}}=? \right)

Explanation

Solution

The above-given equation is the nonhomogeneous differential equation of second order. The right approach to this problem is by writing an auxiliary equation of the above-given function. We then find the values of yh{{y}_{h}} and yp{{y}_{p}}to find the general solution of the function.

Complete step-by-step solution:
The given equation in the above question is given by,
y+9y=2x25\Rightarrow {y}''+9y=2{{x}^{2}}-5
The homogeneous equation for the above-written equation is,
y+9y=0\Rightarrow {y}''+9y=0
We need to write an auxiliary equation for the above equation,
An auxiliary equation is an equation that is written for all linear differential equations.
The auxiliary equation is the polynomial equation with coefficient as derivatives.
m2+9=0\Rightarrow {{m}^{2}}+9=0
m2=9\Rightarrow {{m}^{2}}=-9
m=±(3)\Rightarrow m=\pm (-3)
The values of m are purely imaginary which means that the roots of the given auxiliary equation are imaginary.
Roots of the auxiliary equation and its solutions:
1. If the roots of the auxiliary equation are real and repeated then the solution is of the form y=(Ax+B)eαxy=\left( Ax+B \right){{e}^{\alpha x}} for the repeated root m=αm=\alpha.
2. If the roots of the auxiliary equation are real and distinct such as m=α1,α2....m={{\alpha }_{1}},{{\alpha }_{2}}.... then the solution is of the form y1=Aeα1x,y2=Beα2x,....{{y}_{1}}=A{{e}^{{{\alpha }_{1}}x}},{{y}_{2}}=B{{e}^{{{\alpha }_{2}}x}},....
3. If the roots of the auxiliary equation are imaginary and are in the form of m=a±bim=a\pm bi then the solution is of the form y=eax(Acos(bx)+Bsin(bx))y={{e}^{ax}}\left( A\cos \left( bx \right)+B\sin \left( bx \right) \right)
From the above,
The solution of the homogeneous equation y+9y=0{y}''+9y=0 is
y=e0x(Acos(3x)+Bsin(3x))\Rightarrow y={{e}^{0x}}\left( A\cos \left( 3x \right)+B\sin \left( 3x \right) \right)
y=(Acos(3x)+Bsin(3x))\Rightarrow y=\left( A\cos \left( 3x \right)+B\sin \left( 3x \right) \right)
Therefore, yh=(Acos(3x)+Bsin(3x)){{y}_{h}}=\left( A\cos \left( 3x \right)+B\sin \left( 3x \right) \right)
Particular solution:
We find the solution of the non-homogeneous equation 2x252{{x}^{2}}-5
The above equation is of the form y=ax2+bx+cy=a{{x}^{2}}+bx+c
Differentiating the equation y,
y=2ax+b\Rightarrow {y}'=2ax+b
Differentiating the above equation,
y=2a\Rightarrow {y}''=2a
Substituting the values of y,yy,{y}''in the equation y+9y=2x25{y}''+9y=2{{x}^{2}}-5, we get,
(2a)+9(ax2+bx+c)=2x25\Rightarrow \left( 2a \right)+9(a{{x}^{2}}+bx+c)=2{{x}^{2}}-5
Comparing the coefficients of x2,x,x0{{x}^{2}},x,{{x}^{0}} on both sides, we get,
Coefficients of x2{{x}^{2}}:
9a=2\Rightarrow 9a=2
a=29\Rightarrow a=\dfrac{2}{9}
Coefficients of xx:
9b=0\Rightarrow 9b=0
b=0\Rightarrow b=0
Coefficients of x0{{x}^{0}}:
2a+9c=5\Rightarrow 2a+9c=-5
Substitute the value of ‘a’ and then evaluate.
2(29)+9c=5\Rightarrow 2\left( \dfrac{2}{9} \right)+9c=-5
9c=52(29)\Rightarrow 9c=-5-2\left( \dfrac{2}{9} \right)
Now evaluate further.
9c=5(49)\Rightarrow 9c=-5-\left( \dfrac{4}{9} \right)
9c=499\Rightarrow 9c=-\dfrac{49}{9}
c=4981\Rightarrow c=\dfrac{-49}{81}
Therefore, yp=29x24981{{y}_{p}}=\dfrac{2}{9}{{x}^{2}}-\dfrac{49}{81}
The general solution is yh+yp{{y}_{h}}+{{y}_{p}}
Hence, the general solution is Acos3x+Bsin3x+29x24981A\cos 3x+B\sin 3x+\dfrac{2}{9}{{x}^{2}}-\dfrac{49}{81}

Note: The general solution of the function is the sum of the complementary function and the particular solution. We should remember the solutions of auxiliary equations to solve the problem easily.