Vertex Learn

Limits, continuity and differentiability from a graph

WorksheetShare to Classroom

What this lesson covers

  • A function is continuous where its graph has no break, and differentiable where it also has no sharp corner.
  • Reading these from a piecewise graph is Achieved-level work that is often left blank.
Key idea

Three questions about a point

  • Does the limit exist?
  • Is the function continuous there?
  • Is it differentiable there?
Worked example

A graph in three pieces

  • A curve, maximum at (−1, 3).
  • Open dot at (1, −1), closed dot at (1, 2).
  • Up to (3, 4), then down to (5, 0).
A graph in three pieces
Key idea

Open and closed dots

  • Open: not on the graph.
  • Closed: on the graph.
  • F(1) = 2, not −1.
Open dotnot on the graph
Closed dotthe value
(1, −1)open, not included
f(1)2, the closed dot
Worked example

The limit as x tends to 1

  • From the left: heading to −1.
  • From the right: heading to 2.
  • They disagree: no limit at x = 1.
The limit as x tends to 1
Key idea

Try it: approach from both sides

Worked example

Writing the limits

  • Left −1, right 2: no limit.
  • Where it heads, not f(1).
  1. from the left: f(x) → −1as x → 1
  2. from the right: f(x) → 2as x → 1
  3. −1 ≠ 2the sides disagree
  4. lim(x→1) f(x) does not exist
  5. x → 3, both sides: f(x) → 4
  6. lim(x→3) f(x) = 4
Worked example

Continuous: no break

  • Draw through it without lifting the pen.
  • The limit exists and equals the value.
  • X = 1: a jump, not continuous.
  • X = 3: continuous, with a corner.
Continuous: no break
Key idea

Graphing calculator

Worked example

Differentiable: one clear gradient

  • Continuous first.
  • Then one gradient.
  • A corner has two.
  1. x = 1: a jump, not continuous
  2. not differentiable at x = 1
  3. x = 3: lim f(x) = 4 = f(3)continuous
  4. left: (4 − 2)/(3 − 1) = 1rise over run
  5. right: (0 − 4)/(5 − 3) = −2rise over run
  6. 1 ≠ −2: a cornergradients differ
  7. not differentiable at x = 3
Key idea

Try it: a corner

Worked example

Easy marks to lose

  • The open dot is not the value.
  • A jump has no limit.
  • Not differentiable: the jump too.
MisreadRight
f(1)−12, closed dot
Limit at 12does not exist
Differentiable at 3yes, no gapno, a corner
Not differentiablex = 3 onlyx = 1 and x = 3
Worked example

The sign of the gradient

  • Rising: positive. Falling: negative.
  • Zero at the maximum, x = −1.
  • The curve is concave down.
f'(x)
−3 < x < −1positive
x = −1zero, maximum
−1 < x < 1negative
1 < x < 3positive, 1
3 < x < 5negative, −2
Worked example

Unknown constants

  • Pieces meet at x = 1.
  • Gradients match at x = 1.
  1. f(x) = ax² + b (x < 1), 4x (x ≥ 1)
  2. a(1)² + b = 4(1)pieces meet
  3. a + b = 4
  4. f'(x): 2ax (x < 1), 4 (x > 1)
  5. 2a(1) = 4, so a = 2gradients match
  6. b = 4 − 2 = 2substitute back
  7. a = 2, b = 2
  8. 2(1)² + 2 = 4 = 4(1)
Key idea

Where the marks are

  • Achieved: read them from a graph.
  • Merit: explain each, with the reason.
  • Excellence: combined with other calculus.
Summary

What to take away

  • Read the dots, then check both sides, then look for jumps and corners.
Open dotnot on the graph
Closed dotthe value
Limitboth sides agree
Continuouslimit equals value
Differentiableno break, corner, cusp
Gradient signrising or falling

Common mistakes

  • There is a dot at (1, −1), so f(1) = −1.
    That dot is open, so it is not on the graph; the closed dot gives f(1) = 2.
  • f(1) = 2, so the limit as x tends to 1 is 2.
    The limit is where f heads from each side: −1 from the left and 2 from the right disagree, so the limit does not exist.
  • The graph joins up at x = 3, so it is differentiable there.
    It is continuous, but the gradient is 1 on the left and −2 on the right: a corner, so not differentiable.
  • The pieces meet at x = 1, a + b = 4, so f is differentiable there.
    Meeting gives continuity only; the gradients must match too (2a = 4), which gives a = 2 and b = 2.
Your turn

Your turn: four questions

  • Question 3: the absolute value of x − 3.
  • Give a reason with every answer.
FunctionFind
1x+2 (x<1), 5−x (x≥1)continuous at 1?
2x² (x<2), 4x−4 (x≥2)differentiable at 2?
3|x − 3|not differentiable at
4kx+1 (x<2), x² (x≥2)k for continuity
1
2
3
4
Show answer

1. Left limit 3, right limit 4: a jump, so not continuous at x = 1. 2. Both pieces give 4 and both gradients are 4: differentiable at x = 2. 3. x = 3: a corner, gradient −1 on the left and 1 on the right. 4. 2k + 1 = 4, so k = 3/2.

Worked example

The answers: questions 1 and 2

  1. 1. left: 1 + 2 = 3x + 2 as x → 1
  2. right: f(1) = 5 − 1 = 45 − x at x = 1
  3. 3 ≠ 4: a jump, not continuous
  4. 2. 2² = 4 and 4(2) − 4 = 4pieces meet
  5. gradients: 2x = 2(2) = 4, and 4
  6. they match: differentiable at 2
Worked example

The answers: questions 3 and 4

  1. 3. |x − 3| = 3 − x for x < 3
  2. |x − 3| = x − 3 for x ≥ 3
  3. gradients −1 and 1 at x = 3
  4. a corner: not differentiable
  5. 4. k(2) + 1 = 2²pieces meet at x = 2
  6. 2k + 1 = 4, so 2k = 3
  7. k = 3/2
Your turn

Sample question: Achieved

F(x) = 2x − 1 for x < 3, and f(x) = x² − 4 for x ≥ 3. Find the limit of f(x) as x tends to 3, and f(3). Is f continuous at x = 3?

Hint

Find where each piece heads as x gets close to 3. If both sides agree and match f(3), the function is continuous.

Answer

The limit is 5 and f(3) = 5, so f is continuous at x = 3.

Step by step
  1. A limit asks where f(x) is heading as x gets close to 3, from both sides.
  2. From the left, x < 3, so use 2x − 1. It heads to 2(3) − 1 = 5.
  3. From the right, x ≥ 3, so use x² − 4. It heads to 9 − 4 = 5.
  4. Both sides agree, so the limit exists and equals 5.
  5. f(3) uses the piece with x ≥ 3: f(3) = 9 − 4 = 5.
  6. Continuous means the limit exists and equals the value. 5 = 5, so f is continuous at x = 3: the two pieces join with no gap.
Full working
  1. left: 2(3) − 1 = 5x < 3 piece
  2. right: 3² − 4 = 5x ≥ 3 piece
  3. lim f(x) = 5both sides agree
  4. f(3) = 5
  5. limit 5 = f(3), so f is continuous at x = 3
Your turn

Sample questions: Merit

1

f(x) = x² for x ≤ 2, and f(x) = 3x − 2 for x > 2. Is f continuous at x = 2? Is it differentiable at x = 2? Give a reason for each answer.

Hint

Continuity: compare where the two pieces go at x = 2. Differentiability: also compare the gradients of the two pieces at x = 2.

Answer

Continuous, because both pieces give 4 and f(2) = 4. Not differentiable, because the gradient is 4 from the left and 3 from the right: a corner.

Step by step
  1. There are two separate questions. Continuity is about values; differentiability is about gradients.
  2. Values at x = 2: the left piece gives 2² = 4, so f(2) = 4. The right piece heads to 3(2) − 2 = 4.
  3. Both sides head to 4 and f(2) = 4, so there is no jump. f is continuous at x = 2.
  4. Gradients: the left piece x² has derivative 2x, which is 4 at x = 2. The right piece 3x − 2 has gradient 3.
  5. A function is differentiable at a point only if it is continuous there and has one gradient there.
  6. 4 ≠ 3, so the graph changes direction sharply at (2, 4). That is a corner.
  7. So f is continuous but not differentiable at x = 2.
  8. The classic mistake is to say no gap means differentiable. A corner has no gap but still fails.
Full working
  1. left: 2² = 4, right: 3(2) − 2 = 4, f(2) = 4values agree
  2. continuous at x = 2
  3. left gradient: 2x = 4derivative of x²
  4. right gradient: 3derivative of 3x − 2
  5. 4 ≠ 3, a corner
  6. continuous but not differentiable at x = 2
2

f(x) = x² − 9x − 3 for x ≠ 3, and f(3) = 5. Find the limit of f(x) as x tends to 3. Is f continuous at x = 3? What value of f(3) would make it continuous?

Hint

Factorise the top. For x ≠ 3 you can cancel x − 3, and the limit only uses values near 3, never at 3.

Answer

The limit is 6. f is not continuous at x = 3, because 6 ≠ 5. Setting f(3) = 6 would make it continuous.

Step by step
  1. Putting x = 3 into the fraction gives 00, which tells us nothing. So simplify first.
  2. Factorise the top as a difference of two squares: x² − 9 = (x − 3)(x + 3).
  3. For x ≠ 3, the factor x − 3 is not zero, so it cancels: f(x) = x + 3.
  4. A limit only looks at x close to 3, never at 3 itself. So the limit is 3 + 3 = 6.
  5. The graph is the line y = x + 3 with a hole at (3, 6), and a single dot at (3, 5).
  6. Continuous needs the limit to equal the value. 6 ≠ 5, so f is not continuous at x = 3.
  7. If f(3) were 6, the dot would fill the hole, and f would be continuous.
  8. Check near 3: f(3.01) = 9.0601 − 90.01 = 6.01, which is close to 6.
Full working
  1. x² − 9 = (x − 3)(x + 3)difference of two squares
  2. f(x) = x + 3 for x ≠ 3cancel x − 3
  3. lim f(x) = 3 + 3 = 6
  4. 6 ≠ f(3) = 5, so not continuous
  5. limit 6; not continuous; f(3) = 6 would make it continuous
Your turn

Sample questions: Excellence

1

f(x) = ae^(x − 1) for x < 1, and f(x) = bx² + 1 for x ≥ 1, where a and b are constants. Find a and b so that f is differentiable at x = 1. Then decide whether the second derivative from each side also agrees at x = 1.

Hint

Differentiable needs two things: the pieces meet (continuity), and the gradients match. That gives two equations in a and b.

Answer

a = 2 and b = 1. The second derivatives agree: both are 2 at x = 1.

Step by step
  1. To be differentiable, f must first be continuous at x = 1, and then the two gradients must match.
  2. Continuity: the left piece heads to ae⁰ = a, and the right piece gives b + 1. So a = b + 1.
  3. Gradients: the left piece ae^(x − 1) has derivative ae^(x − 1), which is a at x = 1.
  4. The right piece bx² + 1 has derivative 2bx, which is 2b at x = 1. So a = 2b.
  5. Solve the pair: 2b = b + 1, so b = 1 and a = 2.
  6. Second derivatives: the left piece gives 2e^(x − 1) again, which is 2 at x = 1.
  7. The right piece x² + 1 has second derivative 2.
  8. Both are 2, so the second derivatives agree too. The pieces join so smoothly that even the bending matches.
  9. Check: f(1) = 1 + 1 = 2 and the left piece heads to 2e⁰ = 2. Gradients 2e⁰ = 2 and 2(1)(1) = 2. Correct.
Full working
  1. a = b + 1pieces meet at x = 1
  2. a = 2bgradients match: ae^(x − 1) and 2bx at x = 1
  3. 2b = b + 1, so b = 1, a = 2
  4. left: 2e^(x − 1) = 2 at x = 1second derivative
  5. right: 2second derivative of x² + 1
  6. a = 2, b = 1; both second derivatives are 2
2

f(x) = |x² − k|, where k is a real constant. Find all values of k for which f is differentiable for every x. Justify your answer.

Hint

The absolute value only changes anything where x² − k is negative. Split into the cases k ≤ 0 and k > 0, and compare the gradients either side of x = √k.

Answer

k ≤ 0. Then x² − k ≥ 0 for all x, so f(x) = x² − k, a smooth curve. For k > 0 there are corners at x = ±√k, where the gradients are −2√k and 2√k.

Step by step
  1. The absolute value leaves a positive number alone and flips the sign of a negative one. Corners can appear where x² − k changes sign.
  2. Case k ≤ 0: x² is never negative, so x² − k ≥ 0 for every x.
  3. So the absolute value does nothing: f(x) = x² − k, a parabola, which is differentiable everywhere.
  4. Case k > 0: x² − k is negative between −√k and √k. There f(x) = −(x² − k) = k − x².
  5. Look at x = √k. Just to the left, f(x) = k − x², with gradient −2x, heading to −2√k.
  6. Just to the right, f(x) = x² − k, with gradient 2x, heading to 2√k.
  7. Since k > 0, √k > 0, so −2√k ≠ 2√k. The gradients differ: a corner. f is not differentiable at x = √k, and the same happens at x = −√k.
  8. So f is differentiable for every x exactly when k ≤ 0.
  9. Notice k = 0 is included: |x²| = x², which touches zero at x = 0 but has no corner there.
  10. Check k = 4: |x² − 4| has gradient −4 just left of 2 and 4 just right of 2, a corner, as expected.
Full working
  1. k ≤ 0: x² − k ≥ 0, so f(x) = x² − kdifferentiable everywhere
  2. k > 0: f(x) = k − x² for −√k < x < √k
  3. left of √k: gradient −2x → −2√k
  4. right of √k: gradient 2x → 2√k
  5. −2√k ≠ 2√k for k > 0corners at x = ±√k
  6. differentiable everywhere exactly when k ≤ 0
Practice

Practise this

Worksheet with answersWithout answersDownload PDF
2026 practice paper with worked answersOpen the paper
Report a mistake

More in AS 91578

Is your child on track?

Take the free placement test