What is the difference quotient in calculus? We start with the definition and then we calculate the difference quotient for different functions.
Let f be a function whose graph is shown below.
A and B are points on the graph of f. A line passing trough the two points A ( x , f(x)) and B(x+h , f(x+h)) is called a secant line. The slope m of the secant line may be calculated as follows:
m = [ f (x + h) – f(x) ] / [ (x + h) – x ]
Simplify the denominator to obtain
m = [ f (x + h) – f(x) ] / h
This slope is very important in calculus where it is used to define the derivative of function f. It is called the difference quotient. In the examples below, we calculate and simplify the difference quotients of different functions.
Example 1: Find the difference quotient of function f defined by
f(x) = 2x + 5
Solution to Example 1
We first need to calculate f(x + h).
f(x + h) = 2(x + h) + 5
We now substitute f(x + h) and f(x) in the definition of the difference quotient by their expressions
[ f (x + h) – f(x) ] / h = [ 2(x + h) + 5 – (2 x + 5) ] / h
We simplify the above expression.
= 2 h / h = 2
The answer is 2 which also the slope of the graph of function f, why?
Example 2: Find the difference quotient of the following function
f(x) = 2x 2 + x - 2
Solution to Example 2
We first calculate f(x + h).
f(x + h) = 2(x + h) 2 + (x + h) - 2
We now substitute f(x + h) and f(x) in the difference quotient