1.3 Continuity
Three conditions decide whether a graph can be traced through a point without lifting the pencil — and they are all built from limits.
Many functions have the property that their graphs can be traced with a pencil without lifting the pencil from the page. Such functions are called continuous. Other functions have points at which a break occurs, but satisfy the property over intervals contained in their domains: they are continuous on those intervals and are said to have a discontinuity at a point where a break occurs.
Continuity at a Point
Before the formal definition, look at functions that fail our intuitive notion of continuity at a point. Each failure adds one condition to the list.
- $f(a)$ is defined;
- $\displaystyle\lim_{x\to a}f(x)$ exists;
- $\displaystyle\lim_{x\to a}f(x)=f(a)$.
Continuity over an Interval
Now we extend the idea from a point to an interval. Keep the intuition in mind: a function is continuous over an interval if you can trace it between any two points of the interval without lifting the pencil.
A function $f(x)$ is continuous from the left at $a$ if $\displaystyle\lim_{x\to a^-}f(x)=f(a)$.
A function is continuous over an open interval if it is continuous at every point of the interval. It is continuous over a closed interval $[a,b]$ if it is continuous at every point of $(a,b)$, continuous from the right at $a$, and continuous from the left at $b$. Intervals of the form $(a,b]$ and $[a,b)$ are handled in the same fashion.
Exercises
The Section 1.3 exercises come first (I–IV), followed by additional practice (V–VIII).
III. Continuity at a given point
- 1 $f(x)=\dfrac{2x^2-5x+3}{x-1}$ at $x=1$
- 2 $f(x)=\left\{\begin{array}{cl} x\sin x & \quad x\le\pi \\[2pt] x\tan x & \quad x>\pi \end{array}\right.$ at $x=\pi$
- 3 $h(x)=\left\{\begin{array}{cl} x^2-e^x & \quad x<0 \\[2pt] x-1 & \quad x\ge0 \end{array}\right.$ at $x=0$
- 4 $g(u)=\left\{\begin{array}{cl} \dfrac{6u^2+u-2}{2u-1} & \quad u\neq\tfrac12 \\[6pt] \dfrac72 & \quad u=\tfrac12 \end{array}\right.$ at $u=\tfrac12$
- 5 $f(y)=\dfrac{\sin(\pi y)}{\tan(\pi y)}$ at $y=1$
IV. Choosing $k$ to force continuity
- 1 $f(x)=\left\{\begin{array}{cl} \dfrac{x^2+3x+2}{x+2} & \quad x\neq-2 \\[6pt] k & \quad x=-2 \end{array}\right.$
- 2 $g(x)=\left\{\begin{array}{cl} \sqrt{kx} & \quad 0\le x\le3 \\[2pt] x+1 & \quad 3\le x\le10 \end{array}\right.$
- 3 $g(x)=\left\{\begin{array}{cl} e^{kx} & \quad 0\le x\le4 \\[2pt] x+3 & \quad 4\le x\le8 \end{array}\right.$
- 4 $h(x)=\left\{\begin{array}{cl} 3x+2 & \quad x>4 \\[2pt] 2x-k & \quad x\le4 \end{array}\right.$
V. Classifying discontinuities
- 1 $f(x)=\dfrac{x^2-9}{x-3}$ at $x=3$
- 2 $f(x)=\dfrac{|x-2|}{x-2}$ at $x=2$
- 3 $f(x)=\dfrac{1}{(x+1)^2}$ at $x=-1$
- 4 $f(x)=\left\{\begin{array}{cl} x^2+1 & \quad x<1 \\[2pt] 3 & \quad x=1 \\[2pt] 2x & \quad x>1 \end{array}\right.$ at $x=1$
- 5 Applied. A car park charges $2$ OMR for every hour or part of an hour, so the fee after $t$ hours is $P(t)=2\lceil t\rceil$ for $0<t\le4$ (for example $P(1.2)=4$ and $P(2)=4$). Classify the discontinuity at $t=2$ and explain what it means for a driver.
VI. Choosing constants
- 1 $f(x)=\left\{\begin{array}{cl} kx-1 & \quad x<4 \\[2pt] x+k+2 & \quad x\ge4 \end{array}\right.$
- 2 $f(x)=\left\{\begin{array}{cl} \dfrac{x^2-16}{x-4} & \quad x\neq4 \\[6pt] k & \quad x=4 \end{array}\right.$
- 3 $f(x)=\left\{\begin{array}{cl} x^2-k & \quad x<3 \\[2pt] kx+1 & \quad x\ge3 \end{array}\right.$
- 4 $f(x)=\left\{\begin{array}{cl} k^2x & \quad x\le2 \\[2pt] x+6 & \quad x>2 \end{array}\right.$
- 5 Two constants. $f(x)=\left\{\begin{array}{cl} x+1 & \quad x<1 \\[2pt] ax+b & \quad 1\le x<2 \\[2pt] 3x & \quad x\ge2 \end{array}\right.$
VII. Intervals of continuity
- 1 $f(x)=\dfrac{x+2}{x^2-9}$
- 2 $g(x)=\sqrt{5-x}$
- 3 $h(x)=\dfrac{x}{x^2+4}$
- 4 $q(x)=\sqrt{x^2-4}$
VIII. The Intermediate Value Theorem
- 1 Show that $x^3+x-1=0$ has a root in $[0,1]$. Then narrow it to an interval of length $\tfrac14$.
- 2 Show that the equation $\cos x=x$ has a solution in $\left[0,\tfrac{\pi}{2}\right]$.
- 3 Applied. Water in a kettle is at $20^\circ$C when it is switched on and at $95^\circ$C four minutes later. Assuming temperature varies continuously, show that at some moment it was exactly $60^\circ$C.
- 4 Conceptual. For $f(x)=\dfrac1x$, $f(-1)=-1<0$ and $f(1)=1>0$, yet $f$ has no zero. Why does this not contradict the theorem?
- 1 Figure 1.13. (a) For $a=-2,\ 1,\ 3$ find $\displaystyle\lim_{x\to a^-}f(x)$, $\displaystyle\lim_{x\to a^+}f(x)$ and $f(a)$. (b) At which of these points is $f$ continuous? At each discontinuity, state which condition of the definition fails and classify it (removable, jump or infinite). (c) Is $f$ continuous from the left or from the right at $x=-2$? (d) State the interval(s) on which $f$ is continuous.
- 2 Figure 1.14. (a) Find $\displaystyle\lim_{x\to0}g(x)$ and $g(0)$. (b) Find $\displaystyle\lim_{x\to2^-}g(x)$ and $\displaystyle\lim_{x\to2^+}g(x)$. (c) Classify each discontinuity of $g$. (d) Which discontinuity can be removed by defining one value of $g$? Give that value. (e) State the interval(s) on which $g$ is continuous.
- 3 Figure 1.15. (a) Check the three conditions of continuity at $x=2$ and at $x=4$. (b) Classify each discontinuity. (c) At which point is $h$ continuous from one side only? Which side? (d) What single change to one value of $h$ makes $h$ continuous at $x=2$? (e) State the interval(s) on which $h$ is continuous.
Research question. Which everyday prices in Nizwa jump suddenly, and what type of discontinuity does each jump create?
Why it matters. Economists and transport planners model tariffs with piecewise functions; jumps at thresholds change how people behave.
What to do.
- Choose one: a taxi fare, a mobile data package, or a parking fee. Find the real rules (receipt, operator website, sign) or use this sample: parking costs 200 baisa for the first hour, then 100 baisa for each extra hour or part of an hour.
- Write the cost $C(t)$ as a piecewise function and sketch it.
- List every point where $C$ is not continuous. Compute the left and right limits there.
- Classify each discontinuity (jump, removable, infinite).
Tools: Graph paper or Desmos
Hand in: A half-page note: the rule, the graph, and a table of discontinuities with their type.
Going further. Anywhere: compare two providers' tariffs and say which one has fewer jumps for a typical user.
🧪 Self-check quiz
Q1. Which condition fails for $f(x)=\dfrac{x^2-1}{x-1}$ at $x=1$?
Q2. $f(x)=\dfrac{x+1}{x-5}$ is continuous on:
Q3. Why is $\sqrt{4-x^2}$ continuous on the closed interval $[-2,2]$?
Q4. For $g(x)=\left\{\begin{array}{cl} \sqrt{kx} & \quad 0\le x\le3 \\[2pt] x+1 & \quad 3\le x\le10 \end{array}\right.$ the value of $k$ giving continuity is:
Q5. A function has $\displaystyle\lim_{x\to a^-}f(x)=5$, $\displaystyle\lim_{x\to a^+}f(x)=5$ and $f(a)=2$. The discontinuity at $a$ is: