Derivative of $\frac{\ln\left(x\right)}{x}$

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

Step-by-step solution

Input function
$$\frac{\ln\left(x\right)}{x}$$

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

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

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

Why: In the numerator, subtract the numerator times the derivative of the denominator from the derivative of the numerator times the denominator. Divide by the squared denominator. The original denominator must be nonzero.

🧮 Current expression
$$\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[\frac{\ln\left(x\right)}{x}\right]}\,}}}$$
✨ After: Quotient Rule
$$\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{\frac{d}{dx}{\left[\ln\left(x\right)\right]}\,x - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}\,}}}$$
Step 2 — 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
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[\ln\left(x\right)\right]}\,}}}\,x - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}$$
✨ After: Logarithm Rule (Simple)
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{1}{x}\,}}}\,x - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}$$
Step 3 — 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: $\frac{1}{x}\,x \;\Longrightarrow\; \frac{x}{x}$
🧮 Current expression
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{1}{x}\,x\,}}} - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}$$
✨ After: Combine into one fraction
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{x}{x}\,}}} - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}$$
Step 4 — 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
$$\frac{\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{x}{x}\,}}} - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}$$
✨ After: Cancel a common factor
$$\frac{\bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}} - \ln\left(x\right)\,\frac{d}{dx}{\left[x\right]}}{x^{2}}$$
Step 5 — 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
$$\frac{1 - \ln\left(x\right)\,\bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\frac{d}{dx}{\left[x\right]}\,}}}}{x^{2}}$$
✨ After: Derivative of a Variable
$$\frac{1 - \ln\left(x\right) \cdot \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,1\,}}}}{x^{2}}$$
Step 6 — 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: $\ln\left(x\right) \cdot 1 \;\Longrightarrow\; \ln\left(x\right)$
🧮 Current expression
$$\frac{1 - \bbox[#fff1b8, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\ln\left(x\right) \cdot 1\,}}}}{x^{2}}$$
✨ After: Remove a factor of one
$$\frac{1 - \bbox[#d6f5df, padding:0.15em]{{\color{black}{\vphantom{\dfrac{d}{dx}}\,\ln\left(x\right)\,}}}}{x^{2}}$$
Final result
$$\frac{1 - \ln\left(x\right)}{x^{2}}$$
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:

$$\frac{1}{x^{2}} - \frac{\log\left(x\right)}{x^{2}}$$

Step-by-step result ↔ Maxima: identical ✓