Skip to content

Continuity

A function is continuous at a point when its limit there is its value there. Most marks in this topic come from applying that definition to a piecewise function with an unknown constant, from reading off where a formula is continuous, and from telling a removable discontinuity, which a single value would repair, from a jump or an infinite one. Continuity on a closed interval also pays off in the Intermediate Value Theorem: a continuous function that changes sign between aa and bb has a zero between them, which shows an equation has a solution without solving it.

In this topic

Taught
Before the midterm
Questions
28
Total marks
69
Suggested time
117 min
Difficulty

Introductory to Capstone

Show the 6 hardest

Key results

Continuity at a point
f is continuous at a  ⟺  lim⁡x→af(x)=f(a)f \text{ is continuous at } a \iff \lim_{x \to a} f(x) = f(a)

Both sides must exist: f(a)f(a) must be defined and the limit must be a real number.

Continuity at a join
f is continuous at a  ⟺  lim⁡x→a−f(x)=f(a)=lim⁡x→a+f(x)f \text{ is continuous at } a \iff \lim_{x \to a^{-}} f(x) = f(a) = \lim_{x \to a^{+}} f(x)
Where formulas are continuous
lim⁡x→af(x)=f(a)  for every a in the domain of f\lim_{x \to a} f(x) = f(a) \ \text{ for every } a \text{ in the domain of } f

For ff built from polynomials, roots, exponentials, logarithms and trigonometric functions by ++, −-, ×\times, ÷\div and composition, with a one-sided limit at an endpoint of the domain.

Kinds of discontinuity
removable: lim⁡x→af(x) existsjump: lim⁡x→a−f(x)≠lim⁡x→a+f(x)infinite: lim⁡x→a−f(x) or lim⁡x→a+f(x) is ±∞\begin{aligned} &\text{removable: } \lim_{x \to a} f(x) \text{ exists} \\ &\text{jump: } \lim_{x \to a^{-}} f(x) \neq \lim_{x \to a^{+}} f(x) \\ &\text{infinite: } \lim_{x \to a^{-}} f(x) \text{ or } \lim_{x \to a^{+}} f(x) \text{ is } \pm\infty \end{aligned}

For a function that is not continuous at x=ax = a: removable when f(a)f(a) is undefined or differs from the limit, a jump when both one-sided limits are real numbers.

The Intermediate Value Theorem
Y between f(a) and f(b)  ⟹  f(c)=Y for some c∈[a,b]Y \text{ between } f(a) \text{ and } f(b) \implies f(c) = Y \text{ for some } c \in [a, b]

When a<ba < b and ff is continuous on the closed interval [a,b][a, b]; in particular, if f(a)f(a) and f(b)f(b) have opposite signs, ff has a zero strictly between aa and bb.

Read the theoryUBC Math 100 §2.3 Limits and continuityCLP-1 §1.6 Continuity

Worked example

Standard2 marks · 4 min

Find the value of the constant cc that makes ff continuous everywhere.

f(x)={cx2−1,x<23x+c,x≥2f(x) = \begin{cases} cx^{2} - 1, & x < 2 \\[4pt] 3x + c, & x \geq 2 \end{cases}

Strategy

Polynomials are continuous, so only the join matters. Continuity at the join is one equation: the two pieces must agree there.

Working

  1. lim⁡x→2−f(x)=c(2)2−1=4c−1\lim_{x \to 2^{-}} f(x) = c(2)^{2} - 1 = 4c - 1

    From the left, the first piece applies.

  2. lim⁡x→2+f(x)=f(2)=3(2)+c=6+c\lim_{x \to 2^{+}} f(x) = f(2) = 3(2) + c = 6 + c

    From the right, the second piece applies, and it also gives f(2).

  3. 4c−1=6+c⟹3c=7⟹c=734c - 1 = 6 + c \quad\Longrightarrow\quad 3c = 7 \quad\Longrightarrow\quad c = \tfrac{7}{3}

    Continuity at 2 forces the two to agree.

Answer

c=73c = \frac{7}{3}

The answer is c equals seven thirds, about 2.33.

Check

With c = 7/3 both pieces meet at height 25/3 ≈ 8.33 when x = 2: 28/3 − 1 = 6 + 7/3.

Where this goes wrong

Substituting x = 2 into only one piece, or setting the pieces equal as functions rather than at the single point x = 2. The condition is about the values at the join only.

On the paper

At a join, write the three conditions: f(a)f(a) is defined, both one-sided limits agree, and they equal f(a)f(a). Before using the Intermediate Value Theorem, say why ff is continuous on the closed interval, then name the theorem.

Leans on

One-sided limits of a piecewise function, from Limits

Your turn

Introductory2 marks · 3 min

Find the value of the constant cc that makes ff continuous at x=0x = 0.

f(x)={sin⁡(6x)2x,x<02x+c,x≥0f(x) = \begin{cases} \dfrac{\sin(6x)}{2x}, & x < 0 \\[10pt] 2x + c, & x \geq 0 \end{cases}
Answer this question

Practice questions

5 of the 28, across every level. Open a solution to read the working, or answer the question yourself and it counts towards your progress.

  • Introductory1 mark · 2 min

    A function ff is continuous at x=2x = 2, and lim⁡x→2f(x)=5\lim_{x \to 2} f(x) = 5. Which of the following must be true?

    Answer this question
  • Introductory2 marks · 3 min

    On which set is the function below continuous?

    f(x)=log⁡(4−x2)+1x−1f(x) = \log\bigl(4 - x^{2}\bigr) + \frac{1}{x - 1}
    Answer this question
  • Standard2 marks · 3 min

    Find the value of aa that makes ff continuous at x=1x = 1.

    f(x)={2x+1,x<1ax2−3,x≥1f(x) = \begin{cases} 2x + 1, & x < 1 \\[4pt] a x^{2} - 3, & x \geq 1 \end{cases}
    Answer this question
  • Challenging3 marks · 6 min

    A tax rule charges 15% of income on incomes up to $50 000\$50\,000. On larger incomes it charges 25% of the whole income, minus a fixed deduction of DD dollars. DD is chosen so that the tax T(x)T(x) on an income of xx dollars is a continuous function: crossing the threshold never makes the tax jump. Find DD, and then enter the tax owed on an income of $80 000\$80\,000.

    T(x)={0.15x,0≤x≤50 0000.25x−D,x>50 000T(x) = \begin{cases} 0.15x, & 0 \leq x \leq 50\,000 \\[4pt] 0.25x - D, & x > 50\,000 \end{cases}
    Answer this question
  • Capstone5 marks · 10 min

    Find the values of the constants aa and bb that make ff continuous everywhere. Justify your answer using the definition of continuity.

    f(x)={x3+1x+1,x<−1ax+b,−1≤x≤2x2+5x−14x−2,x>2f(x) = \begin{cases} \dfrac{x^{3} + 1}{x + 1}, & x < -1 \\[10pt] ax + b, & -1 \leq x \leq 2 \\[6pt] \dfrac{x^{2} + 5x - 14}{x - 2}, & x > 2 \end{cases}

    Write your reasoning in full, then compare it against the model solution.

    Answer this question

Browse all 28 questions

  • Needs

    Limits

    Limit laws, the indeterminate form 0/0, one-sided and infinite limits, limits at infinity and asymptotes.

    30 questions

  • Leads to

    The definition of the derivative

    Secants and tangents, average and instantaneous velocity, the difference quotient and differentiability.

    27 questions

  • Leads to

    The Mean Value Theorem

    Rolle’s theorem, the MVT, counting roots and proving inequalities.

    11 questions