What is the derivative of #|x|#?
1 Answer
In general, there is no derivative as
However, some may find it useful to find the derivative of the function by breaking it into pieces and kind of "avoiding" the discontinuity.
Explanation:
In general, there is no derivative as
However, some may find it useful to find the derivative of the function by breaking it into pieces and kind of "avoiding" the discontinuity.
If you consider the positive side of the function, it is simply a line of positive slope 1. So the derivative is 1.
If you consider the negative side of the function, it is simply a line of negative slope 1. So the derivative is -1.
Right at 0, the two one-side limits are contradictory and of course, this is the discontinuity so there is no derivative defined.
So you could summarize a piecewise derivative of