Ma · Mathematics

How Do Secant Slopes Give the Slope of a Curve?

Published By the 9to5Science editorial team

At a glance

  1. 1. Choose a point

    Let the curve be y = f(x), and choose the point with x-coordinate a.

  2. 2. Form a secant

    Use a second point a distance h away and calculate the slope between the two points.

  3. 3. Take the limit

    Let h approach zero; if the quotient tends to a finite value, that value is the tangent slope.

  4. 4. Check both sides

    For an interior point, confirm the same limit is approached from positive and negative h.

Advertisement

A curve does not generally have one slope everywhere: its direction can change from point to point. To define the slope at a particular point, start with the slope of a line through two points on the curve, then move the points closer together. When the secant slopes approach a finite limit, that limit is the curve’s tangent slope at the point.

From a secant slope to a derivative

Suppose the curve is the graph of y=f(x)y=f(x), and you want its slope at the point (a,f(a))(a,f(a)). Choose a second point on the curve, (a+h,f(a+h))(a+h,f(a+h)), where h≠0h\ne 0. The line through these two points is a secant line. Its slope is the change in height divided by the change in the horizontal coordinate:

f(a+h)−f(a)(a+h)−a=f(a+h)−f(a)h.\frac{f(a+h)-f(a)}{(a+h)-a}=\frac{f(a+h)-f(a)}{h}.

This quotient is called a difference quotient. It gives the average rate of change of ff over the interval from aa to a+ha+h, not yet the slope at a single point. To get the slope at aa, take the limit as the second point approaches the first:

f′(a)=lim⁡h→0f(a+h)−f(a)h.f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}.

The notation f′(a)f'(a) is read “f prime of a.” If the limit exists and is finite, the function is differentiable at aa, and the limit is the slope of the tangent line to the graph there. The equivalent form is

f′(a)=lim⁡x→af(x)−f(a)x−a.f'(a)=\lim_{x\to a}\frac{f(x)-f(a)}{x-a}.

Here, xx is the horizontal coordinate of the moving point; in the first form, hh is its displacement from aa. Both definitions express the same limiting process.

Worked example: the slope of y=x2y=x^2 at x=2x=2

Let f(x)=x2f(x)=x^2 and a=2a=2. The fixed point on the curve is (2,4)(2,4). A second point is (2+h,(2+h)2)(2+h,(2+h)^2), so the secant slope is

f(2+h)−f(2)h=(2+h)2−22h=4+4h+h2−4h=4+h,h≠0.\begin{aligned} \frac{f(2+h)-f(2)}{h} &=\frac{(2+h)^2-2^2}{h}\\ &=\frac{4+4h+h^2-4}{h}\\ &=4+h,\qquad h\ne 0. \end{aligned}

Now let hh approach zero. The secant slope 4+h4+h approaches 44, so

f′(2)=lim⁡h→0(4+h)=4.f'(2)=\lim_{h\to 0}(4+h)=4.

Thus the curve’s tangent slope at (2,4)(2,4) is 44. The tangent line through that point has equation

y−4=4(x−2),y-4=4(x-2),

which simplifies to y=4x−4y=4x-4. The limit finds the slope; the point and that slope determine the tangent line.

Why the limit must approach from both sides

At an interior point, hh can be positive or negative. Positive hh gives secants using points to the right of aa, while negative hh gives secants using points to the left. The ordinary derivative exists only if both one-sided limits agree and are finite. If the question concerns an endpoint of a function’s domain, a one-sided derivative may instead be considered, depending on the context.

For example, take f(x)=∣x∣f(x)=|x| at a=0a=0. When h>0h>0, the difference quotient is ∣h∣/h=1|h|/h=1. When h<0h<0, it is ∣h∣/h=−1|h|/h=-1. Since the two sides approach different values, f′(0)f'(0) does not exist. The graph has a sharp corner there, so there is no single tangent slope in the usual derivative sense.

Common mistakes

  • Substituting h=0h=0 before simplifying. The difference quotient then has denominator zero. Keep h≠0h\ne 0, simplify the expression, and only then take the limit.
  • Stopping at the secant slope. A quotient for one fixed nonzero hh is an average slope over an interval. The derivative requires the limit as hh approaches zero.
  • Changing only the function value. The numerator must be the change in output, f(a+h)−f(a)f(a+h)-f(a), and the denominator must be the matching change in input, hh.
  • Assuming every curve has a tangent slope. Corners, cusps, discontinuities, or an unbounded limiting slope can prevent a finite derivative. Check that the limit actually exists.
  • Confusing slope with the tangent-line equation. The derivative gives the slope at the chosen point. To write the line, also use the point (a,f(a))(a,f(a)) in point-slope form: y−f(a)=f′(a)(x−a)y-f(a)=f'(a)(x-a).

The method works for any function for which the relevant limit can be evaluated. Algebraic simplification is often useful, but the defining idea remains the same: calculate secant slopes and examine what they approach as the points merge.

References

  1. OpenStax, Calculus Volume 1
  2. James Stewart, Calculus: Early Transcendentals

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.