Difference quotients were introduced in an earlier section:   Prerequisites: function review, difference quotients.
Evaluating difference quotients requires a high degree of comfort working with functions and function notation,
and this earlier section offers a thorough review.

Then, this current web exercise gives practice with difference quotient problems involving reciprocal functions and square roots.

Let [beautiful math coming... please be patient]$\,f\,$ be a function and let [beautiful math coming... please be patient]$\,h\,$ be a nonzero number.

A difference quotient is an expression of the form [beautiful math coming... please be patient] $$\frac{f(x+h)-f(x)}h\ ,$$ which is a simplified version of: $$\frac{f(x+h)-f(x)}{(x+h)-x}$$ This expression gives the slope of the line through the points $(x,f(x))$ and $(x+h,f(x+h))$.

Since the expression is a quotient (division) of differences (subtractions),
the name difference quotient is appropriate.


  • if $\,h\,$ is positive, then $\,x+h\,$ lies to the right of $\,x\,$ (see sketch above)
  • if $\,h\,$ is negative, then $\,x+h\,$ lies to the left of $\,x\,$ (see sketch at right)
  • if $\,h\,$ is zero, then the point $\,(x+h,f(x+h))\,$ degenerates to the original point $\,(x,f(x))\,$;
    there is not a unique line through a single point;
    the difference quotient is not defined when $\,h = 0\,$ (division by zero)
  • as $\,h\,$ gets close to zero, $\,x+h\,$ gets close to $\,x\,$
  • when $\,h\,$ is small, the point $\,(x+h,f(x+h))\,$ is likely to be close to the point $\,(x,f(x))\,$
    (the two tiny black points in the sketches above/right are for smaller values of $\,h\,$)
  • The sketches above/right show what can happen as $\,h\,$ approaches zero:
    here, the line between $\,(x,f(x))\,$ and the successively closer points $\,(x+h,f(x+h))\,$ is looking more and more like the tangent line to the graph of $\,f\,$ at $\,x\,$.
  • (Calculus preview):
    In Calculus, you will firm up the concept of limit.
    Sometimes limits exist, and sometimes they don't.
    When the following limit exists, then it gives the slope of the tangent line
    to the graph of $\,f\,$ at the point $\,(x,f(x))\,$: $$ \lim_{h\rightarrow 0}\frac{f(x+h)-f(x)}h \quad \text{(read as: the limit, as $\,h\,$ approaches zero, of ...)} $$ To evaluate this limit, you need to rename the difference quotient to get ‘$\,h\,$’ out of the denominator. With the new name, you'll then be able to understand what happens as $\,h\,$ gets close to zero. The process of ‘getting $\,h\,$ out of the denominator’ often requires considerable algebraic manipulation—you'll get practice in this section!
EXAMPLE:   a difference quotient for the reciprocal function
Let $\displaystyle\,f(x) = \frac 1x\,$.

Find the difference quotient $\ \displaystyle\frac{f(x+h)-f(x)}h\ $, and write it in a form with no $\,h\,$ in the denominator.

What does the difference quotient approach, as $\,h\,$ approaches zero?   What is the significance of this result?
$\displaystyle\frac{f(x+h)-f(x)}h$ the desired difference quotient
        $\displaystyle = \frac{\frac 1{x+h} - \frac 1x}h$ function evaluation; use definition of $\,f\,$
        $\displaystyle = \frac{\frac 1{x+h}\cdot\frac xx - \frac 1x\cdot\frac{x+h}{x+h}}h$ get a common denominator
        $\displaystyle = \frac{\frac x{x(x+h)} - \frac {x+h}{x(x+h)}}h$ simplify
        $\displaystyle = \frac{\frac {x - (x+h)}{x(x+h)}}h$ write the numerator as a single fraction
        $\displaystyle = {\frac {x-x-h}{x(x+h)}}\cdot\frac 1h$ distributive law; and,
dividing by $\,h\,$ is the same as multiplying by $\,\frac 1h\,$
        $\displaystyle = {\frac {-h}{x(x+h)h}}$ $x - x = 0\,$;   and multiply across
        $\displaystyle = {\frac {-1}{x(x+h)}}$ cancel:   since $\,h\ne 0\,$, $\,\frac hh = 1\,$
Now, the factor of $\,h\,$ is gone in the denominator!
As $\,h\,$ approaches zero, $\,\displaystyle {\frac {-1}{x(x+h)}}\,$ approaches $\,\displaystyle\frac{-1}{x(x+0)}\,$, which equals $\,\displaystyle -\frac 1{x^2}\,$.

The formula $\displaystyle\,-\frac{1}{x^2}\,$ gives the slopes of the tangent lines to the graph of $\displaystyle\,f(x) = \frac 1x\,$!

For example, the slope of the tangent line to $\displaystyle\,f(x) = \frac 1x\,$ at the point $\displaystyle\,(3,\frac 13)\,$ is $\displaystyle\,-\frac{1}{3^2} = -\frac 19\,$.

Click ‘Submit’ on the WolframAlpha widget below to explore the power of Wolfram Alpha!
You can create your own widgets by clicking here!


To get a new problem, click the "New Problem" button at left!

Back to the top to try another problem!

Master the ideas from this section
by practicing the exercise at the bottom of this page.

When you're done practicing, move on to:
Finding the Domain and Range of a Function
On this exercise, you will not key in your answer.
However, you can check to see if your answer is correct.
1 2 3

(MAX is 3; there are 3 different problem types.)