Solveeit Logo

Question

Question: How do you differentiate \[y={{x}^{2}}\ln x\]?...

How do you differentiate y=x2lnxy={{x}^{2}}\ln x?

Explanation

Solution

This question is from the topic of calculus. In solving this question, we will first differentiate both sides of the equation with respect to x. After that, we will use the formula of product rule of differentiation and do the differentiation. After that, we will use the other formulas of differentiation and solve the further question. After solving, we will get our answer.

Complete step by step answer:
Let us solve this question.
In this question, we have asked to differentiate the equation y=x2lnxy={{x}^{2}}\ln x. Or, we can say we have to find the value of dydx\dfrac{dy}{dx} by differentiating the equation y=x2lnxy={{x}^{2}}\ln x.
The equation which we have to differentiate is
y=x2lnxy={{x}^{2}}\ln x
Now, differentiating both sides of the equation with respect to x, we can write
ddxy=ddx(x2lnx)\dfrac{d}{dx}y=\dfrac{d}{dx}\left( {{x}^{2}}\ln x \right)
Using the formula of product rule of differentiation that is d(u.v)=vd(u)ud(v)d\left( u.v \right)=vd\left( u \right)-ud\left( v \right), we can write
ddxy=lnxddx(x2)+x2ddx(lnx)\Rightarrow \dfrac{d}{dx}y=\ln x\dfrac{d}{dx}\left( {{x}^{2}} \right)+{{x}^{2}}\dfrac{d}{dx}\left( \ln x \right)
dydx=lnxddx(x2)+x2ddx(lnx)\Rightarrow \dfrac{dy}{dx}=\ln x\dfrac{d}{dx}\left( {{x}^{2}} \right)+{{x}^{2}}\dfrac{d}{dx}\left( \ln x \right)
Now, using the formula of differentiation that is ddx(xn)=nxn1\dfrac{d}{dx}\left( {{x}^{n}} \right)=n{{x}^{n-1}}, we can write
dydx=lnx(2x21)+x2ddx(lnx)\Rightarrow \dfrac{dy}{dx}=\ln x\left( 2{{x}^{2-1}} \right)+{{x}^{2}}\dfrac{d}{dx}\left( \ln x \right)
dydx=lnx(2x1)+x2ddx(lnx)\Rightarrow \dfrac{dy}{dx}=\ln x\left( 2{{x}^{1}} \right)+{{x}^{2}}\dfrac{d}{dx}\left( \ln x \right)
We can write the above equation as
dydx=lnx(2x)+x2ddx(lnx)\Rightarrow \dfrac{dy}{dx}=\ln x\left( 2x \right)+{{x}^{2}}\dfrac{d}{dx}\left( \ln x \right)
Now, using the formula of differentiation that is ddx(lnx)=1x\dfrac{d}{dx}\left( \ln x \right)=\dfrac{1}{x}, we can write
dydx=lnx(2x)+x2(1x)\Rightarrow \dfrac{dy}{dx}=\ln x\left( 2x \right)+{{x}^{2}}\left( \dfrac{1}{x} \right)
The above equation can also be written as
dydx=2xlnx+x2(1x)\Rightarrow \dfrac{dy}{dx}=2x\ln x+{{x}^{2}}\left( \dfrac{1}{x} \right)
The above equation can also be written as
dydx=2xlnx+x\Rightarrow \dfrac{dy}{dx}=2x\ln x+x
Now, we have differentiated the equation y=x2lnxy={{x}^{2}}\ln x. The differentiation is dydx=2xlnx+x\dfrac{dy}{dx}=2x\ln x+x.

Note:
As we can see that this question is from the topic of calculus, so we should have a better knowledge in the topic of calculus. We should remember the following formulas to solve this type of question easily:
Product rule of differentiation: d(u.v)=vd(u)ud(v)d\left( u.v \right)=vd\left( u \right)-ud\left( v \right)
ddx(lnx)=1x\dfrac{d}{dx}\left( \ln x \right)=\dfrac{1}{x}
ddx(xn)=nxn1\dfrac{d}{dx}\left( {{x}^{n}} \right)=n{{x}^{n-1}}
We can write x2(1x){{x}^{2}}\left( \dfrac{1}{x} \right) as xx because in the numerator, power is 2 and in the denominator power is 1. The powers got subtracted. Or, we can write the term x2(1x){{x}^{2}}\left( \dfrac{1}{x} \right) as x2x1=x21=x1=x{{x}^{2}}{{x}^{-1}}={{x}^{2-1}}={{x}^{1}}=x.