Question Number 64802 by mmkkmm000m last updated on 21/Jul/19
$$\int\left({cos}^{\mathrm{4}} {x}+{sin}^{\mathrm{4}} {x}\right)/\left({cos}\mathrm{2}{x}+\mathrm{1}\right){dx} \\ $$
Commented by mathmax by abdo last updated on 22/Jul/19
$${let}\:{I}\:=\int\:\:\frac{{cos}^{\mathrm{4}} {x}+{sin}^{\mathrm{4}} {x}}{{cos}\left(\mathrm{2}{x}\right)+\mathrm{1}}{dx}\:\Rightarrow{I}\:=\int\:\frac{\left({cos}^{\mathrm{2}} {x}\:+{sin}^{\mathrm{2}} {x}\right)^{\mathrm{2}} −\mathrm{2}{cos}^{\mathrm{2}} {xsin}^{\mathrm{2}} {x}}{{cos}\left(\mathrm{2}{x}\right)+\mathrm{1}} \\ $$$$=\:\int\frac{\mathrm{1}−\frac{\mathrm{1}}{\mathrm{2}}{sin}\left(\mathrm{2}{x}\right)}{{cos}\left(\mathrm{2}{x}\right)+\mathrm{1}}\:{dx}\:=\frac{\mathrm{1}}{\mathrm{2}}\:\int\:\frac{\mathrm{2}−{sin}\left(\mathrm{2}{x}\right)}{{cos}\left(\mathrm{2}{x}\right)+\mathrm{1}}\:=_{\mathrm{2}{x}={t}} \:\:\:\frac{\mathrm{1}}{\mathrm{2}}\:\int\frac{\mathrm{2}−{sint}}{{cost}\:+\mathrm{1}}\:\frac{{dt}}{\mathrm{2}} \\ $$$$=\frac{\mathrm{1}}{\mathrm{4}}\:\int\:\frac{\mathrm{2}−{sint}}{\mathrm{1}+{cos}\left({t}\right)}{dt}\:=_{{tan}\left(\frac{{t}}{\mathrm{2}}\right)\:={u}} \:\:\:\frac{\mathrm{1}}{\mathrm{4}}\:\int\:\:\frac{\mathrm{2}−\frac{\mathrm{2}{u}}{\mathrm{1}+{u}^{\mathrm{2}} }}{\mathrm{1}+\frac{\mathrm{1}−{u}^{\mathrm{2}} }{\mathrm{1}+{u}^{\mathrm{2}} }}\:\frac{\mathrm{2}{du}}{\mathrm{1}+{u}^{\mathrm{2}} } \\ $$$$=\int\:\:\:\:\:\frac{\mathrm{1}−\frac{{u}}{\mathrm{1}+{u}^{\mathrm{2}} }}{\mathrm{1}+{u}^{\mathrm{2}} \:+\mathrm{1}−{u}^{\mathrm{2}} }\:{du}\:=\:\int\frac{\frac{\mathrm{1}+{u}^{\mathrm{2}} −{u}}{\mathrm{1}+{u}^{\mathrm{2}} }}{\mathrm{2}}\:{du}\:=\int\:\frac{{u}^{\mathrm{2}} −{u}+\mathrm{1}}{\mathrm{2}\left(\mathrm{1}+{u}^{\mathrm{2}} \right)}{du} \\ $$$$=\int\:\frac{{u}^{\mathrm{2}} +\mathrm{1}−{u}}{\mathrm{2}\left(\mathrm{1}+{u}^{\mathrm{2}} \right)}{du}\:=\frac{{u}}{\mathrm{2}}−\frac{\mathrm{1}}{\mathrm{2}}\:\int\:\frac{{udu}}{\mathrm{1}+{u}^{\mathrm{2}} }\:=\frac{{u}}{\mathrm{2}}\:−\frac{\mathrm{1}}{\mathrm{4}}{ln}\left(\mathrm{1}+{u}^{\left.\mathrm{2}\right)} \:+{C}\right. \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}{tan}\left(\frac{{t}}{\mathrm{2}}\right)−\frac{\mathrm{1}}{\mathrm{4}}{ln}\left(\mathrm{1}+{tan}^{\mathrm{2}} \left(\frac{{t}}{\mathrm{2}}\right)\right)\:+{C} \\ $$$$=\frac{\mathrm{1}}{\mathrm{2}}{tan}\left({x}\right)−\frac{\mathrm{1}}{\mathrm{4}}{ln}\left(\mathrm{1}+{tan}^{\mathrm{2}} \left({x}\right)\right)\:+{C}\:. \\ $$
Answered by Tanmay chaudhury last updated on 21/Jul/19
$$\int\left({cos}^{\mathrm{2}} {x}+{sin}^{\mathrm{2}} {x}\right)^{\mathrm{2}} −\mathrm{2}{cos}^{\mathrm{2}} {xsin}^{\mathrm{2}} {x}\:\:{dx} \\ $$$$\int\mathrm{1}−\frac{\mathrm{1}}{\mathrm{2}}\left({sin}^{\mathrm{2}} \mathrm{2}{x}\right){dx} \\ $$$$\int\frac{\mathrm{2}−\left(\frac{\mathrm{1}−{cos}\mathrm{4}{x}}{\mathrm{2}}\right)}{\mathrm{2}}{dx} \\ $$$$\frac{\mathrm{1}}{\mathrm{4}}\int\mathrm{3}+{cos}\mathrm{4}{x}\:\:{dx} \\ $$$$\frac{\mathrm{3}}{\mathrm{4}}{x}+\frac{{sin}\mathrm{4}{x}}{\mathrm{16}}+{c} \\ $$