# Derivative of an absolute value

I don't get why: $$\frac{d}{dx}[|u|]=\frac{u}{|u|}(u')$$

Can someone give me an example to which this applies? Can you use any function in place of "u"?

Related Calculus and Beyond Homework Help News on Phys.org
rock.freak667
Homework Helper
but you'd need to know that that isn't differentiable at u=0

and for u>0 ,|u|=u
and for u<0,|u|=-u

for example take |x|

$$\frac{d}{dx}(|x|)=\frac{x}{|x|}$$

for x>0 ,|x|=x

and so $\frac{d}{dx}(x)=\frac{x}{x}=1$ which is true. Take x<0 and it'll also hold true.

HallsofIvy