Example
Build and simplify the difference quotient for a function.
highlighted = computed this step
Step 1 — Set up
Start with f of x equals x squared.
f(x)=x2
Step 2 — Substitute x plus h
Replace x by x plus h.
f(x+h)=(x+h)2
Step 3 — Form the quotient
Build f of x plus h minus f of x over h.
h(x+h)2−x2
Step 4 — Expand numerator
Expand the numerator.
2xh+h2
Step 5 — Divide by h
Divide every remaining numerator term by h.
difference-quotient
The difference quotient [f(x+h)-f(x)]/h measures the average rate of change of f over an interval of width h. Simplifying it algebraically prepares for taking the limit as h approaches zero.