Introduction
For a function involving an absolute value, the expression on the two sides of zero can behave differently. The absolute value itself is nonnegative, but the difference quotient divides by the signed increment \(h\). That sign can determine whether the two one-sided limits agree.
For the family \(f(x)=|x|^p\), the exponent controls how quickly the numerator approaches zero compared with the denominator. We can classify differentiability at zero directly from the definition, without relying on a general differentiation rule.
The Function and Its Difference Quotient
For \(p>0\), define \(f:\mathbb{R}\to\mathbb{R}\) by \(f(x)=|x|^p\), with \(f(0)=0\). The derivative at zero exists as a finite real number exactly when the difference quotient has a finite limit as \(h\) approaches zero:
Here, \(f(0)=0\), so for \(h\ne 0\) the quotient is \(\frac{|h|^p}{h}\). To take its limit, we must retain the sign of \(h\).
When \(h>0\), \(|h|=h\), so the quotient is \(h^{p-1}\). When \(h<0\), \(|h|=-h\), and division by the negative \(h\) gives a minus sign:
These expressions provide the key comparison. For \(p>1\), the positive power \(p-1\) makes both sides approach zero. For \(p=1\), the two sides are different constants. For \(0<p<1\), the magnitude grows without bound, with opposite signs.
Worked Examples
Worked Example: The Case \(p=2\)
Let \(f(x)=|x|^2\). Since \(f(0)=0\), its difference quotient at zero is \(\frac{|h|^2}{h}\).
For \(h>0\), \(|h|=h\), so
For \(h<0\), \(|h|=-h\), so
As \(h\) approaches zero from either side, \(h\) approaches zero. Thus both one-sided limits equal zero, and \(f'(0)=0\).
Check: The original quotient simplifies to \(h\) for every \(h\ne0\), and \(\lim_{h\to0}h=0\), confirming the derivative value.
Worked Example: The Case \(p=1\)
Let \(f(x)=|x|\). The difference quotient at zero is \(\frac{|h|}{h}\). For \(h>0\), it equals \(1\); for \(h<0\), it equals \(-1\):
The right-hand limit is \(1\), while the left-hand limit is \(-1\). Since these finite limits are unequal, the two-sided limit does not exist and \(f'(0)\) does not exist.
Check: Substituting the two possible one-sided values into the quotient gives \(1\) for positive increments and \(-1\) for negative increments. They cannot be one common derivative value.
Worked Example: The Case \(p=\frac12\)
Let \(f(x)=|x|^{1/2}\), so \(f(0)=0\). For \(h>0\),
As \(h\) approaches zero through positive values, this quotient grows without bound. For \(h<0\), write \(|h|=-h\):
As \(h\) approaches zero through negative values, the quotient decreases without bound. Neither side approaches a finite real number, so there is no finite derivative at zero.
Check: The magnitudes of the two quotient expressions are \(1/\sqrt{h}\) for \(h>0\) and \(1/\sqrt{-h}\) for \(h<0\). Both grow without bound as the respective increments approach zero, while their signs are opposite.
Worked Example: The Case \(p=\frac32\)
Let \(f(x)=|x|^{3/2}\), with \(f(0)=0\). For \(h>0\), the quotient is
For \(h<0\), it is
Both expressions approach zero from their respective sides. Therefore the two-sided difference quotient has the finite limit zero, and \(f'(0)=0\).
Check: For positive \(h\), \(\sqrt{h}\to0\); for negative \(h\), \(-\sqrt{-h}\to0\). The two one-sided limits agree with the claimed derivative.
Classification for Positive Exponents
The examples illustrate all three behaviors for \(p>0\). The full classification follows by examining \(p-1\) in the one-sided formulas.
Then \(p-1>0\). As \(h\to0^+\), \(h^{p-1}\to0\). As \(h\to0^-\), \(-(-h)^{p-1}\to0\). The one-sided limits agree, so \(f'(0)=0\).
The right-hand quotient is \(h^0=1\), and the left-hand quotient is \(-(-h)^0=-1\). Since the one-sided limits differ, no two-sided derivative exists.
Then \(p-1<0\). The magnitude of each one-sided quotient is a positive quantity raised to a negative power, so it grows without bound as that quantity approaches zero. The quotient cannot have a finite limit.
This argument proves the classification directly from the derivative definition. In particular, a quotient that becomes unbounded is not a finite derivative, even if it has a definite direction of growth on each side.
Why the Sign Must Be Kept
A common mistake is to replace the signed denominator \(h\) by \(|h|\) when simplifying. That changes the quotient. For example, an incorrect calculation for \(f(x)=|x|\) might say
The error is that \(h\) and \(|h|\) are not equal when \(h<0\). The correct calculation keeps the denominator unchanged:
The correction matters: the incorrect calculation would predict a derivative of \(1\), but the actual one-sided limits disagree. Whenever the increment can be negative, retain its sign until the one-sided limits have been evaluated.
What About Zero or Negative Exponents?
The classification theorem assumed \(p>0\), so that \(|0|^p=0\) and the function is defined at zero. For \(p<0\), the expression \(|x|^p\) is not defined at \(x=0\). Since a derivative at a point requires the function to be defined at that point, the expression as given has no derivative at zero.
For \(p=0\), the expression \(0^0\) is not defined by the usual real exponentiation convention. Thus \(|x|^0\), without an additional definition at zero, also does not define a function there. If one separately defines the value at zero, the outcome depends on that choice. For example, assigning \(f(0)=1\) while \(f(x)=1\) for \(x\ne0\) gives the constant function, whose derivative at zero is zero. This is a separately defined extension, not a conclusion from evaluating \(0^0\).
More generally, assigning a value at zero changes the difference quotient, so the positive-exponent theorem cannot simply be applied to a different definition. The domain and the value at the point are part of the differentiability question.
Why This Classification Matters
The exponent provides a compact way to compare the size of the numerator with the size of the increment. When \(p>1\), the numerator \(|h|^p\) shrinks faster than \(|h|\), leaving a quotient that approaches zero. At \(p=1\), the numerator and denominator shrink at the same rate, but the sign change across zero produces unequal slopes. When \(0<p<1\), the numerator shrinks more slowly than \(|h|\), so the quotient becomes unbounded in magnitude.
These are distinct reasons for failing to have a finite derivative. Checking both one-sided quotients identifies which behavior occurs and avoids treating every nondifferentiable case as though it were the same.
Summary
For positive exponents, the difference quotient of \(f(x)=|x|^p\) at zero has right-hand form \(h^{p-1}\) and left-hand form \(-(-h)^{p-1}\). If \(p>1\), both limits are zero and the derivative exists. If \(p=1\), the limits are \(1\) and \(-1\). If \(0<p<1\), the quotients are unbounded in magnitude. For \(p\leq0\), the expression does not by itself define a function at zero under the usual convention, so differentiability there requires a separately specified value.
Check Your Understanding
For each question, use the difference quotient and keep track of the sign of the increment.
- For which positive exponents \(p\) does \(f(x)=|x|^p\) have derivative zero at zero?
- What are the right-hand and left-hand difference quotient limits when \(p=1\)?
- Why does the difference quotient fail to have a finite limit when \(0<p<1\)?
- For \(p=\frac43\), write the quotient separately for \(h>0\) and \(h<0\), then determine the derivative at zero.
- Why must the value and domain of a function at zero be specified before asking whether it has a derivative there?