Derivative of ln|x| Differentiate ln x, for x > 0, and differentiate ln(−x), for x < 0, to conclude that d/dx (ln|x|) = 1/x
Verified step by step guidance
1
Recall that the function \( \ln|x| \) can be expressed piecewise as \( \ln x \) when \( x > 0 \) and \( \ln(-x) \) when \( x < 0 \).
For \( x > 0 \), differentiate \( \ln x \) using the derivative rule for natural logarithm: \( \frac{d}{dx} \ln x = \frac{1}{x} \).
For \( x < 0 \), rewrite \( \ln|x| = \ln(-x) \). Use the chain rule to differentiate: \( \frac{d}{dx} \ln(-x) = \frac{1}{-x} \cdot \frac{d}{dx}(-x) \).
Calculate the derivative inside the chain rule: \( \frac{d}{dx}(-x) = -1 \), so the derivative becomes \( \frac{1}{-x} \times (-1) = \frac{1}{x} \).
Combine both cases to conclude that for all \( x \neq 0 \), \( \frac{d}{dx} \ln|x| = \frac{1}{x} \).
Verified video answer for a similar problem:
This video solution was recommended by our tutors as helpful for the problem above
Video duration:
3m
Play a video:
0 Comments
Key Concepts
Here are the essential concepts you must grasp in order to answer the question correctly.
Derivative of the Natural Logarithm Function
The derivative of ln(x) for x > 0 is 1/x. This follows from the definition of the natural logarithm as the inverse of the exponential function and the chain rule, reflecting how the rate of change of ln(x) depends inversely on x.
The chain rule allows differentiation of composite functions. For ln(−x) when x < 0, we treat −x as an inner function, differentiating ln(u) with respect to u and then u = −x with respect to x, resulting in the derivative −1/x.
Absolute Value Function and Piecewise Differentiation
The function ln|x| is defined piecewise as ln(x) for x > 0 and ln(−x) for x < 0. Differentiating each piece separately and combining results shows that d/dx (ln|x|) = 1/x for all x ≠ 0, capturing the behavior on both sides of zero.