d/dx ln x = 1/x ยท the logarithm rule

Derivative of ln x

0methods worked0practice questions0students taught0teaching online since
the answer

The derivative of ln x is 1/x, by the logarithm rule. The second derivative is โˆ’1/x^2. Defined for x > 0.

the rule

๐Ÿ“ 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.

step by step

โœ๏ธ Differentiating ln x

  1. d/dx ln x = 1/x for x > 0.
  2. The second derivative is โˆ’1/x2, so ln x is increasing and concave down everywhere it is defined.
why it is true

๐Ÿ” 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.

at a point

๐Ÿ“ 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.

Pointln x1/xTangent line
x = 0.5โˆ’0.69312y = 2x โˆ’ 1.6931
x = 101y = x โˆ’ 1
x = 20.69310.5y = 0.5x โˆ’ 0.3069
x = 31.09860.3333y = 0.3333x + 0.0986
the family

๐Ÿ‘ช 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.

FunctionDerivative
ln(2x)1/xthe page
ln(3x)1/xthe page
ln(x2)2/xthe page
ln(x3)3/xthe page
log_10 x1/(x ln 10)the page
log_2 x1/(x ln 2)the page
ln(x + 1)1/(x + 1)the page
ln(2x + 1)2/(2x + 1)the page
ln(x2 + 1)2x/(x2 + 1)the page
ln(sin x)cot xthe page
mistakes

โš ๏ธ 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.
try another number

๐Ÿงฎ Calculator

The answer appears here, with the working in words.

practice

โœ๏ธ 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

where this is taught

๐Ÿ“š 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.

Book a free demoLet's go!

The maths library, by topic
Questions

Asked about Derivative of ln x

1What is the derivative of ln x?
1/x, by the logarithm rule. Defined for x > 0.
2Which rule differentiates ln x?
The logarithm rule: d/dx ln x = 1/x; d/dx ln u = (1/u) ยท du/dx.
3What is the second derivative of ln x?
โˆ’1/x^2: differentiate 1/x once more.
4What is the slope of y = ln x at x = 3?
0.3333 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = 0.3333x + 0.0986.