Question Number 101192 by bemath last updated on 01/Jul/20
$$\int\:\frac{{x}}{\mathrm{1}+\mathrm{sin}\:{x}}\:{dx}\: \\ $$
Commented by bobhans last updated on 01/Jul/20
$$\mathrm{set}\:{z}\:=\:\frac{\pi}{\mathrm{2}}−{x}\:\Rightarrow\:{dx}\:=\:−{dz} \\ $$$${I}=\int\:\frac{\frac{\pi}{\mathrm{2}}−{z}}{\mathrm{1}+\mathrm{sin}\:\left(\frac{\pi}{\mathrm{2}}−{z}\right)}\:\left(−{dz}\right)\:=\:\int\:\frac{{z}−\frac{\pi}{\mathrm{2}}}{\mathrm{1}+\mathrm{cos}\:{z}}\:{dz} \\ $$$$=\:\int\:\left(\mathrm{z}−\frac{\pi}{\mathrm{2}}\right)\:\mathrm{d}\left(\mathrm{tan}\:\left(\frac{\mathrm{z}}{\mathrm{2}}\right)\right)\:=\:\left(\mathrm{z}−\frac{\pi}{\mathrm{2}}\right)\mathrm{tan}\:\left(\frac{\mathrm{z}}{\mathrm{2}}\right)+\mathrm{2}\:\mathrm{ln}\left(\mathrm{cos}\:\left(\frac{\mathrm{z}}{\mathrm{2}}\right)\right)\:+\:\mathrm{c} \\ $$$$=\:−{x}\:\mathrm{tan}\:\left(\frac{\pi−\mathrm{2}{x}}{\mathrm{4}}\right)\:+\:\mathrm{2ln}\:\left(\mathrm{cos}\:\left(\frac{\pi−\mathrm{2}{x}}{\mathrm{4}}\right)\right)\:+\:{c} \\ $$$$ \\ $$
Commented by bemath last updated on 01/Jul/20
$$\mathrm{thank}\:\mathrm{you}\:\mathrm{both} \\ $$
Answered by smridha last updated on 01/Jul/20
$$\int\frac{\boldsymbol{{x}}\left(\mathrm{1}−\boldsymbol{{sinx}}\right)}{\left(\mathrm{1}+\boldsymbol{{sinx}}\right)\left(\mathrm{1}−\boldsymbol{{sinx}}\right)}\boldsymbol{{dx}} \\ $$$$=\int\boldsymbol{{xsec}}^{\mathrm{2}} \boldsymbol{{x}}\:\boldsymbol{{dx}}−\int\boldsymbol{{xtanx}}.\boldsymbol{{secx}}\:\boldsymbol{{dx}} \\ $$$$=\boldsymbol{{xtanx}}+\boldsymbol{{ln}}\left[\boldsymbol{{cosx}}\right]−\boldsymbol{{xsecx}}+\boldsymbol{{ln}}\left[\boldsymbol{{tan}}\left\{\frac{\boldsymbol{\pi}}{\mathrm{4}}+\frac{\boldsymbol{{x}}}{\mathrm{2}}\right\}\right]+\boldsymbol{{c}} \\ $$$$\boldsymbol{{or}}\: \\ $$$$=\boldsymbol{{x}}\left(\boldsymbol{{tanx}}−\boldsymbol{{secx}}\right)−\boldsymbol{{ln}}\left(\boldsymbol{{secx}}\right)+\boldsymbol{{ln}}\left[\boldsymbol{{secx}}+\boldsymbol{{tanx}}\right]+\boldsymbol{{c}} \\ $$