Fiveable
Fiveable

or

Log in

Find what you need to study


Light

Find what you need to study

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

4 min readfebruary 15, 2024

Welcome back to AP Calculus with Fiveable! This topic focuses on determining when a derivative exists and relating it to the concept of continuity. Let's combine our skills in determining continuity over an interval with the knowledge of derivatives and rates of change to continue building our derivative skills. 🧱

↗️ Continuity and Differentiability

Most of the curves you encounter in AP Calculus will be both continuous and differentiable. But we can run into problems if it turns out that it doesn't fit both conditions! Brush up on the rules for continuity with this guide: Confirming Continuity over an Interval.

For a curve to be differentiable, it must have a derivative at every point in its domain. This means that if you zoom in very close, the graph will be smooth and look like a straight line. This line does not have to be only horizontal! ↗️

Take a look at this graph of cos(x)\cos(x), and notice that as we zoom into the point (0,1)(0,1), the curve looks like a line.

Screen Recording 2023-12-14 at 2.16.40 PM.gif

Graph created with Desmos

For a curve to be differentiable at a single point, the right-hand limit of the derivative must equal the left-hand derivative, as well as the derivative at that point.

limxaf(x)=limxa+f(x)=f(a)lim_{x\to a^{-}} f'(x) = lim_{x\to a^{+}} f'(x) = f'(a)

If a curve is differentiable, it must also be continuous. However, if a curve is continuous, it does not have to be differentiable! A curve is not differentiable if: it is discontinuous, has a sharp shift in the rate of change, or contains a vertical tangent.

Let’s check out these scenarios and observe why the curve is not differentiable at these points.

🕳 Discontinuous Graphs

Unequal Derivatives

For most discontinuous graphs, we can see that the derivatives approaching the point from either side will not be equal.

For example, g(x)=1x+2g(x) = \frac 1{x+2} looks like the following in the graph below. Since the denominator cannot equal 0, x2x \neq 2. The domain of this graph is (,2)(2,).(-∞,-2) \cup (-2,∞).

Screen Shot 2023-11-29 at 9.36.07 PM.png

Graph created with Desmos

We also see that limx2g(x)<0lim_{x\to -2^{-}} g'(x) <0, while limx2g(x)>0lim_{x\to -2^{-}} g'(x) >0. Hence, we can conclude that this graph is not continuous, and therefore not differentiable at x=2x = -2.

Jump Discontinuity

We can apply the same logic to a graph with a jump discontinuity, such as the following graph. This graph is also discontinuous because limx2f(x)>0lim_{x\to 2^{-}} f'(x) >0 while limx2f(x)<0lim_{x\to 2^{-}} f'(x) <0.

Screen Shot 2023-12-14 at 6.43.17 PM.png

Graph created with Desmos

Removable Discontinuity

For a removable discontinuity, we have to take it a step further. Take a look at the graph of h(x)=x24x2h(x) = \frac{x^2-4}{x-2} below. We can see that there is a removable discontinuity at x=2x = 2.

Screen Shot 2023-12-14 at 6.46.09 PM.png

Graph created with Desmos

We can determine, by hand or with a calculator, that the derivative is equal to 11 at all points except for x=2x = 2 . But what about at x=2x = 2? The calculator will tell us that the derivative is undefined, or does not exist. Since limx2h(x)=limx2+h(x)lim_{x\to2^{-}} h'(x) = lim_{x\to 2^{+}} h'(x) but f(2)\neq f'(2), we determine that the function is not differentiable at x=2x = 2.

Therefore, if the curve is discontinuous at a point, it cannot be differentiable.

⬆️ Vertical Tangents

Take a look at the graph of f(x)=2(x+2)(13)f(x)=2\left(x+2\right)^{\left(\frac{1}{3}\right)} below.

Screen Shot 2023-12-14 at 7.05.11 PM.png

Graph created with Desmos

What would the derivative at x=2x = -2 be equal to? If we think about the slope of a line tangent to f(x)f(x) at x=2x = -2, the slope would be because the change in yy values would be a number divided by the change in xx values: 00. Therefore, the derivative at x=2x = -2 does not exist, and makes the curve not differentiable at x=2x = -2.

📐 Corners and Cusps

We can determine that a curve will not be differentiable at a corner or a cusp because the derivative will not approach the same value on both sides of the point. Additionally, there may be a vertical tangent! Let's observe the graphs below.

This is the graph of f(x)=2(x+2)(13)f(x) =2\left(x+2\right)^{\left(\frac{1}{3}\right)}. We can see that this graph would have a vertical tangent line as we approach x=3x = 3, so it cannot be differentiable.

Screen Shot 2023-12-14 at 7.04.13 PM.png

Graph created with Desmos

Let’s look at another graph! This is the graph of g(x)=xg(x) = |x|. This function has a corner, and is not diffferentiable because limx0g(x)<0lim_{x\to 0^{-}} g'(x) <0 while limx0g(x)>0lim_{x\to 0^{-}} g'(x) >0, and cannot be equal.

Screen Shot 2023-12-14 at 8.34.13 PM.png

Graph created with Desmos

Nice work! Now you can identify when the curve is differentiable at a point. 🙌


🧮 Practice Problems

Let’s work on a few questions and make sure we have the concept down!

1) Graphically Identifying Differentiability at a Point

Identify the number of points where the piecewise function f(x)f(x) is not differentiable.

Screen Shot 2023-12-14 at 10.00.20 PM.png

Graph created with Desmos

The correct answer here is 66! Let’s list them out: ⬇️

  1. There is an infinite discontinuity at x=1x = -1.
  2. There is a jump discontinuity at x=2x = 2.
  3. There is a cusp at (1,2)(1,2).
  4. There is a second cusp at (9,3)(9,3).
  5. There is a corner at (6,0)(6,0) .
  6. Finally, we have a vertical tangent at (10,4)(10,4)!

That was excellent work. Let’s try to determine differentiability with an algebraic method.

2) Determining Differentiability at a Point

The following free-response question (FRQ) is from the 2003 AP Calculus AB examination administered by College Board. All credit to College Board.

The function f(x)f(x) can be represented by the following piecewise function:

f(x)= { 85x+1x<3 25x+2 x3} f(x) =  \begin{Bmatrix} \frac{8}{5}\sqrt{x+1}& x<3 \\ \frac{2}{5}x+2&  x\geq3\\\end{Bmatrix} 

Given that f(x)f(x) is continuous at x=3x = 3, is the function differentiable?

To solve this question, we need to check if the derivative approaches the same value from both sides of the function. Let’s get started!

👉 Checking the Left-hand Side

To check the derivative on the left-hand side, we need to take the derivative of the equation representing the function when x<3x < 3.

f(x)=ddx(85x+1)=45x+1f'(x) = \frac{d}{dx}\left(\frac{8}{5}\sqrt{x+1}\right) = \frac{4}{5\sqrt{x+1}}

Therefore, limx3f(x)=453+1=45(2)=25lim_{x\to 3^{-}} f'(x) = \frac{4}{5\sqrt{3+1}}= \frac{4}{5(2)} = \frac{2}{5}. Nice work!

👉 Checking the Right-hand Side

To check the derivative on the right-hand side, we need to take the derivative of the equation representing the function when x3x \geq 3.

f(x)=ddx(25x+2)=25f'(x) = \frac{d}{dx}\left(\frac{2}{5}x + 2\right) = \frac{2}{5}

Therefore, limx3+f(x)=25lim_{x\to 3^{+}} f'(x) = \frac{2}{5}. Almost there…

👆 Checking f(x)f'(x) exists at x=3x = 3

To check the derivative at the point, we need to take the derivative of the equation representing the function when x=3x = 3, which is the same as when x3x \geq 3.

Therefore, limx3f(x)=25lim_{x\to 3^{-}} f'(x) = \frac{2}{5}.

Now we check that all of the limits equal each other, and find that the function f(x)f(x) is differentiable at x=3x = 3! Check the graph below to confirm our work.

limx3f(x)=limx3+f(x)=f(3)=25lim_{x\to 3^{-}} f'(x) = lim_{x\to 3^{+}} f'(x)= f'(3) = \frac{2}{5}

Screen Shot 2023-12-14 at 11.39.18 PM.png

Graph created with Desmos

As we can see from the graph, the function f(x)f(x) is smooth at x=3x = 3, and is therefore differentiable. Amazing work! 👏


🌟 Closing

Great job! 🚀👩‍🚀

You're mastering these concepts, and with practice, you'll navigate derivatives and continuity with confidence. Determining when derivatives exist and ensuring continuity is a crucial skill in AP Calculus. As you encounter questions on the exam, remember to check for domain restrictions and assess piecewise continuity.

https://media2.giphy.com/media/ur5T6Wuw4xK2afXVmd/giphy.gif?cid=7941fdc64i8t3xwgu78ov7fo1wvrrynfxrd4d9loorgxbu2d&ep=v1_gifs_search&rid=giphy.gif&ct=g

Image Courtesy of Giphy

Key Terms to Review (9)

Continuous Function

: A continuous function is one that has no breaks, holes, or jumps in its graph. It can be drawn without lifting the pen from the paper.

Differentiability

: Differentiability refers to the property of a function where it has a derivative at every point in its domain. In other words, the function is smooth and has a well-defined slope at each point.

Differentiable Function

: A differentiable function is a type of function that has derivatives at every point within its domain. This means that the slope or rate of change can be determined at any point on the graph.

Function

: A relationship between two sets where each input (domain) value corresponds to exactly one output (range) value.

Limit

: The limit of a function is the value that the function approaches as the input approaches a certain value or infinity. It represents the behavior of the function near a specific point.

Limit definition of the derivative

: The limit definition of the derivative is a mathematical expression used to find the instantaneous rate of change (slope) of a curve at a specific point. It involves taking the limit as the change in x approaches zero.

Piecewise function

: A piecewise function is a mathematical function that is defined by different formulas or rules for different intervals of the input variable. It consists of multiple "pieces" or sections, each with its own formula.

Point of discontinuity

: A point of discontinuity occurs when there is a break or jump in the graph of a function at a specific input value. The function fails to be continuous at this point.

Step function

: A step function is a piecewise-defined function that jumps from one constant value to another at specific intervals. It resembles a series of steps on a staircase.

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

4 min readfebruary 15, 2024

Welcome back to AP Calculus with Fiveable! This topic focuses on determining when a derivative exists and relating it to the concept of continuity. Let's combine our skills in determining continuity over an interval with the knowledge of derivatives and rates of change to continue building our derivative skills. 🧱

↗️ Continuity and Differentiability

Most of the curves you encounter in AP Calculus will be both continuous and differentiable. But we can run into problems if it turns out that it doesn't fit both conditions! Brush up on the rules for continuity with this guide: Confirming Continuity over an Interval.

For a curve to be differentiable, it must have a derivative at every point in its domain. This means that if you zoom in very close, the graph will be smooth and look like a straight line. This line does not have to be only horizontal! ↗️

Take a look at this graph of cos(x)\cos(x), and notice that as we zoom into the point (0,1)(0,1), the curve looks like a line.

Screen Recording 2023-12-14 at 2.16.40 PM.gif

Graph created with Desmos

For a curve to be differentiable at a single point, the right-hand limit of the derivative must equal the left-hand derivative, as well as the derivative at that point.

limxaf(x)=limxa+f(x)=f(a)lim_{x\to a^{-}} f'(x) = lim_{x\to a^{+}} f'(x) = f'(a)

If a curve is differentiable, it must also be continuous. However, if a curve is continuous, it does not have to be differentiable! A curve is not differentiable if: it is discontinuous, has a sharp shift in the rate of change, or contains a vertical tangent.

Let’s check out these scenarios and observe why the curve is not differentiable at these points.

🕳 Discontinuous Graphs

Unequal Derivatives

For most discontinuous graphs, we can see that the derivatives approaching the point from either side will not be equal.

For example, g(x)=1x+2g(x) = \frac 1{x+2} looks like the following in the graph below. Since the denominator cannot equal 0, x2x \neq 2. The domain of this graph is (,2)(2,).(-∞,-2) \cup (-2,∞).

Screen Shot 2023-11-29 at 9.36.07 PM.png

Graph created with Desmos

We also see that limx2g(x)<0lim_{x\to -2^{-}} g'(x) <0, while limx2g(x)>0lim_{x\to -2^{-}} g'(x) >0. Hence, we can conclude that this graph is not continuous, and therefore not differentiable at x=2x = -2.

Jump Discontinuity

We can apply the same logic to a graph with a jump discontinuity, such as the following graph. This graph is also discontinuous because limx2f(x)>0lim_{x\to 2^{-}} f'(x) >0 while limx2f(x)<0lim_{x\to 2^{-}} f'(x) <0.

Screen Shot 2023-12-14 at 6.43.17 PM.png

Graph created with Desmos

Removable Discontinuity

For a removable discontinuity, we have to take it a step further. Take a look at the graph of h(x)=x24x2h(x) = \frac{x^2-4}{x-2} below. We can see that there is a removable discontinuity at x=2x = 2.

Screen Shot 2023-12-14 at 6.46.09 PM.png

Graph created with Desmos

We can determine, by hand or with a calculator, that the derivative is equal to 11 at all points except for x=2x = 2 . But what about at x=2x = 2? The calculator will tell us that the derivative is undefined, or does not exist. Since limx2h(x)=limx2+h(x)lim_{x\to2^{-}} h'(x) = lim_{x\to 2^{+}} h'(x) but f(2)\neq f'(2), we determine that the function is not differentiable at x=2x = 2.

Therefore, if the curve is discontinuous at a point, it cannot be differentiable.

⬆️ Vertical Tangents

Take a look at the graph of f(x)=2(x+2)(13)f(x)=2\left(x+2\right)^{\left(\frac{1}{3}\right)} below.

Screen Shot 2023-12-14 at 7.05.11 PM.png

Graph created with Desmos

What would the derivative at x=2x = -2 be equal to? If we think about the slope of a line tangent to f(x)f(x) at x=2x = -2, the slope would be because the change in yy values would be a number divided by the change in xx values: 00. Therefore, the derivative at x=2x = -2 does not exist, and makes the curve not differentiable at x=2x = -2.

📐 Corners and Cusps

We can determine that a curve will not be differentiable at a corner or a cusp because the derivative will not approach the same value on both sides of the point. Additionally, there may be a vertical tangent! Let's observe the graphs below.

This is the graph of f(x)=2(x+2)(13)f(x) =2\left(x+2\right)^{\left(\frac{1}{3}\right)}. We can see that this graph would have a vertical tangent line as we approach x=3x = 3, so it cannot be differentiable.

Screen Shot 2023-12-14 at 7.04.13 PM.png

Graph created with Desmos

Let’s look at another graph! This is the graph of g(x)=xg(x) = |x|. This function has a corner, and is not diffferentiable because limx0g(x)<0lim_{x\to 0^{-}} g'(x) <0 while limx0g(x)>0lim_{x\to 0^{-}} g'(x) >0, and cannot be equal.

Screen Shot 2023-12-14 at 8.34.13 PM.png

Graph created with Desmos

Nice work! Now you can identify when the curve is differentiable at a point. 🙌


🧮 Practice Problems

Let’s work on a few questions and make sure we have the concept down!

1) Graphically Identifying Differentiability at a Point

Identify the number of points where the piecewise function f(x)f(x) is not differentiable.

Screen Shot 2023-12-14 at 10.00.20 PM.png

Graph created with Desmos

The correct answer here is 66! Let’s list them out: ⬇️

  1. There is an infinite discontinuity at x=1x = -1.
  2. There is a jump discontinuity at x=2x = 2.
  3. There is a cusp at (1,2)(1,2).
  4. There is a second cusp at (9,3)(9,3).
  5. There is a corner at (6,0)(6,0) .
  6. Finally, we have a vertical tangent at (10,4)(10,4)!

That was excellent work. Let’s try to determine differentiability with an algebraic method.

2) Determining Differentiability at a Point

The following free-response question (FRQ) is from the 2003 AP Calculus AB examination administered by College Board. All credit to College Board.

The function f(x)f(x) can be represented by the following piecewise function:

f(x)= { 85x+1x<3 25x+2 x3} f(x) =  \begin{Bmatrix} \frac{8}{5}\sqrt{x+1}& x<3 \\ \frac{2}{5}x+2&  x\geq3\\\end{Bmatrix} 

Given that f(x)f(x) is continuous at x=3x = 3, is the function differentiable?

To solve this question, we need to check if the derivative approaches the same value from both sides of the function. Let’s get started!

👉 Checking the Left-hand Side

To check the derivative on the left-hand side, we need to take the derivative of the equation representing the function when x<3x < 3.

f(x)=ddx(85x+1)=45x+1f'(x) = \frac{d}{dx}\left(\frac{8}{5}\sqrt{x+1}\right) = \frac{4}{5\sqrt{x+1}}

Therefore, limx3f(x)=453+1=45(2)=25lim_{x\to 3^{-}} f'(x) = \frac{4}{5\sqrt{3+1}}= \frac{4}{5(2)} = \frac{2}{5}. Nice work!

👉 Checking the Right-hand Side

To check the derivative on the right-hand side, we need to take the derivative of the equation representing the function when x3x \geq 3.

f(x)=ddx(25x+2)=25f'(x) = \frac{d}{dx}\left(\frac{2}{5}x + 2\right) = \frac{2}{5}

Therefore, limx3+f(x)=25lim_{x\to 3^{+}} f'(x) = \frac{2}{5}. Almost there…

👆 Checking f(x)f'(x) exists at x=3x = 3

To check the derivative at the point, we need to take the derivative of the equation representing the function when x=3x = 3, which is the same as when x3x \geq 3.

Therefore, limx3f(x)=25lim_{x\to 3^{-}} f'(x) = \frac{2}{5}.

Now we check that all of the limits equal each other, and find that the function f(x)f(x) is differentiable at x=3x = 3! Check the graph below to confirm our work.

limx3f(x)=limx3+f(x)=f(3)=25lim_{x\to 3^{-}} f'(x) = lim_{x\to 3^{+}} f'(x)= f'(3) = \frac{2}{5}

Screen Shot 2023-12-14 at 11.39.18 PM.png

Graph created with Desmos

As we can see from the graph, the function f(x)f(x) is smooth at x=3x = 3, and is therefore differentiable. Amazing work! 👏


🌟 Closing

Great job! 🚀👩‍🚀

You're mastering these concepts, and with practice, you'll navigate derivatives and continuity with confidence. Determining when derivatives exist and ensuring continuity is a crucial skill in AP Calculus. As you encounter questions on the exam, remember to check for domain restrictions and assess piecewise continuity.

https://media2.giphy.com/media/ur5T6Wuw4xK2afXVmd/giphy.gif?cid=7941fdc64i8t3xwgu78ov7fo1wvrrynfxrd4d9loorgxbu2d&ep=v1_gifs_search&rid=giphy.gif&ct=g

Image Courtesy of Giphy

Key Terms to Review (9)

Continuous Function

: A continuous function is one that has no breaks, holes, or jumps in its graph. It can be drawn without lifting the pen from the paper.

Differentiability

: Differentiability refers to the property of a function where it has a derivative at every point in its domain. In other words, the function is smooth and has a well-defined slope at each point.

Differentiable Function

: A differentiable function is a type of function that has derivatives at every point within its domain. This means that the slope or rate of change can be determined at any point on the graph.

Function

: A relationship between two sets where each input (domain) value corresponds to exactly one output (range) value.

Limit

: The limit of a function is the value that the function approaches as the input approaches a certain value or infinity. It represents the behavior of the function near a specific point.

Limit definition of the derivative

: The limit definition of the derivative is a mathematical expression used to find the instantaneous rate of change (slope) of a curve at a specific point. It involves taking the limit as the change in x approaches zero.

Piecewise function

: A piecewise function is a mathematical function that is defined by different formulas or rules for different intervals of the input variable. It consists of multiple "pieces" or sections, each with its own formula.

Point of discontinuity

: A point of discontinuity occurs when there is a break or jump in the graph of a function at a specific input value. The function fails to be continuous at this point.

Step function

: A step function is a piecewise-defined function that jumps from one constant value to another at specific intervals. It resembles a series of steps on a staircase.


© 2024 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.

AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.