It is not necessary to take any example of any integral, so I'll just drop it: $$u=\sin x; \ \ \ du=\cos x dx$$ which my question is rather here:
Is it possible to do: (squaring both sides) $$u^2=\sin^2(x)=1-\cos^2(x)$$ $$\cos(x)=\sqrt{1-u^2}$$ is it? I don't think it's true for the simple fact that $\sqrt{x^2}=|x|$ and not just $x$ but my question earlier today talked about how domain can be somewhat dealt with the constant $+C$ as shown in my question:
My question about different domains on indefinite integrals
So I'm very curious on whether it would be valid or not