You are here:

Advanced Math/Differentiability

Advertisement


Question
Hello Sir
I was confused by this problem;

I know the function |X-1|(absolute Value) is not differentiable at one because it has sharp corner in that point
but is the function differentiable in (-∞,1] including one
and on [1,∞) including one?
I am confused since it is not differentiable at 1 how can those inclusive braces be used?

Answer
Michael~

The absolute value function is really a piecewise function:
f(x) = |x - 1| is the same as saying:

             x - 1  for x in [1,∞)
f(x) =
            -(x - 1)  for x in (-∞,1] which is the same as saying 1 - x  in (-∞,1]

If you use the definition of the derivative: A function f is said to be differentiable at 'a' if the limit of the difference quotient exists or if
f'(a) = lim (h->0) [f(a + h) - f(a)]/h exists

Since the absolute function is defined piecewise you need to check it on both pieces:

f'(x) = lim(h->0) [(x + h) - 1 - (x - 1)]/h = lim(h->0)[x + h - 1 - x + 1]/h
= lim(h->0) h/h = lim(h->0) 1 = 1

and

f'(x) = lim(h->0) [1 - (x + h) - (1 - x)]/h = lim(h->0)[1 - x - h - 1 + x]/h
= lim(h->0) -h/h = lim(h->0) -1 = -1

Hopefully this clears up your questions, if not please write more.

Math Prof

** In a sense you are examining each piece as if they are separate functions. On the interval [1,∞) you are actually examining what happens as h approaches 0 from the right and on the interval (-∞,1] you are examining as h approaches 0 from the left. Just because the limit of |x - 1| doesn't exist doesn't mean it's individual pieces don't have a limit.
If you look at the graph (from left to right) the slope of the tangent line is -1 for the first piece and the slope of the second piece is 1, these both exist but are not the same and this is why we say the whole function is not differentiable because in order to be differentiable the limits must both exist and be the same, and in this case they fail because the limits  are not equal.

!!! Sorry I made a couple of typos on the first draft but I believe the typos are corrected in this version, sorry...

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Sherry Wallin

Expertise

I can answer most questions up through Calculus and some in Number Theory and Abstract Algebra.

Experience

I have had my Bachelor's Degree since 1987 and have been a teacher since 1988. I earned my Masters Degree in Mathematics May 2010. I have been teaching at the same community college since 2002.

Education/Credentials
I have taught 12 years at the community college level, medical college, and technical college as well as a high school instructor and alternative education instructor and charter school instructor.

Awards and Honors
Master's GPA 3.56 Bachelor's GPA 3.34 Post grad work not degree related GPA 4.0

©2012 About.com, a part of The New York Times Company. All rights reserved.