Can a function be continuous at a point and still have no derivative there?
Decide where a function is or is not differentiable, use “differentiable, so continuous” as a reason, and show it with the h form.
is differentiable at when is a real number: both one-sided limits exist and are equal.
is continuous at when (the h form of continuity).
If is differentiable at , then is continuous at : .
The converse is false. can be continuous at and still not differentiable: a corner, a cusp, or a vertical tangent line.
If is not continuous at (a hole, a jump, an asymptote), then is not differentiable at .
At a joint of a piecewise function, find each one-sided limit of the difference quotient with and its own piece.
Continuous, but not differentiable · At the graph has no break: is continuous. The slope from the left is and from the right is , so the difference quotient has no single limit: does not exist.Continuous is not enough
Common mistake has no break at , so is differentiable at .
Correction The one-sided limits of the difference quotient are and : a corner. Continuous, but not differentiable.
Matching slopes is not enough
Common mistake and both have slope at , so is differentiable at .
Correction First check continuity: the left side heads to but . Not continuous, so not differentiable.
A smooth turning point is differentiable
Common mistake The graph turns at , so does not exist.
Correction A smooth top or bottom has a flat tangent line: . Only corners, cusps, vertical tangents, and breaks fail.
Idea 1: a derivative forces continuity
Last time ended on a promise: where a derivative does not exist. Let's start light, with something you already know. We learned this as the derivative: f prime of x is the limit, as h goes to zero, of f of x plus h, minus f of x, all over h. Here's today's question. If this limit really is a real number, what does that tell us about f itself?
The other way around, there's a trap. We'll see both. Suppose f prime of x exists. That means the limit is a real number. The bottom, h, heads to zero. Could the top head to something else, say five?
Then we'd have something near five over something near zero. Its size grows without bound. No real limit. So because the limit exists and the bottom goes to zero, the top has to go to zero too. Not every fraction does that. This one does, because its limit exists.
The limit, as h goes to zero, of f of x plus h, minus f of x, is zero. In other words, the limit of f of x plus h, as h goes to zero, is f of x. Here is why that means continuity. Call the input x plus h by one letter, t. As h goes to zero, t goes to x.
So the limit of f, as t goes to x, is f of x. Limit equals value: that's continuous at x. If f is differentiable at every x, it is continuous at every x. That's a continuous function. So to be differentiable, f must be continuous first.
Differentiable implies continuous. On the AP, state it at the point: f is differentiable at c, so f is continuous at c.
Idea 2: continuous, but no slope
Let's test it. Draw y equals the absolute value of x minus a. A V, with its tip at a. We want the rate of change right at x equals a. An instant means a limit. A rate of change means a slope.
So x goes to a, and we look at f of x minus f of a, over x minus a. That's because f of a is the absolute value of a minus a, which is zero. So it's the limit of the absolute value of x minus a, over x minus a.
Come in from the right. x is bigger than a, so x minus a is positive, and the absolute value changes nothing. x minus a over x minus a cancels, since x is not a. One. Now from the left. x is smaller than a, so x minus a is negative, and the absolute value flips its sign: negative the quantity x minus a. That cancels too. Negative one.
Idea 2: the tip of the V, continuous but no slope
One and negative one. The two sides disagree, so there's no limit. At x equals a, f is not differentiable. But look at the height. The limit of the absolute value of x minus a, as x goes to a, is zero, and that equals f of a.
So f is continuous at a, by the definition from our continuity lectures. Hmm. It's continuous, and still not differentiable? So the arrow does not flip. Continuous does not mean differentiable.
First, a break in the graph. If f is not continuous at a point, it is not differentiable there. That's the contrapositive of idea one: flip the arrow and negate both sides. That stays true. Flipping alone was the trap. And if a is not in the domain of f, there's no f of a.
Then we can't even write f of a plus h, minus f of a. So there's no f prime of a.
Where the slope fails: corner, cusp, vertical tangent
But some graphs have no break, and still no slope. Here are three. First, a sharp tip, like our V turned over. A ruler rocks back and forth on it. That's a corner. Next, two curves swooping into one sharp point. That's a cusp.
And a curve that stands straight up in the middle, like y equals the cube root of x at zero.
That's a vertical tangent. Careful. The tangent line is there. It just has no slope. Check it at zero: the cube root of h, minus the cube root of zero, over h. Write h as the cube root of h, cubed, and one cube root cancels, since h is not zero: one over the cube root of h, squared.
That bottom is positive and heads to zero, so this grows to positive infinity. No finite limit, so no f prime of zero. So looking smooth is not enough. Differentiable means the quotient has a real limit.
Idea 3: check, don't guess
Does an absolute value always make a corner? Check, don't guess. First, a quick note, since h is coming up. With x equals a plus h, x going to a from the right is the same as h going to zero from the right. From the left, the same: h goes to zero from the left.
Take f of x equals x squared times the absolute value of x.
f of zero is zero. f of zero plus h, minus f of zero, over h, is h squared times the absolute value of h, all over h. One h cancels, since h is not zero. That leaves h times the absolute value of h. From the right, h is positive: h times h is h squared, heading to zero.
From the left, h is negative: h times negative h is negative h squared. Zero again. Zero from both sides. One slope, zero. So f is differentiable at zero, and the tangent there is flat. The same absolute value, and no corner.
Idea 4: at a joint, height first
At a joint of two pieces, write a quotient for each side. Each side uses its own piece, and both use the same f of c. Meeting at a point checks only the height, not the slope. So height first, then a quotient for each side. For example, take eight x minus x squared, to the left of four, and a flat sixteen from four on.
It's a hilltop that runs right into a flat road. For negative h, use the left piece. f of four plus h, minus f of four, is eight times the quantity four plus h, minus the quantity four plus h, squared, minus sixteen. Multiply it out: thirty-two plus eight h, minus sixteen, minus eight h, minus h squared, minus sixteen. Everything drops out except negative h squared.
Divide by h and cancel: negative h, heading to zero. For positive h, use the flat piece: sixteen minus sixteen. Zero. Zero over h. The top is exactly zero, and the bottom is near zero but never zero. So the quotient is zero.
From the left, zero. From the right, zero. The same number, one slope. So f is differentiable at x equals four.
Example 1: three suspects on a graph
Example one, A. P. style. Here's the graph of f. At which values of x is f not differentiable? There are four choices. The plan. There are three suspects: negative one, two, and zero.
At each one, ask two questions: a break? One slope?
At negative one, the line and the parabola meet at three. So, no break there. From the left, it's the line. Rise over run, the slope is one. From the right, the parabola leaves much steeper than the line.
Two different slopes, one on each side. A ruler rocks there: a corner, like our V. So f prime of negative one does not exist. And at two. As x heads to two from both sides, f of x heads to zero. The limit is zero.
But the filled dot is at two. f of two is two, not zero. That's a break. Not continuous at two, so not differentiable at two. And zero? That's a classic trap. The graph turns there, but it turns smoothly.
A flat ruler sits right on the peak. One slope, zero. So f is differentiable at zero. So remember: a peak isn't the problem. A pointy peak is.
Choice A, negative one only, misses the break at two. Out. Choice B, two only, misses the corner at negative one. Out. Choice D adds zero, but zero is a smooth top. Out. So the answer is C: the corner at negative one, and the break at two.
Example 2: a piecewise joint
Example two has two pieces, joined at two. Show that f is continuous at two. Then find both one-sided limits of the difference quotient, and decide: is f differentiable at two? Part a. The plan: continuity at two first. We write it with h, so the same tops carry into part b.
Then the quotient from each side, each with its own piece. Then compare.
f of two uses the top piece, since two is less than or equal to two. Three times two, minus one: five. For negative h, two plus h is on the left. f of two plus h, minus f of two, is three times the quantity two plus h, minus one, minus five: six plus three h, minus six. Three h. For positive h, two plus h is on the right.
Use the right piece: the quantity two plus h, squared, minus two times the quantity two plus h, plus five, minus five. Expand it: four plus four h plus h squared, minus four, minus two h. That's two h plus h squared. From the left, the limit of three h is zero. From the right, the limit of two h plus h squared is zero too.
Both sides give zero. So the limit of f of two plus h, minus f of two, is zero. So f is continuous at x equals two. That's the height. Now the slope. Part b. Each side gets its own quotient, and the tops are already done.
From the left: the top is three h, so it's the limit of three h over h. h is not zero, so h cancels. Three. From the right: the top is two h plus h squared. Take out a factor of h, and h cancels. That leaves two plus h, heading to two plus zero. Two.
Part c. Three is not two. The one-sided limits disagree, so the quotient has no limit. So f is not differentiable at x equals two. They meet, but at an angle. The slope jumps from three to two. That's a corner.
Common mistake: continuous, so differentiable?
Back to part c. Careful here. Here's what a student writes: f is continuous at two, so f is differentiable at two. That's wrong. Continuity is the ticket in, not the whole show. It's needed, but it's not enough. The reason has to be the slopes: three from the left, two from the right.
Last one, example three, A. P. style. The function g is differentiable for all real numbers, and we only have a table. In part a, use the limit of g of three plus h, minus g of three, to show g is continuous at three. In part b, must g of c equal six for some c between one and three? Justify. Part a. Remember idea one: differentiable gives continuous.
Write the change in g as the quotient, times h. h is never zero, so g of three plus h, minus g of three, equals the quotient, times h. Divide by h, and multiply by h. The quotient heads to g prime of three, a real number, since g is differentiable at three. And h heads to zero.
A real number times zero is zero. So the limit of g of three plus h, minus g of three, is zero. So g is continuous at x equals three. Part b. The reason comes first. g is differentiable for all real numbers.
The problem tells us so. So g is continuous on the closed interval from one to three. From the table: g of three is four, and four is less than six. Six is less than nine, which is g of one. So, by the Intermediate Value Theorem we already learned, there is a c between one and three with g of c equal to six. Yes.
Said another way: the equation g of x equals six has a solution somewhere between one and three. Give the reason first, then the theorem.
Worked examples
Example 1
The graph of is shown for . At which values of is not differentiable?
xy-3-2-112-2-11234Graph of f(x)
only
only
and only
, , and
Hint
Look for a corner, a break, a cusp, or a vertical tangent.
Answer and solution
Answer C. and only
Type: where f is not differentiable, from a graph. Method: check every corner, break, cusp, and vertical tangent; smooth turning points are fine.
x = -1: no break (both pieces give 3), but the slope from the left is 1 and from the right is 2: a corner, so f'(-1) does not exist.
x = 2: the curve heads to the open circle (2, 0), but f(2) = 2. f is not continuous at 2, so it is not differentiable there.
x = 0: a smooth top, the tangent line is flat: f'(0) = 0 exists. Answer: x = -1 and x = 2 only. (A) misses the break; (B) thinks “no break, so differentiable”; (D) takes the smooth top as a corner.
Example 2
Let (a) Show that is continuous at . (b) Find and . (c) Is differentiable at ? Give a reason.
Hint
Each side uses its own piece, and both use f(2).
Answer and solution
and both one-sided limits of are , so
left:
right:
no: the one-sided limits and are not equal (a corner)
Type: a joint of a piecewise function. Method: (i) continuity, (ii) the two one-sided limits of the difference quotient, (iii) compare.
(a) f(2) = 3(2) - 1 = 5. For h < 0, f(2 + h) - f(2) = 3h -> 0; for h > 0, f(2 + h) - f(2) = 2h + h^2 -> 0. So lim [f(2 + h) - f(2)] = 0: continuous.
(c) 3 is not 2, so the limit of the difference quotient does not exist: f is not differentiable at x = 2, even though it is continuous there (a corner).
Example 3
is differentiable for all real numbers. Selected values of are in the table. (a) Use to show is continuous at . (b) Must for some in ? Justify.
Hint
Write the difference as the difference quotient times h.
Answer and solution
, so is continuous at
yes: is differentiable, so is continuous on ; ; by the Intermediate Value Theorem there is at least one such
Type: differentiable, so continuous. Method: the h form of continuity.
(a) g is differentiable at 3, so the quotient tends to the real number g'(3), and h tends to 0. The product tends to 0: g is continuous at x = 3.
(b) g is differentiable, so g is continuous on [1, 3]. g(3) = 4 < 6 < 9 = g(1). By the Intermediate Value Theorem, there is at least one c in (1, 3) with g(c) = 6. The words “differentiable, so continuous” earn the point.
Let A student says: “The left piece has slope at and the right piece has slope , so is differentiable at .” (a) Is continuous at ? (b) Find . (c) Is the student right? Explain.
Hint
At a joint, check the heights first.
Answer and solution
no: but
(does not exist as a real number)
no: is not continuous at , so it is not differentiable there; matching slopes is not enough
(a) f(1) = 2(1) = 2, but from the left x^2 -> 1. The limit from the left is 1, not 2: f is not continuous at x = 1.
(b) The top tends to -1 and h < 0 tends to 0, so the quotient grows without bound. (c) No. The difference quotient uses f(1) = 2, not the left piece's height 1. f is not continuous at 1, so it cannot be differentiable there.
Common mistake Checking only the slopes of the pieces and skipping the heights.
If is continuous at , which of the following must be true?
exists.
Hint
Continuity is . It does not give a slope.
Answer and solution
Answer B.
Continuity at 3: lim [f(3 + h) - f(3)] = 0, that is, f(3 + h) -> f(3). That is B.
(A) “continuous, so differentiable” is false: f(x) = |x - 3| is continuous at 3 with a corner. (C) is f'(3) = 0, a statement about the slope. (D) drops f(3): f(3 + h) tends to f(3), not to 0.
Common mistake Choosing 'f'(3) exists': continuity does not give a derivative.
At each joint: heights first, then the one-sided difference quotients.
Answer and solution
Answer B. only
Both joints are continuous: at 0 both pieces give 1, at 2 both give 9.
At 0: left (h^2 + 4h)/h -> 4, right 4h/h = 4. Equal: differentiable. At 2: left 4h/h = 4, right -2h/h = -2. Not equal: a corner. Answer: x = 2 only.
(A) thinks “continuous, so differentiable”. (C) thinks every joint is a corner. (D) takes the smooth turning point of x^2 + 4x + 1 at x = -2 as a problem.
Common mistake Marking every joint as not differentiable without checking.
Which of the following functions is continuous at but not differentiable at ?
Hint
Find each one-sided difference quotient at .
Answer and solution
Answer C.
C: f(1) = 1 and f(1 + h) - f(1) = |3h| + h -> 0, so continuous. The quotient (|3h| + h)/h is 4 for h > 0 and -2 for h < 0: a corner. C is the answer.
(A) has a hole at x = 1: not even continuous there. (B) has an absolute value, but h|h|/h = |h| -> 0 from both sides: f'(1) = 0 exists. (D) has a smooth bottom at x = 1: f'(1) = 0.
Common mistake Calling (x - 1)|x - 1| not differentiable because of the absolute value.
Find . What does this say about the continuity of at from the right?
Find .
Is differentiable at ? Describe the graph of at .
Hint
Write as .
Answer and solution
; with the same from the left, is continuous at
no: the difference quotient grows without bound, so does not exist; the graph has a vertical tangent line at
f(2) = 1, so f(2 + h) - f(2) = cube root of h. As h -> 0 this tends to 0 (from both sides): f is continuous at x = 2.
(c) No. The quotient grows without bound (also from the left, since h^2 > 0), so f'(2) is not a real number. The graph is continuous but its tangent line at x = 2 is vertical.
Common mistake Calling a vertical tangent differentiable because the graph looks smooth.
A corner and a break both stop the derivative, for different reasons.
Answer and solution
no: is continuous at , but the slope from the left is and from the right is (a corner)
no: but , so is not continuous at , so not differentiable
(a) Near x = -1 the graph is the line y = 1 + x, slope 1: f'(-1) = 1.
(b) At x = 1 both pieces meet at 2 (continuous), but the slopes are 1 and -1: a corner, so f'(1) does not exist.
(c) At x = 3, f(3) = 0 but from the right the graph heads to 2: not continuous. If f were differentiable at 3, it would be continuous there. So f is not differentiable at x = 3.
Common mistake Checking slopes at x = 3 when f is not even continuous there.