Worked examples — Derivative from first principles — difference quotient definition
Before any symbol: recall that means "take a buddy point away, measure the slope of the line between them, then slide the buddy in until vanishes." The whole difficulty is always the same: at the raw fraction reads (see Indeterminate forms 0 over 0), so we must cancel the by algebra first, then let .
The scenario matrix
Every first-principles problem falls into one of these cells. The examples below are labelled so each cell is covered at least once.
| Cell | What makes it different | The algebra tool needed | Example |
|---|---|---|---|
| A. Polynomial (higher power) | must be expanded | Binomial expansion, cancel | Ex 1 |
| B. Negative slope region | derivative comes out negative | sign-tracking of the answer | Ex 2 |
| C. Rational (fraction) function | subtracting fractions | common denominator | Ex 3 |
| D. Root / irrational | no to factor at first | conjugate multiplication | Ex 4 |
| E. Constant function (degenerate) | numerator is exactly | recognise | Ex 5 |
| F. Non-differentiable corner | left slope ≠ right slope | one-sided limits | Ex 6 |
| G. Real-world word problem | units + interpretation | apply recipe, read meaning | Ex 7 |
| H. Exam twist (evaluate at a point) | numeric slope + tangent line | plug value after differentiating | Ex 8 |
Ex 1 — Cell A: a higher power,
Forecast: For we got . What pattern would you guess for ? (Jot it down before reading.) Many guess — let us earn it.
Step 1 — write . Why this step? We must know the output at the buddy point. Expanding the cube is the only new work versus ; every becomes the block .
Step 2 — form the numerator. Why this step? The lone terms cancel. That cancellation is why a finite slope survives — without it we would be dividing something-that-isn't-small by .
Step 3 — factor out and cancel. Why this step? Every surviving term already carries an , so factors cleanly. Cancelling it removes the trap — the expression is now safe to evaluate at .
Step 4 — shrink . Why this step? Both leftover terms and contain , so they vanish. Answer: .
Verify: At , . Sanity: is climbing fast at (from toward over the next unit), so a steepness of is believable. Also — the curve flattens through the origin. ✓ This matches the Power Rule .
Ex 2 — Cell B: a region of negative slope,
Forecast: The parabola opens down. To the right of its peak it falls. Do you expect a positive or negative slope at ?
Step 1. . Why this step? Careful with the minus sign — the whole block is subtracted.
Step 2. Why this step? The and cancel, leaving only -carrying terms — exactly the sign we need to survive.
Step 3. Why this step? Factor the , cancel, escape .
Step 4. Answer: .
Verify: At , — negative, matching the forecast that the curve falls to the right of its peak. At the slope is (the top of the hill is flat). ✓
Ex 3 — Cell C: a fraction,
Forecast: For the parent got (always negative). Do you expect to also slope negatively for ?
Step 1. .
Step 2 — common denominator. Why this step? Subtracting two fractions needs a shared denominator; doing so surfaces the hidden in the numerator so we can eventually cancel it.
Step 3 — divide by , cancel. Why this step? Factor from the numerator, cancel with the from the denominator — the is gone.
Step 4. Answer: .
Verify: At : . For this is negative — yes, falls as grows, matching the forecast. Power-rule cross-check: . ✓
Ex 4 — Cell D: a root,
Forecast: The parent showed . This root has inside — will an extra factor of appear?
Step 1. .
Step 2. Numerator — stuck, no to factor.
Step 3 — conjugate move. Multiply top and bottom by : Why this step? Using manufactures a difference in the numerator. The two roots cancel down to a plain subtraction that contains an . The cancels — trap escaped.
Step 4. Answer: . The extra from inside did appear, then halved back.
Verify: At : , so . Slope is positive (the root climbs), and gently () since roots flatten out. ✓
Ex 5 — Cell E: a degenerate case, (constant)
Forecast: A horizontal line never changes height. What must its slope be everywhere?
Step 1. — substituting changes nothing, because the formula never uses . Why this step? This is the whole subtlety: there is no to replace, so the buddy point has the same output.
Step 2. . Why this step? The rise is exactly zero — the two points sit at the same height.
Step 3. for every . Why this step? Do not call this : the numerator is a genuine while is nonzero, so the quotient is honestly , not indeterminate. This is the key distinction from Indeterminate forms 0 over 0.
Step 4. . Answer: .
Verify: A flat line has zero steepness at every point. , . ✓
Ex 6 — Cell F: a corner where the derivative FAILS,
Forecast: The graph of is a sharp "V" with its point at the origin. If you tried to lay a single tangent line on that spike, could one line fit both sides?

We must compute the difference quotient at :
Step 1 — approach from the right (, so ). When , , so . Why this step? From the right the V rises with slope ; a one-sided limit (see Limits — formal definition and one-sided limits) captures exactly that. So the right-hand slope is .
Step 2 — approach from the left (, so ). When , , so . Why this step? From the left the V falls with slope . So the left-hand slope is .
Step 3 — compare. Why this step? A two-sided limit exists only if both one-sided limits agree. Here they disagree.
Step 4 — conclude. The limit does not exist, so is not differentiable at . Answer: does not exist (a corner).
Verify: Right slope , left slope , and . ✓
Ex 7 — Cell G: a real-world word problem (instantaneous speed)
Forecast: Between and the ball fell m, an average speed of m/s. Since it keeps accelerating, do you expect the speed at to be more or less than ?
Step 1 — buddy point. . Why this step? This is the average-vs-instantaneous idea: we compare position now with position a tiny seconds later.
Step 2 — change in position (the rise). Why this step? This is the distance fallen during the tiny interval .
Step 3 — divide by (the run = elapsed time) and cancel. Why this step? is a speed; the units are m/s. Factoring dodges the that a single instant would give.
Step 4 — shrink the interval. At : m/s. Answer: the instantaneous speed at s is m/s.
Verify (units + sanity): has units (m)/(s), a speed. At the instantaneous m/s exceeds the average m/s over — correct, since the ball keeps speeding up. ✓
Ex 8 — Cell H: exam twist, find the tangent line to at
Forecast: The tangent touches the curve at . First guess: is the curve rising or falling at ? (Its vertex is at , so is to the left of the bottom.)
Step 1. . Why this step? Replace every by the block — both in and in .
Step 2. Why this step? The and terms cancel, leaving only -carrying terms.
Step 3. Why this step? Factor and cancel to escape .
Step 4. So — the tangent slope at .
Step 5 — build the tangent line. The touch point is . Using point-slope : Why this step? A line is fixed by one point and one slope; the derivative supplies the slope, the function value supplies the point. Answer: tangent line .
Verify: Slope is negative — the curve is falling at (left of its vertex at ), matching the forecast. The line passes through : ✓. And at the vertex, as expected. ✓
Recall Which tool for which cell?
Higher power ::: expand the binomial, cancel Fraction ::: common denominator to surface the hidden Root ::: multiply by the conjugate to manufacture an Constant ::: numerator is genuinely , quotient is (not ) Corner (like ) ::: check left and right one-sided limits — if they differ, no derivative Word problem ::: same recipe; then read units and interpret
Connections
- Derivative from first principles — difference quotient definition — the recipe these examples drill.
- Limits — formal definition and one-sided limits — powers the corner case (Ex 6) and every "shrink" step.
- Indeterminate forms 0 over 0 — why constants (Ex 5) are not indeterminate while true derivatives are.
- Secant and Tangent lines — the tangent-line construction in Ex 8.
- Power Rule — cross-checks Ex 1 and Ex 3.
- Continuity and Differentiability — the moral of Ex 6.
- Average vs Instantaneous Rate of Change — the heart of the word problem Ex 7.