
What is the derivative of \[\log\left| x \right|\]?
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
219.3k+ views
Hint In the given question, logarithmic expression is given. First we will apply the absolute property that \[\left| x \right| = \left\{ {\begin{array}{*{20}{c}}{ - x}&{x < 0}\\x&{x \ge 0}\end{array}} \right.\]. Then differentiating the given expression with respect to \[x\] by using the formula \[\dfrac{d}{{dx}}\left( {\log x} \right) = \dfrac{1}{x}\].
Formula used:
For \[x > 0\]: \[\log\left| x \right| = \log x\]
For \[x < 0\]: \[\log\left| x \right| = \log\left( { - x} \right)\]
\[\dfrac{d}{{dx}}\left( {\log x} \right) = \dfrac{1}{x}\dfrac{d}{{dx}}\left( x \right)\]
Product rule formula: \[\dfrac{d}{{dx}}\left( {uv} \right) = u\dfrac{{dv}}{{dx}} + v\dfrac{{du}}{{dx}}\]
Complete step by step solution:
The given logarithmic expression is, \[\log\left| x \right|\].
Let consider, \[y = \log\left| x \right|\]
Now differentiate the above equation with respect to \[x\].
For \[x > 0\]:
\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\log\left| x \right|} \right)\]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {logx} \right)\] [since \[\log\left| x \right| = \log x\]]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{1}{x}\]
For \[x < 0\]:
\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\log\left| x \right|} \right)\]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\log\left( { - x} \right)} \right)\] [since \[\log\left| x \right| = \log\left( { - x} \right)\]]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{1}{{ - x}}\left( { - 1} \right)\]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{1}{x}\]
So, derivative of \[log\left| x \right| = \dfrac{1}{x}\] , where \[x \ne 0\].
Hence the correct option is option C.
Note: Students are often get confused with the value of \[\dfrac{d}{{dx}}\left( {\log\left( { - x} \right)} \right)\] whether or \[\dfrac{{ - 1}}{x}\]. But the correct value is \[\dfrac{d}{{dx}}\left( {\log\left( { - x} \right)} \right) = \dfrac{1}{x}\]. Because to calculate the derivative of \[\log\left( { - x} \right)\], we have to apply the chain rule. Because of that negative sign get cancelled.
Formula used:
For \[x > 0\]: \[\log\left| x \right| = \log x\]
For \[x < 0\]: \[\log\left| x \right| = \log\left( { - x} \right)\]
\[\dfrac{d}{{dx}}\left( {\log x} \right) = \dfrac{1}{x}\dfrac{d}{{dx}}\left( x \right)\]
Product rule formula: \[\dfrac{d}{{dx}}\left( {uv} \right) = u\dfrac{{dv}}{{dx}} + v\dfrac{{du}}{{dx}}\]
Complete step by step solution:
The given logarithmic expression is, \[\log\left| x \right|\].
Let consider, \[y = \log\left| x \right|\]
Now differentiate the above equation with respect to \[x\].
For \[x > 0\]:
\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\log\left| x \right|} \right)\]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {logx} \right)\] [since \[\log\left| x \right| = \log x\]]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{1}{x}\]
For \[x < 0\]:
\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\log\left| x \right|} \right)\]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\log\left( { - x} \right)} \right)\] [since \[\log\left| x \right| = \log\left( { - x} \right)\]]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{1}{{ - x}}\left( { - 1} \right)\]
\[ \Rightarrow \]\[\dfrac{{dy}}{{dx}} = \dfrac{1}{x}\]
So, derivative of \[log\left| x \right| = \dfrac{1}{x}\] , where \[x \ne 0\].
Hence the correct option is option C.
Note: Students are often get confused with the value of \[\dfrac{d}{{dx}}\left( {\log\left( { - x} \right)} \right)\] whether or \[\dfrac{{ - 1}}{x}\]. But the correct value is \[\dfrac{d}{{dx}}\left( {\log\left( { - x} \right)} \right) = \dfrac{1}{x}\]. Because to calculate the derivative of \[\log\left( { - x} \right)\], we have to apply the chain rule. Because of that negative sign get cancelled.
Recently Updated Pages
In a game two players A and B take turns in throwing class 12 maths JEE_Main

The number of ways in which 6 men and 5 women can dine class 12 maths JEE_Main

The area of an expanding rectangle is increasing at class 12 maths JEE_Main

If y xxx cdots infty then find dfracdydx A yxy 1 B class 12 maths JEE_Main

Chemical Properties of Hydrogen - Important Concepts for JEE Exam Preparation

JEE General Topics in Chemistry Important Concepts and Tips

Trending doubts
JEE Main 2026: Application Form Open, Exam Dates, Syllabus, Eligibility & Question Papers

Derivation of Equation of Trajectory Explained for Students

Hybridisation in Chemistry – Concept, Types & Applications

Understanding the Angle of Deviation in a Prism

Understanding Collisions: Types and Examples for Students

Understanding Atomic Structure for Beginners

Other Pages
JEE Advanced Marks vs Ranks 2025: Understanding Category-wise Qualifying Marks and Previous Year Cut-offs

How to Convert a Galvanometer into an Ammeter or Voltmeter

Understanding Centrifugal Force in Physics

JEE Main Marking Scheme 2026- Paper-Wise Marks Distribution and Negative Marking Details

Degree of Dissociation: Meaning, Formula, Calculation & Uses

Understanding Electromagnetic Waves and Their Importance

