# What is the antiderivative of (ln x)^2?

$x {\left(\ln x\right)}^{2} - 2 x \ln x + 2 x + C$
Let $u = {\left(\ln x\right)}^{2}$
$\mathrm{dv} = \mathrm{dx}$
$v = x$
$\mathrm{du} = 2 \left(\ln x\right) \cdot \frac{\mathrm{dx}}{x}$