Difference Quotient

Consider a function y = f ( x ) defined on the interval [ a , b ]

What is the difference quotient

Consider a function $y = f ( x )$ defined on the interval $[ a , b ]$, and two real numbers $c$ and $c + h$ with $h \neq 0$, both lying within the interval $[ a , b ]$. The difference quotient of $f$ at the point $c$ is defined as the ratio:

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

The condition $h \neq 0$ is necessary: for $h = 0$ the points $A$ and $B$ coincide, the secant line is not defined, and the ratio reduces to $\frac{0}{0}$. Consider the points $A$ and $B$ with:

  • $A ( c , f ( c ) )$
  • $B ( c + h , f ( c + h ) )$

the difference quotient of $f$ at the point $c$ is the slope of the line passing through $A$ and $B$.

The difference quotient is fundamental to the definition of the derivative. The derivative of a function at a point is the limit of the difference quotient as $h$ approaches zero.

\[f^{'} ( c ) = \underset{h \rightarrow 0}{lim} \frac{f ( c + h ) - f ( c )}{h}\]

This process, known as the limit of the difference quotient, provides the instantaneous rate of change of the function at that point, or equivalently, the slope of the tangent line to the graph of the function.


In general, the difference quotient measures how a function changes over a finite displacement. As the interval shrinks, it transitions from a global measure of variation to a local one.

  • The difference quotient provides an approximation of the rate of change. It is calculated over a finite interval $[ x , x + \Delta x ]$ and represents the average rate of change.
  • The derivative provides the exact rate of change. It is calculated by taking the limit as $\Delta x \rightarrow 0$ and represents the instantaneous rate of change.

It is worth noting that the difference quotient and the derivative measure the same geometric quantity at different scales.

  • The difference quotient measures the slope of a secant line over a finite interval.
  • The derivative measures the slope of the tangent line at a point.

Alternative forms

  • \[\text{1}. \frac{f ( c + h ) - f ( c )}{h}\]
  • \[\text{2}. \frac{f ( x_{1} ) - f ( x_{0} )}{x_{1} - x_{0}}\]
  • \[\text{3}. \frac{f ( x + \Delta x ) - f ( x )}{\Delta x}\]
  • \[\text{4}. \frac{f ( x + d x ) - f ( x )}{d x}\]
The expressions above represent the same quantity and differ only in how the two points are labeled, depending on the notation in use.

Example 1

Let us calculate the difference quotient of the function $y = f ( x ) = 3 x^{2} - x$ at the point $c = 1$ for a generic $h$.

Determine $f ( c + h ) = f ( 1 + h )$:

\[f ( 1 + h ) & = 3 ( 1 + h )^{2} - ( 1 + h ) \\ & = 3 ( 1 + h^{2} + 2 h ) - 1 - h \\ & = 3 + 3 h^{2} + 6 h - 1 - h \\ & = 3 h^{2} + 5 h + 2\]

Determine $f ( c ) = f ( 1 )$: \(f ( 1 ) = 3 ( 1 )^{2} - 1 = 3 - 1 = 2\)


Calculate the difference quotient: \(\frac{f ( 1 + h ) - f ( 1 )}{h} & = \frac{( 3 h^{2} + 5 h + 2 ) - 2}{h} \\ & = \frac{3 h^{2} + 5 h + 2 - 2}{h} \\ & = \frac{3 h^{2} + 5 h}{h} \\ & = 3 h + 5\)

The expression $3 h + 5$ represents, as $h$ varies, the slope of a secant line passing through point $A$ on the graph with an abscissa of 1.

Example 2

Let us now consider a function that is not polynomial: $f ( x ) = \sqrt{x}$,calculated at the point $c = 4$. The procedure is the same as before, but the simplification of the difference quotient requires an additional step. Determine $f ( 4 + h )$:

\[f ( 4 + h ) = \sqrt{4 + h}\]

Determine $f ( 4 )$:

\[f ( 4 ) = \sqrt{4} = 2\]

The difference quotient takes the form:

\[\frac{f ( 4 + h ) - f ( 4 )}{h} = \frac{\sqrt{4 + h} - 2}{h}\]

As it stands, this expression cannot be simplified directly since numerator and denominator share no obvious common factor. The standard approach is to rationalize the numerator by multiplying both numerator and denominator by the conjugate expression $\sqrt{4 + h} + 2$:

\[\frac{\sqrt{4 + h} - 2}{h} \cdot \frac{\sqrt{4 + h} + 2}{\sqrt{4 + h} + 2} & = \frac{( 4 + h ) - 4}{h ( \sqrt{4 + h} + 2 )} \\ & = \frac{h}{h ( \sqrt{4 + h} + 2 )} \\ & = \frac{1}{\sqrt{4 + h} + 2}\]

The factor $h$ cancels and the result is well-defined for every $h \neq 0$.

The expression $\frac{1}{\sqrt{4 + h} + 2}$ represents the slope of the secant through $A = ( 4 , 2 )$ and $B = ( 4 + h , \sqrt{4 + h} )$ as $h$ varies.

As $h \rightarrow 0$, this slope approaches $\frac{1}{4}$ which is precisely the derivative of $\sqrt{x}$ at $x = 4$.

Selected references