Question:easy

If \( y = x^x \) then \( \frac{dy}{dx} = \)

Show Hint

Take the log of both sides to get log y = x log x, then differentiate and multiply back by y.
  • \( x^x(\log x + 1) \)
  • \( \log x \)
  • \( (\log x + 1) \)
  • \( nx^{n-1} \)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Idea:
Rewrite $ x^x $ with the base $ e $. Any positive $ f(x)^{g(x)} $ can be written as $ e^{g(x)\log f(x)} $, and this form is easy to differentiate.

Step 2: Rewrite:
Since $ x = e^{\log x} $, we get $ y = x^x = e^{x\log x} $.

Step 3: Differentiate with the chain rule:
The derivative of $ e^u $ is $ e^u\frac{du}{dx} $, with $ u = x\log x $.
\[ \frac{du}{dx} = \log x + 1 \]
\[ \frac{dy}{dx} = e^{x\log x}(\log x + 1) \]

Step 4: Go back to x^x:
Because $ e^{x\log x} = x^x $,
\[ \frac{dy}{dx} = x^x(\log x + 1) \]

Step 5: Check with a number:
At $ x = 1 $, $ y = 1 $ and the slope from our formula is $ 1\cdot(0 + 1) = 1 $. Option (B) would give $ \log 1 = 0 $ and option (C) would give 1 too, but at $ x = e $ our formula gives $ e^e\cdot 2 $, while option (C) gives just 2. So only (A) works for all $ x $.

Final Answer:
The answer is option (A). \[ \boxed{x^x(\log x + 1)} \]
Was this answer helpful?
0