Secants, limits and first-principles power derivatives
Introduced| English | Meaning |
|---|---|
| difference quotient/ˈdɪfrəns ˈkwəʊʃənt/ | The change in a function's output divided by the corresponding change in its input over an interval. |
A plague year at home, 1665
- In 1665, plague closed Cambridge University, and the 22-year-old Isaac Newton went home to Woolsthorpe. There he worked out how to find the gradient of a curve: take two points close together, find the gradient of the chord between them, and see what happens as the second point slides into the first. That limit is the derivative from first principles. The chord's gradient is a difference quotient 差商.
- $f'(x) = \displaystyle\lim_{h \to 0}\frac{f(x + h) - f(x)}{h}$.
Chords approaching a tangent
- The chord from $x$ to $x + h$ has gradient $\dfrac{f(x + h) - f(x)}{h}$.
- As $h \to 0$, the chord turns into the tangent, and its gradient approaches $f'(x)$.
Find the gradient of the chord of $y = x^2$ from $x = 2$ to $x = 2.1$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$\tfrac{4.41 - 4}{0.1}$.
Simplify first, then let $h \to 0$
- Expand $f(x + h)$, cancel $f(x)$, divide by $h$ (allowed because $h \ne 0$), then let $h \to 0$.
- Setting $h = 0$ before cancelling gives $\tfrac{0}{0}$, which means nothing.
Secants, limits and first-principles power derivatives
For h≠0, the secant gradient is [f(x+h)−f(x)]/h
Connect a derivative calculation to its limit or gradient sign interpretation.
Simplify $\dfrac{(x + h)^2 - x^2}{h}$ for $h \ne 0$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
$\tfrac{2xh + h^2}{h}$.
Worked example: the derivative of $x^3$
Prove from first principles that the derivative of $x^3$ is $3x^2$.
- Expand: $(x + h)^3 - x^3 = 3x^2h + 3xh^2 + h^3$.
- Divide: $\dfrac{3x^2h + 3xh^2 + h^3}{h} = 3x^2 + 3xh + h^2$ for $h \ne 0$.
- Limit: as $h \to 0$, this tends to $3x^2$. ∎
From first principles, $f(x) = 5x^2$ has $\dfrac{f(x + h) - f(x)}{h} = 10x + 5h$. Find $f'(3)$.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
Let $h \to 0$: $10x$.
Numbers first
- For $f(x) = x^2$ at $x = 3$: $h = 0.1$ gives $\tfrac{9.61 - 9}{0.1} = 6.1$; $h = 0.01$ gives $6.01$.
- The values approach 6, which is $f'(3) = 2 \times 3$.
For $f(x) = x^3$ at $x = 1$, find the chord gradient with $h = 0.01$, to 4 d.p.
Difficulty 2/5 · 140 coins + a small bonus on first completion today
$3 + 3(0.01) + 0.0001$.
When there is no derivative
- $f(x) = |x|$ at $x = 0$: from the right the quotient is $+1$, from the left $-1$.
- The two sides disagree, so the curve has a corner and no derivative there.
$f(x) = |x|$ has derivative 0 at $x = 0$.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
Left and right limits are $-1$ and $1$.
Do not put $h = 0$ into the original quotient. $\dfrac{(x + 0)^3 - x^3}{0}$ is $\tfrac{0}{0}$: undefined. Simplify while $h \ne 0$, and only then take the limit.
In first principles, you can set $h = 0$ in the original quotient to find the derivative.
Difficulty 1/5 · 100 coins + a small bonus on first completion today
That gives $\tfrac{0}{0}$.
The derivative is the limit of the chord gradient $\tfrac{f(x + h) - f(x)}{h}$. Expand, cancel, divide by $h$ while $h \ne 0$, then let $h \to 0$. A corner, where the left and right limits differ, has no derivative.
Prove from first principles that the derivative of $f(x) = 2x^2 - 3x$ is $4x - 3$.
A quadratic from first principles.