Derivative of an absolute value

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 63K views
lLovePhysics
Messages
169
Reaction score
0
I don't get why: [tex]\frac{d}{dx}[|u|]=\frac{u}{|u|}(u')[/tex]

Can someone give me an example to which this applies? Can you use any function in place of "u"?
 
Physics news on Phys.org
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|

[tex]\frac{d}{dx}(|x|)=\frac{x}{|x|}[/tex]


for x>0 ,|x|=x

and so [itex]\frac{d}{dx}(x)=\frac{x}{x}=1[/itex] which is true. Take x<0 and it'll also hold true.
 
You can use any differentiable function in place of u.

Do what you always do with an absolute value: consider cases u(x)>0 and u(x)< 0 separately.