UNIHIVE

Study Hub UNIPORT MTH 102

MTH 102 · Elementary Mathematics II

Differentiation from first principles

The derivative as the limit of (f(x + h) − f(x)) / h as h tends to 0. Exams ask you to differentiate simple functions this way.

Our notes

1 min read

The derivative as a limit

The derivative of f(x) is the gradient of the tangent to its graph, the instantaneous rate of change:

f′(x) = dy/dx = lim (h→0) [f(x + h) − f(x)] / h

(Some books use δx instead of h: dy/dx = lim (δx→0) δy/δx.)

Steps

  1. Write f(x + h).
  2. Find f(x + h) − f(x) and simplify.
  3. Divide by h.
  4. Let h → 0.

Worked example 1: f(x) = x²

f(x + h) = x² + 2xh + h².
f(x + h) − f(x) = 2xh + h².
Divide by h: 2x + h.
Let h → 0: f′(x) = 2x.

Worked example 2: f(x) = 3x² − 5x

f(x + h) − f(x) = 3(x² + 2xh + h²) − 5(x + h) − 3x² + 5x = 6xh + 3h² − 5h.
Divide by h: 6x + 3h − 5. Let h → 0: f′(x) = 6x − 5.

Worked example 3: f(x) = 1/x

f(x + h) − f(x) = 1/(x + h) − 1/x = (x − (x + h))/(x(x + h)) = −h/(x(x + h)).
Divide by h: −1/(x(x + h)). Let h → 0: f′(x) = −1/x².

Worked example 4: f(x) = √x

[√(x + h) − √x]/h. Multiply top and bottom by √(x + h) + √x:
= h/(h(√(x + h) + √x)) = 1/(√(x + h) + √x) → 1/(2√x) as h → 0.

Worked example 5: f(x) = sin x

[sin(x + h) − sin x]/h = [sin x cos h + cos x sin h − sin x]/h
= sin x (cos h − 1)/h + cos x (sin h / h) → sin x × 0 + cos x × 1 = cos x.

Meaning

  • If y is distance and x is time, dy/dx is speed.
  • dy/dx > 0: increasing; dy/dx < 0: decreasing; dy/dx = 0: a turning (stationary) point.

Exams usually ask: differentiate x², x³, 1/x, √x, ax² + bx + c or sin x from first principles; explain the derivative as a gradient or rate.

Common mistake: letting h → 0 before dividing by h, which gives 0/0. Simplify and cancel h first.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 102 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.