This question has no particular applications; it just came upon me as I was thinking about change of variables in various scenarios.
Let $$\frac{df(x)}{dx}=g(x)$$
Suppose we wish to make a change of variable from $x$ to $u=p(x)$, so we substitute $x$ with $p^{-1}(u)$:
$$ \frac{df(p^{-1}(u))}{dx}=g(p^{-1}(u))$$
The left hand side (LHS) is a derivative with respect to $x$, so it's still a function of $x$. I'm unsure how to proceed further.
Suppose we invoke the chain rule:
$$ \frac{df(p^{-1}(u))}{du} \frac{du}{dx}=g(p^{-1}(u))$$
But LHS is still a function of $x$, because $\frac{du}{dx}$ is a function of $x$, while RHS is a function of $u$. But in a change of variable, the goal is to express everything in terms of $u$.
Rigor would be desirable.