Skip to content
Study Hall
Lesson 4 of 4Rates of Change & Limits
Unit 1 · Lesson 4 of 4

The Derivative Function

Find the tangent slope at every x at once and you get a new function, the derivative f′(x). Its graph can be built from the slopes of f, its equation comes from first principles with x left as a variable, its degree is one less than f's for a non-constant polynomial, and it fails to exist at corners, cusps, breaks and vertical tangents.

4 min read10 practice questionsInteractiveAsk AI about this →

Key things to remember

  1. 1Derivative function: it gives the tangent slope at every .
  2. 2Notation: , , and all mean the derivative.
  3. 3For polynomials the degree drops by one: linear gives constant, quadratic gives linear, cubic gives quadratic.
  4. 4Where rises, ; where falls, (apart from single flat points, like at ); a smooth local maximum or minimum has .
  5. 5No derivative at a corner, cusp, discontinuity or vertical tangent. Differentiable implies continuous, but not the reverse.

So far you have found the slope of the tangent at one point at a time: , then , each with its own page of algebra. But a curve has a tangent slope at every point, so the slopes themselves form a function: input an , output the slope of the tangent there. Do the first-principles algebra once with the letter in place of a number, and you get a formula for every slope at once. That formula is the derivative function .

The derivative function. The x stays a variable through the algebra; only h goes to 0.
xy123435m = −4m = −2m = 0m = 2m = 4xy1234−4−224(0, −4)(1, −2)(3, 2)(4, 4)f(x) = x² − 4x + 3slope of the tangent at x:x = 0: m = −4x = 1: m = −2x = 2: m = 0x = 3: m = 2x = 4: m = 4f′(x) = 2x − 4Each slope above is plottedas a height below.At x = 2 the tangent ishorizontal, so f′(2) = 0:the vertex of f is the zeroof f′.
Fig 1Top: f(x) = x² − 4x + 3 with tangents at x = 0, 1, 2, 3 and 4, whose slopes are −4, −2, 0, 2 and 4. Bottom, on the same x-axis: those slopes plotted as points, which lie on the line f′(x) = 2x − 4. At the vertex x = 2 the tangent is horizontal and f′(2) = 0.

Read the figure from left to right. Where the parabola falls, its tangents slope downward and the points on the graph are below the -axis. At the vertex the tangent is flat, so crosses zero. Where the parabola rises, the slopes are positive and growing. Plotting slope against turns the parabola into a straight line.

Loading interactive…
Pick a function (such as x², x³ − 3x, sin x or eˣ, or set your own cubic), drag the point along the graph, and switch on Trace f′ to plot each tangent slope as a point. Reveal the full f′ to check your trace.

Finding f′(x) from first principles

For f(x) = x² − 4x + 3: every term without h cancels, the rest is divided by h, and the limit leaves f′(x) = 2x − 4, matching the figure.
  • Notation: the derivative of can be written , , or . The form (Leibniz notation) is a reminder that a derivative is a limit of .
  • To get the slope at one point, find once, then substitute: and .
VideoMario applies the difference quotient with x left as a variable to get a whole derivative function, then uses it to find slopes along the graph, the same process as this section.Watch on YouTube

Patterns: the degree drops by one

f(x)Type of ff′(x) from first principlesType of f′
constantzero
linearconstant
quadraticlinear
cubicquadratic
For a non-constant polynomial, the derivative is a polynomial of one lower degree; a constant has derivative 0.

Reading the sign of f′ from the graph of f

  • Where the graph of rises from left to right, its tangents slope up, so and the graph of is above the -axis. (A rising graph can level off for an instant, like at , where at that single point.)
  • Where the graph of falls, and the graph of is below the -axis.
  • At a smooth peak or valley (a local maximum or minimum) the tangent is horizontal, so . Between a peak and the next valley the graph falls, so the rate of change is negative (apart from any single flat point); between a valley and the next peak it is positive.
  • Steeper parts of give values of farther from zero; flatter parts give values near zero.

Where a derivative does not exist

No single tangent slope at the marked pointCornery = |x|left slope −1,right slope 1Cuspslopes → −∞ (left)and +∞ (right)y = x2/3Jumpjumps at x = 0:not continuous,so no tangentVertical tangenty = ∛xtangent is vertical:slope undefined
Fig 2Four graphs with no single tangent slope at x = 0: a corner on y = |x| (left slope −1, right slope 1), a cusp on y = x to the power 2/3 (slopes heading to −∞ and +∞), a jump where the graph breaks, and a vertical tangent on the cube-root graph.

A function is differentiable at when exists. It fails at a corner and at a cusp (the one-sided slopes disagree), at a break such as a jump (no single tangent can follow a graph that is not continuous) and at a vertical tangent (a vertical line has undefined slope). For at the difference quotient is , which is for every and for every , so the limit does not exist. The lesson: a function that is differentiable at a point must be continuous there, but a continuous function, like , need not be differentiable.

VideoKhan Academy looks at graphs to decide where a function is not differentiable, including discontinuities, sharp corners and vertical tangents.Watch on YouTube

Worked examples

Reveal one step at a time and try to beat it to the next line.

Example 1
Use first principles to find for , then find the slope of the tangent at .
Example 2
Use first principles to find the derivative of the cubic .
Example 3
The graph of is a parabola opening down with vertex . Describe the graph of , then confirm with first principles.
Example 4
Show that is continuous but not differentiable at .

Where marks get lost

  • Substituting a number for before taking the limit when the question asks for . Keep as a variable; substitute only at the end, if a slope at a point is wanted.
  • Reading the HEIGHT of as the height of . Where is high but flat, is near ; where is below the axis but rising, is positive.
  • Thinking a zero of is a zero of . The zeros of are where the tangent is horizontal (peaks, valleys and flat spots), not where crosses the -axis.
  • Assuming every continuous function is differentiable. The graph of is unbroken, but it has no tangent slope at the corner .

Flashcards 8

Derivative function
Four notations for the derivative of
Derivative of a linear function
If is quadratic, is…
+ 4 more

Practice

1
If is a cubic polynomial, what kind of function is ?
2
Use first principles to find for . At what -value does the graph of have a horizontal tangent?
3
Match each function to its derivative function.
  1. A.
  2. B.
  3. C.
  4. D.
4
Use first principles to find for , then give .
5
Which function is NOT differentiable at ?
6
The graph of has a sharp point at where the left and right slopes are different. What is this kind of point called?
7
The graph of a smooth function falls from left to right on the interval , with no flat points. What can you say about on that interval?
8
For , put the tangent slopes at these points in order from smallest to largest.
  1. 1At
  2. 2At
  3. 3At
  4. 4At
9
Which statement is true?
10
For , what is ?

Spot a mistake on this page? Let us know