The derivative and differentiation rules
🖨 Print a self-study sheet Why print?
When you glance at a car's speedometer, you read how fast it is going at that very moment, not the average over the whole journey. The derivative is exactly that number: the instantaneous rate of change. Unit 2 turns the idea of a limit into the derivative, and gives us rules to find it quickly. Most of its questions are fast multiple-choice items in the no-calculator part, but the same skills are needed in every free-response question, so accuracy here is worth a lot. Vietnamese students already know these rules from grade 11. What the AP style adds are questions that disguise a derivative as a limit, and we will practise spotting them.
The derivative as a limit
Basic rules
Tangent lines and local linear approximation
Zoom in far enough on a curve near a point and it looks almost straight. That straight piece is the tangent line, and because it is so much simpler than the curve, we can use it to estimate values. The tangent line to y=f(x) at x=a is y=f(a)+f'(a)(x-a). Near a it is a very good approximation of f.
Differentiability and continuity
Similar exercises
What is \displaystyle\lim_{h\to0}\frac{\sin\left(\frac{\pi}{2}+h\right)-1}{h}?
What you need: recognize f'(a) for f(x)=\sin x and a=\dfrac{\pi}{2}.
Steps:
- \sin\dfrac{\pi}{2}=1.
- f'(x)=\cos x.
Show solution
Let f(x)=\sin x. Since f\left(\dfrac{\pi}{2}\right)=\sin\dfrac{\pi}{2}=1, the definition of the derivative at x=\dfrac{\pi}{2} gives f'\left(\frac{\pi}{2}\right)=\lim_{h\to0}\frac{f\left(\frac{\pi}{2}+h\right)-f\left(\frac{\pi}{2}\right)}{h}=\lim_{h\to0}\frac{\sin\left(\frac{\pi}{2}+h\right)-1}{h}.
Hence the given limit is exactly f'\left(\dfrac{\pi}{2}\right). Since f'(x)=\cos x, f'\left(\frac{\pi}{2}\right)=\cos\frac{\pi}{2}=0.
So the answer is B.
Answer. B.
For g(x)=5x^4-3x^2+\dfrac{4}{x^2}, find g'(1).
What you need: write \dfrac{4}{x^2}=4x^{-2}.
Steps:
- Differentiate term by term.
- Substitute x=1.
Show solution
Rewrite g(x)=5x^4-3x^2+4x^{-2} so that we can use the power rule \left(x^n\right)'=nx^{n-1}.
We have g'(x)=5\cdot4x^3-3\cdot2x+4\cdot(-2)x^{-3}=20x^3-6x-8x^{-3}.
Substituting x=1, we get g'(1)=20-6-8=6.
So g'(1)=6.
Answer. 6.
For f(x)=xe^x, what is f'(0)?
What you need: the product rule.
Steps:
- f'(x)=e^x+xe^x.
Show solution
Using the product rule (uv)'=u'v+uv' with u=x and v=e^x, we have f'(x)=(x)'e^x+x\left(e^x\right)'=e^x+xe^x.
Substituting x=0, we get f'(0)=e^0+0\cdot e^0=1+0=1.
So the answer is D.
Answer. D.
For f(x)=\dfrac{x}{x^2+1}, find f'(1) and interpret it.
What you need: the quotient rule.
Steps:
- f'(x)=\dfrac{(x^2+1)-x\cdot2x}{(x^2+1)^2}.
- Substitute x=1.
Show solution
Since x^2+1>0 for every x, the function is defined on \mathbb{R}.
Using the quotient rule \left(\dfrac uv\right)'=\dfrac{u'v-uv'}{v^2} with u=x and v=x^2+1, we have f'(x)=\frac{1\cdot\left(x^2+1\right)-x\cdot2x}{\left(x^2+1\right)^2}=\frac{1-x^2}{\left(x^2+1\right)^2}.
Substituting x=1, we get f'(1)=\frac{1-1^2}{\left(1^2+1\right)^2}=0.
Interpretation: f'(1) is the slope of the tangent line to the graph at the point with x=1. Since f'(1)=0, the tangent line there is horizontal.
In fact, f(1)=\dfrac12 and for every x we have \frac12-f(x)=\frac{x^2+1-2x}{2\left(x^2+1\right)}=\frac{(x-1)^2}{2\left(x^2+1\right)}\ge0, so f(x)\le\dfrac12. Hence f attains its maximum value \dfrac12 at x=1.
So f'(1)=0: the tangent line to the graph at x=1 is horizontal, and f has its maximum value \dfrac12 there.
Answer. f'(1)=0; the tangent line at x=1 is horizontal.
Write the equation of the tangent line to y=\ln x at x=1.
What you need: y=f(a)+f'(a)(x-a).
Steps:
- \ln1=0 and \left.\dfrac1x\right|_{x=1}=1.
Show solution
The function y=\ln x is defined for x>0 and has derivative y'=\dfrac1x.
At x=1, we have y(1)=\ln1=0 and y'(1)=\dfrac11=1.
The tangent line at the point with x=x_0 is y=y(x_0)+y'(x_0)(x-x_0). With x_0=1, we get y=0+1\cdot(x-1),\ \text{that is}\ y=x-1.
So the tangent line to the graph of y=\ln x at x=1 is y=x-1.
Answer. y=x-1.
Application exercises
A particle moves along a line with position s(t)=t^3-6t^2+9t for t\ge0. At what times is the particle at rest?
What you need: at rest means velocity v(t)=s'(t)=0.
Steps:
- v(t)=3t^2-12t+9.
- Solve v(t)=0.
Show solution
The velocity of the particle at time t is v(t)=s'(t)=3t^2-12t+9.
The particle is at rest when v(t)=0 (with t\ge0). We have \begin{aligned}3t^2-12t+9=0&\iff3\left(t^2-4t+3\right)=0\\&\iff3(t-1)(t-3)=0\\&\iff t=1\ \text{or}\ t=3.\end{aligned}
Both values satisfy the condition t\ge0.
So the particle is at rest at t=1 and t=3.
Answer. t=1 and t=3.
Find the points on the graph of y=x^3-3x where the tangent line is horizontal.
What you need: horizontal tangent means y'=0.
Steps:
- y'=3x^2-3.
- Solve, then find the y-values.
Show solution
We have y'=3x^2-3. The tangent line at the point with abscissa x is horizontal if and only if its slope y'=0.
Solving 3x^2-3=0\iff x^2=1\iff x=1\ \text{or}\ x=-1.
The corresponding y-coordinates are y(1)=1^3-3\cdot1=-2,\qquad y(-1)=(-1)^3-3\cdot(-1)=-1+3=2.
So the points on the graph where the tangent line is horizontal are (1, -2) and (-1, 2).
Answer. (1, -2) and (-1, 2).
The table gives values of the differentiable functions f and g at x=2.
| x | f(x) | f'(x) | g(x) | g'(x) |
|---|---|---|---|---|
| 2 | 3 | -1 | 4 | 5 |
Let h(x)=f(x)g(x). Find h'(2).
What you need: the product rule with values from the table.
Steps:
- h'(2)=f'(2)g(2)+f(2)g'(2).
Show solution
By the product rule, for h(x)=f(x)g(x) we have h'(x)=f'(x)g(x)+f(x)g'(x).
Substituting x=2 and the values from the table f(2)=3, f'(2)=-1, g(2)=4, g'(2)=5, we get h'(2)=f'(2)g(2)+f(2)g'(2)=(-1)(4)+(3)(5)=-4+15=11.
So h'(2)=11.
Answer. 11.
f(x)=\begin{cases}ax^2, & x\le1\\ bx-2, & x>1\end{cases} Find a and b so that f is differentiable at x=1.
What you need: differentiable at 1 requires both continuity and equal one-sided derivatives.
Steps:
- Continuity: a=b-2.
- Equal slopes: 2a=b.
Show solution
The function f is differentiable at x=1 if and only if f is continuous at x=1 and the left-hand and right-hand derivatives at x=1 are equal.
Continuity condition: we have f(1)=a\cdot1^2=a and \lim_{x\to1^-}f(x)=a,\qquad\lim_{x\to1^+}f(x)=b\cdot1-2=b-2. The two one-sided limits must be equal, so a=b-2. (1)
Derivative condition: for x<1 we have f'(x)=2ax, so the left-hand derivative at 1 is 2a; for x>1 we have f'(x)=b, so the right-hand derivative at 1 is b. Hence b=2a. (2)
Substituting (2) into (1), we get a=2a-2\iff a=2. It follows that b=2a=4.
Check: with a=2, b=4, both pieces give the value 2 at x=1 (since a=2 and b-2=2) and the same slope 4 (since 2a=4=b).
So a=2 and b=4.
Answer. a=2, b=4.
Marked like the Vietnamese graduation exam: Part I 0.25 points per question; Part II up to 1 point per question (1, 2, 3, 4 correct statements give 0.1, 0.25, 0.5, 1 point); Part III 0.5 points per question.
Part I. Multiple choice
The power rule. Option D is an antiderivative.
The derivative of cosine is negative sine.
f'(x)=2x\ln x+x, so f'(1)=0+1=1.
y'=\dfrac{1}{2\sqrt x}=\dfrac14 at x=4.
Part II. True or false
| a) g'(x)=3x^2-3. | ||
| b) g'(1)=0. | ||
| c) The tangent line at x=2 has slope 9. | ||
| d) g is not differentiable at x=0. |
a) True. b) True. c) True: 12-3=9. d) False: a polynomial is differentiable everywhere.
Part III. Short answer
This is f'(3) for f(x)=x^2: 2\cdot3=6.
f'(x)=\dfrac{(x+1)-x}{(x+1)^2}=\dfrac{1}{(x+1)^2}, so f'(1)=\dfrac14=0.25.
Show answers and explanations
- Part I, question 1: A. The power rule. Option D is an antiderivative.
- Part I, question 2: C. The derivative of cosine is negative sine.
- Part I, question 3: B. f'(x)=2x\ln x+x, so f'(1)=0+1=1.
- Part I, question 4: D. y'=\dfrac{1}{2\sqrt x}=\dfrac14 at x=4.
- Part II, question 1: a) True; b) True; c) True; d) False. a) True. b) True. c) True: 12-3=9. d) False: a polynomial is differentiable everywhere.
- Part III, question 1: 6. This is f'(3) for f(x)=x^2: 2\cdot3=6.
- Part III, question 2: 0.25. f'(x)=\dfrac{(x+1)-x}{(x+1)^2}=\dfrac{1}{(x+1)^2}, so f'(1)=\dfrac14=0.25.