Derivatives of Linear Functions
What you'll learn: You'll discover that the derivative of any linear function is simply its slope—a beautiful connection between algebra and calculus.
The Core Idea
A linear function has the form f(x) = mx + b, where m is the slope and b is the y-intercept. You already know from the Power Rule that the derivative of x is 1, and the derivative of a constant is 0. Let's put these together.
When we apply our derivative rules to f(x) = mx + b:
- The term mx is a constant (m) times x, so its derivative is m · 1 = m
- The term b is a constant, so its derivative is 0
- Adding these: f'(x) = m + 0 = m
The derivative is exactly the slope of the line!
Verifying with the Definition
Let's confirm this using the limit definition. For f(x) = mx + b:
f'(x) = lim[h→0] [f(x+h) - f(x)]/h
= lim[h→0] [(m(x+h) + b) - (mx + b)]/h
= lim[h→0] [mx + mh + b - mx - b]/h
= lim[h→0] [mh]/h
= lim[h→0] m = m
Perfect agreement! The derivative equals the slope.
Why This Makes Sense
Think about what a derivative measures: the instantaneous rate of change. A line has the same steepness everywhere—it never curves. Its rate of change at every point is constant, which is exactly what the slope tells us. A derivative that equals m everywhere confirms this constancy.
Key Takeaway: The derivative of a linear function f(x) = mx + b is simply its slope m, confirming that lines have constant rates of change everywhere.