Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

The difference quotient measures how much a function changes compared with how much its input changes. It is the slope of a secant line through two points on a graph. This idea matters because it connects familiar slope from algebra to instantaneous rate of change in calculus.

It is used to describe motion, growth, cost, and any situation where a quantity changes with another quantity.

For a function f(x), the difference quotient is built by comparing f(x + h) and f(x), then dividing by the input change h. As h gets smaller, the second point on the graph moves closer to the first point, and the secant line approaches the tangent line. If the limit exists as h approaches 0, the result is the derivative f'(x).

Simplifying the difference quotient carefully is often the main algebra step before taking the limit.

Understanding Math: Difference Quotient

A secant slope is an average over an interval, so its meaning depends on the two inputs chosen. A large interval can hide important behavior between its endpoints. For example, a car can have an average speed of sixty kilometers per hour over one hour even if it stopped at traffic lights or moved much faster on a highway.

A difference quotient over a short time interval gives a closer picture of what happened near one moment. This is why the size and direction of h matter. A positive h compares a point to one on its right.

A negative h compares it to one on its left. When a function is smooth, slopes from both sides settle toward the same value.

The main work is often algebra rather than calculus. Start by replacing every x in the function with x plus h. Parentheses are essential, especially for powers, fractions, and negative terms.

Next subtract the original function value from the new value. Expand or factor until h is a factor in the numerator. Only then can that common factor be cancelled with the h in the denominator.

This cancellation does not mean h was set equal to zero. During the calculation h must stay nonzero. After simplification, the expression may make sense near zero, which is what allows a limiting value to be found.

Consider a cubic function where the output is x cubed. Replacing x with x plus h produces terms containing x cubed, three x squared h, three x h squared, and h cubed. Subtracting x cubed removes the first term.

Every remaining term contains h. After dividing by h, the result is three x squared plus three x h plus h squared. Values of h close to zero make the last two parts very small, leaving three x squared as the local rate.

This pattern shows why powers produce changing slopes. A straight line has the same slope everywhere, but curved graphs usually become steeper or flatter as x changes.

Rates always carry units, and units help check whether an answer makes sense. If a height is measured in meters and time is measured in seconds, a difference quotient has units of meters per second. If a cost is measured in dollars and production is measured in items, the rate has units of dollars per item.

In a graph of distance against time, a negative slope means the measured position is decreasing. A zero slope means no change at that instant or over that interval. Students should watch for graphs with corners, cusps, jumps, or vertical tangents.

Near such points, nearby secant slopes may disagree, grow without bound, or fail to settle. In those cases, a single instantaneous slope may not exist even when the function has a value there.

Key Facts

  • Difference quotient: (f(x + h) - f(x)) / h, where h is not 0.
  • Average rate of change from x = a to x = b: (f(b) - f(a)) / (b - a).
  • For two nearby inputs x and x + h, the secant slope is (f(x + h) - f(x)) / h.
  • Derivative definition: f'(x) = lim as h -> 0 of (f(x + h) - f(x)) / h.
  • For f(x) = x^2, (f(x + h) - f(x)) / h = 2x + h, so f'(x) = 2x.
  • The difference quotient is undefined at h = 0, but its limit as h approaches 0 may exist.

Vocabulary

Difference quotient
A ratio that compares the change in a function value to the change in input, usually written as (f(x + h) - f(x)) / h.
Secant line
A line that passes through two points on a curve and represents an average rate of change.
Tangent line
A line that touches a curve at one point and has the same instantaneous slope as the curve there.
Derivative
The limit of the difference quotient as the input change approaches zero, representing instantaneous rate of change.
Limit
The value a function or expression approaches as the input gets closer to a specified number.

Common Mistakes to Avoid

  • Substituting h = 0 too early is wrong because the difference quotient has h in the denominator and becomes undefined before simplification.
  • Forgetting to subtract the entire f(x) expression is wrong because f(x + h) - f(x) requires parentheses around both function values.
  • Expanding f(x + h) incorrectly is wrong because x + h must be treated as one complete input, such as (x + h)^2 = x^2 + 2xh + h^2.
  • Stopping before canceling h is wrong because the limit as h approaches 0 usually cannot be evaluated until a common factor of h is simplified.

Practice Questions

  1. 1 For f(x) = 3x + 5, find and simplify (f(x + h) - f(x)) / h.
  2. 2 For f(x) = x^2 - 4x, find and simplify the difference quotient, then use it to find f'(x).
  3. 3 Explain why the secant line in the difference quotient becomes a tangent line idea as h gets closer to 0, even though h is never allowed to equal 0 inside the quotient.