I am confused why we can introduce differentials into an integral when performing an integration by substitution.
Consider the integral $$\int \frac{1}{ x \sqrt{1-x} } dx.$$ We can perform the substitutions $$x=\sin^2u,$$ $$dx=2\sin u \cos{u} du ,$$ on the integral to give $$\int \frac{1}{ \sin^2u \sqrt{1-\sin^2u} } 2\sin u \cos u du .$$
Why can you treat $dx$ as a differential?
From my understanding the integration sign $\int dx$ works as as if it is an operator, just like how $\frac {d}{dx}$ works as an operator and not as a fraction. Which means $\int$ and $dx$ should not be interpreted separately.
But at the same time treating $dx$ as a differential always work out fine so there must be some validness in treating it as an differential.