I'm currently studying the basics of the substitution where the author goes:
To use substitution, we write $u$ as a convenient function of $x$ ideally one for which $du$ also appears in the function we want to antidifferentiate.
For example, to antidifferentiate $x\sqrt{1+x^2}$, $\color{red}{\text{we write }u = 1 + x^2 \text{, so that } du = 2xdx}$, which implies
$$f(x)dx = \sqrt{1 + x^2}x\ dx = \frac{1}{2}\sqrt{u}\ du $$
So my main question is, where this
$$\tag{!}du = 2xdx$$ comes from?
I do understand that if $u = 1 + x^2$ then $\frac{du}{dx} = 2x$ but I don't get how we reach step $(!)$ from here.
I tried to make a wild guess by assuming that we can multiply both sides by $dx$, but seems like it would be invalid operation (or would it be?)