Question #79197

dx+y=cos3x
o yP(x)=1/10(−3sin3x−cos3x)
o yP(x)=1/10(−3sin3x+cos3x)
o yP(x)=1/10(3sin3x−cos3x)
o yP(x)=1/10(3sin3x+cos3x)

Expert's answer

Answer on Question #79197 – Math – Differential Equations Question


dydx+y=cos3xyp=110(3sin3xcos3x)yp=110(3sin3x+cos3x)yp=110(3sin3xcos3x)yp=110(3sin3x+cos3x)\begin{array}{l} \frac{dy}{dx} + y = \cos 3x \\ y_p = \frac{1}{10}(-3 \sin 3x - \cos 3x) \\ y_p = \frac{1}{10}(-3 \sin 3x + \cos 3x) \\ y_p = \frac{1}{10}(3 \sin 3x - \cos 3x) \\ y_p = \frac{1}{10}(3 \sin 3x + \cos 3x) \\ \end{array}


Solution

First order non-homogeneous differential equation


dydx+y=cos3x\frac{dy}{dx} + y = \cos 3x


Solve the homogeneous equation


dyˉdx+yˉ=0dyˉyˉ=dxdyˉyˉ=dxlnyˉ=x+lnCyˉ=CexLet yp=Asin3x+Bcos3x\begin{array}{l} \frac{d\bar{y}}{dx} + \bar{y} = 0 \\ \frac{d\bar{y}}{\bar{y}} = -dx \\ \int \frac{d\bar{y}}{\bar{y}} = -\int dx \\ \ln |\bar{y}| = -x + \ln C \\ \bar{y} = C e^{-x} \\ \text{Let } y_p = A \sin 3x + B \cos 3x \\ \end{array}


Then


yp=3Acos3x3Bsin3xyp+yp=cos3x3Acos3x3Bsin3x+Asin3x+Bcos3x=cos3x{3A+B=13B+A=0{9A+B=1A=3B{A=310B=110yp=110(3sin3x+cos3x)y=yˉ+ypy=Cex+110(3sin3x+cos3x)\begin{array}{l} y_p' = 3A \cos 3x - 3B \sin 3x \\ y_p' + y_p = \cos 3x \\ 3A \cos 3x - 3B \sin 3x + A \sin 3x + B \cos 3x = \cos 3x \\ \left\{ \begin{array}{l} 3A + B = 1 \\ -3B + A = 0 \end{array} \right. \Rightarrow \left\{ \begin{array}{l} 9A + B = 1 \\ A = 3B \end{array} \right. \Rightarrow \left\{ \begin{array}{l} A = \frac{3}{10} \\ B = \frac{1}{10} \end{array} \right. \\ y_p = \frac{1}{10}(3 \sin 3x + \cos 3x) \\ y = \bar{y} + y_p \\ y = C e^{-x} + \frac{1}{10}(3 \sin 3x + \cos 3x) \\ \end{array}


Answer: the fourth option is correct, yp=110(3sin3x+cos3x)y_p = \frac{1}{10}(3 \sin 3x + \cos 3x),


y=Cex+110(3sin3x+cos3x).y = C e^{-x} + \frac{1}{10}(3 \sin 3x + \cos 3x).


Answer provided by https://www.AssignmentExpert.com

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