The Derivative of a Constant Function
You'll learn why the derivative of any constant function always equals zero and what that means visually.
The Core Idea
A constant function is one that never changes—it has the same output no matter what input you give it. For example, f(x) = 5, g(x) = -3, or h(x) = π are all constant functions.
When we take the derivative, we're measuring the instantaneous rate of change. But if something isn't changing at all, its rate of change must be zero. That's exactly what happens with constant functions.
Using the Limit Definition
Let's prove this using the definition of the derivative. If f(x) = c (where c is any constant), then:
f'(x) = lim[h→0] (f(x+h) - f(x))/h
= lim[h→0] (c - c)/h
= lim[h→0] 0/h
= lim[h→0] 0
= 0
Since f(x+h) = c and f(x) = c (constants don't change with input), the numerator becomes zero, and the whole fraction equals zero.
Geometric Interpretation
Picture the graph of f(x) = 5. It's a perfectly horizontal line at y = 5. The tangent line at any point on this graph is just the line itself—horizontal. A horizontal line has a slope of zero. Since the derivative represents the slope of the tangent line, f'(x) = 0.
The Rule
For any constant c:
- If f(x) = c, then f'(x) = 0
This makes intuitive sense: constants don't vary, so their rate of change is zero.
Key Takeaway: The derivative of any constant function is always zero because constants don't change, and the derivative measures rate of change.