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 95748 by bobhans last updated on 27/May/20

y′′ = sin x−cos x

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

Answered by mathmax by abdo last updated on 27/May/20

⇒y^′  =∫(sinx−cosx)dx =−cosx−sinx +c ⇒y =∫(−cosx−sinx +c)dx  −sinx +cosx +cx +λ

$$\Rightarrow\mathrm{y}^{'} \:=\int\left(\mathrm{sinx}−\mathrm{cosx}\right)\mathrm{dx}\:=−\mathrm{cosx}−\mathrm{sinx}\:+\mathrm{c}\:\Rightarrow\mathrm{y}\:=\int\left(−\mathrm{cosx}−\mathrm{sinx}\:+\mathrm{c}\right)\mathrm{dx} \\ $$$$−\mathrm{sinx}\:+\mathrm{cosx}\:+\mathrm{cx}\:+\lambda \\ $$

Commented by bobhans last updated on 27/May/20

not homogenous?

$$\mathrm{not}\:\mathrm{homogenous}? \\ $$

Answered by bobhans last updated on 27/May/20

r^2 = 0 ⇒ r = 0; 0  y_h  = Ae^(0x)  +Bxe^(0x)  = A+Bx   particular   y_p  = C_1 sin x + C_2 cos x

$$\mathrm{r}^{\mathrm{2}} =\:\mathrm{0}\:\Rightarrow\:\mathrm{r}\:=\:\mathrm{0};\:\mathrm{0} \\ $$$$\mathrm{y}_{\mathrm{h}} \:=\:\mathrm{Ae}^{\mathrm{0x}} \:+\mathrm{Bxe}^{\mathrm{0x}} \:=\:\mathrm{A}+\mathrm{Bx}\: \\ $$$$\mathrm{particular}\: \\ $$$$\mathrm{y}_{\mathrm{p}} \:=\:\mathrm{C}_{\mathrm{1}} \mathrm{sin}\:\mathrm{x}\:+\:\mathrm{C}_{\mathrm{2}} \mathrm{cos}\:\mathrm{x}\: \\ $$

Commented by mr W last updated on 27/May/20

particular solution should have no  constant in it! that′s why it is called  “particular”.  in this case it is −sin x+cos x, not  C_1 sin x+C_2 cos x.

$${particular}\:{solution}\:{should}\:{have}\:{no} \\ $$$${constant}\:{in}\:{it}!\:{that}'{s}\:{why}\:{it}\:{is}\:{called} \\ $$$$``{particular}''. \\ $$$${in}\:{this}\:{case}\:{it}\:{is}\:−\mathrm{sin}\:{x}+\mathrm{cos}\:{x},\:{not} \\ $$$${C}_{\mathrm{1}} \mathrm{sin}\:{x}+{C}_{\mathrm{2}} \mathrm{cos}\:{x}. \\ $$

Commented by john santu last updated on 28/May/20

y′_p = C_1 cos x−C_2 sin x   y_p ′′ = −C_1 sin x−C_2 cos x = sin x−cos x  we get −C_1 =1 ⇒C_1 =−1  −C_2 =−1⇒C_2 = 1  y_p = −sin x+cos x  complete solution  y_c  = A+Bx−sin x+ cos x

$$\mathrm{y}'_{\mathrm{p}} =\:\mathrm{C}_{\mathrm{1}} \mathrm{cos}\:\mathrm{x}−\mathrm{C}_{\mathrm{2}} \mathrm{sin}\:\mathrm{x}\: \\ $$$$\mathrm{y}_{\mathrm{p}} ''\:=\:−\mathrm{C}_{\mathrm{1}} \mathrm{sin}\:\mathrm{x}−\mathrm{C}_{\mathrm{2}} \mathrm{cos}\:\mathrm{x}\:=\:\mathrm{sin}\:\mathrm{x}−\mathrm{cos}\:\mathrm{x} \\ $$$$\mathrm{we}\:\mathrm{get}\:−\mathrm{C}_{\mathrm{1}} =\mathrm{1}\:\Rightarrow\mathrm{C}_{\mathrm{1}} =−\mathrm{1} \\ $$$$−\mathrm{C}_{\mathrm{2}} =−\mathrm{1}\Rightarrow\mathrm{C}_{\mathrm{2}} =\:\mathrm{1} \\ $$$$\mathrm{y}_{\mathrm{p}} =\:−\mathrm{sin}\:\mathrm{x}+\mathrm{cos}\:\mathrm{x} \\ $$$$\mathrm{complete}\:\mathrm{solution} \\ $$$$\mathrm{y}_{\mathrm{c}} \:=\:\mathrm{A}+\mathrm{Bx}−\mathrm{sin}\:\mathrm{x}+\:\mathrm{cos}\:\mathrm{x}\: \\ $$

Commented by mr W last updated on 28/May/20

please recheck:  −C_1 =−1 ⇒C_1 =1  y_p = −sin x+cos x

$${please}\:{recheck}: \\ $$$$−{C}_{\mathrm{1}} =−\mathrm{1}\:\Rightarrow{C}_{\mathrm{1}} =\mathrm{1} \\ $$$$\mathrm{y}_{\mathrm{p}} =\:−\mathrm{sin}\:\mathrm{x}+\mathrm{cos}\:\mathrm{x} \\ $$

Terms of Service

Privacy Policy

Contact: info@tinkutara.com