Question #9018

Solve differential equation :-
1- Y^4 +9 y″ =(x^2 +1 )sin3x
2- y″ +4 y = sin^2 x

Expert's answer

Solve 9d2y(x)dx2+y(x)=(x2+1)sin(3x)9 \frac{d^2 y(x)}{dx^2} + y(x) = (x^2 + 1) \sin(3x):

The general solution will be the sum of

the complementary solution and particular solution.

Find the complementary solution by solving 9d2y(x)dx2+y(x)=09 \frac{d^2 y(x)}{dx^2} + y(x) = 0:

Assume a solution will be proportional to eλxe^{\lambda x} for some constant λ\lambda.

Substitute y(x)=eλxy(x) = e^{\lambda x} into the differential equation:


9d2dx2(eλx)+eλx=09 \frac{d^2}{dx^2} (e^{\lambda x}) + e^{\lambda x} = 0


Substitute d2dx2(eλx)=λ2eλx\frac{d^2}{dx^2} (e^{\lambda x}) = \lambda^2 e^{\lambda x}:


9λ2eλx+eλx=09 \lambda^2 e^{\lambda x} + e^{\lambda x} = 0


Factor out eλxe^{\lambda x}:


(9λ2+1)eλx=0(9 \lambda^2 + 1) e^{\lambda x} = 0


Since eλx0e^{\lambda x} \neq 0 for any finite λ\lambda, the zeros must come from the polynomial:


9λ2+1=09 \lambda^2 + 1 = 0


Solve for λ\lambda:


λ=i3orλ=i3\lambda = \frac{i}{3} \quad \text{or} \quad \lambda = -\frac{i}{3}


The roots λ=±i3\lambda = \pm \frac{i}{3} give y1(x)=c1eix3y_1(x) = c_1 e^{\frac{i x}{3}}, y2(x)=c2eix3y_2(x) = c_2 e^{-\frac{i x}{3}} as solutions, where c1c_1 and c2c_2 are arbitrary constants.

The general solution is the sum of the above solutions:


y(x)=y1(x)+y2(x)=c1eix3+c2eix3y(x) = y_1(x) + y_2(x) = c_1 e^{\frac{i x}{3}} + c_2 e^{-\frac{i x}{3}}


Apply Euler's identity eα+iβ=eαcos(β)+ieαsin(β)e^{\alpha + i\beta} = e^{\alpha}\cos(\beta) + i e^{\alpha}\sin(\beta):


y(x)=c1(cos(x3)+isin(x3))+c2(cos(x3)isin(x3))y(x) = c_1 \left(\cos\left(\frac{x}{3}\right) + i \sin\left(\frac{x}{3}\right)\right) + c_2 \left(\cos\left(\frac{x}{3}\right) - i \sin\left(\frac{x}{3}\right)\right)


Regroup terms:


y(x)=(c1+c2)cos(x3)+i(c1c2)sin(x3)y(x) = (c_1 + c_2) \cos\left(\frac{x}{3}\right) + i (c_1 - c_2) \sin\left(\frac{x}{3}\right)


Redefine c1+c2c_1 + c_2 as c1c_1 and i(c1c2)i(c_1 - c_2)

as c2c_2, since these are arbitrary constants:


y(x)=c1cos(x3)+c2sin(x3)y(x) = c_1 \cos\left(\frac{x}{3}\right) + c_2 \sin\left(\frac{x}{3}\right)


Determine the particular solution to 9d2y(x)dx2+y(x)=(x2+1)sin(3x)9 \frac{d^2 y(x)}{dx^2} + y(x) = (x^2 + 1) \sin(3x) by the method of undetermined coefficients:

The particular solution to 9d2y(x)dx2+y(x)=(x2+1)sin(3x)9 \frac{d^2 y(x)}{dx^2} + y(x) = (x^2 + 1) \sin(3x) is of the form:


yp(x)=a1cos(3x)+a2xcos(3x)+a3x2cos(3x)+a4sin(3x)+a5xsin(3x)+a6x2sin(3x)\begin{array}{l} y_p(x) = a_1 \cos(3x) + a_2 x \cos(3x) + \\ a_3 x^2 \cos(3x) + a_4 \sin(3x) + a_5 x \sin(3x) + a_6 x^2 \sin(3x) \end{array}


Solve for the unknown constants a1,a2,a3,a4,a5a_1, a_2, a_3, a_4, a_5, and a6a_6:

Compute d2yp(x)dx2\frac{d^2 y_p(x)}{dx^2}:


d2yp(x)dx2=d2dx2(a1cos(3x)+a2xcos(3x)+a3x2cos(3x)+a4sin(3x)+a5xsin(3x)+a6x2sin(3x))=9a1cos(3x)9a2xcos(3x)6a2sin(3x)+2a3cos(3x)9a3x2cos(3x)12a3xsin(3x)9a4sin(3x)+6a5cos(3x)9a5xsin(3x)+12a6xcos(3x)+2a6sin(3x)9a6x2sin(3x))\begin{array}{l} \frac{d^2 y_p(x)}{dx^2} = \frac{d^2}{dx^2} \left(a_1 \cos(3x) + a_2 x \cos(3x) + \right. \\ \left. a_3 x^2 \cos(3x) + a_4 \sin(3x) + a_5 x \sin(3x) + a_6 x^2 \sin(3x) \right) \\ = -9 a_1 \cos(3x) - 9 a_2 x \cos(3x) - 6 a_2 \sin(3x) + 2 a_3 \cos(3x) - \\ \left. 9 a_3 x^2 \cos(3x) - 12 a_3 x \sin(3x) - 9 a_4 \sin(3x) + 6 a_5 \cos(3x) - \right. \\ \left. 9 a_5 x \sin(3x) + 12 a_6 x \cos(3x) + 2 a_6 \sin(3x) - 9 a_6 x^2 \sin(3x) \right) \end{array}


Substitute the particular solution yp(x)y_{p}(x) into the differential equation:


9d2yp(x)dx2+yp(x)=sin(3x)+x2sin(3x)9 \frac {d ^ {2} y _ {p} (x)}{d x ^ {2}} + y _ {p} (x) = \sin (3 x) + x ^ {2} \sin (3 x)9(9a1cos(3x)9a2xcos(3x)6a2sin(3x)+2a3cos(3x)9a3x2cos(3x)12a3xsin(3x)9a4sin(3x)+6a5cos(3x)9a5xsin(3x)+12a6xcos(3x)+2a6sin(3x)9a6x2sin(3x))+(a1cos(3x)+a2xcos(3x)+a3x2cos(3x)+a4sin(3x)+a5xsin(3x)+a6x2sin(3x))=sin(3x)+x2sin(3x)\begin{array}{l} 9 \left(- 9 a _ {1} \cos (3 x) - 9 a _ {2} x \cos (3 x) - 6 a _ {2} \sin (3 x) + 2 a _ {3} \cos (3 x) - \right. \\ \left. 9 a _ {3} x ^ {2} \cos (3 x) - 12 a _ {3} x \sin (3 x) - 9 a _ {4} \sin (3 x) + 6 a _ {5} \cos (3 x) - \right. \\ \left. 9 a _ {5} x \sin (3 x) + 12 a _ {6} x \cos (3 x) + 2 a _ {6} \sin (3 x) - 9 a _ {6} x ^ {2} \sin (3 x)\right) + \\ \left(a _ {1} \cos (3 x) + a _ {2} x \cos (3 x) + a _ {3} x ^ {2} \cos (3 x) + a _ {4} \sin (3 x) + \right. \\ \left. a _ {5} x \sin (3 x) + a _ {6} x ^ {2} \sin (3 x)\right) = \sin (3 x) + x ^ {2} \sin (3 x) \end{array}


Simplify:


(80a1+18a3+54a5)cos(3x)+(80a2+108a6)xcos(3x)80a3x2cos(3x)+(54a280a4+18a6)sin(3x)+(108a380a5)xsin(3x)80a6x2sin(3x)=sin(3x)+x2sin(3x)\begin{array}{l} \left(- 80 a _ {1} + 18 a _ {3} + 54 a _ {5}\right) \cos (3 x) + \left(- 80 a _ {2} + 108 a _ {6}\right) x \cos (3 x) - \\ \left. 80 a _ {3} x ^ {2} \cos (3 x) + \left(- 54 a _ {2} - 80 a _ {4} + 18 a _ {6}\right) \sin (3 x) + \right. \\ \left(- 108 a _ {3} - 80 a _ {5}\right) x \sin (3 x) - 80 a _ {6} x ^ {2} \sin (3 x) = \sin (3 x) + x ^ {2} \sin (3 x) \end{array}


Equate the coefficients of cos(3x)\cos (3x) on both sides of the equation:


80a1+18a3+54a5=0- 80 a _ {1} + 18 a _ {3} + 54 a _ {5} = 0


Equate the coefficients of xcos(3x)x \cos (3x) on both sides of the equation:


80a2+108a6=0- 80 a _ {2} + 108 a _ {6} = 0


Equate the coefficients of x2cos(3x)x^{2} \cos (3x) on both sides of the equation:


80a3=0- 80 a _ {3} = 0


Equate the coefficients of sin(3x)\sin (3x) on both sides of the equation:


54a280a4+18a6=1- 54 a _ {2} - 80 a _ {4} + 18 a _ {6} = 1


Equate the coefficients of xsin(3x)x \sin (3x) on both sides of the equation:


108a380a5=0- 108 a _ {3} - 80 a _ {5} = 0


Equate the coefficients of x2sin(3x)x^{2} \sin(3x) on both sides of the equation:


80a6=1-80a_6 = 1


Solve the system:


a1=0a2=271600a3=0a4=25164000a5=0a6=180\begin{array}{l} a_1 = 0 \\ a_2 = -\frac{27}{1600} \\ a_3 = 0 \\ a_4 = -\frac{251}{64000} \\ a_5 = 0 \\ a_6 = -\frac{1}{80} \\ \end{array}


Substitute a1,a2,a3,a4,a5a_1, a_2, a_3, a_4, a_5, and a6a_6 into


yp(x)=a1cos(3x)+a2xcos(3x)+a3x2cos(3x)+a4sin(3x)+a5xsin(3x)+a6x2sin(3x)\begin{array}{l} y_p(x) = a_1 \cos(3x) + a_2 x \cos(3x) + a_3 x^2 \cos(3x) + \\ a_4 \sin(3x) + a_5 x \sin(3x) + a_6 x^2 \sin(3x) \\ \end{array}yp(x)=27xcos(3x)1600251sin(3x)64000180x2sin(3x)y_p(x) = -\frac{27x \cos(3x)}{1600} - \frac{251 \sin(3x)}{64000} - \frac{1}{80} x^2 \sin(3x)


The general solution is:


y(x)=yc(x)+yp(x)=27xcos(3x)1600251sin(3x)64000180x2sin(3x)+c1cos(x3)+c2sin(x3)\begin{array}{l} y(x) = y_c(x) + y_p(x) = \\ -\frac{27x \cos(3x)}{1600} - \frac{251 \sin(3x)}{64000} - \frac{1}{80} x^2 \sin(3x) + c_1 \cos\left(\frac{x}{3}\right) + c_2 \sin\left(\frac{x}{3}\right) \\ \end{array}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS