Vertex Learn

Limits and continuity: 7 exam questions solved step by step

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

Limits, continuity, differentiability

  1. Limit: both sides approach the same value.
  2. Continuous: the limit equals the function's value.
  3. Differentiable: continuous, with one gradient there.
  4. Give a reason with every answer.
Your turn

Question 1 · Achieved

  • The graph of y = f(x) is shown.
  • Find the limit of f(x) as x → 2
  • From the left, and from the right.
  • Find lim(x→2) f(x), and f(2).
Question 1 · Achieved
Worked example

Q1: limits at x = 2

  • Follow each piece in.
  • Value: the closed dot.
  1. from the left: f(x) → 3along the line
  2. from the right: f(x) → 4along the curve
  3. 3 ≠ 4the sides disagree
  4. lim(x→2) f(x) does not exist
  5. f(2) = 4the closed dot
  6. f(2) = 3open dot: not on it
Key idea

Try it: limits from both sides

Your turn

Question 2 · Achieved

  • The same graph.
  • Find lim(x→4) f(x), and f(4).
  • Is f continuous at x = 4? Give a reason.
  • Careful: two dots sit above x = 4.
Question 2 · Achieved
Worked example

Q2: at x = 4

  • Limit: where it heads.
  • Value: the closed dot.
  1. from the left: f(x) → 4
  2. from the right: f(x) → 4
  3. lim(x→4) f(x) = 4both sides agree
  4. f(4) = 4open dot: a hole
  5. f(4) = 2the closed dot
  6. 4 ≠ 2limit ≠ value
  7. not continuous at x = 4
Your turn

Question 3 · Merit

  • The same graph.
  • For 0 < x < 7, where is f
  • Not differentiable? Give reasons.
Question 3 · Merit
Worked example

Q3: not differentiable where?

  • Continuous first.
  • Then one gradient.
  1. x = 2: a jumpnot continuous
  2. x = 4: a holenot continuous
  3. x = 5: lim f(x) = 1 = f(5)continuous
  4. left of 5: falling, f′ < 0
  5. right: (5 − 1) ÷ (7 − 5) = 2rise over run
  6. f′ < 0 and f′ = 2: a cornergradients differ
  7. x = 3: smooth, f′(3) = 0differentiable
  8. not differentiable at x = 2, 4, 5
Key idea

Try it: a corner

Your turn

Question 4 · Merit

  • The same graph.
  • For which values of x is f′(x) > 0?
  • Where is f′(x) < 0, and f′(x) = 0?
  • Careful at x = 2 and x = 4.
Question 4 · Merit
Worked example

Q4: the sign of f′(x)

  • Rising: f′ > 0.
  • Falling: f′ < 0.
  1. 0 < x < 2: rising, gradient 1
  2. 2 < x < 3: rising
  3. x = 3: maximum, f′(3) = 0
  4. 3 < x < 5, x ≠ 4: falling
  5. 5 < x < 7: rising, gradient 2
  6. f′(x) > 0: 0 < x < 2, 2 < x < 3
  7. and 5 < x < 7
  8. f′(x) < 0: 3 < x < 4, 4 < x < 5
  9. f′(x) = 0: x = 3
Your turn

Question 5 · Merit, in context

  • A drone's height h m after t s is
  • h = t² + 3 for 0 ≤ t ≤ 1,
  • h = 6t − 2 for 1 < t ≤ 4.
  • Is h continuous and differentiable at t = 1?
Worked example

Q5: the drone at t = 1

  • Do the heights meet?
  • Do the rates match?
  1. left: h(1) = 1² + 3 = 4the first piece
  2. right: 6(1) − 2 = 4as t → 1 from above
  3. lim h(t) = 4 = h(1)continuous
  4. left: h′(t) = 2t, h′(1) = 2
  5. right: h′(t) = 6
  6. 2 ≠ 6the rates differ
  7. not differentiable at t = 1
  8. height 4 m both sides: no jump
  9. climb rate jumps 2 to 6 m/s
Your turn

Question 6 · Excellence

  • f(x) = a√x for 0 ≤ x ≤ 4,
  • f(x) = x + b for x > 4.
  • f is differentiable at x = 4.
  • Find a and b.
Worked example

Q6: find a and b

  • The pieces meet.
  • The gradients match.
  1. a√4 = 4 + bpieces meet at 4
  2. 2a = 4 + b
  3. d/dx a√x = a/(2√x)a√x = ax^(1/2)
  4. d/dx (x + b) = 1
  5. a/(2√4) = 1gradients match
  6. a/4 = 1, so a = 4
  7. 2(4) = 4 + b, so b = 4substitute a
  8. a = 4, b = 4
  9. 4√4 = 8 = 4 + 4
Key idea

Try it: meet, then match

Your turn

Question 7 · Excellence

  • The graph of f(x) = |x² − 4x| is shown.
  • Find where f is not differentiable,
  • And where f′(x) = 0. Justify both.
Question 7 · Excellence
Worked example

Q7: write f in pieces

  • Where is x² − 4x negative?
  • There, change its sign.
  1. x² − 4x = x(x − 4)
  2. x(x − 4) < 0 for 0 < x < 4between the roots
  3. f(x) = x² − 4x, x ≤ 0 or x ≥ 4
  4. f(x) = 4x − x², 0 < x < 4sign changed
  5. f′(x) = 2x − 4 outsidedifferentiate
  6. f′(x) = 4 − 2x inside
  7. f is continuous everywherepieces meet at 0, 4
Worked example

Q7: corners, and f′(x) = 0

  • Gradients at 0 and at 4.
  • Reject a root off its piece.
  1. x = 0: left 2(0) − 4 = −4
  2. right 4 − 2(0) = 4
  3. x = 4: left 4 − 2(4) = −4
  4. right 2(4) − 4 = 4
  5. −4 ≠ 4 at both: cornersgradients differ
  6. not differentiable at x = 0, 4
  7. 2x − 4 = 0: x = 2not in x ≤ 0, x ≥ 4
  8. 4 − 2x = 0: x = 2, f(2) = 4the inside piece
  9. f′(x) = 0 only at (2, 4)

Common mistakes

  • The limit at x = 4 is f(4).
    A limit depends on the values near x = 4, not on the value at x = 4.
  • A function that is continuous at a point is differentiable there.
    A corner is continuous but has no single gradient.
  • To join two pieces smoothly, match the values only.
    Differentiable needs the values and the gradients to match.
Summary

The checklist that solved all seven

  • Both sides, then the value, then the gradients, with a reason each time.
StepHow
Limitboth sides agree
Valuethe closed dot
Continuouslimit equals value
Cornergradients differ
Sign of f′rising +, falling −
Constantsmeet, then match

Challenge

1

f(x) = x − 4√x − 2 for x ≥ 0, x ≠ 4, and f(4) = k. (a) Find the value of k that makes f continuous at x = 4. (b) With that k, is f differentiable at x = 4? If so, find f′(4).

Hint

Substituting x = 4 gives 0 over 0, which tells you nothing. Think of x − 4 as a difference of two squares, with √x as one of the terms.

Answer

(a) k = 4. (b) Yes: for every x ≥ 0, f(x) = √x + 2, which is smooth at x = 4, so f is differentiable there with f′(4) = 14.

Step by step
  1. Putting x = 4 straight in gives 0 ÷ 0, so the limit has to be found another way.
  2. x − 4 = (√x)² − 2² = (√x − 2)(√x + 2), so for x ≠ 4 the factor √x − 2 cancels and f(x) = √x + 2.
  3. As x → 4 from either side, √x + 2 → 4. Continuity needs the value to equal the limit, so k = 4.
  4. With k = 4, f(x) = √x + 2 at every x ≥ 0, including x = 4. There is no jump, hole or corner.
  5. So f is differentiable at x = 4, and its gradient comes from differentiating √x + 2.
Full working
  1. x = 4: 4 − 42 − 2 = 0 ÷ 0undefined, not the limit
  2. x − 4 = (√x − 2)(√x + 2)difference of two squares
  3. f(x) = √x + 2 for x ≠ 4cancel √x − 2 ≠ 0
  4. lim(x→4) f(x) = √4 + 2 = 4both sides agree
  5. k = 4limit = value: continuous
  6. f(x) = √x + 2 for all x ≥ 0one smooth curve
  7. f′(x) = 12√xx^½ → ½x^−½
  8. f′(4) = 12 × 2 = 14
  9. (a) k = 4; (b) yes, f′(4) = 14
2

g(x) = ax² + bx for x ≤ 2, and g(x) = 12x for x > 2. (a) Find a and b so that g is differentiable at x = 2. (b) Hence find the coordinates of the stationary point of g, and say whether it is a maximum or a minimum.

Hint

Differentiable needs two things at x = 2: the pieces meet, and the gradients match. That gives two equations. For (b), check that your stationary point lies on the piece you used.

Answer

(a) a = −3, b = 9. (b) A maximum at (32, 274).

Step by step
  1. The pieces must meet at x = 2: the quadratic must equal 122 = 6 there.
  2. The gradients must match at x = 2: the derivative of 12x is −12x², which is −3 at x = 2.
  3. Solve the two equations together for a and b.
  4. The right-hand piece 12x has gradient −12x², which is never zero, so any stationary point is on the quadratic piece.
  5. Set the derivative of −3x² + 9x to zero. The answer x = 32 is less than 2, so it is on that piece. The quadratic opens downwards, so it is a maximum.
Full working
  1. 4a + 2b = 6pieces meet: 12 ÷ 2 = 6
  2. ddx(ax² + bx) = 2ax + b; ddx(12x) = −12x²gradients
  3. 4a + b = −124 = −3gradients match at x = 2
  4. (4a + 2b) − (4a + b) = 6 − (−3), so b = 9subtract
  5. 4a + 9 = −3, so a = −3
  6. g(x) = −3x² + 9x, x ≤ 2: g′(x) = −6x + 9 = 0, so x = 3232 ≤ 2: on this piece
  7. g(32) = −3(94) + 272 = −274 + 544 = 274the y value
  8. x > 2: −12x² < 0, never 0no stationary point there
  9. g″(x) = −6 < 0maximum
  10. (a) a = −3, b = 9; (b) maximum at (32, 274)
3

f(x) = (x − 1)|x − 1|. (a) Show that f is differentiable at x = 1, and find f′(1). (b) Show that f′(x) = 2|x − 1| for every x, and explain why f″(1) does not exist. (c) Describe the point (1, 0) on the graph of y = f(x), with reasons.

Hint

Write f in two pieces, one for x ≥ 1 and one for x < 1, without the modulus sign. Then check the values and the gradients at x = 1 from each side. For (c), look at the concavity on each side.

Answer

(a) Both pieces have value 0 and gradient 0 at x = 1, so f′(1) = 0. (b) f′(x) = 2(x − 1) for x ≥ 1 and −2(x − 1) for x < 1, which is 2|x − 1|; its gradient is −2 on the left and 2 on the right, a corner, so f″(1) does not exist. (c) A stationary point of inflection: gradient 0, concave down for x < 1, concave up for x > 1.

Step by step
  1. For x ≥ 1, |x − 1| = x − 1, so f(x) = (x − 1)². For x < 1, |x − 1| = −(x − 1), so f(x) = −(x − 1)².
  2. Both pieces give 0 at x = 1, so f is continuous. Both derivatives give 0 at x = 1, so the gradients match and f is differentiable there.
  3. The derivative is 2(x − 1) on the right and −2(x − 1) on the left. Both are never negative, and they equal 2|x − 1|.
  4. The graph of f′ is a V shape with its corner at x = 1: gradient −2 on the left, 2 on the right. So f′ is not differentiable at 1, and f″(1) does not exist.
  5. f″ = −2 for x < 1 and f″ = 2 for x > 1, so the concavity changes at x = 1. A point where the gradient is 0 and the concavity changes is a stationary point of inflection, even though f″(1) itself does not exist.
Full working
  1. x ≥ 1: f(x) = (x − 1)²; x < 1: f(x) = −(x − 1)²|x − 1| in pieces
  2. value at 1: 0 from both piecescontinuous
  3. x > 1: f′(x) = 2(x − 1) → 0; x < 1: f′(x) = −2(x − 1) → 0gradients from each side
  4. 0 = 0, so f′(1) = 0differentiable at 1
  5. f′(x) = 2(x − 1) for x ≥ 1, −2(x − 1) for x < 1both ≥ 0
  6. f′(x) = 2|x − 1|same as the pieces
  7. gradient of f′: −2 for x < 1, 2 for x > 1−2 ≠ 2: a corner
  8. f″(1) does not existf′ not differentiable at 1
  9. f″(x) = −2 < 0 for x < 1; f″(x) = 2 > 0 for x > 1concave down, then up
  10. (1, 0) is a stationary point of inflection, with f′(1) = 0 but no f″(1)

More challenge problems

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