TExcelTAD
Home › School Calculus: Limits, Derivatives & Integrals › The Limit Definition of Derivative: Secant to Tangent Line

The Limit Definition of Derivative: Secant to Tangent Line

In algebra and geometry, computing the slope of a straight line is straightforward: choose any two distinct points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), and take the ratio of vertical rise to horizontal run:

m=ΔyΔx=y2−y1x2−x1m = \frac{\Delta y}{\Delta x} = \frac{y_2 - y_1}{x_2 - x_1}

For a curved graph, however, the slope changes continuously at every single point. If you attempt to measure the slope at a single point P(x0,f(x0))P(x_0, f(x_0)) using the classical slope formula with only that single point, the formula collapses:

m=f(x0)−f(x0)x0−x0=00(Undefined)m = \frac{f(x_0) - f(x_0)}{x_0 - x_0} = \frac{0}{0} \quad \text{(Undefined)}

To overcome this obstacle, calculus employs the secant-to-tangent limiting process. Instead of trying to calculate the slope using one point directly, we select a second neighboring point on the curve, compute the slope of the secant line connecting them, and then use a limit to slide the second point infinitesimally close to the first.


The Secant to Tangent Geometric Progression

Imagine a point P(x0,f(x0))P\bigl(x_0, f(x_0)\bigr) pinned to a curve. Pick a nearby point Q(x0+h,f(x0+h))Q\bigl(x_0 + h, f(x_0 + h)\bigr) located a horizontal distance h≠0h \neq 0 away:

            y
            │                                  * Q(x_0 + h, f(x_0 + h))
            │                                 /│
            │                                / │
            │                    * P        /  │ f(x_0 + h) - f(x_0) = Δy
            │                   /│         /   │
            │     Curve y=f(x) / │        /    │
            │                 /  │       /     │
            │                /   │      /      │
            └───────────────/────┴─────/───────┴────────► x
                           /    x_0   /      x_0 + h
               Secant line ───────►  └────┬────┘
                                          h = Δx
  1. The Secant Line: The straight line cutting through both PP and QQ has slope:
    msec=ΔyΔx=f(x0+h)−f(x0)hm_{\text{sec}} = \frac{\Delta y}{\Delta x} = \frac{f(x_0 + h) - f(x_0)}{h}
    This represents the average rate of change over the interval [x0,x0+h][x_0, x_0 + h].
  2. The Tangent Line: As h→0h \to 0, point QQ glides along the curve toward PP. The secant line pivots around PP and, in the limit, coincides with the tangent line touching the curve at exactly one point.
  3. The Derivative: The slope of this tangent line is the instantaneous rate of change, defined as the derivative f′(x0)f'(x_0):
    f′(x0)=lim⁡h→0f(x0+h)−f(x0)hf'(x_0) = \lim_{h \to 0} \frac{f(x_0 + h) - f(x_0)}{h}

Formula Box: The Definition of the Derivative

Derivative at a Point x0:f′(x0)=lim⁡h→0f(x0+h)−f(x0)h=lim⁡x→x0f(x)−f(x0)x−x0Derivative as a Function of x:f′(x)=lim⁡h→0f(x+h)−f(x)hStandard Notations:f′(x)=y′=dfdx=ddx[f(x)]\begin{aligned} \text{\bf Derivative at a Point } x_0: \quad &f'(x_0) = \lim_{h \to 0} \frac{f(x_0 + h) - f(x_0)}{h} = \lim_{x \to x_0} \frac{f(x) - f(x_0)}{x - x_0} \\[8pt] \text{\bf Derivative as a Function of } x: \quad &f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h} \\[8pt] \text{\bf Standard Notations:} \quad &f'(x) = y' = \frac{df}{dx} = \frac{d}{dx}\left[ f(x) \right] \end{aligned}

Differentiability Implies Continuity

If a function ff is differentiable at x0x_0, then it is automatically continuous at x0x_0:

f is differentiable at x0  ⟹  f is continuous at x0f \text{ is differentiable at } x_0 \implies f \text{ is continuous at } x_0

[!WARNING] The converse is FALSE: Continuity does not guarantee differentiability. A function can be continuous but fail to have a derivative at points where:

  1. It has a sharp corner or cusp (e.g., f(x)=∣x∣f(x) = |x| at x=0x = 0, where left slope −1≠-1 \neq right slope +1+1).
  2. It has a vertical tangent line (e.g., f(x)=x3f(x) = \sqrt[3]{x} at x=0x = 0, where the difference quotient approaches ∞\infty).

Step-by-Step Paper Notebook Method (The Four-Step Method)

To compute the derivative f′(x)f'(x) on paper directly from first principles:

  • Step 1 (Expand f(x+h)f(x + h)): Replace every occurrence of the variable xx in the formula with (x+h)(x + h), using parentheses. Expand all powers and binomials carefully.
  • Step 2 (Form the Difference): Compute f(x+h)−f(x)f(x + h) - f(x). Every term in f(x)f(x) that does not contain hh must cancel out completely.
  • Step 3 (Divide by hh & Factor): Form the difference quotient f(x+h)−f(x)h\frac{f(x + h) - f(x)}{h}. Factor hh out of every remaining term in the numerator, then cancel it with the denominator hh.
  • Step 4 (Take the Limit): Evaluate lim⁡h→0\lim_{h \to 0} by direct substitution of h=0h = 0 into the simplified expression.

Worked Examples on Paper

Example 1: Differentiating a Quadratic Function from First Principles

Find the derivative function f′(x)f'(x) on paper for f(x)=2x2−3x+4f(x) = 2x^2 - 3x + 4 using the limit definition.

Solution

Follow the Four-Step Method:

  1. Step 1: Compute f(x+h)f(x + h):

    f(x+h)=2(x+h)2−3(x+h)+4=2(x2+2xh+h2)−3x−3h+4=2x2+4xh+2h2−3x−3h+4\begin{aligned} f(x + h) &= 2(x + h)^2 - 3(x + h) + 4 \\ &= 2(x^2 + 2xh + h^2) - 3x - 3h + 4 \\ &= 2x^2 + 4xh + 2h^2 - 3x - 3h + 4 \end{aligned}
  2. Step 2: Subtract f(x)f(x):

    f(x+h)−f(x)=(2x2+4xh+2h2−3x−3h+4)−(2x2−3x+4)=2x2+4xh+2h2−3x−3h+4−2x2+3x−4=4xh+2h2−3h\begin{aligned} f(x + h) - f(x) &= (2x^2 + 4xh + 2h^2 - 3x - 3h + 4) - (2x^2 - 3x + 4) \\ &= 2x^2 + 4xh + 2h^2 - 3x - 3h + 4 - 2x^2 + 3x - 4 \\ &= 4xh + 2h^2 - 3h \end{aligned}

    (Notice that every term without an hh has cancelled out!)

  3. Step 3: Divide by hh and factor:

    f(x+h)−f(x)h=h(4x+2h−3)h=4x+2h−3(for h≠0)\frac{f(x + h) - f(x)}{h} = \frac{h(4x + 2h - 3)}{h} = 4x + 2h - 3 \quad (\text{for } h \neq 0)
  4. Step 4: Take the limit as h→0h \to 0:

    f′(x)=lim⁡h→0(4x+2h−3)=4x+2(0)−3=4x−3f'(x) = \lim_{h \to 0} (4x + 2h - 3) = 4x + 2(0) - 3 = 4x - 3

Final Answer: f′(x)=4x−3f'(x) = 4x - 3.


Example 2: Differentiating a Reciprocal Function

Find f′(x)f'(x) on paper for f(x)=1xf(x) = \frac{1}{x} (for x≠0x \neq 0) using the limit definition.

Solution

  1. Form the difference quotient:

    f′(x)=lim⁡h→0f(x+h)−f(x)h=lim⁡h→01x+h−1xhf'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h} = \lim_{h \to 0} \frac{\frac{1}{x + h} - \frac{1}{x}}{h}
  2. Combine fractions in the numerator using a common denominator x(x+h)x(x + h):

    1x+h−1x=x−(x+h)x(x+h)=x−x−hx(x+h)=−hx(x+h)\frac{1}{x + h} - \frac{1}{x} = \frac{x - (x + h)}{x(x + h)} = \frac{x - x - h}{x(x + h)} = \frac{-h}{x(x + h)}
  3. Divide by hh (which is multiplying by 1h\frac{1}{h}):

    −hx(x+h)h=−hh⋅x(x+h)=−1x(x+h)(for h≠0)\frac{\frac{-h}{x(x + h)}}{h} = \frac{-h}{h \cdot x(x + h)} = \frac{-1}{x(x + h)} \quad (\text{for } h \neq 0)
  4. Evaluate the limit as h→0h \to 0:

    f′(x)=lim⁡h→0−1x(x+h)=−1x(x+0)=−1x2f'(x) = \lim_{h \to 0} \frac{-1}{x(x + h)} = \frac{-1}{x(x + 0)} = -\frac{1}{x^2}

Final Answer: f′(x)=−1x2f'(x) = -\frac{1}{x^2}.


Example 3: Derivative at a Specific Point Using Conjugates

Find the derivative of f(x)=xf(x) = \sqrt{x} at the point x0=9x_0 = 9 using the limit definition.

Solution

  1. Set up the definition at x0=9x_0 = 9:
    f′(9)=lim⁡h→0f(9+h)−f(9)h=lim⁡h→09+h−9h=lim⁡h→09+h−3hf'(9) = \lim_{h \to 0} \frac{f(9 + h) - f(9)}{h} = \lim_{h \to 0} \frac{\sqrt{9 + h} - \sqrt{9}}{h} = \lim_{h \to 0} \frac{\sqrt{9 + h} - 3}{h}
  2. Rationalize using the conjugate 9+h+3\sqrt{9 + h} + 3:
    f′(9)=lim⁡h→0(9+h−3)(9+h+3)h(9+h+3)f'(9) = \lim_{h \to 0} \frac{(\sqrt{9 + h} - 3)(\sqrt{9 + h} + 3)}{h(\sqrt{9 + h} + 3)}
  3. Expand the numerator:
    (9+h)2−32=(9+h)−9=h(\sqrt{9 + h})^2 - 3^2 = (9 + h) - 9 = h
  4. Cancel hh from numerator and denominator:
    f′(9)=lim⁡h→0hh(9+h+3)=lim⁡h→019+h+3f'(9) = \lim_{h \to 0} \frac{h}{h(\sqrt{9 + h} + 3)} = \lim_{h \to 0} \frac{1}{\sqrt{9 + h} + 3}
  5. Substitute h=0h = 0:
    f′(9)=19+0+3=13+3=16f'(9) = \frac{1}{\sqrt{9 + 0} + 3} = \frac{1}{3 + 3} = \frac{1}{6}

Final Answer: The slope of the tangent line to y=xy = \sqrt{x} at x=9x = 9 is f′(9)=16f'(9) = \frac{1}{6}.


Common Mistakes & Paper Traps

  1. Incorrect Evaluation of f(x+h)f(x + h):

    • Trap: Writing f(x+h)=2x2+hf(x + h) = 2x^2 + h instead of 2(x+h)22(x + h)^2.
    • Correction: You must replace every xx with the entire quantity (x+h)(x + h) in parentheses: 2(x+h)2=2(x2+2xh+h2)=2x2+4xh+2h22(x + h)^2 = 2(x^2 + 2xh + h^2) = 2x^2 + 4xh + 2h^2.
  2. Failing to Distribute the Negative Sign across f(x)f(x):

    • Trap: For f(x)=x2−4xf(x) = x^2 - 4x, writing f(x+h)−f(x)=x2+2xh+h2−4x−4h−x2−4xf(x + h) - f(x) = x^2 + 2xh + h^2 - 4x - 4h - x^2 - 4x.
    • Correction: The subtraction applies to the entire expression: −(x2−4x)=−x2+4x- (x^2 - 4x) = -x^2 + 4x. If terms without hh do not cancel, a sign error occurred!
  3. Confusing the Value f′(a)f'(a) with the Function f′(x)f'(x):

    • Trap: Treating f′(3)=9f'(3) = 9 as a formula that can be differentiated again.
    • Correction: f′(x)f'(x) is a function describing slopes everywhere; f′(a)f'(a) is a single constant number representing the slope at x=ax = a.

Pencil & Paper Practice

Solve these problems on paper before reading the worked solutions.

Practice 1

Using the limit definition of the derivative, find f′(x)f'(x) for f(x)=5x−7f(x) = 5x - 7.

Practice 2

Using the limit definition, compute the derivative of f(x)=x3f(x) = x^3 at the general point xx.


Worked Solutions

Solution 1

  1. Compute f(x+h)f(x + h):
    f(x+h)=5(x+h)−7=5x+5h−7f(x + h) = 5(x + h) - 7 = 5x + 5h - 7
  2. Form difference:
    f(x+h)−f(x)=(5x+5h−7)−(5x−7)=5hf(x + h) - f(x) = (5x + 5h - 7) - (5x - 7) = 5h
  3. Divide by hh and evaluate limit:
    f′(x)=lim⁡h→05hh=lim⁡h→0(5)=5f'(x) = \lim_{h \to 0} \frac{5h}{h} = \lim_{h \to 0} (5) = 5

Result: f′(x)=5f'(x) = 5 (which matches the slope m=5m = 5 of the linear function).

Solution 2

  1. Expand f(x+h)=(x+h)3f(x + h) = (x + h)^3 using binomial expansion:
    (x+h)3=x3+3x2h+3xh2+h3(x + h)^3 = x^3 + 3x^2 h + 3x h^2 + h^3
  2. Subtract f(x)=x3f(x) = x^3:
    f(x+h)−f(x)=(x3+3x2h+3xh2+h3)−x3=3x2h+3xh2+h3f(x + h) - f(x) = (x^3 + 3x^2 h + 3x h^2 + h^3) - x^3 = 3x^2 h + 3x h^2 + h^3
  3. Factor hh and divide:
    f(x+h)−f(x)h=h(3x2+3xh+h2)h=3x2+3xh+h2\frac{f(x + h) - f(x)}{h} = \frac{h(3x^2 + 3xh + h^2)}{h} = 3x^2 + 3xh + h^2
  4. Take limit as h→0h \to 0:
    f′(x)=lim⁡h→0(3x2+3xh+h2)=3x2+0+0=3x2f'(x) = \lim_{h \to 0} (3x^2 + 3xh + h^2) = 3x^2 + 0 + 0 = 3x^2

Result: f′(x)=3x2f'(x) = 3x^2.


Test yourself

What geometric entity does the difference quotient f(x0+h)−f(x0)h\frac{f(x_0 + h) - f(x_0)}{h} represent?

  1. The slope of the tangent line at x=x0x = x_0
  2. The slope of the secant line passing through (x0,f(x0))(x_0, f(x_0)) and (x0+h,f(x0+h))(x_0 + h, f(x_0 + h))
  3. The area under the curve between x0x_0 and x0+hx_0 + h
  4. The curvature of the graph at x0x_0

Why does the function f(x)=∣x∣f(x) = |x| fail to have a derivative at x=0x = 0, even though it is continuous there?

  1. Because f(0)f(0) is undefined
  2. Because the left-hand limit of the difference quotient is −1-1 while the right-hand limit is +1+1, so the limit does not exist
  3. Because ∣x∣|x| cannot be evaluated on paper
  4. Because the graph is a smooth curve at the origin

If a function is known to be differentiable at x=ax = a, which statement must always be TRUE?

  1. f(a)=0f(a) = 0
  2. ff is continuous at x=ax = a
  3. f′(a)=0f'(a) = 0
  4. The graph has a vertical asymptote at x=ax = a