Chapter 3 of 6

Continuity

Continuity of Functions

Continuity at a Point

A function $f(x)$ is continuous at a point $a$ if the following three conditions hold:

  1. $f(a)$ is defined.

  2. $\lim_{x \to a} f(x)$ exists.

  3. $\lim_{x \to a} f(x) = f(a)$.

If any condition fails, $f$ is discontinuous at $a$.

Procedure to Check Continuity
  1. Verify that $f(a)$ exists.

  2. Compute $\lim_{x \to a} f(x)$, including left- and right-hand limits if needed.

  3. Compare $f(a)$ with the limit. Equality confirms continuity.

Example 75

{Continuity at a Point} Determine if $f(x) = \frac{x^2-1}{x-1}$ is continuous at $x=1$.

Solution: $f(1)$ is undefined since denominator $x-1=0$.

Conclusion: $f$ is discontinuous at $x=1$ (removable discontinuity).

Example 76

{Continuity at a Point} Determine if \[ f(x) = \begin{cases} x^2, & x \neq 2 \\ 5, & x = 2 \end{cases} \] is continuous at $x=2$.

Solution: $\lim_{x \to 2} f(x) = \lim_{x \to 2} x^2 = 4$. $f(2) = 5 \neq 4$.

Conclusion: $f$ is discontinuous at $x=2$ (removable discontinuity).

Types of Discontinuities

Classification
  • Removable: Limit exists but $f(a) \neq \lim_{x \to a} f(x)$.

  • Jump: $\lim_{x \to a^-} f(x) \neq \lim_{x \to a^+} f(x)$.

  • Infinite: $\lim_{x \to a^-} f(x) = \pm \infty$ or $\lim_{x \to a^+} f(x) = \pm \infty$.

Graphical Representation
diagram

Continuity over an Interval

Continuity on Intervals
  • Continuous from right at $a$: $\lim_{x \to a^+} f(x) = f(a)$

  • Continuous from left at $a$: $\lim_{x \to a^-} f(x) = f(a)$

  • Continuous on $(a,b)$: Continuous at every point in $(a,b)$

  • Continuous on $[a,b]$: Continuous on $(a,b)$, right-continuous at $a$, left-continuous at $b$

Example 77

{Continuity on Interval} Find intervals of continuity for $f(x) = \frac{x+2}{x^2-1}$.

Solution: Denominator zero when $x^2-1 = 0 \implies x = \pm 1$.

Answer: $(-\infty,-1) \cup (-1,1) \cup (1,\infty)$

Example 78

{Continuity on Interval} Find intervals of continuity for $f(x) = \sqrt{9-x^2}$.

Solution: Inside square root $\ge 0 \implies 9-x^2 \ge 0 \implies -3 \le x \le 3$.

Answer: $[-3,3]$

Composite Functions and Trigonometric Continuity

Composite Function Theorem

If $f(x)$ is continuous at $L$ and $\lim_{x \to a} g(x) = L$, then \[ \lim_{x \to a} f(g(x)) = f\left(\lim_{x \to a} g(x)\right) = f(L) \]

Example 79

{Limit of a Composite Function} Evaluate $\lim_{x \to 0} \sin(3x)$.

Solution: Let $g(x)=3x$, $\lim_{x\to 0} g(x)=0$, and $\sin$ is continuous at 0. \[ \lim_{x \to 0} \sin(3x) = \sin(0) = 0 \]

Continuity of Trigonometric Functions

$\sin x$, $\cos x$, $\tan x$, $\cot x$, $\sec x$, $\csc x$ are continuous on their domains.

Intermediate Value Theorem (IVT)

Intermediate Value Theorem

If $f$ is continuous on $[a,b]$ and $z$ lies between $f(a)$ and $f(b)$, then $\exists c \in (a,b)$ such that $f(c)=z$.

Example 80

{Application of IVT} Show that $f(x) = x^3 - x - 2$ has a root in $[1,2]$.

Solution: \[ f(1) = 1 -1 -2 = -2 < 0, \quad f(2) = 8 -2 -2 = 4 >0 \] $f$ is continuous (polynomial). By IVT, $\exists c \in (1,2)$ with $f(c)=0$.

Example 81

{Root Existence Using IVT} Show that $f(x) = \cos x - x$ has a root in $[0,1]$.

Solution: \[ f(0) = 1 - 0 = 1 > 0, \quad f(1) = \cos 1 -1 \approx 0.5403 -1 = -0.4597 <0 \] $f$ is continuous (trig function). IVT guarantees $\exists c \in (0,1)$ with $f(c)=0$.