10B

The derivative as a limit

The tangent as the limit of secants, differentiating from first principles, finding points with a given gradient, and where a function is not differentiable.

The tangent as a limit of secants

Take a point $P$ at $x$ and a nearby point $Q$ at $x + h$. The secant $PQ$ has gradient $\dfrac{f(x + h) - f(x)}{h}$. As $h \to 0$, $Q$ slides towards $P$ and the secant becomes the tangent.

First principles
$$f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}$$
Secants become the tangent

Orange: y = x². Blue dashed: the secant. Drag h towards 0 and watch the secant gradient approach 2a.

Try this

With $a = 1$, what is the secant gradient when $h = 0.01$?

Example 1●●

Differentiate $f(x) = x^2$ from first principles.

$f(x + h) - f(x) = x^2 + 2xh + h^2 - x^2 = 2xh + h^2$
$\dfrac{f(x + h) - f(x)}{h} = 2x + h$, for $h \ne 0$.
Let $h \to 0$: $f'(x) = 2x$.
Example 2: points with a given gradient●●

For $f(x) = x^2 - 3x$, the derivative is $f'(x) = 2x - 3$. Where is the gradient $5$?

$2x - 3 = 5$, so $x = 4$.
$f(4) = 16 - 12 = 4$, so the point is $(4, 4)$.

Differentiable functions

A function is differentiable at a point if the curve is smooth and continuous there, so it has one clear tangent. It is not differentiable at a break, at a sharp corner (such as $y = |x|$ at $x = 0$), or where the tangent is vertical.

Flashcards
First principles
$f'(x) = \displaystyle\lim_{h \to 0} \dfrac{f(x + h) - f(x)}{h}$
Secant gradient on $y = x^2$
$2x + h$
Not differentiable at
Breaks, sharp corners, vertical tangents.
Practice
  1. Find the gradient of the secant on $y = x^2$ from $x = 2$ to $x = 2.1$.

  2. For $f(x) = x^2$, $\dfrac{f(x + h) - f(x)}{h}$ simplifies to:

  3. Using first principles, find $f'(3)$ for $f(x) = x^2$.

  4. From first principles, $f(x) = 3x^2$ gives:

  5. $f(x) = x^2 - 3x$ has $f'(x) = 2x - 3$. Find $x$ where the gradient is $5$.

  6. $y = |x|$ is not differentiable at $x = 0$ because:

  7. For $f(x) = x^3$, $\dfrac{f(1 + h) - f(1)}{h} = 3 + 3h + h^2$. Find $f'(1)$.

  8. $f(x) = x^2 + 5x$ has $f'(x) = 2x + 5$. Find the gradient at $x = -1$.

  9. Substituting $h = 0$ straight into the difference quotient gives:

More questions

New numbers every time. Keep going until you get five in a row.

Formula sheet