Question Number 6444 by sanusihammed last updated on 27/Jun/16
$${I}\:=\:\int\frac{{dx}}{{sinx}\:+\:{sin}\mathrm{2}{x}} \\ $$
Commented by Temp last updated on 27/Jun/16
$$\mathrm{Try}\:\mathrm{www}.\mathrm{WolframAlpha}.\mathrm{com} \\ $$$$\mathrm{search}: \\ $$$$“{int}\:\mathrm{1}/\left({sin}\left({x}\right)+{sin}\left(\mathrm{2}{x}\right)\right)\:{dx}'' \\ $$$$\mathrm{if}\:\mathrm{you}\:\mathrm{want},\:\mathrm{for}\:\mathrm{example},\:\int_{\mathrm{1}} ^{\:\mathrm{2}} {xdx}: \\ $$$$“{int}\:{x}\:{dx}\:{from}\:{x}=\mathrm{1}\:{to}\:\mathrm{2}'' \\ $$
Answered by Yozzii last updated on 27/Jun/16
$${I}=\int\frac{{dx}}{{sinx}+{sin}\mathrm{2}{x}}=\int\frac{{dx}}{{sinx}\left(\mathrm{1}+\mathrm{2}{cosx}\right)} \\ $$$${Let}\:{u}={tan}\mathrm{0}.\mathrm{5}{x}\Rightarrow\frac{\mathrm{2}}{\mathrm{1}+{u}^{\mathrm{2}} }{du}={dx} \\ $$$${sinx}=\frac{\mathrm{2}{u}}{\mathrm{1}+{u}^{\mathrm{2}} }\:{and}\:{cosx}=\frac{\mathrm{1}−{u}^{\mathrm{2}} }{\mathrm{1}+{u}^{\mathrm{2}} }. \\ $$$$\therefore{I}=\int\frac{\mathrm{2}/\left(\mathrm{1}+{u}^{\mathrm{2}} \right)}{\frac{\mathrm{2}{u}}{\mathrm{1}+{u}^{\mathrm{2}} }\left(\mathrm{1}+\frac{\mathrm{2}\left(\mathrm{1}−{u}^{\mathrm{2}} \right)}{\mathrm{1}+{u}^{\mathrm{2}} }\right)}{du} \\ $$$${I}=\int\frac{\left(\mathrm{1}+{u}^{\mathrm{2}} \right)}{{u}\left(\mathrm{1}+{u}^{\mathrm{2}} +\mathrm{2}−\mathrm{2}{u}^{\mathrm{2}} \right)}{du} \\ $$$${I}=\int\frac{\mathrm{1}+{u}^{\mathrm{2}} }{{u}\left(\mathrm{3}−{u}^{\mathrm{2}} \right)}{du} \\ $$$${I}=−\int\frac{\mathrm{1}+{u}^{\mathrm{2}} }{{u}\left({u}−\sqrt{\mathrm{3}}\right)\left({u}+\sqrt{\mathrm{3}}\right)}{du} \\ $$$${Let}\:\frac{\mathrm{1}+{u}^{\mathrm{2}} }{{u}\left({u}−\sqrt{\mathrm{3}}\right)\left({u}+\sqrt{\mathrm{3}}\right)}\equiv\frac{{a}}{{u}}+\frac{{b}}{{u}−\sqrt{\mathrm{3}}}+\frac{{c}}{{u}+\sqrt{\mathrm{3}}} \\ $$$$\equiv\frac{{a}\left({u}^{\mathrm{2}} −\mathrm{3}\right)+{bu}\left({u}+\sqrt{\mathrm{3}}\right)+{cu}\left({u}−\sqrt{\mathrm{3}}\right)}{{u}\left({u}+\sqrt{\mathrm{3}}\right)\left({u}−\sqrt{\mathrm{3}}\right)} \\ $$$$\therefore\mathrm{1}+{u}^{\mathrm{2}} ={a}\left({u}^{\mathrm{2}} −\mathrm{3}\right)+{bu}\left({u}+\sqrt{\mathrm{3}}\right)+{cu}\left({u}−\sqrt{\mathrm{3}}\right) \\ $$$${Let}\:{u}=\mathrm{0}\therefore\:\mathrm{1}={a}\left(−\mathrm{3}\right)\Rightarrow{a}=\frac{−\mathrm{1}}{\mathrm{3}}. \\ $$$${Let}\:{u}=\sqrt{\mathrm{3}}\Rightarrow\mathrm{4}={b}\sqrt{\mathrm{3}}\left(\mathrm{2}\sqrt{\mathrm{3}}\right) \\ $$$$\mathrm{4}=\mathrm{6}{b}\Rightarrow{b}=\frac{\mathrm{2}}{\mathrm{3}} \\ $$$${Let}\:{u}=−\sqrt{\mathrm{3}}\Rightarrow\mathrm{4}={c}\left(−\sqrt{\mathrm{3}}\right)\left(−\mathrm{2}\sqrt{\mathrm{3}}\right) \\ $$$${c}=\frac{\mathrm{2}}{\mathrm{3}}. \\ $$$$\therefore\:{I}=−\int\left\{\frac{\mathrm{2}}{\mathrm{3}}\left(\frac{\mathrm{1}}{{u}+\sqrt{\mathrm{3}}}+\frac{\mathrm{1}}{{u}−\sqrt{\mathrm{3}}}\right)−\frac{\mathrm{1}}{\mathrm{3}{u}}\right\}{du} \\ $$$${I}=−\frac{\mathrm{1}}{\mathrm{3}}\int\left\{\mathrm{2}\left(\frac{\mathrm{1}}{{u}+\sqrt{\mathrm{3}}}+\frac{\mathrm{1}}{{u}−\sqrt{\mathrm{3}}}\right)−\frac{\mathrm{1}}{{u}}\right\}{du} \\ $$$${I}=\frac{−\mathrm{1}}{\mathrm{3}}\left[\mathrm{2}{ln}\mid\left({u}+\sqrt{\mathrm{3}}\right)\left({u}−\sqrt{\mathrm{3}}\right)\mid−{ln}\mid{u}\mid\right]+{C} \\ $$$${I}=\frac{−\mathrm{1}}{\mathrm{3}}{ln}\mid\frac{\left({u}^{\mathrm{2}} −\mathrm{3}\right)^{\mathrm{2}} }{{u}}\mid+{C} \\ $$$${I}=\frac{\mathrm{1}}{\mathrm{3}}{ln}\mid\frac{{u}}{\left({u}^{\mathrm{2}} −\mathrm{3}\right)^{\mathrm{2}} }\mid+{C}\: \\ $$$${I}=\frac{\mathrm{1}}{\mathrm{3}}{ln}\mid\frac{{tan}\mathrm{0}.\mathrm{5}{x}}{\left({tan}^{\mathrm{2}} \mathrm{0}.\mathrm{5}{x}−\mathrm{3}\right)^{\mathrm{2}} }\mid+{C} \\ $$$$ \\ $$
Commented by nburiburu last updated on 27/Jun/16
$${there}\:{is}\:{another}\:{way},\:{instead}\:{universal}\:{trigonometry}\:{substitution}: \\ $$$$\int\frac{\mathrm{1}}{{sin}\:{x}\:\left(\mathrm{1}+\mathrm{2}{cos}\:{x}\right)}.{dx}.\frac{{sin}\:{x}}{{sin}\:{x}}= \\ $$$$\int\frac{{sin}\:{x}}{{sin}^{\mathrm{2}} {x}\left(\mathrm{1}+\mathrm{2}{cosx}\right)}.{dx}= \\ $$$$\int\frac{{sin}\:{x}}{\left(\mathrm{1}−{cos}^{\mathrm{2}} {x}\right)\left(\mathrm{1}+\mathrm{2}{cos}\:{x}\right)}.{dx} \\ $$$${t}={cos}\:{x} \\ $$$${dt}=−{sin}\:{x}\:{dx} \\ $$$$\int\frac{−\mathrm{1}}{\left(\mathrm{1}−{t}^{\mathrm{2}} \right)\left(\mathrm{1}+\mathrm{2}{t}\right)}.{dt} \\ $$$${and}\:{using}\:{rational}\:{descomposition}\:{it}\:{is}\:{solved}. \\ $$$$\mathrm{1}−{t}^{\mathrm{2}} =\left(\mathrm{1}−{t}\right)\left(\mathrm{1}+{t}\right) \\ $$$$=−\int\frac{{A}}{\mathrm{1}−{t}}{dt}\:−\int\frac{{B}}{\mathrm{1}+{t}}{dt}\:−\int\frac{{C}}{\mathrm{1}+\mathrm{2}{t}}{dt}= \\ $$$$={A}\:{ln}\left(\mathrm{1}−{t}\right)−{B}\:{ln}\left(\mathrm{1}+{t}\right)−\frac{{C}}{\mathrm{2}}\:{ln}\left(\mathrm{1}+\mathrm{2}{t}\right)+{c} \\ $$$${where} \\ $$$$\mathrm{1}={A}\left(\mathrm{1}+{t}\right)\left(\mathrm{1}+\mathrm{2}{t}\right)+{B}\left(\mathrm{1}−{t}\right)\left(\mathrm{1}+\mathrm{2}{t}\right)+{C}\left(\mathrm{1}−{t}^{\mathrm{2}} \right) \\ $$$${and}\:{if}\:{t}=\mathrm{1}:\:\mathrm{1}={A}.\mathrm{2}.\mathrm{3}\Rightarrow{A}=\frac{\mathrm{1}}{\mathrm{6}} \\ $$$${if}\:{t}=−\mathrm{1}:\:\mathrm{1}={B}\left(−\mathrm{2}\right)\left(−\mathrm{1}\right)\Rightarrow{B}=\frac{\mathrm{1}}{\mathrm{2}} \\ $$$${if}\:{t}=−\frac{\mathrm{1}}{\mathrm{2}}:\:\mathrm{1}={C}\left(\mathrm{1}−\frac{\mathrm{1}}{\mathrm{4}}\right)\Rightarrow{C}=\frac{\mathrm{4}}{\mathrm{3}} \\ $$$${so} \\ $$$$=\frac{\mathrm{1}}{\mathrm{6}}\:{ln}\left(\mathrm{1}−{cos}\:{x}\right)−\frac{\mathrm{1}}{\mathrm{2}}{ln}\left(\mathrm{1}+{cos}\:{x}\right)−\frac{\mathrm{2}}{\mathrm{3}}{ln}\left(\mathrm{1}+\mathrm{2}{cos}\:{x}\right)+{c} \\ $$
Commented by sanusihammed last updated on 27/Jun/16
$${I}\:{really}\:{appreciate} \\ $$