# How do you differentiate y=x^2lnx?

Nov 22, 2016

$\frac{d}{\mathrm{dx}} \left({x}^{2} \ln x\right) = x + 2 x \ln x$

#### Explanation:

If you are studying maths, then you should learn the Product Rule for Differentiation, and practice how to use it:

$\frac{d}{\mathrm{dx}} \left(u v\right) = u \frac{\mathrm{dv}}{\mathrm{dx}} + \frac{\mathrm{du}}{\mathrm{dx}} v$, or, $\left(u v\right) ' = \left(\mathrm{du}\right) v + u \left(\mathrm{dv}\right)$

I was taught to remember the rule in words; "The first times the derivative of the second plus the derivative of the first times the second ".

This can be extended to three products:

$\frac{d}{\mathrm{dx}} \left(u v w\right) = u v \frac{\mathrm{dw}}{\mathrm{dx}} + u \frac{\mathrm{dv}}{\mathrm{dx}} w + \frac{\mathrm{du}}{\mathrm{dx}} v w$

So with $f \left(x\right) = {x}^{2} \ln x$ we have;

$\left\{\begin{matrix}\text{Let "u = x^2 & => & (du)/dx = 2x' \\ "And } v = \ln x & \implies & \frac{\mathrm{dv}}{\mathrm{dx}} = \frac{1}{x} '\end{matrix}\right.$

$\frac{d}{\mathrm{dx}} \left(u v\right) = u \frac{\mathrm{dv}}{\mathrm{dx}} + \frac{\mathrm{du}}{\mathrm{dx}} v$
$\frac{d}{\mathrm{dx}} \left({x}^{2} \ln x\right) = \left({x}^{2}\right) \left(\frac{1}{x}\right) + \left(2 x\right) \left(\ln x\right)$
$\frac{d}{\mathrm{dx}} \left({x}^{2} \ln x\right) = x + 2 x \ln x$