Computing Derivatives from the Definition: Linear Functions
You'll learn how to use the limit definition to find derivatives of linear functions and confirm they have constant slopes.
The Core Idea
Linear functions have the form f(x) = mx + b, where m is the slope and b is the y-intercept. We already know intuitively that linear functions have constant slopes—they're straight lines! Now we'll use the limit definition of the derivative to prove this mathematically and show that the derivative equals that constant slope.
Applying the Limit Definition
Recall the limit definition of the derivative:
f'(x) = lim[h→0] [f(x + h) - f(x)] / h
For a linear function f(x) = mx + b:
- Compute f(x + h): f(x + h) = m(x + h) + b = mx + mh + b
- Form the difference quotient:
- [f(x + h) - f(x)] / h = [(mx + mh + b) - (mx + b)] / h
- = [mx + mh + b - mx - b] / h
- = mh / h
- = m
- Take the limit: lim[h→0] m = m
The h cancels out immediately, leaving just the slope m, which doesn't depend on h at all!
What This Tells Us
The derivative of any linear function is simply its slope. This confirms what we already knew: straight lines have constant rates of change. The derivative doesn't vary with x—it's the same everywhere on the line.
Example: For f(x) = 3x + 5, the derivative is f'(x) = 3 at every point.
Key Takeaway: Applying the limit definition to linear functions f(x) = mx + b always yields f'(x) = m, confirming that derivatives measure slope and that linear functions have constant slopes everywhere.