Is d/dx of ln(|x|) = 1/x? Proving the Claim

  • Level: Undergrad 
  • Thread starter Thread starter vikcool812
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
6 replies · 5K views
vikcool812
Messages
13
Reaction score
0
I know d/dx of ln(x) is 1/x , x>0.
A website says d/dx of ln(|x|) is also 1/x for x not = 0 .
is that true , i am unable to prove it!
 
Physics news on Phys.org
Use the chain rule of differentiation.
 
Hi vikcool812 :
Note that ln(|x|)=ln(x) when x>0 and
=ln(-x) when x<0
So d/dx (ln(|x|))=d/dx(ln(x)) when x>0 and
d/dx (ln(|x|))=d/dx(ln(-x)) when x<0 therefore
d/dx(ln(x)) =1/x when x>0 by definition of ln(x) and
d/dx(ln(-x))=-1/-x = 1/x when x<0 by chain rule so in both cases we have
d/dx (ln(|x|))=1/x for not x=0
Best Regards
Riad Zaidan
 
BEWARE... The formula
[tex]\frac{d}{dx}\ln(|x|) = \frac{1}{x}[/tex]
is wrong for complex [itex]x[/itex]
 
Remember that when dealing with absolute values, with either derivatives or limits, it is best to directly use the definition of the absolute value. I.e.,
[tex]|x| = \begin{cases} x &, x\geq 0 \\ -x &, x\leq 0 \end{cases}[/tex]
This is of course what rzaidan used in his solution.
 
Thank You ! Everyone for your valuable suggestions .
 
Hi g_edgar
THankyou for your hint , and my work was in the real numbers.
Best Regards
Riad Zaidan