Derivative of $x\,\ln\left(x\right)$

Differentiated with respect to x. Edit the function · Differentiation rules

Step-by-step solution

Input function
$$x\,\ln\left(x\right)$$

Start of the differentiation
$$\frac{d}{dx}{\left[x\,\ln\left(x\right)\right]}$$

Yellow: the expression being replaced. Green: its replacement.

Step 1 — Product Rule Differentiation rule
📖 Rule
$$\frac{d}{dx}(u \cdot v)=u'v+uv'$$
With:
  • $u = x$
  • $v = \ln\left(x\right)$

Why: First, differentiate the first factor and multiply by the unchanged second factor. Add the unchanged first factor times the derivative of the second. Do not simply multiply the two derivatives.

🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\,\ln\left(x\right)\right]}\,}}}$$
✨ After: Product Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\right]}\,\ln\left(x\right) + x\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}\,}}}$$
Step 2 — Derivative of a Variable Differentiation rule
📖 Rule
$$\frac{d}{dx}(x)=1$$

Why: When x increases by one, the value of this term also increases by one. Its derivative is therefore one.

Changed part: $\frac{d}{dx}{\left[x\right]} \;\Longrightarrow\; 1$
🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\right]}\,}}}\,\ln\left(x\right) + x\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}$$
✨ After: Derivative of a Variable
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}\,\ln\left(x\right) + x\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}$$
Step 3 — Remove a factor of one Simplification
📖 Rule
$$1\cdot a=a,\quad \frac{a}{1}=a$$

Why: Multiplication or division by one leaves the value unchanged.

Changed part: $1\,\ln\left(x\right) \;\Longrightarrow\; \ln\left(x\right)$
🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,\ln\left(x\right)\,}}} + x\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}$$
✨ After: Remove a factor of one
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\ln\left(x\right)\,}}} + x\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}$$
Step 4 — Logarithm Rule (Simple) Differentiation rule
📖 Rule
$$\frac{d}{dx}(\ln(x)) = \frac{1}{x}$$

Why: The derivative of the natural logarithm is the reciprocal of its argument. Here that argument is exactly the differentiation variable.

Changed part: $\frac{d}{dx}{\left[\ln\left(x\right)\right]} \;\Longrightarrow\; \frac{1}{x}$
🧮 Current expression
$$\ln\left(x\right) + x\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}\,}}}$$
✨ After: Logarithm Rule (Simple)
$$\ln\left(x\right) + x \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{1}{x}\,}}}$$
Step 5 — Combine into one fraction Simplification
📖 Rule
$$a\cdot\frac{b}{c}=\frac{a\cdot b}{c}$$

Why: A factor in front of a fraction multiplies its numerator, giving a single fraction.

Changed part: $x \cdot \frac{1}{x} \;\Longrightarrow\; \frac{x}{x}$
🧮 Current expression
$$\ln\left(x\right) + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,x \cdot \frac{1}{x}\,}}}$$
✨ After: Combine into one fraction
$$\ln\left(x\right) + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{x}{x}\,}}}$$
Step 6 — Cancel a common factor Simplification
📖 Rule
$$\frac{a^m}{a^n}=a^{m-n}$$

Why: The same factor appears in numerator and denominator. Cancelling subtracts the exponents. Points where this factor is zero remain excluded by the original conditions.

Changed part: $\frac{x}{x} \;\Longrightarrow\; 1$
🧮 Current expression
$$\ln\left(x\right) + \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{x}{x}\,}}}$$
✨ After: Cancel a common factor
$$\ln\left(x\right) + \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}$$
Final result
$$\ln\left(x\right) + 1$$
Valid where:
  • $x>0$ – The logarithm argument must be positive.

The derivative is only valid where the original function is defined.

Copy link to this solution
Cross-check with a computer algebra system

The derivative computed directly by the computer algebra system Maxima:

$$\log\left(x\right) + 1$$

Step-by-step result ↔ Maxima: identical ✓