Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Difference Quotient Calculator

a, coefficient of x³: enter a number. Prefilled example: 0.

b, coefficient of x²: enter a number. Prefilled example: 2.

c, coefficient of x: enter a number. Prefilled example: -3.

d, constant: enter a number. Prefilled example: 1.

Value of x: enter a number. Prefilled example: 1.

Value of h (not 0): enter a number. Prefilled example: 0.5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. a, coefficient of x³: enter a number.
  2. b, coefficient of x²: enter a number.
  3. c, coefficient of x: enter a number.
  4. d, constant: enter a number.
  5. Value of x: enter a number.
  6. Value of h (not 0): enter a number.
  7. 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

  1. F1=a×x3+b×x2+c×x+d
  2. F2=a×(x+h)3+b×(x+h)2+c×(x+h)+d
  3. Q=F2−F1h
Symbols used in the formula
SymbolMeaning
aa, coefficient of x³
bb, coefficient of x²
cc, coefficient of x
dd, constant
xValue of x
hValue of h (not 0)
F1Result of step 1
F2Result of step 2
QDifference 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, constant1
Value of x1
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 x4
Simplified form: coefficient of h2
Simplified form: constant term-3
  1. F1=0×13+2×12+−3×1+1=0
  2. F2=0×(1+0.5)3+2×(1+0.5)2+−3×(1+0.5)+1=1
  3. Q=1−00.5=2

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.

Related calculators