IB Analysis and Approaches HL · Functions · Section 11 of 15

Continuity of a function

3 worked examples · By Álvaro López

Key idea

A function is continuous when you can draw it without lifting the pencil. Limits state this precisely, and from it come three useful things: classifying the "jumps", finding the parameter that makes a piecewise function continuous, and guaranteeing that an equation has a solution. Continuity and its relation to the derivative are HL content and appear in both papers.

Continuity at a point

To draw the graph through without lifting the pencil, three things are needed: the function must exist at , it must approach a value as you arrive at from both sides, and that value must be exactly the value of the function at .

Almost all the functions you use are continuous at every point where they are defined: polynomials, exponential functions, sine and cosine, and those obtained by adding, multiplying, composing or dividing (with a non-zero denominator) continuous functions. Problems appear at the points where the function is defined piecewise or where a denominator is zero.

Types of discontinuity

Depending on which condition fails, there are three cases. (These names help to organise the ideas; in the IB exam it is enough to describe what happens.)

A function with three discontinuities: at x = a a hole with the point displaced (removable), at x = b a finite jump and at x = c a vertical asymptote (infinite jump)

In the figure: at the limit exists (the curve passes through the height of the hole), but the point is higher up; at the curve jumps from to about ; at it shoots off to infinity.

Continuity on an interval

Piecewise functions with a parameter

When a function is defined by different formulas on each side of a point, continuity at that point forces the two pieces to "match".

If the parameter appears in a function with a hole, for example for and , the condition is : you choose the value that fills the hole.

Three theorems about continuous functions on

Being continuous on a closed interval has important consequences that do not depend on the formula.

Intuitively: to go from height to height without lifting the pencil, you must pass through all the heights in between.

It is the special case of the previous theorem: the graph crosses the -axis at least once. It may cross it more times; the theorem only guarantees one.

Function continuous on the interval from a to b with f(a) negative and f(b) positive: its graph crosses the x-axis at least once at a point c between a and b

The conditions matter. Without a closed interval the result fails: on has neither a maximum nor a minimum; and without continuity too: on has no maximum. The maximum or the minimum may be at an endpoint of the interval.

Worked examples

Example 1 Basic

Classifying discontinuities

Consider the functions

State the type of discontinuity, or write "continuous" if there is none, at:

a) at .

b) at .

c) at .

Solution

a) From the left, . From the right, . The one-sided limits exist but are different: finite jump.

b) For , , so . But . The limit exists and does not coincide with the value: removable discontinuity.

c) does not exist and, from the right, (from the left, ): infinite jump.

Example 2 Medium

Parameters that make a function continuous

a) Find the value of so that the function for , , is continuous at .

b) Find the value of so that the function

is continuous at .

Solution

a) For , , so . For continuity we need , that is, .

b) From the left, . From the right, , which is also the value . Equate them:

Check: with , the left-hand limit is and .

Example 3 Hard

Two parameters and a guaranteed solution

Consider the function

and the function .

a) Find the values of and so that is continuous on . Give the pair .

b) Calculate and . Give the pair .

c) Justify that the equation has a solution in , and find its value to two decimal places using the calculator.

d) Find the minimum and the maximum values of on , knowing that is increasing. Give the pair (minimum, maximum).

Solution

a) There are two join points: and .

At : from the left the limit is ; the middle piece gives . It must be .

At : from the right the limit is ; the middle piece gives . It must be .

Subtracting the two equations: , so and . Check: and , and the one-sided limits coincide at both points.

b) and .

c) is a polynomial, so it is continuous on . As and , Bolzano's theorem guarantees a with . With the GDC, the graph crosses the -axis at .

d) As is continuous on the closed interval , Weierstrass's theorem guarantees that it attains a maximum and a minimum. Since it is increasing, the minimum is at the left endpoint and the maximum at the right one: and .

In the exam: in a justification using Bolzano you must write all three things: " is continuous on ", " and " and the conclusion. If the continuity is missing, the part does not earn full marks.

Common mistakes

Summary

  • is continuous at when exists, exists and both coincide.
  • Discontinuities: removable (the limit exists but does not equal ), finite jump (different one-sided limits) or infinite jump (an infinite one-sided limit).
  • With a parameter in a piecewise function: equate the one-sided limits and the value of the function at each join point.
  • Intermediate value: a function continuous on takes every value between and . Bolzano: if also , there is a root in .
  • Weierstrass: continuous on a closed implies an absolute maximum and minimum. In Paper 2, the GDC locates the solution.
Maths classes in Aldaia and online

Want to work on it together?

Free first consultation: we look at your level and your exam, and build a plan. Álvaro replies on WhatsApp.

Message us on WhatsApp