I can't calculate the following integral: $$\frac{1}{\pi} \int_a^b \frac{1}{\sqrt{x(1-x)}}dx,$$ where $[a, b] \subset [0,1]$.
Can someone, please, give me a hint?
Thank you!
I can't calculate the following integral: $$\frac{1}{\pi} \int_a^b \frac{1}{\sqrt{x(1-x)}}dx,$$ where $[a, b] \subset [0,1]$.
Can someone, please, give me a hint?
Thank you!
If $[a,b]\subsetneq[0,1]$, by setting $x=t^2$ we get: $$ \frac{1}{\pi}\int_{a}^{b}\frac{dx}{\sqrt{x(1-x)}}=\frac{2}{\pi}\int_{\sqrt{a}}^{\sqrt{b}}\frac{dt}{\sqrt{1-t^2}}=\color{red}{\frac{2}{\pi}\left(\arcsin\sqrt{b}-\arcsin\sqrt{a}\right)}.$$
Rewrite it as. ${\displaystyle\int}\dfrac{1}{\sqrt{1-x}\sqrt{x}}\,\mathrm{d}x$. Use u-substituion with $u=\sqrt{x}, \frac{du}{dx}=\frac{1}{2\sqrt{x}}$. It then becomes $\class{steps-node}{\cssId{steps-node-1}{2}}{\displaystyle\int}\dfrac{1}{\sqrt{1-u^2}}\,\mathrm{d}u$. I'm sure you can take it from here.
Anoteher simple substitution exploiting the symmetry of the integrand: $x=1/2 + u \implies dx=du$. $$\int\frac{1}{\sqrt{x(1-x)}}dx=\int\frac{1}{\sqrt{(1/2+u)(1/2-u)}}du$$