Using the Definition to Compute the Derivative - Exercise 2

Exercise 2. Discuss the differentiability of

\begin{displaymath}f(x) = \vert x^2 - x\vert\;\cdot\end{displaymath}

Answer. May be the scariest thing about this function is the absolute value. So the best thing to do is to look for ways to remove it. Therefore we are led to find out when x2 - x is positive or negative. We get

\begin{displaymath}f(x) = \left\{\begin{array}{rll}
x^2 - x &\mbox{if $x \leq 0$...
... 1$}\\
x^2 - x &\mbox{if $x \geq 1$}\;.\\
\end{array} \right.\end{displaymath}

Clearly the derivative exists at every point, except maybe at 0 and 1. Let us discuss these two points. Let us start with 0. We have

\begin{displaymath}f'(0) = \lim_{x \rightarrow 0} \frac{f(x) - f(0)}{x-0} = \lim_{x \rightarrow 0} \frac{f(x)}{x}\;\cdot\end{displaymath}

Since the function is defined differently from the left and the right of 0, then we have to consider the limits to the left and to the right at 0. We have

\begin{displaymath}\lim_{x \rightarrow 0-} \frac{f(x)}{x} = \lim_{x \rightarrow 0-} \frac{x^2-x}{x} = -1\end{displaymath}


\begin{displaymath}\lim_{x \rightarrow 0+} \frac{f(x)}{x} = \lim_{x \rightarrow 0+} \frac{-(x^2-x)}{x} = 1\;.\end{displaymath}

This implies that f'(0) does not exist. Similar computations will also give

\begin{displaymath}\lim_{x \rightarrow 1-} \frac{f(x)-f(1)}{x-1} = \lim_{x \rightarrow 1-} \frac{-(x^2-x)}{x-1} = -1\end{displaymath}


\begin{displaymath}\lim_{x \rightarrow 1+} \frac{f(x)-f(1)}{x-1} = \lim_{x \rightarrow 1+} \frac{x^2-x}{x-1} = 1\end{displaymath}

which implies that f'(1) does not exist.

[Back] [Next]
[Trigonometry] [Calculus]
[Geometry] [Algebra] [Differential Equations]
[Complex Variables] [Matrix Algebra]

S.O.S MATHematics home page

Do you need more help? Please post your question on our S.O.S. Mathematics CyberBoard.

Mohamed A. Khamsi
Helmut Knaust

Copyright 1999-2017 MathMedics, LLC. All rights reserved.
Contact us
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA
users online during the last hour