Derivative of x ln x
The derivative of x ln x is ln x + 1, by the product rule. The second derivative is 1/x. Defined for x > 0.
📐 The product rule
(uv)′ = u′v + uv′.
d/dx x ln x = ln x + 1, and d²/dx² x ln x = 1/x.
✍️ Differentiating x ln x
- Product rule: (uv)′ = u′v + uv′, with u = x and v = ln x.
- u′ = 1; v′ = 1/x.
- Put them in: (1)(ln x) + (x)(1/x).
- Simplify: d/dx x ln x = ln x + 1.
🔍 Where the rule comes from
A product changes for two reasons: the first factor changes while the second holds still, and the second changes while the first holds still; the product rule adds the two contributions. The x in the second term cancels against the 1/x, which is why the answer is so short; the slope is zero at x = 1/e, where x ln x has its minimum.
📍 The slope of x ln x at a point, and the tangent line
f′(a) is the slope of the graph at x = a, and the tangent line there is y = f′(a)(x − a) + f(a). Values to four decimal places; the calculator below gives any other point.
| Point | x ln x | ln x + 1 | Tangent line |
|---|---|---|---|
| x = 0.5 | −0.3466 | 0.3069 | y = 0.3069x − 0.5 |
| x = 1 | 0 | 1 | y = x − 1 |
| x = 2 | 1.3863 | 1.6931 | y = 1.6931x − 2 |
| x = 3 | 3.2958 | 2.0986 | y = 2.0986x − 3 |
👪 Products (the product rule): the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
| Function | Derivative | |
|---|---|---|
| x·ex | ex(x + 1) | the page |
| x2·ex | ex(x2 + 2x) | the page |
| x2 ln x | 2x ln x + x = x(2 ln x + 1) | the page |
| x sin x | sin x + x cos x | the page |
| x cos x | cos x − x sin x | the page |
| ex sin x | ex(sin x + cos x) | the page |
| ex cos x | ex(cos x − sin x) | the page |
| sin x cos x | cos2 x − sin2 x = cos 2x | the page |
| x arctan x | arctan x + x/(1 + x2) | the page |
⚠️ The mistakes that lose the marks
- Multiplying the two derivatives: (uv)′ is not u′v′.
- Forgetting one of the two terms; both factors get their turn.
🧮 Calculator
The answer appears here, with the working in words.
✏️ Five questions, answers hidden
1. Differentiate x^2 ln x.
Answer: 2x ln x + x = x(2 ln x + 1)
2. Differentiate x ln(2x).
Answer: ln(2x) + 1
3. Where is the slope of y = x ln x zero?
Answer: x = 1/e
4. Find the second derivative of x ln x.
Answer: 1/x
5. Differentiate (ln x)/x.
Answer: (1 − ln x)/x^2
📚 The class this belongs to
Derivatives are taught in AP Calculus AB and BC and in Calculus 1 in the US (the power, product, quotient and chain rules, trigonometric, exponential and logarithmic derivatives, implicit differentiation), in A-level Maths (Year 12 and 13, Pure) in the UK, in IB Mathematics Analysis and Approaches (Topic 5), in Class 11 and 12 in CBSE (NCERT Limits and Derivatives, Continuity and Differentiability) and in Mathematical Methods (Units 3 and 4) and Specialist Mathematics in Australia.
If this page is the homework and the method is not sticking, that is what a 1-on-1 class fixes: one tutor with a master's degree, one child, on a shared whiteboard, in your time zone, about US$10 to $13 an hour. How 1-on-1 online tutoring works.
