# Integrating a function without u-substitution?

I'm trying to figure out how to Integrate a function like that without the use of $u-$substitution. Would really appreciate some help here!

$$\int\ln^2 x\,dx$$

Integrate by parts: $$\int \ln^2 x\,dx = x\ln^2 x-\int 2\ln x\,dx = x\ln^2 x-2\left(x\ln x-x+C\right), C \in \mathbb{R}.$$
• Gibbs, how would you go on about solving it with $u$-substitution? – user472288 May 8 '18 at 15:22