Skip to content
ihateDesmos

Derivative of x ln x

Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The derivative of x ln x
ddx(xln(x))=ln(x)+1

The derivative of x ln x is ln x + 1, for x > 0. It is a standard product rule example, and the result turns up often in integration.

1232
Open in calculator
y=xln(x)
in blue and its derivative
y=ln(x)+1
in red. Defined for x > 0.

How to find the derivative of x ln x

Method: product rule.

  1. 1
    Use the product rule: (fg)′ = f′g + fg′, with f = x and g = ln x.
  2. 2
    f′ = 1 and g′ = 1/x.
  3. 3
    So the derivative is 1 · ln x + x · (1/x).
  4. 4
    Simplify: ln x + 1.

What it means on the graph

The derivative is zero where ln x = −1, at x = 1/e ≈ 0.368. That is the minimum of x ln x, with a value of −1/e. This same fact explains why the integral of ln x is x ln x − x.

In the window shown, the derivative is zero at x = 0.367879. Those are the points where the graph of x ln x has a horizontal tangent.

Table of values

The derivative column uses the formula. The last column estimates the slope directly from the original function, as an independent check.

Values of x ln x and its derivative
xx ln xln x + 1Slope, measured
1/4−ln 2/2−0.386294−0.386294
0.367879−0.3678790−0
1011
22ln 21.693151.69315
33.295842.098612.09861

Second derivative

Differentiating once more gives:

d2dx2(xln(x))=1x

The second derivative tells you which way the graph bends: positive means it curves upward, and negative means it curves downward.

Related derivatives

The same result with the chain or product rule. Each of these is checked numerically too.

Related derivatives
FunctionDerivative
xln(2x)
ln(2x)+1
x2ln(x)
2xln(x)+x

Common mistakes

  • Writing 1/x, by differentiating each factor and multiplying. The derivative of a product isn’t the product of the derivatives.

Frequently asked questions

What is the derivative of x ln x?
The derivative of x ln x is ln x + 1, for x > 0.
What is the second derivative of x ln x?
Differentiate ln x + 1 again to get the second derivative. The result is shown on this page under “Second derivative”.

Keep going

Differentiate any function

Type your own function into the derivative calculator and see every rule applied, step by step.

Open the derivative calculator