Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 2.2

Defining the Derivative of a Function and Using Derivative Notation

How do we find the rate of change at one instant, and how do we compute it quickly for any function?

What you will learn

  • Understand f prime as a function whose value at x is the slope of f
  • Know the three notations and when each is used
  • Understand the tangent line as point-slope form with f at a and f prime at a
  • Know how to read a graph of f prime as the slope of f

You must be able to

  1. Find f prime from the limit definition in four steps
  2. Write the equation of a tangent line from values or a formula
  3. Write a single value as f prime at a number and not as f prime of x equals a number
  4. Read where f is rising, falling or flat from the graph of f prime
  5. Avoid treating dy over dx as a fraction to cancel

In the exam. Section I multiple choice: a limit that defines f′(x)f'(x), the equation of a tangent line from f(a)f(a) and f′(a)f'(a), or a graph of ff matched to a graph of f′f'. Section II free response: tangent lines appear in nearly every year, often to estimate a value, and correct notation is a point in its own right. Notation errors such as writing f′(x)=3f'(x) = 3 for f′(2)=3f'(2) = 3 are among the most reported.

1The definition of the derivative function

The derivative of ff = the function whose value at xx is the limit below, for every xx where the limit exists.

f′(x)=lim⁡h→0f(x+h)−f(x)h f'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}

This is the 2.1 limit with aa replaced by xx, left free to vary.

  • If the limit exists at a point, ff is differentiable there.
  • The domain of f′f' is the set of xx where the limit exists. It can be smaller than the domain of ff.
  • The value of f′f' at a particular number, such as f′(2)f'(2), is the slope of the tangent line at x=2x = 2.

2Finding f′(x)f'(x) from the definition

The method has four steps.

  1. Write f(x+h)f(x + h) with every xx replaced by x+hx + h. Put parentheses round the whole expression.
  2. Form f(x+h)−f(x)f(x + h) - f(x) and simplify. Every term without hh should cancel.
  3. Divide by hh. Cancel one factor of hh.
  4. Let h→0h \to 0.

Example (invented): f(x)=x2−3xf(x) = x^2 - 3x.

f(x+h)−f(x)h=(x+h)2−3(x+h)−(x2−3x)h=2xh+h2−3hh=2x+h−3 \frac{f(x + h) - f(x)}{h} = \frac{(x + h)^2 - 3(x + h) - (x^2 - 3x)}{h} = \frac{2xh + h^2 - 3h}{h} = 2x + h - 3

Letting h→0h \to 0 gives f′(x)=2x−3f'(x) = 2x - 3.

Example (invented): f(x)=1xf(x) = \frac{1}{x}, for x≠0x \ne 0.

1x+h−1xh=x−(x+h)h⋅x(x+h)=−1x(x+h)→−1x2 \frac{\frac{1}{x + h} - \frac{1}{x}}{h} = \frac{x - (x + h)}{h \cdot x(x + h)} = \frac{-1}{x(x + h)} \to -\frac{1}{x^2}

So f′(x)=−1x2f'(x) = -\frac{1}{x^2}. The domain of f′f' leaves out 00, the same point that ff leaves out.

You will not usually differentiate from the definition once the rules arrive in 2.5 to 2.10. But the definition is what those rules are built on, and exams still ask for it in limit form.

3Notation

Three notations name the same function. All three are on the exam.

NotationHow to read itTypical use
f′(x)f'(x)"f prime of x"When the function has a name ff
y′y'"y prime"A short form for y=f(x)y = f(x)
dydx\dfrac{dy}{dx}"dy by dx" or "the derivative of y with respect to x"When yy is given as an equation in xx; the letters change with the context

Other versions are the same idea: ddx[f(x)]\frac{d}{dx}[f(x)] means "differentiate the expression", and if VV depends on tt, then dVdt\frac{dV}{dt} is the derivative of VV with respect to tt. Note that dydx\frac{dy}{dx} is one symbol for a rate. It is not "dy" divided by "dx" for you to cancel.

Values at a point. The derivative at x=2x = 2 is written f′(2)f'(2) or, in the dydx\frac{dy}{dx} form, dydx∣x=2\left.\frac{dy}{dx}\right|_{x = 2}. Never write "f′(x)=3f'(x) = 3" when you mean the value at one point. That says f′f' is the constant 3 everywhere, which is false, and it loses a notation mark.

Example: for f(x)=x2−3xf(x) = x^2 - 3x, f′(x)=2x−3f'(x) = 2x - 3, and f′(4)=5f'(4) = 5.

4The tangent line

The derivative at a point is the slope of the tangent line there: the line that touches the curve at that point and has the same direction as the curve. Its equation needs a point and a slope.

y−f(a)=f′(a)(x−a) y - f(a) = f'(a)(x - a)

That is point-slope form. The point is (a,f(a))(a, f(a)) and the slope is f′(a)f'(a).

Example (invented): the tangent to f(x)=x2−3xf(x) = x^2 - 3x at x=4x = 4.

  • f(4)=16−12=4f(4) = 16 - 12 = 4, so the point is (4,4)(4, 4).
  • f′(4)=2(4)−3=5f'(4) = 2(4) - 3 = 5.
  • The line is y−4=5(x−4)y - 4 = 5(x - 4), which is y=5x−16y = 5x - 16.

Example (invented): from values alone. f(2)=5f(2) = 5 and f′(2)=−3f'(2) = -3. The tangent line at x=2x = 2 is y−5=−3(x−2)y - 5 = -3(x - 2). You do not need the formula for ff.

Many AP questions give a table with f(a)f(a) and f′(a)f'(a) and ask for this line, or for the value of the line at a nearby xx. Keep point-slope form. You can leave the answer without simplifying, which saves a slip.

5Four representations of the derivative

The CED says the derivative can be represented graphically, numerically, analytically and verbally. A question may give one and ask for another.

  • Graphically: the slope of the tangent line to the graph of ff.
  • Numerically: a table of values of f′f', or slopes estimated from a table of ff (see 2.3).
  • Analytically: a formula for f′(x)f'(x), or a limit.
  • Verbally: "the rate at which the quantity is changing at that moment", with units.
Figure 1. Left: the graph of f(x) = x^3/3 - x with tangent lines at x = -1, 0 and 1. Right: the graph of its derivative f'(x) = x^2 - 1; each point of the right graph is the slope of the tangent at the same x on the left f(x) x slope 0 slope 0 slope -1 Figure 1. Left: the graph of f(x) = x^3/3 - x with tangent lines at x = -1, 0 and 1. Right: the graph of its derivative f'(x) = x^2 - 1; each point of the right graph is the slope of the tangent at the same x on the left f'(x) x -1 0 0
Figure 1 · The graph of f(x) = x^3 ÷ 3 - x with its tangent lines at x = -1, 0 and 1, beside the graph of f'(x) = x^2 - 1

In Figure 1, the left graph is ff and the right is f′f'. Read across, one xx at a time.

  • At x=−1x = -1 and x=1x = 1 the tangent to ff is horizontal, so f′=0f' = 0 there. These are the two places where the graph of f′f' crosses the xx-axis.
  • At x=0x = 0 the tangent has slope −1-1, so f′(0)=−1f'(0) = -1, which is the lowest point of the graph of f′f'.
  • Between −1-1 and 11, ff falls, so f′f' is below the axis. Outside that interval ff rises, so f′f' is above it.

Use the sign of f′f' to say whether ff rises or falls, and the height of f′f' to say how steeply. Do not mix up the two graphs: a high point on the graph of f′f' is a steep point on the graph of ff, not a high point.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.