Difference Quotient Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Enter the coefficients of f(x) = ax³ + bx² + cx + d. The calculator gives the simplified difference quotient term by term, its value at your x and h, and the derivative it tends to as h → 0.
Result
Difference quotient [f(x + h) − f(x)] ÷ h
f(x)
- f(x + h)
- Limit as h → 0, f′(x)
- Simplified form: coefficient of x²
- Simplified form: coefficient of xh
- Simplified form: coefficient of h²
- Simplified form: coefficient of x
- Simplified form: coefficient of h
- Simplified form: constant term
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- a, coefficient of x³: enter a number.
- b, coefficient of x²: enter a number.
- c, coefficient of x: enter a number.
- d, constant: enter a number.
- Value of x: enter a number.
- Value of h (not 0): enter a number.
- Read the result: Difference quotient [f(x + h) − f(x)] ÷ h; the panel also shows f(x), f(x + h), Limit as h → 0, f′(x), Simplified form: coefficient of x², Simplified form: coefficient of xh, Simplified form: coefficient of h², Simplified form: coefficient of x, Simplified form: coefficient of h and Simplified form: constant term.
How this calculator works
Difference quotient = [f(x + h) − f(x)] ÷ h. Expanding (x + h)³ = x³ + 3x²h + 3xh² + h³ and (x + h)² = x² + 2xh + h², the x³, x² and constant terms cancel and every remaining term has a factor h.
After dividing by h: [f(x + h) − f(x)] ÷ h = 3a x² + 3a xh + a h² + 2b x + b h + c. Read the simplified form from the six coefficients listed.
Letting h → 0 leaves 3a x² + 2b x + c, the derivative f′(x).
The formula
| Symbol | Meaning |
|---|---|
| a, coefficient of x³ | |
| b, coefficient of x² | |
| c, coefficient of x | |
| d, constant | |
| Value of x | |
| Value of h (not 0) | |
| Result of step 1 | |
| Result of step 2 | |
| Difference quotient [f(x + h) − f(x)] ÷ h |
Worked example
| a, coefficient of x³ | 0 |
|---|---|
| b, coefficient of x² | 2 |
| c, coefficient of x | -3 |
| d, constant | 1 |
| Value of x | 1 |
| Value of h (not 0) | 0.5 |
| f(x) | 0 |
|---|---|
| f(x + h) | 1 |
| Limit as h → 0, f′(x) | 1 |
| Simplified form: coefficient of x² | 0 |
| Simplified form: coefficient of x | 4 |
| Simplified form: coefficient of h | 2 |
| Simplified form: constant term | -3 |
Difference quotient [f(x + h) − f(x)] ÷ h 2
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the difference quotient of f(x) = x²?
[(x + h)² − x²] ÷ h = (2xh + h²) ÷ h = 2x + h. Enter b = 1 and the other coefficients 0 to see it.
Why can't h be 0?
The quotient divides by h. It gives the slope of the secant line between x and x + h; the derivative is its limit as h approaches 0.
What does the difference quotient mean?
It is the average rate of change of f between x and x + h, the slope of the line through those two points of the graph.