2.3 Differentiabilityap Calculus
- 2.3 Differentiabilityap Calculus Definition
- 2.3 Differentiabilityap Calculus Calculator
- 2.3 Differentiabilityap Calculus Test
AP Calculus AB - A. Calendar Alternate Form of Derivative Video. Prepare your calculus students for the topics they need to know to succeed in Calculus 2 and AP Calculus BC. Students tend to forget the PreCalculus topics they didn't use in Calculus 1 or AB. This review can be used for summer review or between semesters for Calculus BC. Math AP®︎/College Calculus AB Differentiation: definition and basic derivative rules Connecting differentiability and continuity: determining when derivatives do and do not exist Differentiability and continuity.
Differentiable means that the derivativeexists ...
Example: is x2 + 6x differentiable?
Derivative rules tell us the derivative of x2 is 2x and the derivative of x is 1, so:
Its derivative is 2x + 6
So yes! x2 + 6x is differentiable.
... and it must exist for every value in the function's domain.
DomainIn its simplest form the domain is |
Example (continued)
When not stated we assume that the domain is the Real Numbers.
2.3 Differentiabilityap Calculus Definition
For x2 + 6x, its derivative of 2x + 6 exists for all Real Numbers.
So we are still safe: x2 + 6x is differentiable.
But what about this:
Example: The function f(x) = |x| (absolute value):
|x| looks like this: |
At x=0 it has a very pointy change!
Does the derivative exist at x=0?
Testing
We can test any value 'c' by finding if the limit exists:
limh→0f(c+h) − f(c)h
Example (continued)
Let's calculate the limit for |x| at the value 0:
The limit does not exist! To see why, let's compare left and right side limits:
The limits are different on either side, so the limit does not exist.
So the function f(x) = |x| is not differentiable
A good way to picture this in your mind is to think:
As I zoom in, does the function tend to become a straight line?
The absolute value function stays pointy even when zoomed in.
Other Reasons
Here are a few more examples:
The Floor and Ceiling Functions are not differentiable at integer values, as there is a discontinuity at each jump. But they are differentiable elsewhere. |
The Cube root function x(1/3) Its derivative is (1/3)x−(2/3) (by the Power Rule) At x=0 the derivative is undefined, so x(1/3) is not differentiable. |
At x=0 the function is not defined so it makes no sense to ask if they are differentiable there. To be differentiable at a certain point, the function must first of all be defined there! |
As we head towards x = 0 the function moves up and down faster and faster, so we cannot find a value it is 'heading towards'. So it is not differentiable. |
Different Domain
But we can change the domain!
Example: The function g(x) = |x| with Domain (0,+∞)
The domain is from but not including 0 onwards (all positive values).
2.3 Differentiabilityap Calculus Calculator
Which IS differentiable.
And I am 'absolutely positive' about that :)
So the function g(x) = |x| with Domain (0,+∞) is differentiable.
We could also restrict the domain in other ways to avoid x=0 (such as all negative Real Numbers, all non-zero Real Numbers, etc).
Why Bother?
Because when a function is differentiable we can use all the power of calculus when working with it.
Continuous
When a function is differentiable it is also continuous.
Differentiable ⇒ Continuous
2.3 Differentiabilityap Calculus Test
But a function can be continuous but not differentiable. For example the absolute value function is actually continuous (though not differentiable) at x=0.
So far we have looked at derivatives outside of the notion of differentiability. The problem with this approach, though, is that some functions have one or many points or intervals where their derivatives are undefined. A function f is differentiable at a point c if
Similarly, f is differentiable on an open interval (a, b) if
Basically, f is differentiable at c if f'(c) is defined, by the above definition. Another point of note is that if f is differentiable at c, then f is continuous at c.
Let's go through a few examples and discuss their differentiability. First, consider the following function.
Toggle Line NumbersTo find the limit of the function's slope when the change in x is 0, we can either use the true definition of the derivative and do
Toggle Line Numbersor we can simply use the rules of differentiation by calling 'derivative(1/x^2, x)'. In any case, we find that
Since f'(x) is undefined when x = 0 (-2/02 = ?), we say that f is not differentiable at x = 0. Since f'(x) is defined for every other x, we can say that f' is continuous on (-∞, 0) U (0, ∞), where 'U' denotes the union of two intervals.
How about a function that is everywhere continuous but is not everywhere differentiable? This occurs quite often with piecewise functions, since even though two intervals might be connected, the slope can change radically at their junction. Take a look at the function g(x) = |x|.
Toggle ExplanationToggle Line Numbers1) Plot the absolute value of x from -5 to 5.
Using our knowledge of what 'absolute value' means, we can rewrite g(x) in the expanded form
This should be easy to differentiate now; we get
What about at x = 0? The 'logical' response would be to see that g(0) = 0 and say that g'(0) must therefore equal 0. Careful, though...looking back at the limit definition of the derivative, the derivative of f at a point c is the limit of the slope of f as the change in its independent variable approaches 0. Really, the only relevant piece of information is the behavior of function's slope close to c. Referring back to the example, since the limit of g'(x) as x approaches 0 from the left ≠ the limit of g'(x) as x approaches 0 from the right, g'(0) does not exist. We can use the limit definition of the derivative to prove this:
In this form, it makes far more sense why g'(0) is undefined. By simply looking at the graph of g, too, one can see that the sudden 'twist' at x = 0 is responsible for our inability to evaluate g' there. We can now justly pronounce that g is differentiable on (-∞, 0) U (0, ∞), so g' is continuous on that same interval.
The third function of discussion has a couple of quirks--take a look.
Toggle Line NumbersNot only is v(t) defined solely on [2, ∞), it has a jump discontinuity at t = 3. The jump discontinuity causes v'(t) to be undefined at t = 3; do you see why? Using a slightly modified limit definition of the derivative, think of what
would be for c = 3 and some x very close to 3. The resulting slope would be astronomically large either negatively or positively, right? In fact, the dashed line connecting v(t) for t ≠ 3 and v(3) is what the tangent line will look like at that point. Since a function's derivative cannot be infinitely large and still be considered to 'exist' at that point, v is not differentiable at t=3.
The Mean Value Theorem
The Mean Value Theorem is very important for the discussion of derivatives; even though it might seem somewhat obvious, it is actually very important to many other concepts in calculus. We'll start with an example.
Consider the vast, seemingly endless state of Montana. Now, pretend that you are driving across Montana so that you can get to Washington, and you want to do so as quickly as possible. The problem, however, is that the signs posted every few miles explicitly state that the speed limit is 70 miles per hour. 'Oh well,' you tell yourself. 'When I'm on the open road, I will go as fast as I want. When I approach a town, though, I will slow down so that the police are none the wiser.'
Since you had been staying with some relatives in the town of Springdale, you first head east at the brisk pace of 90 miles per hour until, feeling your stomach rumble (you really aren't cut out for these long drives), you stop in Livingston for some lunch. When you arrive, however, a policeman signals you to pull over! 'What did I do wrong?' you sweetly ask the officer. Giving you a hard look, the policeman responds, 'Though I didn't actually see you speeding at any point on your way here, I know that you must have, since one of my buddies back in Livingston tells me that you left there only 10 minutes ago, and our two towns are about 15 miles apart. I won't cite you for it this time, but you'd better drive slower in the future.'
The question is: How did the policeman know you had been speeding? Well, since it took you 10 minutes to travel 15 miles, your average speed was 90 miles per hour. So either you traveled at exactly 90 miles per hour the entire time, or you traveled at more than 90 part of the way and less than ninety part of the way. In either case, you were going faster than the speed limit at some point in time.
The Mean Value Theorem has a very similar message: if a function f is continuous on the closed interval [a, b] and is differentiable on the open interval (a, b), then there is some c in (a, b) such that
Basically, the average slope of f between a and b will equal the actual slope of f at some point between a and b. To illustrate the Mean Value Theorem, consider the function f(x) = x*sin(x) for x in [0, 9π/2]. Assume that f is differentiable on (0, 9π/2) (it is) and continuous on [0, 9π/2] (it is). By the Mean Value Theorem, there is at least one c in (0, 9π/2) such that
And such a c does exist, in fact. You can use SageMath's solve function to verify this: Toggle Line Numbers
From the code's output, you can see that this is true whenever -sin(x)/cos(x) is 0. Thus c = 0, π, 2π, 3π, and 4π, so the Mean Value Theorem is satisfied for f on the interval [0, 9π/2].
Rolle's Theorem
Rolle's Theorem states that if a function g is differentiable on (a, b), continuous [a, b], and g(a) = g(b), then there is at least one number c in (a, b) such that g'(c) = 0. To see this, consider the everywhere differentiable and everywhere continuous function g(x) = (x-3)*(x+2)*(x^2+4). To prove that g' has at least one zero for x in (-∞, ∞), notice that g(3) = g(-2) = 0. By Rolle's Theorem, there must be at least one c in (-2, 3) such that g'(c) = 0.
Practice Problems
Determine the interval(s) on which the following functions are continuous and the interval(s) on which they are differentiable.1)
Toggle answerToggle ExplanationToggle Line Numbers
1) Taking the cube root (or any odd root) of a negative number does not work well in Python, so one has to use multiple plot commands for functions such as x^(1/3) to compensate for the intervals on which x is negative.
2)
Hint: so both pieces of f match at π/2? Do the derivatives of the two pieces match there?
Toggle answerToggle Line Numbers
3)
Toggle answerToggle Line Numbers
Use the Mean Value Theorem to answer the following questions.
4) Marvin claims that he is a speed-walker and that he always walks at 6 miles per hour. He tells you that it took him only 12 minutes to walk one mile this morning. Prove that Marvin was not actually speed-walking at some point during his walk.
Toggle answer
5) Jessica plays for a recreational basketball team, and has noticed an interesting trend: the number of points she scores each game has increased linearly for the first five games of the season. If she scored 10 points in the first game, must there be some game of the last five in which she scored 14 points?
Toggle answer
6) Suppose that f'(x) < 1 for x in (0, 4). If f(0) = 1, can f(4) = 5?
Toggle answer