
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
163.5k+ 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
Geometry of Complex Numbers – Topics, Reception, Audience and Related Readings

JEE Main 2021 July 25 Shift 1 Question Paper with Answer Key

JEE Main 2021 July 22 Shift 2 Question Paper with Answer Key

JEE Main 2025 Session 2: Exam Date, Admit Card, Syllabus, & More

JEE Atomic Structure and Chemical Bonding important Concepts and Tips

JEE Amino Acids and Peptides Important Concepts and Tips for Exam Preparation

Trending doubts
Degree of Dissociation and Its Formula With Solved Example for JEE

Instantaneous Velocity - Formula based Examples for JEE

JEE Main Chemistry Question Paper with Answer Keys and Solutions

JEE Main Reservation Criteria 2025: SC, ST, EWS, and PwD Candidates

What is Normality in Chemistry?

Chemistry Electronic Configuration of D Block Elements: JEE Main 2025

Other Pages
Total MBBS Seats in India 2025: Government College Seat Matrix

NEET Total Marks 2025: Important Information and Key Updates

Neet Cut Off 2025 for MBBS in Tamilnadu: AIQ & State Quota Analysis

Karnataka NEET Cut off 2025 - Category Wise Cut Off Marks

NEET Marks vs Rank 2024|How to Calculate?

NEET 2025: All Major Changes in Application Process, Pattern and More
