How would you integrate a function almost entirely in logarithmic form, such as:$$\int{\frac{1}{\left(1+\ln x\right)^2}\;dx}$$
I have tried various substitutions and considered integrating by parts, but I can't seem to get a quick and elegant solution. What is the easiest way to do this?
Here's a clever trick:
1 is equal to $\ln e$, and $\log(a)+\log(b)=\log(ab)$.
So you could write your equation as
$$\int{\frac{1}{\left(\ln e+\ln x\right)^2}\;dx}$$
$$\int{\frac{1}{(\ln ex)^2}\;dx}$$
From here, we could substitute u for $ex$. The This makes $\frac{du}{dx} = e$, so $dx = \frac{du}{e}$
$$\frac{1}{e}\int{\frac{1}{(\ln u)^2}du}$$
I think you can take it froim here.