Question
Question: If \(y = {x^n}\log x + x{\left( {\log x} \right)^n}\), then \(\dfrac{{dy}}{{dx}}\) is equal to A.\...
If y=xnlogx+x(logx)n, then dxdy is equal to
A.xn−1(1+nlogx)+(logx)n−1(n+logx)
B.xn−2(1+nlogx)+(logx)n−1(n+logx)
C.xn−1(1+nlogx)+(logx)n−1(n−logx)
D.None of these
Solution
Hint : In order to find dxdy, differentiate the equation of y with respect to x, and the differentiation can be solved using the product rule, written as dxd(uv)=udxdv+vdxdu. Substitute the functions of both the operands separately, solve them and get the results.
Formula used:
dxd(uv)=udxdv+vdxdu
dxd(logx)=x1
dxd(xn)=nxn−1
dxd(logx)n=x1n(logx)n−1
dxd(x)=1
Complete step-by-step answer :
We are given with the equation y=xnlogx+x(logx)n, we need to find the value of dxdy.
So, differentiating both the sides of the equation y with respect to x, we get:
dxdy=dxd(xnlogx+x(logx)n)
⇒dxdy=dxd(xnlogx)+dxd(x(logx)n). ……..(1)
We can see we have two functions in each operand.
Solving each operand separately.
Taking dxd(xnlogx):
Since, we have two functions, so we can use product rule of differentiation which is as:
dxd(uv)=udxdv+vdxdu
Comparing uv with xnlogx, we get:
u=xn v=logx
Substituting these values in the product rule, we get:
⇒dxd(xnlogx)=xndxd(logx)+logxdxd(xn)
Since, we know that dxd(logx)=x1 and dxd(xn)=nxn−1, substituting them in the above equation.
⇒dxd(xnlogx)=xn(x1)+logx(nxn−1)
From the law of radicals, we can write xxn=xn−1.
⇒dxd(xnlogx)=xn−1+nxn−1logx
Taking xn−1 common:
⇒dxd(xnlogx)=xn−1(1+nlogx) …….(2)
Similarly, differentiating the other operand dxd(x(logx)n):
Since, we have two functions in this operand also, so we can use product rule of differentiation which is as:
dxd(uv)=udxdv+vdxdu
Comparing uv with x(logx)n, we get:
u=x v=(logx)n
Substituting these values in the product rule, we get:
⇒dxd(x(logx)n)=xdxd(logx)n+(logx)ndxd(x)
Since, we know that dxd(logx)n=x1n(logx)n−1 and dxd(x)=1, substituting them in the above equation.
⇒dxd(x(logx)n)=x.x1.n(logx)n−1+(logx)n
⇒dxd(x(logx)n)=n(logx)n−1+(logx)n ……(3)
Since, we can write (logx)n as (logx)(n−1)+1 .
From Law of radicals, we can write (logx)(n−1)+1=(logx)(logx)(n−1) .
Writing it in the equation 3, we get:
⇒dxd(x(logx)n)=n(logx)n−1+(logx)(logx)n−1
Taking (logx)n−1 common from the above equation:
⇒dxd(x(logx)n)=(logx)n−1(n+logx) …….(4)
Substituting the equation 2 and equation 4 in equation 1, we get:
⇒dxdy=dxd(xnlogx)+dxd(x(logx)n)
⇒dxdy=xn−1(1+nlogx)+(logx)n−1(n+logx)
Which is the same as Option 1.
So, the correct answer is “Option 1”.
Note : We could have directly differentiated the operands in the equation but it is always preferred to solve them separately in order to avoid confusion as they are of the same types and the same product rule is being followed. So, to avoid mistakes, solve them separately.
Law of Radical- If in product, we have the same bases, their powers will be added and for division their powers will be subtracted.