Question
Question: Derivative of \({(x\cos x)^x}\) with respect to \(x\) is A.\({(x\cos x)^x}\) \([(\log x + 1) - \\...
Derivative of (xcosx)x with respect to x is
A.(xcosx)x [(logx+1)−logcosx+cosxx(sinx)]
B.(xcosx)x [(logx+1)+logcosx+cosxx(−sinx)]
C.(xcosx)x [(logx+1)+logsinx+cosxx(cosx)]
D.None of these
Solution
- The derivative of a function of a real variable measures the sensitivity to change of the function value with respect to a change in its argument. Derivatives are a fundamental tool of calculus.
To solve this problem, we have to differentiate functions of the form y=f(x)=[u(x)]v(x) and take the logarithm of both sides to get log(y)=v(x)logu(x). Further there are detailed explanations of each step.
Complete step-by-step answer:
Step1 Let y=(xcosx)x
Take the logarithm of both sides
logy=log(xcosx)x
Using property of log;
logy=xlog(xcosx)
Differentiating both sides with respect to x, we get
y1dxdy=xdxdlog(xcosx)+log(xcosx)dxd(x)
Step 2
⇒y1dxdy=x×xcosx1x(−sinx)+cosx.1+log(xcosx).1 ⇒y1dxdy=cosx1x(−sinx)+cosx+log(xcosx) ⇒y1dxdy=cosxx(−sinx)+cosxcosx+log(xcosx)
Cancelling cosx with cosx, we get,
⇒ y1dxdy=cosxx(−sinx)+1+logx+logcosx
⇒ y1dxdy=(logx+1)+logcosx+cosxx(−sinx)
⇒dxdy=y[(logx+1)+logcosx+cosxx(−sinx) ⇒dxdy=(xcosx)x[(logx+1)+logcosx+cosxx(−sinx)
So, B is the correct answer.
Note: Logarithmic differentiation is also useful when we are to differentiate a product or quotient of more than two functions.
Chain rule – It is the process that helps us to find the derivative of a composite function.
If y is a differentiable function of u and u is a differentiable function then dxdy=dudydxdu