← Back to learning objective

Derivative of a general linear function via the limit definition

Let mm and bb be constants, and consider the general linear function f(x)=mx+bf(x) = mx + b.

Use the limit definition of the derivative, f′(x)=lim⁡h→0f(x+h)−f(x)h,f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}, to find f′(x)f'(x) for f(x)=mx+bf(x) = mx + b. Show the difference quotient before taking the limit, and state the final expression for f′(x)f'(x).

Hint

Write out f(x+h)=m(x+h)+bf(x+h) = m(x+h) + b, subtract f(x)=mx+bf(x) = mx + b, and simplify the numerator before dividing by hh. Then take the limit as h→0h \to 0.

Step-by-step solution

First compute f(x+h)=m(x+h)+b=mx+mh+bf(x+h) = m(x+h) + b = mx + mh + b. Then form the difference f(x+h)−f(x)=(mx+mh+b)−(mx+b)=mhf(x+h) - f(x) = (mx + mh + b) - (mx + b) = mh. Dividing by hh gives the difference quotient f(x+h)−f(x)h=mhh=m\dfrac{f(x+h)-f(x)}{h} = \dfrac{mh}{h} = m, valid for h≠0h \neq 0.

Since the difference quotient simplifies to the constant mm for all h≠0h \neq 0, taking the limit as h→0h \to 0 gives f′(x)=lim⁡h→0m=mf'(x) = \lim_{h \to 0} m = m. This confirms that a linear function has constant slope mm everywhere, matching the geometric fact that its tangent line coincides with the line itself.

Interpreting the constant derivative of a linear function

Hint
Step-by-step solution

The h canceled because the difference quotient simplified to just m, meaning the average rate of change was already constant before any limit was taken. This happens because f is linear, so its slope never changes between any two points. As a result, the limit as h approaches zero equals m trivially, since the expression no longer depends on h at all.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap