
Continuity
f(x) is continuous at x=a if x→alimf(x)=f(a).
f(x)is discontinuous at x=a if:
- x→alimf(x)does not exist or
- x→alimf(x)=f(a)or
- f(x)is undefined at 𝑥 = 𝑎
A function is continuous on its domain if it is continuous at every point on its domain.
Types of Discontinuities

Note:
- Polynomials are continuous for all real numbers
- Rational functions g(x)f(x) is continuous where f(x) and g(x) are continuous except for when g(x)=0
- Composition of continuous functions are also continuous
- Limits can "flow" through continuous functions

Example: Discontinuity
Find all value(s) of x at which the following functions are discontinuous. State the type of discontinuity.
a) r(x)=3(x−1)2+x−4
This function is continuous everywhere.
b) f(x)=x1
This is a rational function, it is discontinuous at x=0.
- The function is not defined at x=0
- x→0−limf(x)=−∞ and x→0+limf(x)=∞, so x→0limf(x) DNE
This is an infinite discontinuity.
c) g(x)=x+5x2−25
This is a rational function, it is discontinuous at x=−5.
- The function is not defined at x=−5
- Factoring the numerator and denominator: g(x)=x+5(x+5)(x−5)=(x+5)(x+5)(x−5), so the function is continuous and equals y=x−5 everywhere else except for at x=−5
This is a point discontinuity.
d) h(x)=x2+3x+22x+1
This is a rational function h(x)=(x+2)(x+1)2x+1, it is discontinuous at x=−2 and x=−1
- The function is not defined at x=−2 or x=−1
- x→−2−limh(x)=−∞ and x→−2+limh(x)=∞, so x→−2limh(x) DNE
This is an infinite discontinuity.
e) p(x)={x,3x+2,if x<0if x≥0
This is a piecewise function, each of the "pieces" are continuous. We need to check the "connection" point.
- p(0)=3(0)+2=2, so the function is defined at x=0
- x→0−limp(x)=x→0−limx=0 and x→0+limp(x)=x→0+lim3x+2=2, so x→0limp(x) DNE
So, the function is discontinuous at x=0
This is a jump discontinuity.
f) q(x)=x−5
The function is not defined when x−5<0, so it is discontinuous when x<5

Example: Continuity of Piecewise Functions
Where is the function 𝑓 continuous?
f(x)=⎩⎨⎧0x25−xif x≤0if 0<x≤1if x>1
1. We need to check each piece to see if they're continuous:
- 0 is continuous everywhere
- x2 is continuous everywhere
- 5−x is discontinuous when x>5. This piece of the function has the domain x>1. The overlapping part is x>5 (Discontinuous points so far: x > 5)
2. We now check the connecting points:
x=0
x→0−limf(x)=x→0−lim0=0
x→0+limf(x)=x→0+limx2=0
f(0)=0
Since the left limit, right limit, and function at that point all equal, the function is continuous at x=0
x=1
x→1−limf(x)=x→1−limx2=1
lim x→1+f(x)=x→1+lim5−x=4=2
Since the left and right hand limits don't equal, the function is discontinuous at x=1
(Discontinuous point: x = 1)
Therefore, the function is discontinuous when x=1 and x>5.
So, the function is continuous when x<1 or 1<x≤5.
Another way to write this is (−∞,1)∪(1,5].

Example: Continuity of Piecewise Functions
For what value(s) of the constant k is the function f(x)={x−k,kx2+k−8,if x≤1if x>1 continuous everywhere?
Each piece of the function is a regular polynomial, so they are continuous on their domains, meaning that
- x−k is continuous on x≤1 and
- kx2+k−8 is continuous on x>1
We just have to make sure that the function is continuous at the connecting point x=1:
- f(1)=1−k
- limx→1−f(x)=limx→1−x−k=1−k
- limx→1+f(x)=limx→1+kx2+k−8=2k−8
We need all 3 of these expressions to equal one another:
1−k=2k−8
9=3k
k=3
Therefore, the function is continuous everywhere if k=3
Practice: Continuity of Piecewise Functions
Find the values of 𝑎 and 𝑏 that make 𝑓 continuous everywhere
f(x)=⎩⎨⎧x2−2ax2x−bif x<2if 2≤x<3if x≥3
Practice: Continuous Functions
Suppose that f(x) and g(x) are continuous functions on the interval −3<x<2.
If g(1)=−3 and x→1lim(4x+g(x)−xf(x)g(x))=2, determine the value of f(1).