Question
Question: Find the derivative of \( \log \left| x \right| \) . ( \( x \ne 0 \) ) A. \( 1/x \) B. \( -1/x ...
Find the derivative of log∣x∣ . ( x=0 )
A. 1/x
B. −1/x
C. x
D. −x
Solution
Hint : It is mentioned in the question that x is not equal to 0 which means either x is greater than zero or less than zero. So, one time we will take x more than 0 and other times less than 0 and will find the values. We will solve the question accordingly and check both the answers which will come.
Complete step-by-step answer :
According to the question:
Given: x is not equal to 0 so either x is more than 0 or less than 0.
x>0 or x<0
When x is more than zero ( x>0 ) then value of x will be positive and
we will take log(x)
When x is less than zero ( x<0 ) then value of x will be negative and
we will take log(−x)
First we will take x>0 ,
Let y=logx
Now we will differentiate this function with respect to x,
dxdy=x1.1
dxdy=x1
Now take x<0
Let y=log(−x)
Now we will differentiate this function with respect to x,
dxdy=−x1.(−1)
dxdy=x1
So, either we take x more than zero or less than zero, our answer is the same , which is x1 .
Hence, value of derivative of log∣x∣ is x1 . So option (1) is the correct answer.
So, the correct answer is “Option 1”.
Note : Whenever it is mentioned in the question that the value of the derivative is not equal to some digit then, we must consider all other digits to find the answer. In the above solution, differentiation is done with respect to x and by using the chain rule of differentiation.