AP Calculus AB · Differentiation: Definition and Fundamental Properties · free lesson
The Derivative and Derivative Notation
The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.
The idea
From a number to a function
In the last topic the derivative of f at one point a was a number, f′(a), the slope of the tangent line there. Work it out at every x where the limit exists and you get a new function, the derivative functionf′. It takes in an x and gives back the slope of the graph of f at that x.
Definition.
The derivative of f is the function
f′(x)=h→0limhf(x+h)−f(x)
at every x where this limit exists. Where it exists, f is differentiable at x. Finding f′ is called differentiatingf.
The working is the one of the last topic, with the letter x in place of a number. Take f(x)=x3−3x. Multiply out f(x+h)−f(x), divide by h, and let h go to 0:
One limit gives the slope at every point at once. Put in numbers:
x
−2
−1
0
1
2
f′(x), the slope of f
9
0
−3
0
9
Watch the tangent line slide along the graph of f (blue). Its slope, plotted as a height above the same x, draws the graph of f′ (green).
Where the blue curve rises, the tangent slopes up and the green graph is above the axis. At x=−1 and x=1 the tangent is flat and f′ is 0. Between them the curve falls and f′ is negative.
Notation
If y=f(x), all of these name the derivative function:
f′(x)=y′=dxdy=dxdf(x)
Read f′(x) as "f prime of x" and dxdy as "d y d x", or "the derivative of y with respect to x". The second notation recalls where the derivative comes from: a change in y over a change in x, ΔxΔy, as the change in x goes to 0. The value at one point is written f′(2) or dxdyx=2. With other letters, s(t) has derivative s′(t)=dtds.
Warning.
f′(2) is the derivative evaluated at 2: first find f′(x), then put in 2. It is not the derivative of the number f(2). For f(x)=x3−3x, f(2)=2 but f′(2)=9: the height and the slope are different numbers.
The tangent line
The line tangent to the graph of f at x=a passes through (a,f(a)) with slope f′(a). In point-slope form,
y−f(a)=f′(a)(x−a)
For f(x)=x3−3x at x=2: f(2)=2 and f′(2)=9, so the tangent line is y−2=9(x−2), or y=9x−16. Two numbers are needed, a point and a slope, and the slope is the number f′(a), never the expression f′(x). Move the point of tangency with the slider.
Reading the graph of f' from the graph of f
Without a formula you can still sketch f′: wherever the graph of f rises, f′ is positive; wherever it falls, f′ is negative; wherever its tangent is horizontal (a peak, a valley), f′ is 0; and the steeper the graph, the farther f′ is from 0. Below, the graph of g(x)=2x2−2x is drawn with its derivative.
The derivative is g′(x)=x−2. The parabola falls until its lowest point at x=2 and rises after it; so g′ is negative for x<2, 0 at x=2, and positive for x>2. The green line crosses the axis exactly below the bottom of the parabola.
Note.
The usual slips on the AP exam: using f(a) as the slope of the tangent line; writing the tangent line with f′(x) instead of the number f′(a); taking the graph of f for the graph of f′ (a graph of f that is above the axis does not mean f′ is positive); and losing the middle term when (x+h)2 is multiplied out.
Worked examples
Worked examples
Each example is one kind of question the AP exam asks about the derivative as a function: finding it from the definition for a polynomial, a reciprocal and a square root, using its notation, and writing tangent lines from a formula and from a table. Every number in the working is found by the engine.
Example.
1. The definition, for a polynomial. Use the definition of the derivative to find f′(x) for f(x)=2x2−5x+1. Then find f′(3).
Write f(x+h) in full, subtract f(x), divide by h, and let h go to 0. The constant 1 cancels in the subtraction.
Now h can go to 0: the bottom becomes (x+2)(x+2). So
dxdy=−(x+2)21
for every x=−2. At x=−2 the function itself has no value, so it has no derivative there either. The top is always negative, so every tangent line slopes down, as the graph shows.
Example.
3. The definition, for a square root. Find f′(x) for f(x)=x, where x>0.
The top x+h−x will not multiply out. Multiply top and bottom by x+h+x: the top becomes x+h−x=h, which cancels.
hx+h−x=h(x+h+x)(x+h)−x=x+h+x1
As h goes to 0 the bottom becomes x+x, so
f′(x)=2x1
For example f′(4)=41. The formula needs x>0: at x=0 the bottom is 0 and the graph of x starts with a vertical tangent.
Example.
4. A tangent line from a formula. Find the line tangent to the graph of f(x)=x+21 at x=0.
A tangent line needs a point and a slope. The point is (0,f(0)); the slope is f′(0), from the derivative found in Example 2.
f(0)f′(0)=0+21=21=−(0+2)21=−41
In point-slope form the tangent line is y−21=−41(x−0), that is y=−41x+21.
Check: near x=0 the line and the curve can hardly be told apart, and at x=0 both have height 21.
Example.
5. A tangent line from a table. The function g is differentiable, and some of its values and those of its derivative are given. Write an equation for the line tangent to the graph of g at x=3, and find where it crosses the x-axis.
x
1
3
5
g(x)
4
−2
6
g′(x)
−1
5
3
From the column x=3: the point is (3,−2) and the slope is g′(3)=5. The tangent line is
y−(−2)=5(x−3)
It crosses the x-axis where y=0: 0−(−2)=5(x−3), so x=517. A common slip is to use the slope g(3)=−2 or the point (3,5): the row g(x) gives the point, the row g′(x) the slope.
Example.
6. Where is the tangent horizontal, or parallel to a line? Let f(x)=x2−6x+2. Find the point where the tangent line is horizontal, and the point where it is parallel to the line y=4x−1.
First the derivative, from the definition: hf(x+h)−f(x)=2x+h−6, so f′(x)=2x−6. A horizontal tangent has slope 0; a tangent parallel to y=4x−1 has slope 4.
2x−6x=0=3
2x−6x=4=5
The tangent is horizontal at (3,−7), the lowest point of the parabola, and parallel to y=4x−1 at (5,−3).
Practice
Answer AP-style questions on the derivative and derivative notation. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.