how to prove that the derivative of this expression(adsbygoogle = window.adsbygoogle || []).push({});

[tex]

f(x)=-\frac12x^2,x<0

[/tex]

[tex]

f(x)=\frac12x^2,x>=0

[/tex]

is f'(x)=|x|

i tried

[tex]

\lim _{x->0^-}\frac{f(x)-f(0)}{x}=\lim _{x->0^-}\frac{-\frac12x^2-0}{x}=\lim _{x->0^-}-\frac12x=0\\

[/tex]

[tex]

\lim _{x->0^-}\frac{f(x)-f(0)}{x}=\lim _{x->0^-}\frac{+\frac12x^2-0}{x}=\lim _{x->0^+}+\frac12x=0

[/tex]

but i get values

it doesnt show that f'(x)=|x|

??

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: How to prove that the derivative f this function is |x|

**Physics Forums | Science Articles, Homework Help, Discussion**