Question
Question: How do you differentiate \[x{{\left( \ln \left( x \right) \right)}^{2}}\]?...
How do you differentiate x(ln(x))2?
Solution
In order to find the solution of the given question that is to find how to differentiate the function x(ln(x))2, Apply the product rule in the given function x(ln(x))2 and the formula of product rule is: [u(x).v(x)]′=u(x).v′(x)+v(x).u′(x) where u(x)=x and v(x)=(ln(x))2. To further differentiate x apply differentiation rule that is u′(x)=nxn−1 where according to the question n is equal to 1and to differentiate (ln(x))2 apply power rule: [v(x)n]′=nv(x)n−1.v′(x) where according to the question n is equal to 2.
Complete step-by-step solution:
According to question, given function in the question is as follows:
x(ln(x))2
The derivative of x(ln(x))2 is as follows:
dxd[x(ln(x))2]
Applying product rule: [u(x).v(x)]′=u(x).v′(x)+v(x).u′(x) in the given function we get:
⇒dxd[x](ln(x))2+xdxd[(ln(x))2]...(i)
Now to further differentiate x apply differentiation rule that is u′(x)=nxn−1
⇒dxd[x]=1...(ii)
And to differentiate (ln(x))2 apply power rule: [v(x)n]′=nv(x)n−1.v′(x) ⇒dxd[(ln(x))2]=2(ln(x))2−1⋅dxd[ln(x)]...(iii)
Now putting the value of equation (ii) and (iii) in equation (i) we get:
⇒1×(ln(x))2+x×2(ln(x))2−1×dxd[ln(x)]
To simplify it further solve the expression in the power of lnx in the above expression with help of subtraction, we get:
⇒1×(ln(x))2+x×2(ln(x))×dxd[ln(x)]
We know that the derivative of dxd[ln(x)]=x1. Applying it to the above expression we get:
⇒1×(ln(x))2+x×2(ln(x))×x1
Simplify it further by solving the terms in the brackets with the help of multiplication in the above expression, we get:
⇒(ln(x))2+x×x1×2ln(x)
As we can see that variable x is there in both numerator and denominator. So, we can divide it or you can say cancel it in the above expression, thence get:
⇒(ln(x))2+1×2ln(x)
Solve the above expression with the help of multiplication, we get:
⇒(ln(x))2+2ln(x)
To simplify it further, take ln(x) in common from both the terms in the above expression, we get:
⇒ln(x)[ln(x)+2]
∴ Derivative of x(ln(x))2 is ln(x)[ln(x)+2].
Note: Students can go wrong by not applying power rule in the function (ln(x))2 correctly that is they write ⇒dxd[(ln(x))2]=2(ln(x))2−1and forget to multiply with the derivative of ln(x) which further leads to the wrong answer. So, the key point is to know all differentiation rule, power rule & product rule right that is the differentiation rule: u′(x)=nxn−1, the product rule: [u(x).v(x)]′=u(x).v′(x)+v(x).u′(x) & power rule: [v(x)n]′=nv(x)n−1.v′(x)