AP Calculus AB and BC · Unit 2 · Topic 2.4

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

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    If ff is differentiable at x=ax = a, it must be continuous there. The converse is false: a continuous function can fail to be differentiable at a corner (∣x∣|x| at 0), a cusp (x2/3x^{2/3} at 0) or a vertical tangent (x1/3x^{1/3} at 0). Any discontinuity also rules out a derivative. For a piecewise function to be differentiable at a join, the pieces must meet and have matching slopes.

    What you need to know

    • Explain why differentiability implies continuity.
    • Identify points where a derivative fails to exist from graphs and formulas.
    • Use one-sided difference quotients to test differentiability.
    • Find constants that make a piecewise function differentiable.

    Differentiable implies continuous

    If f′(a)f'(a) exists, then f(a+h)−f(a)=f(a+h)−f(a)h⋅hf(a + h) - f(a) = \frac{f(a+h) - f(a)}{h} \cdot h, and as h→0h \to 0 this tends to f′(a)⋅0=0f'(a) \cdot 0 = 0. So f(a+h)→f(a)f(a + h) \to f(a): the function is continuous at aa. In short, differentiability implies continuity.

    The contrapositive is just as useful: if ff is not continuous at aa, it is not differentiable at aa. A function with a hole, a jump or an asymptote at aa has no derivative there, whatever its formula looks like elsewhere.

    How derivatives fail to exist

    Four places where a derivative does not exist: corner, cusp, vertical tangent and discontinuity.

    At a corner, the one-sided difference quotients approach different numbers. For ∣x∣|x| at 0, the left-hand quotient is ∣h∣h=−1\frac{|h|}{h} = -1 and the right-hand one is +1+1, so no single tangent slope exists. At a cusp, the slopes run off to −∞-\infty on one side and +∞+\infty on the other: x2/3x^{2/3} has f′(x)=23x−1/3f'(x) = \frac{2}{3}x^{-1/3}, which blows up with opposite signs at 0.

    The same test works on formulas. For f(x)=∣x2−4∣f(x) = |x^2 - 4| at x=2x = 2, the function equals 4−x24 - x^2 just to the left of 2 and x2−4x^2 - 4 just to the right, so the one-sided slopes are −2x=−4-2x = -4 and 2x=42x = 4. They disagree, so the graph has a corner at x=2x = 2 and f′(2)f'(2) does not exist, even though ff is continuous there.

    At a vertical tangent, the curve is smooth but the tangent line is vertical, so its slope is undefined. For x1/3x^{1/3}, f′(x)=13x−2/3→∞f'(x) = \frac{1}{3}x^{-2/3} \to \infty from both sides of 0. In each case ff is continuous, yet f′(0)f'(0) does not exist.

    Differentiability of piecewise functions

    Let f(x)=x2f(x) = x^2 for x≤1x \le 1 and f(x)=ax+bf(x) = ax + b for x>1x > 1. For ff to be differentiable at 1, two conditions are needed. Continuity: 12=a+b1^2 = a + b. Matching slopes: the left-hand derivative 2x2x at 1 is 2, and the right-hand derivative is aa, so a=2a = 2. Then b=−1b = -1, and ff becomes x2x^2 joined smoothly to its tangent line y=2x−1y = 2x - 1.

    Checking slopes by differentiating each piece is valid only after continuity is confirmed. A function like g(x)=x2g(x) = x^2 for x<1x < 1 and 2x+52x + 5 for x≥1x \ge 1 has matching one-sided derivative formulas (both 2 at x=1x = 1), but it jumps from 1 to 7, so it is not continuous and therefore not differentiable.

    Key terms

    Differentiable at a point
    The limit defining f′(a)f'(a) exists as a finite number.
    Corner
    A point where the one-sided derivatives exist but are different, as for |x| at 0.
    Cusp
    A point where the one-sided slopes become infinite with opposite signs.
    Vertical tangent
    A point where the curve is continuous but its tangent line is vertical, so the slope is undefined.

    Common mistakes

    • Concluding a function is differentiable because it is continuous.

      Continuity is necessary but not sufficient; check for corners, cusps and vertical tangents.

    • Matching slopes without checking continuity at a join.

      A piecewise function must first be continuous at the join, then have equal one-sided derivatives.

    • Thinking a calculator's numerical derivative proves differentiability.

      nDeriv can return a value at a corner, such as 0 for |x| at x = 0.

    How this topic is tested

    • Justify non-differentiability by naming the feature and giving the one-sided slopes.
    • For piecewise constants, write the continuity equation and the slope equation separately.
    • Remember the order: continuous first, then differentiable.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 3 · Justification

      Why is f(x)=∣x−2∣f(x) = |x - 2| not differentiable at x=2x = 2?

    2. Question 2 · MP 3 · Justification

      Which statement is always true?

    3. Question 3 · MP 1 · Implementing Mathematical Processes

      f(x)=x2f(x) = x^2 for x≤1x \le 1 and ax+bax + b for x>1x > 1 is differentiable at 1. What are aa and bb?

    4. Question 4 · MP 2 · Connecting Representations

      What happens to f(x)=x1/3f(x) = x^{1/3} at x=0x = 0?

    5. Question 5 · MP 3 · Justification

      ff is continuous at x=3x = 3. What can you conclude about f′(3)f'(3)?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Free response (no calculator) · 4 points

    Let f(x)={kx2+1,x≤24x−3,x>2f(x) = \begin{cases} kx^2 + 1, & x \le 2 \\ 4x - 3, & x > 2 \end{cases} where kk is a constant.

    1. (a) Find the value of kk that makes ff continuous at x=2x = 2.
    2. (b) With this value of kk, determine whether ff is differentiable at x=2x = 2. Justify your answer.

    Connected topics

    Frequently asked questions

    Can a function be differentiable but not continuous?

    No. Differentiability at a point always implies continuity there.

    Is a vertical tangent a derivative of infinity?

    The derivative does not exist there. We describe the tangent as vertical, but f′(a) is undefined.

    How do I spot non-differentiable points from a formula?

    Look for absolute values (corners), fractional powers with even denominators in their derivatives (cusps or vertical tangents), and breaks in piecewise definitions.

    How this shows up on the exam42 multiple-choice and 6 free-response questions, with and without a calculator. See how the exam is laid out.

    Free Unit 2 cheat sheet

    Every topic in Unit 2: Differentiation: Definition and Fundamental Properties on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Calculus AB practice material is ready. No spam, and we'll delete it if you ask.

    Full-length AP Calculus AB practice examsUnit 2 is one of 8 units on the exam. Two timed exams in the 2027 format (42 MCQ + 6 FRQ, with calculator and no-calculator parts), worked explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 2: Differentiation: Definition and Fundamental Properties

    1. 2.1 Defining Average and Instantaneous Rates of Change at a Point
    2. 2.2 Defining the Derivative of a Function and Using Derivative Notation
    3. 2.3 Estimating Derivatives of a Function at a Point
    4. 2.4 Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist
    5. 2.5 Applying the Power Rule
    6. 2.6 Derivative Rules: Constant, Sum, Difference, and Constant Multiple
    7. 2.7 Derivatives of cos x, sin x, eˣ, and ln x
    8. 2.8 The Product Rule
    9. 2.9 The Quotient Rule
    10. 2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions

    Other units in AP Calculus AB

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.