The derivative as a limit, with every rule proved. In analysis we also care about the fine print — differentiable implies continuous but not conversely, and a derivative can exist everywhere yet fail to be continuous. This unit builds both the rules and the counterexamples.
The derivative captures the instantaneous rate of change — the exact slope "right here" — which an average rate of change cannot.
Physics (velocity), economics (marginal cost), and above all machine learning, where training a network is gradient descent — repeatedly following derivatives downhill.
Newton and Leibniz discovered it independently and feuded over credit; Leibniz's $dy/dx$ notation won. Weierstrass's nowhere-differentiable continuous function later showed just how far continuity is from differentiability.
$f$ is differentiable at $a$ if $$f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h}$$ exists. Equivalently $f'(a)=\displaystyle\lim_{x\to a}\frac{f(x)-f(a)}{x-a}$. Geometrically it is the slope of the tangent line at $\big(a,f(a)\big)$.
For $f(x)=\tfrac1x$ and $a\ne0$:
For $f(x)=|x|$ at $0$, the quotient is $|h|/h$: it tends to $1$ from the right and $-1$ from the left, so $f'(0)$ does not exist. One-sided derivatives exist; the two-sided one does not.
If $f$ is differentiable at $a$, then $f$ is continuous at $a$. The converse fails ($|x|$ at $0$).
If $f,g$ are differentiable at $x$: $(f+g)'=f'+g'$, $(fg)'=f'g+fg'$, $\left(\dfrac fg\right)'=\dfrac{f'g-fg'}{g^2}$ when $g(x)\ne0$, and the chain rule $(f\circ g)'(x)=f'(g(x))\,g'(x)$ when $f$ is differentiable at $g(x)$.
Let $h(x)=x^2\sin(1/x)$ for $x\ne0$ and $h(0)=0$.
• The difference quotient is a limit — never plug in $h=0$.
• Don't drop the inner factor $g'(x)$ in the chain rule.
• Continuity does not imply differentiability; corners and cusps are
everywhere.
• $f'$ existing everywhere does not make $f'$ continuous —
see the showpiece above.
Original problems written for this guide in the style of Spivak's exercises. Write a full solution before opening the answer.
From the definition, find $f'(a)$ for $f(x)=\sqrt x$, $a>0$.
Prove differentiability at $a$ implies continuity at $a$.
Show $|x|$ is not differentiable at $0$.
Compute $f'(a)$ for $f(x)=x^3$ directly from the definition.
Verify $h'(0)=0$ for $h(x)=x^2\sin(1/x)$, $h(0)=0$, straight from the definition.
Let $f(x)=x^2$ for rational $x$ and $f(x)=0$ for irrational $x$. Show $f$ is differentiable at $0$ (and only there).
Prove: if $f$ is differentiable and even, then $f'$ is odd.
Derive the quotient rule from the product rule and the derivative of $1/g$.
Course coverage. This unit is part of the complete MAT158H1 topic map. It should cover the following items before you move on:
Use the current UofT MAT158H1 calendar topics as the coverage spine, and pair lecture notes with a Spivak-style proof-calculus text for extra reading. The exact assigned textbook should still be checked against the instructor syllabus.
The derivative spine is: limit of difference quotient, algebra of limits, continuity consequence, and local linear approximation.
Use these after the main practice set. They are designed to force definition-level reasoning, theorem selection, and mixed application rather than routine calculation only.
Compute $(x^3)\prime$ from the definition.
Prove differentiability at $a$ implies continuity at $a$.
Give a continuous function that is not differentiable at $0$.
Differentiate $(1+x^2)^5$ and name the rule.