How to Find a Derivative Using the Difference Quotient
At a glance
- 1. Write the definition
Replace the derivative with the limit of the change in function values divided by the change in input.
- 2. Substitute the function
Find f(x+h), then form [f(x+h) − f(x)]/h.
- 3. Simplify first
Expand and combine terms, then factor and cancel h when possible.
- 4. Take the limit
Let h approach zero in the simplified expression to obtain f'(x).
The difference quotient is the limit definition of a derivative. It measures the average rate of change between two nearby inputs, then lets the distance between them shrink to zero. Since no particular function is specified here, the method below shows how to use the quotient for a general function and works through a complete example.
The difference quotient definition
For a function , the derivative at an input is defined by
provided this limit exists. The number is the change in the input. The two function values, and , give the corresponding change in output. Dividing by gives the average rate of change; taking the limit gives the instantaneous rate of change.
The same definition can find the derivative at one specified point :
Use when you want a formula for the derivative function, and use when you only need the slope at a particular input.
A step-by-step method
- Start with the appropriate definition: use for a derivative formula or the given point for a derivative value.
- Substitute the function into both terms in the numerator. In particular, calculate by replacing every in the function with .
- Expand brackets and simplify the numerator. Factor out if possible, then cancel it with the denominator. This cancellation is valid for , which is exactly the condition in the difference quotient before the limit is taken.
- Take the limit as approaches zero. If the simplified expression is defined at , direct substitution usually gives the limit.
Worked example: differentiate
Find the derivative from the definition. First substitute everywhere that appears:
Now subtract and divide by :
The first line requires parentheses around because the entire value is being subtracted. After canceling the common factor of , take the limit:
For example, the slope at is . The difference quotient can also find that value directly by setting from the start:
Common mistakes
- Substituting incorrectly into . Replace every occurrence of , including those inside powers and parentheses. For instance, expands to , not .
- Forgetting the subtraction parentheses. The numerator is . Every term in changes sign when you subtract it.
- Putting too early. The original quotient has denominator zero at , so direct substitution there is not allowed. Simplify the quotient for first, then take the limit.
- Treating the quotient as the derivative. Before taking the limit, it is an average rate of change over an interval of width . The derivative is the limit of those values.
- Stopping at a numerical value when a formula is needed. If the task asks for , keep variable. Substitute a number only if the task asks for the derivative at a particular point.
When the limit does not exist
A function does not have a derivative at a point if the difference quotient has no finite limit there. For example, for at , the quotient is
This equals when and when . The one-sided limits disagree, so does not exist. This illustrates why checking the limit—not merely simplifying the quotient—is part of the definition.
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.