Question Number 38074 by ajfour last updated on 21/Jun/18
$$\int\frac{{dx}}{{a}+{b}\mathrm{tan}\:^{\mathrm{2}} {x}}\:=\:? \\ $$
Commented by prof Abdo imad last updated on 21/Jun/18
$${changement}\:{tanx}={t}\:{give} \\ $$$${I}\:=\:\int\:\:\frac{\mathrm{1}}{{a}+{bt}^{\mathrm{2}} }\:\frac{{dt}}{\mathrm{1}+{t}^{\mathrm{2}} }\:=\int\:\:\:\:\frac{{dt}}{\left(\mathrm{1}+{t}^{\mathrm{2}} \right)\left({a}+{bt}^{\mathrm{2}} \right)} \\ $$$${let}\:{decompose}\:{F}\left({t}\right)=\:\frac{\mathrm{1}}{\left(\mathrm{1}+{t}^{\mathrm{2}} \right)\left({a}+{bt}^{\mathrm{2}} \right)} \\ $$$${F}\left({t}\right)=\:\frac{\alpha{t}\:+\beta}{{t}^{\mathrm{2}} \:+\mathrm{1}}\:+\frac{{ct}\:+{d}}{{bt}^{\mathrm{2}} \:+{a}} \\ $$$${F}\left(−{t}\right)={F}\left({t}\right)\:\Rightarrow\frac{−\alpha{t}\:+\beta}{{t}^{\mathrm{2}} \:+\mathrm{1}}\:+\frac{−{ct}\:+{d}}{{bt}^{\mathrm{2}} \:+{a}}\:={F}\left({t}\right)\Rightarrow \\ $$$$\alpha={c}=\mathrm{0}\:\Rightarrow{F}\left({t}\right)=\frac{\beta}{\mathrm{1}+{t}^{\mathrm{2}} }\:+\frac{{d}}{{bt}^{\mathrm{2}} \:+{a}} \\ $$$${lim}_{{t}\rightarrow+\infty} {t}^{\mathrm{2}} {F}\left({t}\right)=\mathrm{0}=\beta\:+\frac{{d}}{{b}}\:\Rightarrow{b}\beta\:+{d}=\mathrm{0}\:\Rightarrow \\ $$$${d}=−{b}\beta\:\Rightarrow{F}\left({t}\right)=\frac{\beta}{\mathrm{1}+{t}^{\mathrm{2}} }\:−\frac{{b}\beta}{{bt}^{\mathrm{2}} \:+{a}} \\ $$$${F}\left(\mathrm{0}\right)=\:\frac{\mathrm{1}}{{a}}\:=\beta\:−\frac{{b}\beta}{{a}}\:\Rightarrow\mathrm{1}={a}\beta\:−{b}\beta\:\Rightarrow\beta=\:\frac{\mathrm{1}}{{a}−{b}} \\ $$$${if}\:{a}\neq{b}\:\Rightarrow{F}\left({t}\right)=\:\frac{\mathrm{1}}{{a}−{b}}\left\{\:\frac{\mathrm{1}}{\mathrm{1}+{t}^{\mathrm{2}} }\:−\frac{{b}}{{bt}^{\mathrm{2}} \:+{a}}\right\} \\ $$$${I}\:=\:\int\:{F}\left({t}\right){dt}\:\Rightarrow\left({a}−{b}\right){I}=\:\int\:\:\frac{{dt}}{\mathrm{1}+{t}^{\mathrm{2}} }\:−\int\:\:\:\:\frac{{dt}}{{t}^{\mathrm{2}} \:+\frac{{a}}{{b}}} \\ $$$${case}\mathrm{1}\:\frac{{a}}{{b}}>\mathrm{0}\:\:{we}\:{do}\:{the}\:{chang}.{t}=\sqrt{\frac{{a}}{{b}}}\:{u} \\ $$$$\int\:\:\:\:\:\frac{{dt}}{{t}^{\mathrm{2}} \:+\frac{{a}}{{b}}}\:=\:\int\:\:\:\:\frac{\mathrm{1}}{\frac{{a}}{{b}}\left(\mathrm{1}+{u}^{\mathrm{2}} \right)}\:\sqrt{\frac{{a}}{{b}}}\:{du} \\ $$$$=\frac{{b}}{{a}}\:\sqrt{\frac{{a}}{{b}}}\:{arctanu}\:=\sqrt{\frac{{b}}{{a}}}\:{arctan}\left(\sqrt{\frac{{b}}{{a}}}{tanx}\right)\Rightarrow \\ $$$$\left({a}−{b}\right){I}=\:{x}\:−\sqrt{\frac{{b}}{{a}}}\:{arctan}\left(\sqrt{\frac{{b}}{{a}}}{tanx}\right)\Rightarrow \\ $$$${I}=\:\frac{\mathrm{1}}{{a}−{b}}\left\{\:{x}−\sqrt{\frac{{b}}{{a}}}{arctan}\left(\sqrt{\frac{{b}}{{a}}}{tanx}\right)\:+\lambda\right. \\ $$$${case}\mathrm{2}\:\:\frac{{a}}{{b}}<\mathrm{0}\:\:\: \\ $$$$\int\:\:\:\:\:\frac{{dt}}{{t}^{\mathrm{2}} \:+\frac{{a}}{{b}}}\:=\int\:\:\:\:\frac{{dt}}{{t}^{\mathrm{2}} −\left(\sqrt{−\frac{{a}}{{b}}}\right)^{\mathrm{2}} } \\ $$$$=\:\frac{\mathrm{1}}{\mathrm{2}\sqrt{−\frac{{a}}{{b}}}}\int\:\:\left(\:\:\:\frac{\mathrm{1}}{{t}−\sqrt{−\frac{{a}}{{b}}}}\:−\frac{\mathrm{1}}{{t}\:+\sqrt{−\frac{{a}}{{b}}}}\right){dt} \\ $$$$=\:\frac{\mathrm{1}}{\mathrm{2}\sqrt{−\frac{{a}}{{b}}}}{ln}\mid\:\:\frac{{t}−\sqrt{−\frac{{a}}{{b}}}}{{t}+\sqrt{−\frac{{a}}{{b}}}}\mid\:\Rightarrow \\ $$$${I}\:=\:\frac{\mathrm{1}}{{a}−{b}}\left\{\:{x}\:−\frac{\mathrm{1}}{\mathrm{2}\sqrt{−\frac{{a}}{{b}}}}\:{ln}\mid\frac{{tan}\left({x}\right)\:−\sqrt{−\frac{{a}}{{b}}}}{{tanx}\:+\sqrt{−\frac{{a}}{{b}}}}\mid\right\}\:+\lambda \\ $$$$ \\ $$
Commented by prof Abdo imad last updated on 21/Jun/18
$${if}\:{a}={b}\:\:{I}\:\:=\:\frac{\mathrm{1}}{{a}}\:\int\:\:\:\:\:\frac{{dx}}{\mathrm{1}+{tan}^{\mathrm{2}} {x}}\:\:\:\:\left({a}\neq\mathrm{0}\right) \\ $$$$=\frac{\mathrm{1}}{{a}}\:\int\:{cos}^{\mathrm{2}} {x}\:{dx}=\frac{\mathrm{1}}{{a}}\:\int\:\:\frac{\mathrm{1}+{cos}\left(\mathrm{2}{x}\right)}{\mathrm{2}}{dx} \\ $$$$=\:\frac{{x}}{\mathrm{2}{a}}\:\:+\frac{\mathrm{1}}{\mathrm{4}{a}}\:{sin}\left(\mathrm{2}{x}\right)\:+\:\lambda\:. \\ $$
Commented by ajfour last updated on 21/Jun/18
$${Wow}\:{Sir},\:{thank}\:{you}\:. \\ $$
Commented by math khazana by abdo last updated on 21/Jun/18
$${nevermind}\:{sir}\:{Ajfour}. \\ $$
Answered by behi83417@gmail.com last updated on 21/Jun/18
$${tg}^{\mathrm{2}} {x}=\frac{{a}}{{b}}{t}\Rightarrow{tgx}=\sqrt{\frac{{a}}{{b}}{t}} \\ $$$$\mathrm{2}{tgx}\left(\mathrm{1}+{tg}^{\mathrm{2}} {x}\right){dx}=\frac{{a}}{{b}}{dt}\Rightarrow \\ $$$$\mathrm{2}\sqrt{\frac{{at}}{{b}}}\left(\mathrm{1}+\frac{{at}}{{b}}\right){dx}=\frac{{a}}{{b}}{dt}\Rightarrow{dx}=\frac{{adt}}{\mathrm{2}\sqrt{\frac{{at}}{{b}}}.\left({b}+{at}\right)} \\ $$$$\Rightarrow{I}=\frac{\mathrm{1}}{\mathrm{2}\sqrt{\frac{{a}}{{b}}}}\int\frac{\frac{{adt}}{\:\sqrt{{t}}\left({b}+{at}\right)}}{{a}+{at}}={m}\int\frac{{dt}}{\:\sqrt{{t}}\left(\mathrm{1}+{t}\right)\left({b}+{at}\right)} \\ $$$${m}=\left(\mathrm{2}\sqrt{\frac{{a}}{{b}}}\right)^{−\mathrm{1}} ,{t}={u}^{\mathrm{2}} \Rightarrow{dt}=\mathrm{2}{udu} \\ $$$${I}={m}\int\frac{\mathrm{2}{udu}}{{u}\left(\mathrm{1}+{u}^{\mathrm{2}} \right)\left({b}+{au}^{\mathrm{2}} \right)}=\mathrm{2}{m}\int\frac{{du}}{\left(\mathrm{1}+{u}^{\mathrm{2}} \right)\left({b}+{au}^{\mathrm{2}} \right)}= \\ $$$$=\mathrm{2}{m}\left[{a}.\frac{\mathrm{1}}{\mathrm{4}\sqrt{{ab}}}{tg}^{−\mathrm{1}} \left({a}.\frac{{u}}{\:\sqrt{{ab}}}\right)−\frac{\mathrm{1}}{\mathrm{4}}{tg}^{−\mathrm{1}} {u}\right]+{const} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}{m}\left[\sqrt{\frac{{a}}{{b}}}.{tg}^{−\mathrm{1}} \left(\sqrt{\frac{{a}}{{b}}}{u}\right)−{tg}^{−\mathrm{1}} {u}+{const}=\right. \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}.\frac{\mathrm{1}}{\mathrm{2}}\sqrt{\frac{{b}}{{a}}}.\sqrt{\frac{{a}}{{b}}}{tg}^{−\mathrm{1}} \left(\sqrt{\frac{{a}}{{b}}}.\sqrt{\frac{{b}}{{a}}}.{tgx}\right)− \\ $$$$−\frac{\mathrm{1}}{\mathrm{4}}.\sqrt{\frac{{b}}{{a}}}.{tg}^{−\mathrm{1}} \left(\sqrt{\frac{{b}}{{a}}}.{tgx}\right)+{const}= \\ $$$$=\frac{\mathrm{1}}{\mathrm{4}}\boldsymbol{{x}}−\frac{\mathrm{1}}{\mathrm{4}}.\sqrt{\frac{\boldsymbol{{b}}}{\boldsymbol{{a}}}}.\boldsymbol{{arctg}}\left[\sqrt{\frac{\boldsymbol{{b}}}{\boldsymbol{{a}}}}.\boldsymbol{{tgx}}\right]+\boldsymbol{{const}}.\:\blacksquare \\ $$
Commented by ajfour last updated on 21/Jun/18
$${God}\:{bless}\:{you}\:{Sir}. \\ $$