I want to integrate
\begin{equation*} \int_{a}^b\frac{x}{\sqrt{1-x^2}}dx \end{equation*}
by using the substition $\varphi(t)=\sqrt{1-x^2}$. For sake of simplicity we assume $0< a< b< 1$. If we consider the constant function $f(x)=1$, then we get
\begin{equation*} \int_a^b\frac{x}{\sqrt{1-x^2}}dx=\int_{a}^{b}(-1)\cdot f(\varphi(t))\varphi(t)'dt=\int_{\varphi(a)^{-1}}^{\varphi(b)^{-1}}(-1)\cdot 1dt=\sqrt{1-a^2}-\sqrt{1-b^2}. \end{equation*} Is this correct? It feels strange to use $f(x)=1$ but I don't see that it violates any conditions, don't it?
There is no rule saying you cannot use $f(x)=1$. The only thing missing in the proof above is to show how you know that
$$\frac{x}{\sqrt{1-x^2}} = -f(\varphi(t))\varphi'(t)$$
is in fact true.
Then again, if you found a function, $F$, such that $F'=f$, then you don't really need to use a "substitution" method if you want to calculate $$\int_a^b f(x)dx$$ since the fundamental theorem of calculus already tells you that the above value is just $F(b)-F(a)$.