Skip to content

Mulkek

Math is simple

Menu
  • Home
  • All Lessons
  • Coordinate Geometry
  • Pythagorean Theorem
  • Triangles
  • Polygons
  • Circle
  • Algebra, Calculus, and Trigonometry
  • Private Tutoring
  • About
  • 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 \(x\)
  • and the exponent is also \(x\)

So it is not:

  • a normal power function like \(x^k\)
  • or a normal exponential function like \(a^x\)

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

In this lesson, we solve the derivative of \(x^x\) in two ways:

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

Formula / Rule

Logarithm Property

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

Derivative of \(x^x\)

\(\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 Algebra, Calculus, and Trigonometry
  • Back to Home

© Mulkek 2026. Powered by WordPress

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. These cookies help us understand how visitors use our website so we can improve it.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}