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.