Learn on your own. Parents beside you. Teachers guide.

Lemonmath
Tiếng Việt

The derivative and differentiation rules

Lesson 2.2 · 40 min read · Updated

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.

-2.0-1.5-1.0-0.50.51.01.52.0-12345xyO(0, 1)
y=e^x and its tangent line y=1+x at x=0

Differentiability and continuity

Similar exercises

Exercise 1 Multiple choice

What is \displaystyle\lim_{h\to0}\frac{\sin\left(\frac{\pi}{2}+h\right)-1}{h}?

A. -1B. 0C. 1D. The limit does not exist
What you need and how to start

What you need: recognize f'(a) for f(x)=\sin x and a=\dfrac{\pi}{2}.

Steps:

  1. \sin\dfrac{\pi}{2}=1.
  2. 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.

Exercise 2 Free response

For g(x)=5x^4-3x^2+\dfrac{4}{x^2}, find g'(1).

What you need and how to start

What you need: write \dfrac{4}{x^2}=4x^{-2}.

Steps:

  1. Differentiate term by term.
  2. 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.

Exercise 3 Multiple choice

For f(x)=xe^x, what is f'(0)?

A. 0B. eC. 2D. 1
What you need and how to start

What you need: the product rule.

Steps:

  1. 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.

Exercise 4 Free response

For f(x)=\dfrac{x}{x^2+1}, find f'(1) and interpret it.

What you need and how to start

What you need: the quotient rule.

Steps:

  1. f'(x)=\dfrac{(x^2+1)-x\cdot2x}{(x^2+1)^2}.
  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.

Exercise 5 Free response

Write the equation of the tangent line to y=\ln x at x=1.

What you need and how to start

What you need: y=f(a)+f'(a)(x-a).

Steps:

  1. \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

Exercise 6 Particle motion

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 and how to start

What you need: at rest means velocity v(t)=s'(t)=0.

Steps:

  1. v(t)=3t^2-12t+9.
  2. 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.

Exercise 7 Horizontal tangents

Find the points on the graph of y=x^3-3x where the tangent line is horizontal.

What you need and how to start

What you need: horizontal tangent means y'=0.

Steps:

  1. y'=3x^2-3.
  2. 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).

Exercise 8 Using a table

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 and how to start

What you need: the product rule with values from the table.

Steps:

  1. 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.

Exercise 9 Challenge

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 and how to start

What you need: differentiable at 1 requires both continuity and equal one-sided derivatives.

Steps:

  1. Continuity: a=b-2.
  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.

Mini test

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

Question 1. What is \dfrac{d}{dx}\left(x^5\right)?
Question 2. What is \dfrac{d}{dx}\left(\cos x\right)?
Question 3. For f(x)=x^2\ln x, what is f'(1)?
Question 4. What is the slope of the tangent line to y=\sqrt x at x=4?

Part II. True or false

Question 1. Let g(x)=x^3-3x.
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.

Part III. Short answer

Question 1. Evaluate \displaystyle\lim_{h\to0}\frac{(3+h)^2-9}{h}.

Question 2. For f(x)=\dfrac{x}{x+1}, find f'(1). Give your answer as a decimal.

Show answers and explanations
  1. Part I, question 1: A. The power rule. Option D is an antiderivative.
  2. Part I, question 2: C. The derivative of cosine is negative sine.
  3. Part I, question 3: B. f'(x)=2x\ln x+x, so f'(1)=0+1=1.
  4. Part I, question 4: D. y'=\dfrac{1}{2\sqrt x}=\dfrac14 at x=4.
  5. 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.
  6. Part III, question 1: 6. This is f'(3) for f(x)=x^2: 2\cdot3=6.
  7. 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.
📈 My progress

Finding Lemonmath useful?

Send this page to a friend, a parent or a teacher who could use it. Studying on your own is easier with company, and Lemonmath is free for everyone.

Facebook ✉ Email