Differentiability & Continuity (College Board AP® Calculus BC): Revision Note

Jamie Wood

Written by: Jamie Wood

Reviewed by: Dan Finlay

Updated on

Differentiability & continuity

When is a function differentiable?

  • The derivative of a function is defined as f'(x)=limh0 f(x+h)f(x)h

    • The derivative only exists if this limit exists

    • The derivative, if it exists, is itself a function

  • If a point is not in the domain of f(x) then it cannot be in the domain of f'(x)

    • This means f(x) will not be differentiable at points where there is a vertical asymptote

      • E.g. f(x)=1x is not differentiable at x=0

  • A differentiable function is one for which its derivative exists at each point in its domain

    • This means that a function with points at which it is not differentiable can still be made a differentiable function by appropriately restricting its domain

  • A function must be continuous at a point to be differentiable at that point

    • Therefore, if a function is differentiable at a point, then it is continuous at that point

    • And if a function is not continuous at a point, then it is not differentiable at that point

  • However, if a function is continuous at a point, it is not necessarily differentiable at that point

    • The function could have a corner at a point

      • This is where the one-sided limits of the derivative at the point are finite but unequal

      • E.g. f(x)=|x| has a corner at x=0

    • The function could have a cusp at a point

      • This is where one of the one-sided limits of the derivative at the point tends to infinity and the other tends to negative infinity

      • E.g. f(x)=x23 has a cusp at x=0

    • The function could have a vertical tangent at a point

      • This is where both the one-sided limits of the derivative at the point tend to infinity or they both tend to negative infinity

      • E.g. f(x)=x3 has a vertical tangent at x=0

    • The function could not be differentiable at a point due to oscillation

      • This is where the derivative oscillates as it approaches the point

      • E.g. f(x)=xsin(1x) at x=0

Examiner Tips and Tricks

Exam questions often state that a function is differentiable, and expect you to know (and use the fact) that this automatically means the function is continuous as well.

If a function is said to be twice differentiable, this means that the function's derivative is also continuous!

How can I show a function is not differentiable at a point?

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

    • That's the easiest way to show a function is not differentiable at a point!

  • If a function is continuous at a point, then to show it is not differentiable

    • you need to go back to the limit definition of the derivative

      • f'(x)=limh0 f(x+h)f(x)h

  • Recall that the limit of a function does not exist if the function inside the limit

    • is unbounded at the point in question

    • oscillates near the point in question

    • or has unequal one-sided limits at the point in question

  • Consider the graph of y=|x| shown below

Graph of y=|x|
Example of a graph with a corner
  • At (0, 0), f(x)=|x| is not differentiable

  • To show why, consider the derivative at (0, 0)

    • f'(0)=limh0 f(0+h)f(0)h=limh0 |h||0|h=limh0 |h|h

  • Consider the one-sided limit from the left

    • For h<0, |h|h=hh=1

    • So limh0 |h|h=limh0 (1)=1

  • Consider the one-sided limit from the right

    • For h>0, |h|h=hh=1

    • So limh0+ |h|h=limh0+(1)=1

  • You can also see this visually from the graph

    • The slope for negative values of x is -1

    • The slope for positive values of x is 1

  • The one-sided limits do not agree, therefore the limit f'(x)=limh0 f(x+h)f(x)h at (0, 0) does not exist

    • Therefore f(x)=|x| is not differentiable at (0, 0)

Examiner Tips and Tricks

If you have to explain why a derivative does not exist at a point where a function is continuous:

  • use the limit definition of a derivative, f'(x)=limh0 f(x+h)f(x)h

  • and show that the limit does not exist

  • Consider the graph of y=x3 shown below

Graph of cube root of x, with a vertical tangent at x=0
Example of a graph with a vertical tangent
  • At (0, 0), f(x)=x3 is not differentiable

  • To show why, consider the derivative at (0, 0)

    • f'(0)=limh0 f(0+h)f(0)h=limx0 h3h=limh0 1h23

  • The limit approaches infinity from both sides, therefore the limit does not exist

    • Therefore f(x)=x3 is not differentiable at (0, 0)

Worked Example

Let f be the function defined by f(x)=|x+6| for all x. Which of the following statements is true?

(A) x=6 is a vertical asymptote of the graph of f.

(B) f is not continuous at x=6.

(C) limx6f(x)0

(D) f is continuous but not differentiable at x=6.

Answer:

Consider option (A)

There will be a vertical asymptote if the function becomes unbounded at this point

Check by substituting in x=6

f(6)=|6+6|=0=0

The function has a well-defined value of 0 at x=6, so there is not an asymptote

Consider option (B)

We have already checked the value of the function at x=6 and it has a value of 0

The limits from the left and right at x=6 are also equal to 0 (see below)

Therefore the function is continuous at x=6

Consider option (C)

Check the one-sided limit from the left using substitution

limx(6)|x+6|=|(6)+6|=0

Check the one-sided limit from the right using substitution

limx(6)+|x+6|=|(6)+6|=0

The two one-sided limits agree therefore limx6|x+6|=0

Consider option (D)

Having ruled out options (A), (B), and (C), only (D) can be correct

But we can also check this by inspecting the graph of f(x)

You could use your graphing calculator to do this

graph of square root of (mod (x+6))

It can be seen that there is a cusp at (-6,0) so at this point the function is continuous, but not differentiable

Option (D)

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Jamie Wood

Author: Jamie Wood

Expertise: Curriculum Expert

Jamie graduated in 2014 from the University of Bristol with a degree in Electronic and Communications Engineering. He has worked as a teacher for 8 years, in secondary schools and in further education; teaching GCSE and A Level. He is passionate about helping students fulfil their potential through easy-to-use resources and high-quality questions and solutions.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.