The first uses a step of size $h$ from $a$; the second uses two points $x$ and $a$. Both compute $\dfrac{\text{change in output}}{\text{change in input}}$ over the interval.
The instantaneous 瞬时 rate of change at $x=a$ is what the difference quotient approaches as the interval shrinks to zero. This limit is the derivative at $a$, written $f'(a)$:
This is the definition of the derivative (sometimes called differentiating “by first principles” 用定义求导). Its value at each $x$ is the instantaneous rate of change there.
Worked example. Use the definition to find $f'(x)$ for $f(x)=x^2+3x$.
Write $f(x+h)$ in full, subtract $f(x)$, and simplify before letting $h\to 0$:
Every term without $h$ cancels, so you can divide by $h$; that is what removes the $\tfrac{0}{0}$.
Common notations 记号 for the derivative of $y=f(x)$ are:
$$\frac{dy}{dx}, \qquad f'(x), \qquad y'.$$
The derivative can be represented graphically, numerically, analytically, and verbally – be ready to move between them.
Geometric meaning. The derivative at a point is the slope 斜率 of the tangent line 切线 to the graph there. So the tangent line at $x=a$ passes through $\big(a, f(a)\big)$ with slope $f'(a)$:
$$\boxed{y - f(a) = f'(a)\,(x-a)}.$$
Writing this line is a routine exam task, so keep the point-slope form ready.
Worked example. Find the tangent line to $f(x)=x^3-2x$ at $x=2$.
The point: $f(2)=2^3-2(2)=8-4=4$, so the line passes through $(2,4)$.
The slope: $f'(x)=3x^2-2$, so $f'(2)=3(4)-2=10$.
The line: $y-4=10(x-2)$, or $y=10x-16$.
Use the derivative only for the slope; the point comes from $f$ itself.
Common mistakes. Using $f'(2)=10$ as the $y$-coordinate of the point, and leaving $x$ in the slope: $y-4=(3x^2-2)(x-2)$ is not a line. The slope of a tangent line is a number, $f'(a)$.
Secant slopes approach the tangent slope: the derivative is the limit of average rates
You do not always have a formula. When a function is given by a table 表格 or a graph, estimate the derivative $f'(a)$ with a difference quotient over a small interval around $a$. A table with values on both sides of $a$ gives the best estimate:
$$f'(a) \approx \frac{f(b)-f(c)}{b-c},\qquad \text{where } c < a < b \text{ are the closest table inputs}.$$
Technology (a calculator) can also estimate a derivative at a point.
Bracket the point with the closest table inputs.
Exam skill (appears almost every year). Questions such as “Approximate $M'(7.5)$ using the average rate of change of $M$ over the interval $5 \le t \le 10$” ask for exactly this difference quotient. Show the setup:
$$M'(7.5) \approx \frac{M(10)-M(5)}{10-5}.$$
Full credit needs the numbers plugged in and the correct units 单位 (output units per input unit), since these come from real-world models.
Worked example. Water is pumped into a tank. $M(t)$ is the volume in the tank, in litres, $t$ minutes after the pump starts.
$t$ (minutes)
$0$
$5$
$10$
$15$
$M(t)$ (litres)
$12$
$20$
$26$
$29$
Estimate $M'(7.5)$. The closest table inputs on each side of $7.5$ are $5$ and $10$:
Meaning: about $7.5$ minutes after the start, the volume is rising at about $1.2$ litres per minute.
Common mistakes. Writing $M(10)-M(5)=6$ and forgetting to divide by $10-5$; dividing by the wrong difference; leaving out the units (litres per minute); and using a wider interval such as $5\le t\le 15$ when the table has the closest values on both sides of $7.5$.
Differentiability is stronger than continuity. The key relationship:
If $f$ is differentiable 可导 at a point, then $f$ is continuous 连续 there.
So differentiability implies continuity. The reverse is false: a continuous function can fail to be differentiable. Two ways this happens:
A corner 尖点: the left and right difference-quotient limits disagree, as with $f(x)=|x|$ at $x=0$.
A vertical tangent 垂直切线: the slope is infinite (no real number), as with $f(x)=\sqrt[3]{x}$ at $x=0$.
Two ways a continuous function is not differentiable: a corner and a vertical tangent
Also, a point outside the domain of $f$ cannot be in the domain of $f'$. Use the contrapositive on the exam: if $f$ is not continuous at $a$, then $f$ is not differentiable at $a$.
Common mistake. Arguing “continuous, so differentiable”. The function $|x|$ is continuous at $0$ but has a corner there. Continuity is needed for differentiability, but it is not enough.
Worked example (making a piecewise function differentiable). Find $k$ and $m$ so that
is differentiable at $x=2$. Two conditions are needed.
Continuous: the pieces meet, $2^2+k=2m-1$, so $k=2m-5$.
Same slope from both sides: the left piece has slope $2x=4$ at $x=2$; the right piece has slope $m$. So $m=4$, and then $k=3$.
Check: both pieces give $f(2)=7$ and slope $4$. Matching the slopes alone is not enough: without condition 1, $f$ would jump at $x=2$ and could not be differentiable.
From here we use rules instead of the limit definition each time. The power rule 幂法则 handles any power of $x$:
$$\boxed{\frac{d}{dx}\,x^{r} = r\,x^{\,r-1}}\qquad\text{for any real } r.$$
For arbitrary real powers this formula applies on $x>0$; integer powers and some rational powers have larger real domains. Check the domain and differentiability at the point, especially at $x=0$. Rewrite roots as powers before applying the rule.
Worked example. Differentiate $y=6\sqrt x-\dfrac{2}{x^3}+\dfrac{1}{3x}$. Rewrite every term as a constant times a power of $x$ first:
Common mistakes. Writing $\dfrac{d}{dx}\dfrac{1}{x^3}=\dfrac{1}{3x^2}$ (differentiating the denominator), and treating $\dfrac{1}{3x}$ as $3x^{-1}$: the $3$ stays in the denominator, so the constant is $\tfrac13$.
Worked example (horizontal tangents). Where does $y=x^3-6x^2+9x+1$ have a horizontal tangent? Set the derivative to zero: $y'=3x^2-12x+9=3(x-1)(x-3)=0$, so $x=1$ or $x=3$. The points are $(1,5)$ and $(3,1)$. Give the points, not just the $x$-values, when the question asks "where on the curve".
Learn these four building-block derivatives by heart:
$$\frac{d}{dx}\sin x = \cos x, \qquad \frac{d}{dx}\cos x = -\sin x,$$
$$\frac{d}{dx}e^{x} = e^{x}, \qquad \frac{d}{dx}\ln x = \frac{1}{x}\ \ (x>0).$$
Note the minus sign on the derivative of cosine, and that $e^{x}$ is its own derivative.
A limit that is really a derivative (LIM-3.A.1). Sometimes a limit is secretly the definition of a known derivative. If you recognize
$$\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}$$
for a function $f$ whose derivative you know, just evaluate $f'(a)$. For example, $\displaystyle \lim_{h\to 0}\frac{\sin\!\big(\tfrac{\pi}{2}+h\big)-1}{h} = \left.\frac{d}{dx}\sin x\right|_{x=\pi/2} = \cos\tfrac{\pi}{2} = 0$.
Exam questions often build a new function from given pieces, e.g. $k(x) = \big(f(x)\big)^2 g(x)$, and ask for $k'(x)$ at a point, you to combine rules while reading values from a table.
"Bottom times derivative of top, minus top times derivative of bottom, all over bottom squared." The order matters because of the minus sign, so write the numerator carefully. Example:
$$\frac{d}{dx}\!\left(\frac{x}{\cos x}\right) = \frac{1\cdot\cos x - x\cdot(-\sin x)}{\cos^2 x} = \frac{\cos x + x\sin x}{\cos^2 x}.$$
Worked example: rules from a table. You are given $f(3)=2$, $f'(3)=-1$, $g(3)=5$ and $g'(3)=4$.
For $p(x)=f(x)\,g(x)$: $p'(3)=f'(3)g(3)+f(3)g'(3)=(-1)(5)+(2)(4)=3$.
Common mistakes. Multiplying the derivatives: $p'(3)\neq f'(3)\,g'(3)=-4$. Writing the quotient-rule numerator in the wrong order ($fg'-f'g$ gives $+\tfrac{13}{25}$, the wrong sign). Forgetting to square the denominator.
The remaining trigonometric derivatives are not memorized separately – you rewrite them with identities 恒等式 and apply the quotient (or product) rule. For instance, $\tan x = \dfrac{\sin x}{\cos x}$, so the quotient rule gives
$$\frac{d}{dx}\tan x = \frac{\cos x\cos x - \sin x(-\sin x)}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x.$$
The same method (writing $\cot x=\tfrac{\cos x}{\sin x}$, $\sec x=\tfrac{1}{\cos x}$, $\csc x=\tfrac{1}{\sin x}$) gives $-\csc^2 x$, $\sec x\tan x$, and $-\csc x\cot x$.
At pi/4 the slope is sec squared, which is 2.
Worked example. Find the tangent line to $y=\tan x$ at $x=\tfrac{\pi}{4}$. The point is $\left(\tfrac{\pi}{4},1\right)$ and the slope is $\sec^2\tfrac{\pi}{4}=\left(\sqrt2\right)^2=2$, so $y-1=2\left(x-\tfrac{\pi}{4}\right)$.
A memory aid: the three "co" functions ($\cot$, $\csc$, and $\cos$) all have a minus sign in their derivatives.
Higher-order derivatives. Differentiating $f'$ again gives the second derivative 二阶导数$f''(x)$ (or $\tfrac{d^2y}{dx^2}$) – the rate of change of the rate of change. An exam part like “Find $k''(3)$” just means differentiate twice, then substitute. You can also estimate a second derivative from a table by applying the average-rate-of-change method to the $f'$ values.
Worked example. Differentiate $g(x)=\dfrac{\sin x}{x}$ with the quotient rule$\left(\tfrac{u}{v}\right)'=\dfrac{u'v-uv'}{v^2}$: take $u=\sin x$, $v=x$, giving $g'(x)=\dfrac{x\cos x-\sin x}{x^2}$. Keep the order $u'v-uv'$ in the numerator — swapping the terms flips the sign and loses the mark.