Mathematics guides →

Mathematics · Rates of change and tangents

Passing through the point is not enough: from average change to a tangent

Edited by: Hitoiki Arcade / Hitoiki Learning team · Published: · Editorial policy

Both y = 2x and y = 4x − 4 pass through (2, 4) on the parabola y = x². Which one is the tangent there? Passing through the point leaves many possible lines. To choose the tangent, we also need the slope of the curve at that point.

Begin with two separated inputs and compare how much the output changes with how much the input changes. Then shrink their separation to approach the rate at one point. You will use algebraic expansion and limits; if limits are unfamiliar, first revisit “Limits and continuity” for the distinction between a point and the values near it.

From an average over an interval to a rate at a point

When the input changes from a to a + h, its change is h and the output change is f(a + h) − f(a). For h ≠ 0, their ratio [f(a + h) − f(a)]/h is the difference quotient. It is the slope of the line joining the two graph points, or the average rate of change over that interval. Subtract the starting output before dividing; the output value alone is not a change.

For f(x) = x², expansion gives (a + h)² − a² = 2ah + h², so the quotient is 2a + h. Fix a = 2: it becomes 4 + h. Choosing h = 1, 0.1 and −0.1 gives slopes 5, 4.1 and 3.9. These are averages over different intervals. As h approaches zero from either side, they approach 4. At a general point a the limit is 2a. When this finite two-sided limit exists, it is the derivative at a, written f′(a).

Expand the change before taking the limit

Setting h = 0 in the original quotient would give a zero denominator. Instead, keep h nonzero, expand the numerator, cancel the common factor h, and then take the limit. For x², the difference between the quotient 2a + h and its limiting value 2a is exactly h. Making |h| small therefore controls the error in the slope directly.

The first quiz example asks which formula defines the derivative at a point. Test f(x) = x + 1 at a = 0: the correct quotient is [(h + 1) − 1]/h = 1. Leaving out the starting value gives 1 + 1/h; using h² below the change gives 1/h; adding the endpoint values gives 1 + 2/h. None of those three has a finite two-sided limit. Nor does every function have a derivative everywhere: for f(x) = |x| at zero, the quotient is 1 on the right and −1 on the left. Even continuity does not guarantee a derivative.

A derivative function collects the rates at different points

The value f′(a) concerns one fixed input a. The derivative function f′(x) gives the rate at each input where that rate exists. For f(x) = x² it is f′(x) = 2x. Substituting 2 gives f′(2) = 4, while substituting 3 gives f′(3) = 6. The original height f(3) = 9 and the slope 6 are different quantities.

The second quiz example asks for the derivative function of f(x) = x⁴. Expand (x + h)⁴ − x⁴ and divide by nonzero h to get 4x³ + 6x²h + 4xh² + h³. For a fixed x, the last three terms tend to zero as h tends to zero, leaving f′(x) = 4x³. Dropping the factor 4 to get x³, or leaving the exponent unchanged to get 4x⁴, changes the result. If asked instead for the derivative at x = 2, take the extra substitution step: 4 × 2³ = 32.

A tangent needs both the point and the local slope

In the third quiz example, find the tangent to y = x² at x = 2. The point on the curve is (2, 4), and the derivative gives slope 2 × 2 = 4. A line of slope 4 through (2, 4) satisfies y − 4 = 4(x − 2). Simplifying gives y = 4x − 4.

The line y = 4x + 4 has slope 4 but gives 12 at x = 2, so it misses the point. Both y = x + 2 and y = 2x pass through (2, 4), but their slopes are 1 and 2. Neither is the tangent. For the correct line, compare heights at x = 2 + h: the curve has height (2 + h)² and the line has height 4(2 + h) − 4. Their difference is h². As h shrinks, this error becomes small faster than |h|, showing how matching the local slope fits the curve nearby. It does not make the whole curve identical to the line.

Move the point to 3 and check both conditions

Try constructing the tangent to the same parabola at x = 3 before reading further. Record the height and slope separately. The height is 3² = 9 and the slope is 2 × 3 = 6. Hence y − 9 = 6(x − 3), or y = 6x − 9. Check both that substituting x = 3 gives 9 and that the line has slope 6.

In the three examples below, watch the numerator and denominator in the definition, the x retained in a derivative function, and the substitution that produces a value at one point. Revisit “Graphs and coordinates” to read coordinates and slopes, or “Composition and inverse functions” to review how inputs determine outputs. The following quiz offers more high-school algebra and function practice at basic and standard difficulty.

TRY & READ

Check your understanding with examples

Compare the choices before opening the answer and explanation. Reading an example does not save a test answer or score.

Example 1 · Algebra and functions

Which limit defines the derivative of f at a?

  1. As h → 0, f(a + h)/h
  2. As h → 0, [f(a + h) − f(a)]/h²
  3. As h → 0, [f(a + h) + f(a)]/h
  4. As h → 0, [f(a + h) − f(a)]/h
Read the answer and explanation

Answer: As h → 0, [f(a + h) − f(a)]/h

The difference quotient compares the output change f(a + h) − f(a) with the input change h. Its limit as h tends to zero, when it exists, is the instantaneous rate of change. The denominator is the input change h, not h², and the numerator is a difference, not a sum.

Read reasoning and more detail

For f(x) = x + 1 at a = 0, the correct quotient is 1; the other three expressions contain a nonzero multiple of 1/h and have no finite two-sided limit.

Example 2 · Algebra and functions

What is the derivative of f(x) = x⁴?

  1. x³
  2. 4x⁴
  3. x⁵/5
  4. 4x³
Read the answer and explanation

Answer: 4x³

Expanding (x + h)⁴ − x⁴ and dividing by h gives 4x³ + 6x²h + 4xh² + h³. As h tends to zero, this approaches 4x³.

Sources for this example

Sources for this guide

Continue with a quiz

Topics: Algebra and functions. Range: General knowledge. Difficulty: Basic, Standard. These are selected initially. You can change these on the setup screen.

Try this topic in a quiz

This opens the setup screen with this subject and topic selected. Check the mode and question count before you start.

A test shows explanations after submission. Continuous challenge explains each answer. Review uses unresolved mistakes recorded on this device. Casual mode does not update learning records.

Enjoyed it? Share the link

Only the page address is shared. Your saves and results are not included.

Link to this page