Let $f:\mathbb{R}\to\mathbb{R}$ be of class $C^{\infty}$ with $f^{\prime}\not\equiv0$.
There exists a formula to solve the integral $$\int \frac{f(x)}{f^{\prime}(x)} dx?$$
Since I know that is $$\int \frac{f^{\prime}(x)}{f(x)} dx=\log(|f(x)|) +c,$$
I was wondering how to act when in the first case.
I hope someone could help. Thank you in advance.