d/dx ln(x^2) = 2/x ยท the logarithm rule with a log law

Derivative of ln(x2)

0methods worked0practice questions0students taught0teaching online since
the answer

The derivative of ln(x^2) is 2/x, by the logarithm rule with a log law. The second derivative is โˆ’2/x^2. Defined for x โ‰  0.

the rule

๐Ÿ“ The logarithm rule with a log law

ln(xn) = n ln x, so d/dx ln(xn) = n/x.

d/dx ln(x2) = 2/x, and dยฒ/dxยฒ ln(x2) = โˆ’2/x2.

step by step

โœ๏ธ Differentiating ln(x2)

  1. Log law first: ln(x2) = 2 ln x.
  2. Differentiate: 2 ร— (1/x) = 2/x.
  3. Or the chain rule with u = x2: (1/x2) ร— 2x1 = 2/x. The same answer.
why it is true

๐Ÿ” Where the rule comes from

The power inside the log becomes a factor in front (ln(x2) = 2 ln x), which is the fastest route; the chain rule gives the same thing after cancelling x1 against x2. Note ln(x2) is defined for every x โ‰  0 (x2 is positive), and the derivative 2/x is valid on both sides of 0.

at a point

๐Ÿ“ The slope of ln(x2) 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(x2)2/xTangent line
x = โˆ’21.3863โˆ’1y = โˆ’x โˆ’ 0.6137
x = โˆ’10โˆ’2y = โˆ’2x โˆ’ 2
x = โˆ’0.5โˆ’1.3863โˆ’4y = โˆ’4x โˆ’ 3.3863
x = 0.5โˆ’1.38634y = 4x โˆ’ 3.3863
x = 102y = 2x โˆ’ 2
x = 21.38631y = x โˆ’ 0.6137
x = 32.19720.6667y = 0.6667x + 0.1972
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 x1/xthe page
ln(2x)1/xthe page
ln(3x)1/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/x2: the inside is not plain x, so the chain rule (or the log law) is needed.
try another number

๐Ÿงฎ Calculator

The answer appears here, with the working in words.

practice

โœ๏ธ Five questions, answers hidden

1. Differentiate ln(x^3).

Answer: 3/x

2. Differentiate ln(โˆšx).

Answer: 1/(2x)

3. Find the second derivative of ln(x^2).

Answer: โˆ’2/x^2

4. Differentiate ln(2x).

Answer: 1/x

5. What is the slope of y = ln(x^2) at x = 1?

Answer: 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(x2)

1What is the derivative of ln(x^2)?
2/x, by the logarithm rule with a log law. Defined for x โ‰  0.
2Which rule differentiates ln(x^2)?
The logarithm rule with a log law: ln(x^n) = n ln x, so d/dx ln(x^n) = n/x.
3What is the second derivative of ln(x^2)?
โˆ’2/x^2: differentiate 2/x once more.
4What is the slope of y = ln(x^2) at x = 3?
0.6667 (to four decimal places): the derivative evaluated at that point. The tangent line there is y = 0.6667x + 0.1972.