
The derivative of $ \log \left| x \right| $ is:
(A) $ \dfrac{1}{x},x > 0 $
(B) $ \dfrac{1}{{\left| x \right|}},x \ne 0 $
(C) $ \dfrac{1}{x},x \ne 0 $
(D) None of these
Answer
502.8k+ views
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 $ \left| x \right| $ . 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 \left| x \right| $ .
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, $ \left| x \right| = x $ .
Also, for negative values of x, we have, $ \left| x \right| = \left( { - x} \right) $ .
Hence, we have, $ \left| x \right| = - x $ for $ x < 0 $ and $ \left| x \right| = x $ for $ x > 0 $ .
So, when $ x > 0 $ , $ \log \left| x \right| = \log x $ .
We know that the derivative of $ \log \left( x \right) $ is $ \dfrac{1}{x} $ . Hence, we get,
$ \Rightarrow \dfrac{{d\left( {\log \left| x \right|} \right)}}{{dx}} = \dfrac{{d\left( {\log x} \right)}}{{dx}} = \dfrac{1}{x} $
Now, when $ x < 0 $ , $ \log \left| x \right| = \log \left( { - x} \right) $ .
We know that the derivative of $ \log \left( x \right) $ is $ \dfrac{1}{x} $ . Hence, we get,
\[\dfrac{{d\left( {\log \left| x \right|} \right)}}{{dx}} = \dfrac{{d\left( {\log \left( { - x} \right)} \right)}}{{dx}} = \dfrac{1}{{ - x}} \times \left( { - 1} \right) = \dfrac{1}{x}\].
So, the derivative of the function $ \log \left| x \right| $ is $ \dfrac{1}{x},x \ne 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.
Complete step-by-step answer:
Now, the given function is $ \log \left| x \right| $ .
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, $ \left| x \right| = x $ .
Also, for negative values of x, we have, $ \left| x \right| = \left( { - x} \right) $ .
Hence, we have, $ \left| x \right| = - x $ for $ x < 0 $ and $ \left| x \right| = x $ for $ x > 0 $ .
So, when $ x > 0 $ , $ \log \left| x \right| = \log x $ .
We know that the derivative of $ \log \left( x \right) $ is $ \dfrac{1}{x} $ . Hence, we get,
$ \Rightarrow \dfrac{{d\left( {\log \left| x \right|} \right)}}{{dx}} = \dfrac{{d\left( {\log x} \right)}}{{dx}} = \dfrac{1}{x} $
Now, when $ x < 0 $ , $ \log \left| x \right| = \log \left( { - x} \right) $ .
We know that the derivative of $ \log \left( x \right) $ is $ \dfrac{1}{x} $ . Hence, we get,
\[\dfrac{{d\left( {\log \left| x \right|} \right)}}{{dx}} = \dfrac{{d\left( {\log \left( { - x} \right)} \right)}}{{dx}} = \dfrac{1}{{ - x}} \times \left( { - 1} \right) = \dfrac{1}{x}\].
So, the derivative of the function $ \log \left| x \right| $ is $ \dfrac{1}{x},x \ne 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.
Recently Updated Pages
A man running at a speed 5 ms is viewed in the side class 12 physics CBSE

The number of solutions in x in 02pi for which sqrt class 12 maths CBSE

State and explain Hardy Weinbergs Principle class 12 biology CBSE

Write any two methods of preparation of phenol Give class 12 chemistry CBSE

Which of the following statements is wrong a Amnion class 12 biology CBSE

Differentiate between action potential and resting class 12 biology CBSE

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

Draw a labelled sketch of the human eye class 12 physics CBSE

How much time does it take to bleed after eating p class 12 biology CBSE

Explain sex determination in humans with line diag class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

