I am trying to find a general solution in terms of $x$ and $f(x)$ of the integral
$$ \int \frac{f(x)}{f'(x)}dx$$
I tried partial integration, substitution and tried using the fact that $\frac{1}{f'(x)}$ is equal to $(f^{-1})'(y)$.
If the general integral does not exist, which criteria for $f$ do we have to add to make it solvable?
Edit: As Robert Israel pointed out, a "general solution" as described above does not exist. The question, for what $f$ one can formulate a closed-form solution, remains.
For instance, let us suppose that $f$ is a polynomial. Do we then get a closed-form solution?