In my previous Question [1], @Quanto has defined
$$J(a) = \int_0^{\frac\pi2}\ln(1+\sin a\sin x)\,dx$$ and stated $$J'(a) =\int_0^{\frac\pi2}\frac{\cos a\sin x}{1+\sin a\sin x}\,dx =a\csc a-\frac\pi2\tan \frac a2 $$
But, I was wondering if this is valid $\forall a\in \Bbb R-{{n\pi}}$.
Using Desmos, it seems that this is valid for $a\in \Big(-\frac{3\pi}{2},\frac{\pi}{2}\Big)$. Is there any explanation can we offer?
On desmos, I run $a$ from $-1000$ to $1000$ and I see that the the Integral $\Big(J'(a)\Big)$ achieves value only from $-\pi$ to $\pi$.