I came across this as one of the shortcuts in my textbook without any proof.
When $b\gt a$,
$$\int\limits_a^b \dfrac{dx}{\sqrt{(x-a)(b-x)}}=\pi$$
My attempt :
I notice that the the denominator is $0$ at both the bounds. I thought of substituting $x=a+(b-a)t$ so that the integral becomes $$\int\limits_0^1 \dfrac{dt}{\sqrt{t(1-t)}}$$
This doesn't look simple, but I'm wondering if the answer can be seen using symmetry/geometry ?