Find the derivative of the function f(x)=xx
Given function is,
f(x)=xx
This is a complex looking function compared to our standard functions. Logarithmic differentiation can be used to tackle such situation.
It simply means taking the logarithm before we actually differentiate. Take logarithm to simplify the function if it is of the form,
f(x)=g(x)h(x)
when we take logarithm, the power becomes a multiplier as below,
log[f(x)]=h(x)⋅log[g(x)]
Differentiating is easier now. Logarithmic differentiation can be used in other scenarios as well especially when the function is a quotient of 2 other functions.
In our present ease,
f(x)=xx
Taking log on both sides
lnf(x)=x⋅lnx
Differentiating both sides
1f(x)⋅f′(x)=x⋅1x+lnx
(note that we are using chain rule to differentiate the LHS)
1f(x)⋅f′(x)=1+lnx⇒f′(x)=xx(1+lnx)
So option B is the correct answer.