I am interested in finding an exact expression for the integral $$\int \frac{\ln(x^2+1)dx}{x}$$ I start by using the transformation $w=\ln(x^2+1)$ leading to $e^{w}dw=2xdx$. Unfortunately, I couldn't get rid of $x$ in there: $$\int \frac{we^w}{2x^2}dw$$ and I'm not interested in results with an infinite series.
I would like to know a suitable substitution that may involve only one variable leading to an expression less complicated for integration. Thanks for your help.
This is not possible by using elementary functions yet alone. The Dilogarithm, or Spence's Function is capable of providing an anti-derivative. Note that the aforementioned function my defined as integral
Enforcing the substitution $x^2=-t$ within your given integral gives us
\begin{align*} \int\frac{\log(1+x^2)}x\mathrm dx&=\int\frac{\log(1+x^2)}x\frac{2x}{2x}\mathrm dx\\ &=\frac12\int\frac{\log(1-t)}t\mathrm dt\\ &=-\frac12\operatorname{Li}_2(t)\\ &=-\frac12\operatorname{Li}_2(-x^2) \end{align*}