The derivative of absolute value is one of the most instructive topics in introductory calculus because it forces students to confront what it really means for a function to have a slope. Unlike smooth polynomials or trigonometric curves, the absolute value function creates a sharp corner at the origin, which makes its derivative behave in a way that seems counterintuitive at first. If you have ever wondered how to find the derivative of absolute value functions, or why the derivative does not exist at certain points, this guide will walk you through the logic, the calculations, and the underlying theory in clear, practical terms Most people skip this — try not to..
What Is the Absolute Value Function?
Before calculating any derivative, it helps to understand the function itself. The absolute value of a real number x, written as |x|, represents the distance of x from zero on the number line, regardless of direction. Mathematically, it is defined as a piecewise function:
- |x| = x, when x ≥ 0
- |x| = -x, when x < 0
If you graph y = |x|, you get a V-shaped curve with its vertex at the origin (0, 0). The left side slopes downward at a rate of -1, and the right side slopes upward at a rate of 1. Here's the thing — the function is continuous everywhere, meaning there are no breaks or holes in the graph. That said, continuity alone does not guarantee that a derivative exists at every point, as you will soon see.
Counterintuitive, but true.
The Derivative of Absolute Value: The Core Rule
The derivative of |x| depends entirely on whether x is positive, negative, or exactly zero. The core rule can be summarized as follows:
- For x > 0, the derivative of |x| is 1.
- For x < 0, the derivative of |x| is **-