Derivative of ln x
The derivative of ln x is 1/x, by the logarithm rule. The second derivative is โ1/x^2. Defined for x > 0.
๐ The logarithm rule
d/dx ln x = 1/x; d/dx ln u = (1/u) ยท du/dx.
d/dx ln x = 1/x, and dยฒ/dxยฒ ln x = โ1/x2.
โ๏ธ Differentiating ln x
- d/dx ln x = 1/x for x > 0.
- The second derivative is โ1/x2, so ln x is increasing and concave down everywhere it is defined.
๐ Where the rule comes from
ln x is the inverse of ex: if y = ln x then ey = x. Differentiate both sides implicitly: ey ยท dy/dx = 1, so dy/dx = 1/ey = 1/x.
๐ The slope of 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 | ln x | 1/x | Tangent line |
|---|---|---|---|
| x = 0.5 | โ0.6931 | 2 | y = 2x โ 1.6931 |
| x = 1 | 0 | 1 | y = x โ 1 |
| x = 2 | 0.6931 | 0.5 | y = 0.5x โ 0.3069 |
| x = 3 | 1.0986 | 0.3333 | y = 0.3333x + 0.0986 |
๐ช Logarithms: the derivatives side by side
The same rule, or the same trap, runs through the whole family; each row has its own worked page.
โ ๏ธ The mistakes that lose the marks
- Writing 1/xยทln x or xโ1ยทln x: the derivative of ln x is just 1/x.
- Differentiating ln(2x) as 2/x: the 2 cancels and the derivative is 1/x.
๐งฎ Calculator
The answer appears here, with the working in words.
โ๏ธ Five questions, answers hidden
1. Differentiate ln(3x).
Answer: 1/x
2. Differentiate 3 ln x.
Answer: 3/x
3. Find the second derivative of ln x.
Answer: โ1/x^2
4. Differentiate ln(x^3).
Answer: 3/x
5. What is the slope of y = ln x at x = 2?
Answer: 1/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.
