Skip to content

Mulkek

Math is simple

Menu
  • Home
  • About
  • All Lessons (Library)
  • Linear Algebra
  • Coordinate Geometry
  • Pythagorean Theorem
  • Area and Volume
  • Triangles
  • Polygons
  • Circle
  • Algebra
  • Calculus
  • Trigonometry
  • Contact Us
  • Privacy Policy
  • Cookie Policy

Derivative of x^x

Explanation

We want to find the derivative of:

\(y = x^x\)

where:

\(x>0\)

This function is special because:

  • the base is xx
  • and the exponent is also xx

So it is not:

  • a normal power function like xkx^k
  • or a normal exponential function like axa^x

Because of this, the usual differentiation rules cannot be applied directly.

In this lesson, we solve the derivative of xxx^x in two ways:

  1. Using exponential and logarithm properties
  2. Using logarithmic differentiation

Formula / Rule

Logarithm Property

ln⁡(xx)=xln⁡(x)\ln(x^x)=x\ln(x)

Derivative of xxx^x

ddx(xx)=xx(ln⁡(x)+1)\frac{d}{dx}(x^x)=x^x(\ln(x)+1)

Example

Method 1 — Rewrite Using Exponentials

Rewrite:

\(x^x=e^{ln(x^x)}\)

Use the logarithm property:

\(x^x=e^{x ln(x)}\)

Differentiate:

\( \frac{d}{dx}​(x^x)=\frac{d}{dx} ​(e^{x ln(x)}) \)

Using the chain rule:

\( \frac{d}{dx}​(x^x) =e^{xln(x)} \frac{d}{dx} ​(xln(x)) \)

Using the product rule:

\( \frac{d}{dx} ​(xln(x))=ln(x)+1 \)

So:

\( \frac{d}{dx}​(x^x) = e^{x ln(x)} (ln(x)+1) \)

Since:

\( e^{x ln(x)} = e^{ ln(x^x)} = x^x\)

So:

\( \frac{d}{dx}​(x^x) = x^x (ln(x)+1) \)

Method 2 — Logarithmic Differentiation

Let:

\(y=x^x\)

Take natural logarithm for both sides:

\( ln(y)=ln(x^x) \)

Using the logarithm property:
\( ln(y)=xln(x) \)

Differentiate implicitly:

\( \frac{y′}{y} ​=ln(x)+1 \)

Multiply both sides by \(y\):

\( y′=y(ln(x)+1) \)

Substitute:

\( y=x^x \)

So:

\( y′=x^x (ln(x)+1) \)

Both methods give the same answer.

Video Explanation

Practice

  • More Examples
  • Take the Quiz

Navigation

  • Back to Derivative of xx
  • Back to Home

© Mulkek 2026. Powered by WordPress

Manage Consent

We use essential cookies and may use third-party services such as YouTube and advertising partners. You can manage your preferences at any time.

Functional Always active
These cookies are necessary for the website to function properly and cannot be disabled.
Preferences
These cookies store your preferences, such as consent settings.
Statistics
The technical storage or access that is used exclusively for statistical purposes. We do not currently use statistical tracking cookies.
Marketing
These cookies are used to display advertisements and enable embedded services such as YouTube videos. They may be used to personalize ads and measure their performance.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}