Skip to content

Limit Definition of the Derivative

In this lesson you’ll learn the formal definition of the derivative, how to compute derivatives directly from that definition, and why this matters even though faster rules exist.

In the last lesson you learned that the derivative is the slope of the tangent line at a point. Now we make that precise.

The derivative of f at x = a is defined as:

f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}

Here’s what’s happening. Pick a point on the curve at x = a. Now pick a second point at x = a + h, where h is some small number. Draw a line through both points. That’s a secant line, and its slope is the difference quotient:

secant slope=f(a+h)f(a)h\text{secant slope} = \frac{f(a + h) - f(a)}{h}

As h gets smaller, the second point slides closer to the first, and the secant line rotates toward the tangent line. When h reaches 0, the secant becomes the tangent. The limit captures that exact moment.

f(x) = x² tangent (slope = f'(a)) secant line h

The blue curve is f(x). The orange dot is the point at x = a, and the purple dot is at x = a + h. The dashed purple line is the secant through both points. The solid green line is the tangent at x = a. As h shrinks toward 0, the purple dot slides toward the orange dot, and the secant rotates to match the tangent.

If this limit exists, f is differentiable at a, meaning the curve is smooth enough there to have a well-defined tangent line.

To find the derivative as a function (not just at one point), replace a with x:

f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}

This gives you a formula that works at every x where the limit exists.

Example 1: Derivative of f(x) = x² at x = 3

Set up the definition with a = 3:

f(3)=limh0(3+h)232hf'(3) = \lim_{h \to 0} \frac{(3 + h)^2 - 3^2}{h}

Expand the numerator:

=limh09+6h+h29h=limh06h+h2h= \lim_{h \to 0} \frac{9 + 6h + h^2 - 9}{h} = \lim_{h \to 0} \frac{6h + h^2}{h}

Factor out h:

=limh0(6+h)=6= \lim_{h \to 0} (6 + h) = 6

The slope of the tangent line to y = x² at x = 3 is exactly 6.

Example 2: Derivative of f(x) = 3x + 2 (at any point)

f(a)=limh03(a+h)+2(3a+2)hf'(a) = \lim_{h \to 0} \frac{3(a + h) + 2 - (3a + 2)}{h}

Simplify the numerator:

=limh03a+3h+23a2h=limh03hh=3= \lim_{h \to 0} \frac{3a + 3h + 2 - 3a - 2}{h} = \lim_{h \to 0} \frac{3h}{h} = 3

The derivative is 3 everywhere. That makes sense: a line with slope 3 has the same steepness at every point. The tangent line to a straight line is the line itself.

Example 3: General derivative of f(x) = x²

Instead of plugging in a specific number, leave x as a variable:

f(x)=limh0(x+h)2x2hf'(x) = \lim_{h \to 0} \frac{(x + h)^2 - x^2}{h}

Expand:

=limh0x2+2xh+h2x2h=limh02xh+h2h= \lim_{h \to 0} \frac{x^2 + 2xh + h^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh + h^2}{h}

Factor:

=limh0(2x+h)=2x= \lim_{h \to 0} (2x + h) = 2x

So the derivative of x² is 2x. At x = 1 the slope is 2, at x = 3 the slope is 6, at x = 5 the slope is 10. The curve gets steeper as x increases, and the derivative tells you exactly how steep.

The limit definition is the rigorous foundation for all derivative calculations:

  • Physics: if position is s(t) = t², the limit definition gives velocity v(t) = 2t. At t = 3 seconds, you’re moving at exactly 6 units per second.
  • Economics: marginal cost is the derivative of total cost. The limit definition is how you prove that the marginal cost formula actually works.
  • Engineering: stress analysis requires knowing exact rates of change, not approximations. The limit definition guarantees precision.

The shortcut rules you’ll learn next (power rule, product rule, chain rule) all come from applying this definition to general cases and simplifying. Understanding the definition means you’ll know why those rules work, not just how to use them.

The formal definition of the derivative at x = a is:
Using the limit definition, the derivative of f(x) = x² is:
As h approaches 0, the secant line becomes:
For f(x) = 5x + 1, the derivative using the limit definition is:
Why study the limit definition when shortcut rules exist?