Unit 2 · Topic 2.4 · about 30 minutes · 7 parts · 10 scored checks, 2 of them multiple choice, plus 2 from earlier lessons

AP Calculus AB 2.4: Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist

Unit 2: 10 to 15% of the multiple-choice section

What you'll be able to do

  • Explain how differentiability and continuity are related, and use that relationship to decide whether a derivative exists at a point.

Key vocabulary

TermWhat it meansThe exam trap
Differentiable at a pointA function f is differentiable at x=c when f′(c) exists, that is, when the limit of the difference quotient at c exists.Where a formula changes at c, work out the difference quotient from each side separately before you say anything about f′(c).
Continuous at a pointA function f is continuous at x=c when f(c) exists, limx→c⁡f(x) exists, and the two are equal.Before you use continuity in a justification about a derivative, be sure which way the link between the two runs.
Domain of f′The set of inputs at which f′(x) exists.Write down the domain of f itself before you look for the inputs where f′ exists.
Vertical tangent lineA graph of a function continuous at x=c has a vertical tangent line there when the difference quotient at c goes to infinity from both sides, or to negative infinity from both sides.A very steep line on a calculator screen can look vertical; work out the difference quotient to know.
Graph of y equals the cube root of x for x from -1.5 to 1.5, through (0, 0). Three secant lines start at (0, 0): one ends at x = 1 with slope 1, one at x = 1/8 with slope 4, and one at x = 1/27 with slope 9, each steeper than the last.Tap to open the picture full size

Part 1 Think first How steep is a sharp ridge at its top?

Guess before you learn. A wrong guess still makes the answer stick.

Predict first

A hiking trail climbs one side of a ridge in a straight line, rising 1 meter for every 4 meters it moves forward. At the sharp top it turns and runs straight down the other side, dropping 1 meter for every 2 meters forward. How steep is the trail at the exact top of the ridge?

In short. A function that is differentiable at a point is continuous there, but a function can be continuous at a point and still have no derivative there.

  • If f′(c) exists, then f is continuous at c, so a function with no value at c, or a break there, has no derivative at c.
  • A derivative also fails to exist where the left-hand and right-hand limits of the difference quotient are different numbers.
  • It fails, too, where f is continuous and the difference quotient grows without bound the same way from both sides, a vertical tangent line, or in opposite ways, a cusp.

Part 2 Learn it Three short ideas, each checked as you go

2a. A derivative needs continuity

A function f is differentiable at x=c when f′(c) exists, that is, when f(c+h)−f(c)h has a limit as h→0.

That says something about f itself. For every h≠0,

f(c+h)−f(c)=f(c+h)−f(c)h⋅h.

As h→0, the quotient approaches the number f′(c) and h approaches 0, so the right side approaches f′(c)⋅0=0. Then f(c+h) approaches f(c), which is what it means for f to be continuous at c.

If a function is differentiable at a point, then it is continuous at that point.

The useful way to turn it around: if f is not continuous at c, then f′(c) does not exist. A jump or a vertical asymptote at c settles the question at once.

The quotient also needs the number f(c). So if c is not in the domain of f, then c is not in the domain of f′ either. For f(x)=1x there is no f(0), and so there is no f′(0).

The statement runs in one direction only. It does not say that a continuous function is differentiable.

Quick check · Multiple choice

No calculator. Let f(x)=x2−4x−2. Which statement about f′(2) is true?

2b. Continuous, with a corner

Continuity is not enough for a derivative. Take f(x)=|x| at x=0. It is continuous there: f(0)=0, and |x| approaches 0 from both sides.

Now the difference quotient. Since f(0+h)−f(0)=|h|, it is |h|h, which is 1 for every h>0 and −1 for every h<0. So

limh→0−⁡|h|h=−1andlimh→0+⁡|h|h=1.

The left-hand and right-hand limits of the difference quotient are not equal, so the quotient has no limit and f′(0) does not exist. The graph has a corner at the origin: slope −1 coming in, slope 1 going out.

The same test works where two pieces of a piecewise function meet at x=c:

  1. Check that f is continuous at c. If it is not, stop: f′(c) does not exist.
  2. For h<0, write f(c+h) with the piece to the left of c. For h>0, use the piece to the right. In both quotients, subtract the true value f(c).
  3. Find both one-sided limits. If they are equal, f′(c) is that number. If they differ, f has a corner at c and no derivative there.

Quick check · Calculate

No calculator. Let f(x)=x2 for x≤1 and f(x)=4x−3 for x>1, so f is continuous at x=1. What is limh→0+⁡f(1+h)−f(1)h?

2c. Continuous, with a vertical tangent line

A continuous function can fail to have a derivative in a second way. Take f(x)=x3 at x=0, the graph at the top of this lesson. It is continuous there.

For h≠0 the difference quotient is h3−0h. At h=1, 18 and 127 it is 1, 4 and 9, the slopes of the three secant lines in the picture, and the same values come back for negative h. As h→0 from either side the quotient grows without bound, so f′(0) does not exist.

The secant lines get steeper and steeper, and the tangent line at the origin is vertical. A vertical line has no slope.

So far you have seen four ways a derivative at c can fail to exist:

  • f is not continuous at c, which includes c not being in the domain of f;
  • the left-hand and right-hand limits of the difference quotient are different numbers, a corner;
  • f is continuous at c and the difference quotient grows without bound, going to infinity (or to negative infinity) from both sides, a vertical tangent line;
  • the difference quotient heads to infinity from one side and to negative infinity from the other, a cusp, as for x2/3 at 0.

Continuity at c rules out only the first. That is the whole relationship: differentiable at c guarantees continuous at c, and continuous at c guarantees nothing about f′(c).

Quick check · Sort it

No calculator. Each card is a statement about a function f and an input c. Tap a card, then whether the statement is true for every function or false for some function.

True for every function

False for some function

Part 3 Watch it done Where two pieces meet

Watch each step, then do the last one yourself.

Let f(x)=x2−2x for x≤3 and f(x)=4x−9 for x>3. Is f differentiable at x=3? Justify your answer.

  1. Step 1 · Continuity first

    f(3)=32−2(3)=3. From the left, limx→3−⁡f(x)=32−2(3)=3, and from the right, limx→3+⁡f(x)=4(3)−9=3. So limx→3⁡f(x)=3=f(3), and f is continuous at x=3.

  2. Why this step?

    Why check continuity before working out any difference quotient?

    A function that is differentiable at a point is continuous there. If f were not continuous at 3, f′(3) could not exist and the question would be over. Since it is continuous, the derivative might exist, and only the difference quotients can say.

  3. Step 2 · The quotient from the left

    For h<0, 3+h<3, so f(3+h)=(3+h)2−2(3+h)=3+4h+h2. Then f(3+h)−f(3)h=4h+h2h=4+h for h≠0, and limh→0−⁡(4+h)=4.

  4. Your step · Fill the statement

    No calculator. Finish it. For h>0, f(3+h)=4(3+h)−9. Tap a blank, then tap an answer.

    From the right, the limit of f(3+h)−f(3)h is . Compared with the limit from the left, this means f at x=3.

Part 4 Try it Two new functions

Try it · Calculate

No calculator. Let f(x)=x2+k for x≤2 and f(x)=4x−1 for x>2, where k is a constant. What value of k makes f differentiable at x=2?

Try it · Decide and justify

No calculator. Let f(x)=|x−1|+2x. A classmate says f′(1) exists, because f is continuous at x=1. Is the classmate right?

Which reason supports your answer?

Part 5 Explain it Write it the way the exam asks

Free response is handwritten on the exam, so work this on paper first. Nothing you type here leaves this page. Then compare with the model answer and score each point.

Free response is 50% of the exam score. This one is shaped like Question 5, from free-response Part B (calculator not permitted).

Free-response practice · Question 5 style

No calculator. A robot moves along a straight track. Its distance from the start of the track, in meters, t seconds after it begins moving is given by s(t)=3t for 0≤t≤2 and s(t)=t2+2 for 2<t≤5.

(a) Justify that s is continuous at t=2.

(b) Find limh→0−⁡s(2+h)−s(2)h and limh→0+⁡s(2+h)−s(2)h. Show the work that leads to your answers, and give units.

(c) Does s′(2) exist? Justify your answer, and explain why your conclusion in part (a) does not by itself answer this question.

Model answer

(a) limt→2−⁡s(t)=3(2)=6 and limt→2+⁡s(t)=22+2=6, so limt→2⁡s(t)=6. Also s(2)=3(2)=6. The limit equals s(2), so s is continuous at t=2.

(b) For h<0, s(2+h)=3(2+h)=6+3h, so s(2+h)−s(2)h=3hh=3, and the left-hand limit is 3 meters per second. For h>0, s(2+h)=(2+h)2+2=6+4h+h2, so the quotient is 4h+h2h=4+h, and the right-hand limit is 4 meters per second.

(c) No. The one-sided limits of the difference quotient at t=2 are 3 and 4, which are not equal, so the limit does not exist and s′(2) does not exist. Part (a) does not settle it: a function differentiable at a point must be continuous there, but a continuous function can still fail to be differentiable. Here the robot moves at 3 meters per second just before t=2, and its rate is close to 4 meters per second just after, so no single rate fits the instant t=2.

Score your own answer. This is a self-check, not a grade. Tick each point your answer makes.

Part 6 Check yourself One function, four pieces

The two case questions use the same table. Answer them from it.

A function f is defined for 0≤x≤8 by four pieces. The table gives the rule for each interval of inputs.

The pieces of f
Inputsf(x)
0≤x≤26x−x2
2<x≤42x+4
4<x≤620−2x
6<x≤815−2x

Case question 1 · Calculate

No calculator. What is limh→0+⁡f(4+h)−f(4)h?

Case question 2 · Multiple choice

No calculator. At which of the inputs x=2, x=4 and x=6 is f differentiable?

The rest stand on their own and do not use the case.

Check yourself · Spot the error

No calculator. Let f(x)=x2+1 for x<1 and f(x)=2x+3 for x≥1. A student tests whether f′(1) exists. Tap the first line with a mistake.

Check yourself · Match

No calculator. Tap a function and an input, then what is true of the function there.

Part 7 Keep it Bring back earlier ideas

This lesson stands on the definition of the derivative as a limit of difference quotients, and on the definition of continuity. Pulling them back up is what makes them last.

From 2.1 Defining Average and Instantaneous Rates of Change at a Point · Spot the error

No calculator. A student finds f′(2) for f(x)=x2+1 from the definition. Tap the first line with a mistake.

From 1.11 Defining Continuity at a Point · Multiple choice

No calculator. Let f(x)=x2+2 for x<2 and f(x)=3x−1 for x≥2. Which statement about f at x=2 is true?

In three lines

  • If a function is differentiable at a point, it is continuous there, and an input outside the domain of f is outside the domain of f′.
  • A continuous function can still have no derivative at a point, at a corner, a cusp or a vertical tangent line.
  • To decide, check continuity first, then compare the left-hand and right-hand limits of the difference quotient.

Exam strategy for this topic

  • Section I Part A, Multiple Choice (calculator not permitted): 29 questions in 62 minutes.
  • Section I Part B, Multiple Choice (graphing calculator required): 13 questions in 38 minutes.
  • Section II Part A, Free Response (graphing calculator required): 2 questions in 30 minutes.
  • Section II Part B, Free Response (calculator not permitted): 4 questions in 60 minutes.

To justify that a derivative does not exist where a formula changes, show the limits rather than describe the picture: check continuity with the one-sided limits of f, then write both one-sided limits of f(c+h)−f(c)h and say they are not equal. A sentence like "the graph has a corner" states the conclusion without the reason.

Questions students ask

If a function is continuous at a point, is it differentiable there?

Not necessarily. |x| and x3 are both continuous at 0, and neither has a derivative there: the first has a corner and the second a vertical tangent line.

Can a function be differentiable at a point where it is not continuous?

No. If f′(c) exists, then f(c+h)−f(c), which is the difference quotient times h, approaches f′(c)⋅0=0, so f is continuous at c.

What is the difference between a corner, a cusp and a vertical tangent line?

At a corner the difference quotient approaches two different numbers from the two sides. At a vertical tangent line it grows without bound in the same direction from both sides, and at a cusp it goes to infinity on one side and to negative infinity on the other. In every case it has no limit, so the derivative does not exist.

Does a sharp point on a calculator graph prove there is no derivative?

No. A screen shows a picture, and in a window zoomed far out a smooth bend can look like a sharp point. The difference quotient from each side is what decides it.

If both pieces of a function have the same slope where they meet, is the function differentiable there?

Only if the pieces also meet at the same height. If they do not, the function jumps, is not continuous, and so has no derivative there.

Course alignment, for teachers

AP Calculus AB topic 2.4, Unit 2: Differentiation: Definition and Fundamental Properties.

  • Skill 3.E: Provide reasons or rationales for solutions and conclusions.

This lesson maps all 2 essential knowledge statements of the topic to the part that teaches each one: 2 are checked by a scored question. The map is in the lesson file.