← Return to lessonClass materials · 2.4
Differentiability and Continuity
Lecture transcript
0:00Last 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? One way, the answer is clean.
0:30The 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.
1:01Not 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.
1:35Limit 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. Let's test it. Draw y equals the absolute value of x minus a.
2:09A 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.
2:40Come 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.
3:12One 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.
3:44Continuous 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.
4:15But 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.
4:46It 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.
5:17Differentiable means the quotient has a real limit. 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.
5:48f 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.
6:22Zero 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. 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.
6:52For example, take eight x minus x squared, to the left of four, and a flat sixteen from four on. f of four is sixteen. 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.
7:28Everything 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.
7:59So f is differentiable at x equals four. 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.
8:32So, 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.
9:03But 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.
9:34Choice 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 two has two pieces, joined at two. Show that f is continuous at two.
10:04Then 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.
10:36For 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.
11:12That'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.
11:44From 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.
12:16So 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. 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.
12:46The reason has to be the slopes: three from the left, two from the right. Not equal, so f is not differentiable. 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.
13:23Part a. Remember idea one: differentiable gives continuous. Here's why, at three. 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.
13:53A 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.
14:26Six 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. Back to our first question: if the limit of the quotient that defines f prime is a real number, what does that force on f?
14:59The limit exists and the bottom goes to zero, so the top goes to zero. So f is continuous. Differentiable implies continuous. True. But at the tip of the V, the quotient gives one and negative one, so the quotient has no limit, even though f is continuous. Continuous implies differentiable? No. Not continuous means not differentiable. True. No slope at a corner, at a cusp, or at a vertical tangent, where the tangent exists but has no slope.
15:35At a joint, check the height first, then a quotient for each side. And with an absolute value, check both sides; don't guess. Test the graphs and joints in your workbook, then check each one on video. If a joint won't behave, ask me in the comments. Next up: two point five, the power rule. See you there.