Question Number 64267 by Chi Mes Try last updated on 16/Jul/19
$$\mathrm{If}\:\underset{\:\mathrm{0}} {\overset{\pi} {\int}}\:\:\frac{\mathrm{1}}{{a}+{b}\:\mathrm{cos}\:{x}}\:{dx},\:{a}>\mathrm{0}\:\mathrm{is}\:\mathrm{equal}\:\mathrm{to}\:\frac{\pi}{\:\sqrt{{a}^{\mathrm{2}} −{b}^{\mathrm{2}} }}\:, \\ $$$$\mathrm{then}\:\underset{\:\mathrm{0}} {\overset{\pi} {\int}}\:\:\:\frac{\mathrm{1}}{\left({a}+{b}\:\mathrm{cos}\:{x}\right)^{\mathrm{2}} }\:{dx}\:= \\ $$
Commented by Prithwish sen last updated on 16/Jul/19
$$\int_{\mathrm{0}} ^{\pi} \frac{\mathrm{d}}{\mathrm{da}}\left[\frac{\mathrm{1}}{\mathrm{a}+\mathrm{bcosx}}\right]\mathrm{dx}\:=\frac{\mathrm{d}}{\mathrm{da}}\:\frac{\pi}{\:\sqrt{\mathrm{a}^{\mathrm{2}} −\mathrm{b}^{\mathrm{2}} }} \\ $$$$\int_{\mathrm{0}} ^{\pi} \frac{\mathrm{dx}}{\left(\mathrm{1}+\mathrm{cosx}\right)^{\mathrm{2}} }\:=\:\frac{\mathrm{a}\pi}{\left(\mathrm{a}^{\mathrm{2}} −\mathrm{b}^{\mathrm{2}} \right)^{\frac{\mathrm{3}}{\mathrm{2}}} }\:\:\mathrm{please}\:\mathrm{check}. \\ $$
Answered by Tanmay chaudhury last updated on 16/Jul/19
$$\int_{\mathrm{0}} ^{\pi} \frac{{dx}}{{a}\left({sin}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}+{cos}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}\right)+{b}\left({cos}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}−{sin}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}\right)} \\ $$$$\int_{\mathrm{0}} ^{\pi} \frac{{dx}}{\left({a}+{b}\right){cos}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}+\left({a}−{b}\right){sin}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}} \\ $$$$\int_{\mathrm{0}} ^{\pi} \frac{{sec}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}}{\left({a}+{b}\right)+\left({a}−{b}\right){tan}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}} \\ $$$$\frac{\mathrm{1}}{{a}−{b}}\int_{\mathrm{0}} ^{\pi} \frac{{sec}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}{dx}}{\left(\sqrt{\frac{{a}+{b}}{{a}−{b}}}\:\right)^{\mathrm{2}} +{tan}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}} \\ $$$${p}={tan}\frac{{x}}{\mathrm{2}}\:\:\:\frac{{dp}}{{dx}}={sec}^{\mathrm{2}} \frac{{x}}{\mathrm{2}}×\frac{\mathrm{1}}{\mathrm{2}} \\ $$$$\frac{\mathrm{1}}{{a}−{b}}\int_{\mathrm{0}} ^{\infty} \frac{\mathrm{2}{dp}}{\left(\sqrt{\frac{{a}+{b}}{{a}−{b}}}\:\right)^{\mathrm{2}} +{p}^{\mathrm{2}} } \\ $$$$\frac{\mathrm{2}}{{a}−{b}}×\frac{\mathrm{1}}{\:\sqrt{\frac{{a}+{b}}{{a}−{b}}}}\mid{tan}^{−\mathrm{1}} \left(\frac{{p}}{\:\sqrt{\frac{{a}+{b}}{{a}−{b}}}\:}\right)\mid_{\mathrm{0}} ^{\infty} \\ $$$$=\frac{\mathrm{2}}{\:\sqrt{{a}^{\mathrm{2}} −{b}^{\mathrm{2}} }}×\left[{tan}^{−\mathrm{1}} \left(\infty\right)\right] \\ $$$$=\frac{\pi}{\:\sqrt{{a}^{\mathrm{2}} −{b}^{\mathrm{2}} }} \\ $$$${I}\left({a},{b}\right)=\int_{\mathrm{0}} ^{\pi} \frac{{dx}}{{a}+{bcosx}}=\frac{\pi}{\:\sqrt{{a}^{\mathrm{2}} −{b}^{\mathrm{2}} }} \\ $$$$\frac{{dI}}{{da}}=\int_{\mathrm{0}} ^{\pi} \frac{\partial}{\partial{a}}\left(\frac{\mathrm{1}}{{a}+{bcosx}}\right){dx}=\pi\frac{\partial}{\partial{a}}\left\{\left({a}^{\mathrm{2}} −{b}^{\mathrm{2}} \right)^{\frac{−\mathrm{1}}{\mathrm{2}}} \right\} \\ $$$$\frac{{dI}}{{da}}=\int_{\mathrm{0}} ^{\pi} \frac{−\mathrm{1}}{\left({a}+{bcosx}\right)^{\mathrm{2}} }×\left(\mathrm{1}+\mathrm{0}\right){dx}=\frac{−\pi}{\mathrm{2}}×\left({a}^{\mathrm{2}} −{b}^{\mathrm{2}} \right)^{\frac{−\mathrm{3}}{\mathrm{2}}} ×\mathrm{2}{a} \\ $$$${so}\int_{\mathrm{0}} ^{\pi} \frac{−{dx}}{\left({a}+{bcosx}\right)^{\mathrm{2}} }=\frac{−\pi{a}}{\left({a}^{\mathrm{2}} −{b}^{\mathrm{2}} \right)^{\frac{\mathrm{3}}{\mathrm{2}}} } \\ $$$${so}\:\int_{\mathrm{0}} ^{\pi} \frac{{dx}}{\left({a}+{bcosx}\right)^{\mathrm{2}} }=\frac{\pi{a}}{\left({a}^{\mathrm{2}} −{b}^{\mathrm{2}} \right)^{\frac{\mathrm{3}}{\mathrm{2}}} \:\:} \\ $$$${Tanmay}\:\:\mathrm{16}.\mathrm{07}.\mathrm{19} \\ $$