Euler Hall — free maths guides

Compute a derivative at a point from the difference quotient

Write the difference quotient for a stated function and point. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus I guides.

The difference quotient, and what its limit means

The derivative offf ataa is defined as a limit:

f′(a)=lim⁡h→0f(a+h)−f(a)h.f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}.

Read it in three pieces. The numerator is the change in the output. The denominator is the change in the input. Their ratio is the average rate over a stephh. The limit says: what does that average become as the step shrinks?

The expression inside the limit is called the difference quotient. It is defined for everyh≠0h \ne 0, and it is exactly the slope of the secant through(a,f(a))(a, f(a)) and(a+h,f(a+h))(a+h, f(a+h)).

Two facts make the whole thing work:

- you may not simply puth=0h = 0, because the quotient becomes0/00/0; - but after the algebra cancels thehh from the denominator, puttingh=0h = 0 IS valid — and that is what the limit does.

Why the limit exists whenever the algebra cancels

For a polynomial the quotient simplifies to another polynomial inhh, defined everywhere includingh=0h=0. A polynomial is continuous, so its limit at00 is its value at00 — which is exactly the number left after thehh disappears.

For a general function this is the content of the definition: the derivative exists when the quotient has a two-sided limit. When the simplification leaves a1/h1/h, the quotient blows up and no derivative exists; when it leaves different constants from the two sides, the graph has a corner.

That is why differentiability is a real condition rather than a formality: it is a statement about a limit existing, and limits can fail.

Worked example: a cubic, from the definition

Findf′(2)f'(2) forf(x)=x3−2xf(x) = x^3 - 2x.

Step 1, the numerator.

f(2+h)=(2+h)3−2(2+h)=8+12h+6h2+h3−4−2h.f(2+h) = (2+h)^3 - 2(2+h) = 8 + 12h + 6h^2 + h^3 - 4 - 2h.

f(2)=8−4=4.f(2) = 8 - 4 = 4.

Sof(2+h)−f(2)=12h+6h2+h3−2h=10h+6h2+h3f(2+h) - f(2) = 12h + 6h^2 + h^3 - 2h = 10h + 6h^2 + h^3.

Step 2, divide byhh.

10h+6h2+h3h=10+6h+h2.\frac{10h + 6h^2 + h^3}{h} = 10 + 6h + h^2.

Step 3, leth→0h \to 0. The limit is1010, sof′(2)=10f'(2) = 10.

Check by the power rule.f′(x)=3x2−2f'(x) = 3x^2 - 2, sof′(2)=12−2=10f'(2) = 12 - 2 = 10. The two routes agree, which is the point of computing both: the definition is the authority, the rule is the shortcut, and a disagreement means an algebra slip somewhere.

By the end you can
  • Write the difference quotient for a stated function and point
  • Simplify it by cancelling the step from the denominator
  • Evaluate its limit to obtain the derivative
  • Explain why substituting zero immediately is invalid
Check yourself

1. Use the definition to findf′(3)f'(3) forf(x)=x2−xf(x) = x^2 - x. 2. Use the definition to findf′(1)f'(1) forf(x)=2x+5f(x) = 2x + 5. What is special about the answer? 3. What isf(a+h)−f(a)h\dfrac{f(a+h)-f(a)}{h} forf(x)=x2f(x)=x^2 ata=2a=2 whenh=0.1h = 0.1?

Answers

1. The quotient simplifies: substitute, subtract, divide, and the limit is55. 2.2(1+h)+5−7h=2hh=2\dfrac{2(1+h) + 5 - 7}{h} = \dfrac{2h}{h} = 2, independent ofhh. A straight line has the same slope everywhere, so its derivative is constant. 3.4+h=4.14 + h = 4.1. The derivative is44, and the quotient is close to it — the difference is exactly the step you took.

Work out where to start — free, no accountAnswer six real questions — free, no account