Question and Answers Forum

All Questions      Topic List

Differential Equation Questions

Previous in All Question      Next in All Question      

Previous in Differential Equation      Next in Differential Equation      

Question Number 98106 by bobhans last updated on 11/Jun/20

y′′+y = cos 3x−2sin 3x

$$\mathrm{y}''+\mathrm{y}\:=\:\mathrm{cos}\:\mathrm{3x}−\mathrm{2sin}\:\mathrm{3x} \\ $$

Answered by bemath last updated on 11/Jun/20

homogenous solution   λ^2 +1=0 ⇒λ = ± i  y_h  = Acos x + Bsin x  particular solution  y_p  = a cos 3x+bsin 3x  y_p ′=−3asin 3x+3bcos 3x  y_p ′′ = −9acos 3x−9bsin 3x  ⇔(−9acos 3x−9bsin 3x)+(acos 3x+bsin 3x)=  cos 3x−2sin 3x  ⇔−8acos 3x−8bsin 3x =  cos 3x−2sin 3x   we get  { ((−8a=1 →a=−(1/8))),((−8b=−2→b=(1/4))) :}  then y_p =−(1/8)cos 3x+(1/4)sin 3x  generall solution  y_c  = Acos x+Bsin x−(1/8)cos 3x+(1/4)sin 3x

$$\mathrm{homogenous}\:\mathrm{solution}\: \\ $$$$\lambda^{\mathrm{2}} +\mathrm{1}=\mathrm{0}\:\Rightarrow\lambda\:=\:\pm\:{i} \\ $$$$\mathrm{y}_{\mathrm{h}} \:=\:\mathrm{Acos}\:\mathrm{x}\:+\:\mathrm{Bsin}\:\mathrm{x} \\ $$$$\mathrm{particular}\:\mathrm{solution} \\ $$$$\mathrm{y}_{\mathrm{p}} \:=\:{a}\:\mathrm{cos}\:\mathrm{3}{x}+{b}\mathrm{sin}\:\mathrm{3}{x} \\ $$$$\mathrm{y}_{\mathrm{p}} '=−\mathrm{3}{a}\mathrm{sin}\:\mathrm{3}{x}+\mathrm{3}{b}\mathrm{cos}\:\mathrm{3}{x} \\ $$$$\mathrm{y}_{\mathrm{p}} ''\:=\:−\mathrm{9acos}\:\mathrm{3}{x}−\mathrm{9}{b}\mathrm{sin}\:\mathrm{3}{x} \\ $$$$\Leftrightarrow\left(−\mathrm{9acos}\:\mathrm{3x}−\mathrm{9bsin}\:\mathrm{3x}\right)+\left(\mathrm{acos}\:\mathrm{3x}+\mathrm{bsin}\:\mathrm{3x}\right)= \\ $$$$\mathrm{cos}\:\mathrm{3x}−\mathrm{2sin}\:\mathrm{3x} \\ $$$$\Leftrightarrow−\mathrm{8acos}\:\mathrm{3x}−\mathrm{8bsin}\:\mathrm{3x}\:= \\ $$$$\mathrm{cos}\:\mathrm{3x}−\mathrm{2sin}\:\mathrm{3x}\: \\ $$$$\mathrm{we}\:\mathrm{get}\:\begin{cases}{−\mathrm{8a}=\mathrm{1}\:\rightarrow\mathrm{a}=−\frac{\mathrm{1}}{\mathrm{8}}}\\{−\mathrm{8b}=−\mathrm{2}\rightarrow\mathrm{b}=\frac{\mathrm{1}}{\mathrm{4}}}\end{cases} \\ $$$$\mathrm{then}\:\mathrm{y}_{\mathrm{p}} =−\frac{\mathrm{1}}{\mathrm{8}}\mathrm{cos}\:\mathrm{3x}+\frac{\mathrm{1}}{\mathrm{4}}\mathrm{sin}\:\mathrm{3x} \\ $$$$\mathrm{generall}\:\mathrm{solution} \\ $$$$\mathrm{y}_{\mathrm{c}} \:=\:\mathrm{Acos}\:\mathrm{x}+\mathrm{Bsin}\:\mathrm{x}−\frac{\mathrm{1}}{\mathrm{8}}\mathrm{cos}\:\mathrm{3x}+\frac{\mathrm{1}}{\mathrm{4}}\mathrm{sin}\:\mathrm{3x} \\ $$

Answered by mathmax by abdo last updated on 11/Jun/20

(eh)→y^(′′)  +y =0→r^2  +1 =0⇒r=+^− i ⇒y_h  =acosx +bsinx  y_p  is at form y_p =αcos(3x)+β sin(3x)  y^′  =−3α sin(3x) +3β cos(3x) and y^(′′)  =−9α cos(3x) −9β sin(3x)  (e)⇒−9α cos(3x)+9β sin(3x) +α cos(3x)+β sin(3x) =cos(3x)−2sin(3x) ⇒  −8α cos(3x) +10β sin(3x) =cos(3x)−2sin(3x) ⇒ { ((−8α =1)),((10β =−2)) :}   { ((α =−(1/8)    the genearal solution is y =acosx +bsinx−(1/8)cos(3x)−(1/5)sin(3x))),((β=−(1/5))) :}

$$\left(\mathrm{eh}\right)\rightarrow\mathrm{y}^{''} \:+\mathrm{y}\:=\mathrm{0}\rightarrow\mathrm{r}^{\mathrm{2}} \:+\mathrm{1}\:=\mathrm{0}\Rightarrow\mathrm{r}=\overset{−} {+}\mathrm{i}\:\Rightarrow\mathrm{y}_{\mathrm{h}} \:=\mathrm{acosx}\:+\mathrm{bsinx} \\ $$$$\mathrm{y}_{\mathrm{p}} \:\mathrm{is}\:\mathrm{at}\:\mathrm{form}\:\mathrm{y}_{\mathrm{p}} =\alpha\mathrm{cos}\left(\mathrm{3x}\right)+\beta\:\mathrm{sin}\left(\mathrm{3x}\right) \\ $$$$\mathrm{y}^{'} \:=−\mathrm{3}\alpha\:\mathrm{sin}\left(\mathrm{3x}\right)\:+\mathrm{3}\beta\:\mathrm{cos}\left(\mathrm{3x}\right)\:\mathrm{and}\:\mathrm{y}^{''} \:=−\mathrm{9}\alpha\:\mathrm{cos}\left(\mathrm{3x}\right)\:−\mathrm{9}\beta\:\mathrm{sin}\left(\mathrm{3x}\right) \\ $$$$\left(\mathrm{e}\right)\Rightarrow−\mathrm{9}\alpha\:\mathrm{cos}\left(\mathrm{3x}\right)+\mathrm{9}\beta\:\mathrm{sin}\left(\mathrm{3x}\right)\:+\alpha\:\mathrm{cos}\left(\mathrm{3x}\right)+\beta\:\mathrm{sin}\left(\mathrm{3x}\right)\:=\mathrm{cos}\left(\mathrm{3x}\right)−\mathrm{2sin}\left(\mathrm{3x}\right)\:\Rightarrow \\ $$$$−\mathrm{8}\alpha\:\mathrm{cos}\left(\mathrm{3x}\right)\:+\mathrm{10}\beta\:\mathrm{sin}\left(\mathrm{3x}\right)\:=\mathrm{cos}\left(\mathrm{3x}\right)−\mathrm{2sin}\left(\mathrm{3x}\right)\:\Rightarrow\begin{cases}{−\mathrm{8}\alpha\:=\mathrm{1}}\\{\mathrm{10}\beta\:=−\mathrm{2}}\end{cases} \\ $$$$\begin{cases}{\alpha\:=−\frac{\mathrm{1}}{\mathrm{8}}\:\:\:\:\mathrm{the}\:\mathrm{genearal}\:\mathrm{solution}\:\mathrm{is}\:\mathrm{y}\:=\mathrm{acosx}\:+\mathrm{bsinx}−\frac{\mathrm{1}}{\mathrm{8}}\mathrm{cos}\left(\mathrm{3x}\right)−\frac{\mathrm{1}}{\mathrm{5}}\mathrm{sin}\left(\mathrm{3x}\right)}\\{\beta=−\frac{\mathrm{1}}{\mathrm{5}}}\end{cases} \\ $$

Commented by john santu last updated on 12/Jun/20

−9β+β=−2  −8β=−2 ⇒ β=(1/4)

$$−\mathrm{9}\beta+\beta=−\mathrm{2} \\ $$$$−\mathrm{8}\beta=−\mathrm{2}\:\Rightarrow\:\beta=\frac{\mathrm{1}}{\mathrm{4}} \\ $$

Terms of Service

Privacy Policy

Contact: info@tinkutara.com