Question
Question: The derivative of \( \log \left| x \right| \) is: (A) \( \dfrac{1}{x},x > 0 \) (B) \( \dfrac{1...
The derivative of log∣x∣ is:
(A) x1,x>0
(B) ∣x∣1,x=0
(C) x1,x=0
(D) None of these
Solution
Hint : In the given question, we have to find the derivative of a composite logarithmic function. The input of the logarithmic function provided to us is ∣x∣ . So, we interpret the modulus function as a piecewise function and find the derivative in both the cases accordingly. We must know the derivative of logarithmic function to solve the given problem.
Complete step-by-step answer :
Now, the given function is log∣x∣ .
We know that the modulus function gives only the positive values of a variable. So, we interpret the modulus as a piecewise function.
So, for positive values of x, we have, ∣x∣=x .
Also, for negative values of x, we have, ∣x∣=(−x) .
Hence, we have, ∣x∣=−x for x<0 and ∣x∣=x for x>0 .
So, when x>0 , log∣x∣=logx .
We know that the derivative of log(x) is x1 . Hence, we get,
⇒dxd(log∣x∣)=dxd(logx)=x1
Now, when x<0 , log∣x∣=log(−x) .
We know that the derivative of log(x) is x1 . Hence, we get,
dxd(log∣x∣)=dxd(log(−x))=−x1×(−1)=x1.
So, the derivative of the function log∣x∣ is x1,x=0 .
Hence, option (C) is the correct answer.
So, the correct answer is “Option C”.
Note : We must know the rules of differentiation such as chain rule before solving the problem. Chain rule of differentiation helps us in differentiating composite functions layer by layer. We must remember derivatives of some basic functions. One must know how to differentiate a piecewise function to solve such questions.