If \(y=x^x\), \(\displaystyle\frac{dy}{dx}\) will be:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(x^x(1+\log x)\)
Both the base and the power contain x, so logarithmic differentiation is used:
\(\log y = x\log x\)
Differentiating both sides with respect to x (product rule on the right):
\( \displaystyle \frac{1}{y}\frac{dy}{dx} = 1 \cdot \log x + x \cdot \frac{1}{x} \)
\( \displaystyle \frac{1}{y}\frac{dy}{dx} = \log x + 1 \)
\( \displaystyle \frac{dy}{dx} = x^x(1 + \log x) \)