The Central Idea

Suppose a function changes from an input of \(x\) to an input of \(x+h\). The change in input is

\[ (x+h)-x=h. \]

The corresponding change in output is

\[ f(x+h)-f(x). \]

Comparing output change with input change gives the difference quotient:

\[ \boxed{\frac{f(x+h)-f(x)}{h}},\qquad h\ne 0. \]

This expression is an average rate of change over the interval from \(x\) to \(x+h\).

Start with Ordinary Slope

For two points \((x_1,y_1)\) and \((x_2,y_2)\), slope is

\[ m=\frac{y_2-y_1}{x_2-x_1}. \]

A difference quotient is the same slope idea applied to two points on the graph of a function.

The points are

\[ (x,f(x)) \]

and

\[ (x+h,f(x+h)). \]

Substituting these coordinates into the slope formula gives

\[ \frac{f(x+h)-f(x)}{(x+h)-x} =\frac{f(x+h)-f(x)}{h}. \]

The Difference Quotient Is a Secant Slope

A line through two points of a curve is called a secant line. Therefore,

\[ \boxed{\frac{f(x+h)-f(x)}{h}} \]

is the slope of the secant line through \((x,f(x))\) and \((x+h,f(x+h))\).

The quantity \(h\) controls the horizontal distance between the two points. Large values of \(|h|\) compare points that are farther apart. Small values of \(|h|\) compare nearby points.

Why the Name “Difference Quotient”?

The numerator is a difference:

\[ f(x+h)-f(x). \]

The denominator is also a difference, simplified to \(h\):

\[ (x+h)-x=h. \]

A quotient is a division. So the expression is literally a quotient of differences:

\[ \frac{\text{change in output}}{\text{change in input}}. \]

The Change Notation View

Another common way to describe the same idea uses the symbol \(\Delta\), read “change in.”

\[ \Delta x=(x+h)-x=h, \]

and

\[ \Delta y=f(x+h)-f(x). \]

Therefore,

\[ \boxed{\frac{\Delta y}{\Delta x} =\frac{f(x+h)-f(x)}{h}}. \]

This is average change in \(y\) per unit change in \(x\).

Why \(h\) Cannot Be Zero Yet

The difference quotient contains \(h\) in the denominator:

\[ \frac{f(x+h)-f(x)}{h}. \]

If \(h=0\), the denominator would be zero. Division by zero is undefined. So while working with an ordinary difference quotient, we require

\[ \boxed{h\ne 0}. \]

Later, limits will let us study what happens as \(h\) approaches zero without substituting \(h=0\) into the original quotient.

Difference Quotient at a Specific Starting Input

If the starting input is a fixed number \(a\), then the two inputs are \(a\) and \(a+h\).

The corresponding difference quotient is

\[ \boxed{\frac{f(a+h)-f(a)}{h}},\qquad h\ne0. \]

This measures the average rate of change from \(a\) to \(a+h\).

Difference Quotient over Two Named Inputs

Sometimes we begin with two inputs \(a\) and \(b\) rather than with \(x\) and \(x+h\). The average rate of change is then

\[ \boxed{\frac{f(b)-f(a)}{b-a}},\qquad b\ne a. \]

The \(h\)-form is obtained by writing

\[ b=a+h. \]

Then

\[ b-a=h. \]

Example: A Linear Function

Let

\[ f(x)=3x+2. \]

First compute \(f(x+h)\):

\[ f(x+h)=3(x+h)+2=3x+3h+2. \]

Form the difference:

\[ f(x+h)-f(x) =(3x+3h+2)-(3x+2) =3h. \]

Divide by \(h\):

\[ \frac{3h}{h}=3, \qquad h\ne0. \]

Therefore,

\[ \boxed{\frac{f(x+h)-f(x)}{h}=3}. \]

This makes sense because every secant line on a straight line has the same slope.

Example: A Quadratic Function

Let

\[ f(x)=x^2. \]

Evaluate at \(x+h\):

\[ f(x+h)=(x+h)^2. \]

Expand:

\[ (x+h)^2=x^2+2xh+h^2. \]

Subtract \(f(x)=x^2\):

\[ f(x+h)-f(x) =x^2+2xh+h^2-x^2 =2xh+h^2. \]

Factor the numerator:

\[ 2xh+h^2=h(2x+h). \]

Divide by \(h\):

\[ \frac{h(2x+h)}{h}=2x+h, \qquad h\ne0. \]

Thus,

\[ \boxed{\frac{f(x+h)-f(x)}{h}=2x+h}. \]

Why Simplifying Matters

The original quotient for \(f(x)=x^2\) is

\[ \frac{(x+h)^2-x^2}{h}. \]

In that form, direct substitution of \(h=0\) would produce \(0/0\). After algebraic simplification, however, the quotient becomes

\[ 2x+h, \qquad h\ne0. \]

The simplified expression exposes how the secant slope behaves when \(h\) is very small. This is exactly the form we will need when limits enter the discussion.

Cancellation Comes from a Factor

In the quadratic example, we canceled \(h\) only after the numerator was factored:

\[ \frac{2xh+h^2}{h} =\frac{h(2x+h)}{h} =2x+h. \]

We are canceling a common factor, not merely crossing out matching symbols that happen to appear in different terms.

For example, the expression

\[ \frac{x+h}{h} \]

does not allow the \(h\) to be canceled, because \(h\) is not a factor of the entire numerator.

Example: A Cubic Function

Let

\[ f(x)=x^3. \]

Then

\[ f(x+h)=(x+h)^3 =x^3+3x^2h+3xh^2+h^3. \]

Subtract \(f(x)=x^3\):

\[ f(x+h)-f(x) =3x^2h+3xh^2+h^3. \]

Factor out \(h\):

\[ h(3x^2+3xh+h^2). \]

Therefore,

\[ \boxed{\frac{f(x+h)-f(x)}{h} =3x^2+3xh+h^2}. \]

Example: A Quadratic with Several Terms

Let

\[ f(x)=2x^2-5x+1. \]

Evaluate at \(x+h\):

\[ f(x+h)=2(x+h)^2-5(x+h)+1. \]

Expand:

\[ f(x+h)=2x^2+4xh+2h^2-5x-5h+1. \]

Subtract \(f(x)\):

\[ f(x+h)-f(x) =4xh+2h^2-5h. \]

Factor out \(h\):

\[ h(4x+2h-5). \]

Hence,

\[ \boxed{\frac{f(x+h)-f(x)}{h}=4x+2h-5}. \]

Example at a Specific Point

Let

\[ f(x)=x^2 \]

and suppose the starting input is \(x=3\). Use

\[ \frac{f(3+h)-f(3)}{h}. \]

Compute the function values:

\[ f(3+h)=(3+h)^2=9+6h+h^2, \] \[ f(3)=9. \]

Therefore,

\[ \frac{9+6h+h^2-9}{h} =\frac{6h+h^2}{h} =6+h. \]

So the secant slope from \(x=3\) to \(x=3+h\) is

\[ \boxed{6+h}. \]

Reading the Specific-Point Result

For \(f(x)=x^2\) starting at \(x=3\), the secant slope is

\[ 6+h. \]

If \(h=1\), the second input is \(4\), and the slope is

\[ 6+1=7. \]

If \(h=0.1\), the second input is \(3.1\), and the slope is

\[ 6+0.1=6.1. \]

If \(h=0.01\), the slope is

\[ 6.01. \]

As the second point moves closer to \(x=3\), these secant slopes move toward a particular value. The next lesson will formalize that behavior with a limit.

Positive and Negative Values of \(h\)

A positive \(h\) moves to the right of the starting input:

\[ x+h>x \qquad\text{when }h>0. \]

A negative \(h\) moves to the left:

\[ x+h Both directions are useful. They let us compare secant slopes approaching the same starting point from either side.

Example from Both Sides

Again use \(f(x)=x^2\) at \(x=3\), where the simplified quotient is

\[ 6+h. \]

For \(h=0.1\),

\[ 6+h=6.1. \]

For \(h=-0.1\),

\[ 6+h=5.9. \]

One secant slope comes from the right and the other from the left. Both are close to \(6\) when \(|h|\) is small.

Difference Quotients and Units

A difference quotient carries units just like any other rate.

If \(s(t)\) measures position in meters and \(t\) is measured in seconds, then

\[ \frac{s(t+h)-s(t)}{h} \]

has units

\[ \frac{\text{meters}}{\text{seconds}}. \]

In that setting, the difference quotient represents average velocity over the time interval from \(t\) to \(t+h\).

Application: Average Velocity

Suppose position is

\[ s(t)=5t^2. \]

The average velocity from \(t\) to \(t+h\) is

\[ \frac{s(t+h)-s(t)}{h}. \]

Compute

\[ s(t+h)=5(t+h)^2 =5t^2+10th+5h^2. \]

Then

\[ \frac{5t^2+10th+5h^2-5t^2}{h} =\frac{10th+5h^2}{h} =10t+5h. \]

Therefore,

\[ \boxed{\text{average velocity}=10t+5h}. \]

Application: Average Cost Change

Suppose \(C(q)\) is the total cost of producing \(q\) units. Then

\[ \frac{C(q+h)-C(q)}{h} \]

measures the average increase in cost per additional unit across a change of \(h\) units.

This same structure appears in economics, engineering, physics, biology, finance, and any setting where one quantity changes in response to another.

Example: A Reciprocal Function

Let

\[ f(x)=\frac{1}{x}, \qquad x\ne0. \]

Then

\[ f(x+h)=\frac{1}{x+h}, \qquad x+h\ne0. \]

Form the difference quotient:

\[ \frac{\frac{1}{x+h}-\frac{1}{x}}{h}. \]

Combine the fractions in the numerator:

\[ \frac{1}{x+h}-\frac{1}{x} =\frac{x-(x+h)}{x(x+h)} =\frac{-h}{x(x+h)}. \]

Therefore,

\[ \frac{\frac{-h}{x(x+h)}}{h} =-\frac{1}{x(x+h)}. \]

Thus,

\[ \boxed{\frac{f(x+h)-f(x)}{h} =-\frac{1}{x(x+h)}}. \]

Domain Restrictions Still Matter

For \(f(x)=1/x\), several restrictions are present during the calculation:

Simplifying an expression does not erase the restrictions that came from the original expression.

Example: A Square-Root Function

Let

\[ f(x)=\sqrt{x}. \]

The difference quotient is

\[ \frac{\sqrt{x+h}-\sqrt{x}}{h}. \]

Factoring does not immediately produce a common \(h\). Instead, multiply by the conjugate of the numerator:

\[ \frac{\sqrt{x+h}-\sqrt{x}}{h} \cdot \frac{\sqrt{x+h}+\sqrt{x}}{\sqrt{x+h}+\sqrt{x}}. \]

The numerator becomes a difference of squares:

\[ (x+h)-x=h. \]

So

\[ \frac{h}{h(\sqrt{x+h}+\sqrt{x})} =\frac{1}{\sqrt{x+h}+\sqrt{x}}, \qquad h\ne0. \]

Therefore,

\[ \boxed{\frac{\sqrt{x+h}-\sqrt{x}}{h} =\frac{1}{\sqrt{x+h}+\sqrt{x}}}. \]

Rationalization Is Another Route to Cancellation

With polynomial functions, the numerator often becomes divisible by \(h\) after expansion and factoring. With radical functions, multiplying by a conjugate can reveal the hidden factor of \(h\).

The overall strategy is the same:

  1. form the difference quotient;
  2. simplify the numerator;
  3. expose a factor of \(h\);
  4. cancel that factor when \(h\ne0\).

Difference Quotients from a Table

A formula is not always necessary. If a table gives two function values, we can compute the same average rate of change.

Suppose

\[ f(2)=7 \]

and

\[ f(2.5)=9. \]

Then the average rate of change from \(2\) to \(2.5\) is

\[ \frac{9-7}{2.5-2} =\frac{2}{0.5} =4. \]

This is a numerical difference quotient.

Difference Quotients from a Graph

On a graph, select two points on the curve and compute the slope between them. That secant slope is the graphical meaning of the difference quotient.

The algebraic, numerical, and graphical viewpoints are three representations of the same relationship:

\[ \boxed{\text{average rate of change}=\text{secant slope}=\text{difference quotient}}. \]

A Difference Quotient Is Not Yet a Derivative

The expression

\[ \frac{f(x+h)-f(x)}{h} \]

is a difference quotient for nonzero \(h\). It compares two distinct points.

A derivative will arise from studying the limit of this quotient as \(h\) approaches zero. That additional limiting step is essential.

So it is useful to keep the distinction clear:

The Difference Quotient as a Function of \(h\)

Once \(x\) is fixed, the difference quotient can itself be viewed as a function of \(h\).

For example, with \(f(x)=x^2\) at \(x=3\), define

\[ Q(h)=\frac{f(3+h)-f(3)}{h}. \]

We found

\[ Q(h)=6+h, \qquad h\ne0. \]

This perspective makes it natural to ask what value \(Q(h)\) approaches as \(h\) becomes arbitrarily small.

Numerical Zooming

For \(Q(h)=6+h\), consider several nonzero values of \(h\):

\(h\) \(Q(h)=6+h\)
17
0.16.1
0.016.01
-0.015.99
-0.15.9
-15

The table does not substitute \(h=0\). Instead, it examines values close to zero. This is the basic numerical behavior behind a limit.

An Alternative Increment Symbol

Some books use \(\Delta x\) instead of \(h\). Then the difference quotient may be written

\[ \frac{f(x+\Delta x)-f(x)}{\Delta x}. \]

The meaning is unchanged. Both \(h\) and \(\Delta x\) represent a nonzero change in the input.

Forward, Backward, and Symmetric Comparisons

The standard form

\[ \frac{f(x+h)-f(x)}{h} \]

compares \(x\) with \(x+h\). When \(h>0\), this is a forward comparison. A backward comparison can be written

\[ \frac{f(x)-f(x-h)}{h}. \]

A symmetric comparison uses points on both sides:

\[ \frac{f(x+h)-f(x-h)}{2h}. \]

These forms become useful in numerical approximation. For now, the main form to master is the standard forward difference quotient.

Example: Symmetric Comparison for a Quadratic

For \(f(x)=x^2\), the symmetric quotient is

\[ \frac{(x+h)^2-(x-h)^2}{2h}. \]

Expand:

\[ (x+h)^2=x^2+2xh+h^2, \] \[ (x-h)^2=x^2-2xh+h^2. \]

Subtract:

\[ (x+h)^2-(x-h)^2=4xh. \]

Therefore,

\[ \frac{4xh}{2h}=2x, \qquad h\ne0. \]

This is a useful preview of how carefully chosen differences can reveal local rate information.

Common Error: Substituting \(x+h\) Incorrectly

If

\[ f(x)=x^2+3x, \]

then

\[ f(x+h)=(x+h)^2+3(x+h), \]

not

\[ x^2+h^2+3x+h. \]

The entire input \(x+h\) must replace every occurrence of \(x\).

Common Error: Forgetting Parentheses Around \(f(x)\)

In

\[ f(x+h)-f(x), \]

the entire value \(f(x)\) is being subtracted.

For example, if

\[ f(x)=2x^2-5x+1, \]

then we should write

\[ [2(x+h)^2-5(x+h)+1]-[2x^2-5x+1]. \]

The outer subtraction changes the sign of every term in the second bracket when the expression is expanded.

Common Error: Canceling Across Addition

From

\[ \frac{2xh+h^2}{h}, \]

it is valid to factor first:

\[ \frac{h(2x+h)}{h}=2x+h. \]

Cancellation is justified because \(h\) is a factor of the entire numerator.

Never cancel a symbol from only one term of a sum or difference.

Common Error: Setting \(h=0\) Too Early

The original difference quotient requires \(h\ne0\). Replacing \(h\) with zero before simplifying gives division by zero.

The correct workflow is:

  1. keep \(h\ne0\);
  2. simplify the quotient algebraically;
  3. only later, when studying a limit, ask what happens as \(h\to0\).

Common Error: Confusing \(f(x+h)\) with \(f(x)+f(h)\)

In general,

\[ \boxed{f(x+h)\ne f(x)+f(h)}. \]

For example, if \(f(x)=x^2\), then

\[ f(x+h)=(x+h)^2=x^2+2xh+h^2, \]

while

\[ f(x)+f(h)=x^2+h^2. \]

The missing cross term \(2xh\) shows that the two expressions are not the same.

Common Error: Losing the Original Restrictions

Suppose a quotient simplifies and the factor \(h\) cancels. The simplified expression may no longer visibly contain \(h\) in a denominator, but the original calculation still assumed

\[ h\ne0. \]

Algebraic simplification gives an equivalent expression on the domain where the original expression was defined. It does not retroactively make the original quotient defined at excluded inputs.

A Reliable Procedure for Polynomial Difference Quotients

  1. Write \(\dfrac{f(x+h)-f(x)}{h}\).
  2. Compute \(f(x+h)\) by replacing every \(x\) with \(x+h\).
  3. Use parentheses around both \(f(x+h)\) and \(f(x)\).
  4. Expand carefully.
  5. Combine like terms in the numerator.
  6. Factor \(h\) from the numerator.
  7. Cancel the common factor of \(h\), remembering that \(h\ne0\).
  8. Simplify the remaining expression.

A Reliable Procedure for Rational Functions

  1. Write the difference quotient.
  2. Compute \(f(x+h)\) carefully.
  3. Combine fractions in the numerator using a common denominator.
  4. Simplify the numerator until a factor of \(h\) becomes visible.
  5. Cancel only legitimate common factors.
  6. Record all domain restrictions from the original expression.

A Reliable Procedure for Radical Functions

  1. Write the difference quotient.
  2. Identify the radical difference in the numerator.
  3. Multiply numerator and denominator by the conjugate.
  4. Use the difference-of-squares identity.
  5. Expose and cancel the factor of \(h\).
  6. Preserve the original domain restrictions.

Example: Full Polynomial Workflow

Find and simplify the difference quotient for

\[ f(x)=3x^2+4x-7. \]

Start with

\[ \frac{f(x+h)-f(x)}{h}. \]

Evaluate \(f(x+h)\):

\[ f(x+h)=3(x+h)^2+4(x+h)-7. \]

Expand:

\[ f(x+h)=3x^2+6xh+3h^2+4x+4h-7. \]

Subtract \(f(x)\):

\[ \begin{aligned} f(x+h)-f(x) &=3x^2+6xh+3h^2+4x+4h-7\\ &\quad-(3x^2+4x-7)\\ &=6xh+3h^2+4h. \end{aligned} \]

Factor out \(h\):

\[ h(6x+3h+4). \]

Therefore,

\[ \boxed{\frac{f(x+h)-f(x)}{h}=6x+3h+4}. \]

Example: Full Rational Workflow

Let

\[ f(x)=\frac{2}{x}. \]

Then

\[ \frac{f(x+h)-f(x)}{h} =\frac{\frac{2}{x+h}-\frac{2}{x}}{h}. \]

Combine the numerator:

\[ \frac{2x-2(x+h)}{x(x+h)} =\frac{-2h}{x(x+h)}. \]

Divide by \(h\):

\[ \frac{-2h}{x(x+h)}\cdot\frac{1}{h} =-\frac{2}{x(x+h)}. \]

Thus,

\[ \boxed{\frac{f(x+h)-f(x)}{h} =-\frac{2}{x(x+h)}}. \]

Example: Full Radical Workflow

Let

\[ f(x)=\sqrt{x+1}. \]

Then

\[ f(x+h)=\sqrt{x+h+1}. \]

The difference quotient is

\[ \frac{\sqrt{x+h+1}-\sqrt{x+1}}{h}. \]

Multiply by the conjugate:

\[ \frac{\sqrt{x+h+1}-\sqrt{x+1}}{h} \cdot \frac{\sqrt{x+h+1}+\sqrt{x+1}} {\sqrt{x+h+1}+\sqrt{x+1}}. \]

The numerator becomes

\[ (x+h+1)-(x+1)=h. \]

Cancel the common factor of \(h\):

\[ \boxed{\frac{1}{\sqrt{x+h+1}+\sqrt{x+1}}}. \]

Practice 1: Linear Function

Find and simplify the difference quotient for

\[ f(x)=5x-4. \]

Practice 2: Basic Quadratic

Find and simplify the difference quotient for

\[ f(x)=x^2+2x. \]

Practice 3: Quadratic with Coefficients

Find and simplify the difference quotient for

\[ f(x)=4x^2-3x+6. \]

Practice 4: Cubic Function

Find and simplify the difference quotient for

\[ f(x)=x^3+1. \]

Practice 5: Specific Starting Input

For

\[ f(x)=x^2-1, \]

simplify

\[ \frac{f(2+h)-f(2)}{h}. \]

Practice 6: Reciprocal Function

Find and simplify the difference quotient for

\[ f(x)=\frac{3}{x}. \]

Practice 7: Radical Function

Find and simplify the difference quotient for

\[ f(x)=\sqrt{x+2}. \]

Practice 8: Interpret a Table

Suppose

\[ f(4)=10 \]

and

\[ f(4.2)=10.9. \]

Find the average rate of change from \(x=4\) to \(x=4.2\).

Practice 9: Application

A particle has position

\[ s(t)=2t^2+3t. \]

Find the average velocity from time \(t\) to time \(t+h\).

Practice 10: Identify the Error

A student working with \(f(x)=x^2\) writes

\[ f(x+h)=x^2+h^2. \]

Explain the error and give the correct expression for \(f(x+h)\).

Practice Answers

Practice 1

\[ f(x+h)=5x+5h-4. \] \[ \frac{f(x+h)-f(x)}{h} =\frac{5h}{h} =\boxed{5}. \]

Practice 2

\[ f(x+h)=(x+h)^2+2(x+h). \] \[ f(x+h)-f(x)=2xh+h^2+2h. \] \[ \boxed{\frac{f(x+h)-f(x)}{h}=2x+h+2}. \]

Practice 3

\[ f(x+h)=4(x+h)^2-3(x+h)+6. \] \[ f(x+h)-f(x)=8xh+4h^2-3h. \] \[ \boxed{\frac{f(x+h)-f(x)}{h}=8x+4h-3}. \]

Practice 4

\[ (x+h)^3+1-(x^3+1) =3x^2h+3xh^2+h^3. \] \[ \boxed{\frac{f(x+h)-f(x)}{h} =3x^2+3xh+h^2}. \]

Practice 5

\[ f(2+h)=(2+h)^2-1=3+4h+h^2, \] \[ f(2)=3. \] \[ \boxed{\frac{f(2+h)-f(2)}{h}=4+h}. \]

Practice 6

\[ \frac{\frac{3}{x+h}-\frac{3}{x}}{h} =\frac{-3h}{x(x+h)}\cdot\frac{1}{h}. \] \[ \boxed{-\frac{3}{x(x+h)}}. \]

Practice 7

\[ \frac{\sqrt{x+h+2}-\sqrt{x+2}}{h}. \]

Multiply by the conjugate and simplify:

\[ \boxed{\frac{1}{\sqrt{x+h+2}+\sqrt{x+2}}}. \]

Practice 8

\[ \frac{10.9-10}{4.2-4} =\frac{0.9}{0.2} =\boxed{4.5}. \]

Practice 9

\[ s(t+h)=2(t+h)^2+3(t+h). \] \[ s(t+h)-s(t)=4th+2h^2+3h. \] \[ \boxed{\frac{s(t+h)-s(t)}{h}=4t+2h+3}. \]

Practice 10

The binomial was squared incorrectly. The cross term must be included:

\[ \boxed{f(x+h)=(x+h)^2=x^2+2xh+h^2}. \]

What to Remember

The standard difference quotient is

\[ \boxed{\frac{f(x+h)-f(x)}{h}},\qquad h\ne0. \]

It represents all of the following at once:

The key algebraic habit is to simplify the numerator until a factor of \(h\) becomes visible. For polynomials this often requires expansion and factoring; for rational expressions it may require a common denominator; for radicals it often requires a conjugate.

Where We Go Next

A difference quotient measures an average rate over a nonzero interval. Differential analysis asks what happens when that interval shrinks toward zero.

The next lesson, Derivatives from Limits, introduces the defining limit

\[ \boxed{f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}}, \]

when the limit exists. That step turns the secant-slope framework developed here into instantaneous rate of change and tangent-line slope.