Continuity
Defining continuity with limits
In section 1.1, you used one-sided limits to decide whether an overall limit exists. That same idea leads directly to continuity.
A function is continuous at a point when:
- the left-hand and right-hand limits agree, and
- that common limit equals the function’s actual value at .
More formally, all three conditions below must be true.
If any condition fails, the function is discontinuous at .
Example
This type of question often shows up on the AP exam:
What value of will make the piecewise function continuous everywhere?
Solution
For to be continuous at a point , both and must exist, and they must be equal.
Because is piecewise, the breakpoint is the only place continuity could fail. So we test continuity at .
Condition 1: is defined.
At , the piecewise definition gives .
Condition 2: must exist.
For , follows the rational expression, so we compute
So the limit exists and equals .
Condition 3: The limit must equal the function value.
Continuity at requires
so
This choice of fills the “hole” created by the rational expression.
Classifying discontinuities
The three main types of discontinuities are:
1. Removable discontinuity (hole)
- When passes condition 2 but fails condition 3.
i.e. exists but is .- Removable discontinuities are often referred to as “holes.”
2. Jump discontinuity
- When fails condition 2
i.e. because “jumps” from one value to another at .- Usually seen in piecewise functions at the breakpoint(s).
3. Infinite (asymptotic) discontinuity
- When (so the limit does not exist as a finite number). This means approaches a vertical asymptote at .
- Often seen in rational functions where factoring and canceling still leaves a constant over a variable denominator, e.g.
Shown below is a visual of each:
If a question asks you to assess the continuity of a function and classify any discontinuities, follow these steps:
Check condition 1: Find potential discontinuities
Typically, discontinuities occur in:
- Rational functions (when the denominator )
- Logarithmic functions (since the argument must be )
- Piecewise functions
If is undefined, then is discontinuous at . The next step is to classify the type.
Even if is defined (as it often is in a piecewise function), continuity still isn’t guaranteed. Move on to condition 2.
Check condition 2: Classify discontinuity
Find the one-sided limits as .
- If either one-sided limit is , it’s an infinite discontinuity.
- If the one-sided limits are finite but don’t match, it’s a jump discontinuity.
- If they match and the (two-sided) limit exists, move on to condition 3.
Check condition 3: Limit f(a)
Compare the limit from condition 2 with the function value from condition 1.
- If does not equal the limit, it’s a removable discontinuity.
- If they are equal, the function is continuous at .
Examples
- Classify the discontinuities on , if any.
Solution
Answer: Infinite discontinuity at , removable discontinuity at
Condition 1: Potential discontinuities
A rational function is undefined where its denominator is 0:
So the function is discontinuous at and .
Condition 2: Classify
Check each point using conditions 2 and 3.
- For :
Evaluate
Direct substitution gives , so factor and simplify:
Now direct substitution gives , which indicates a vertical asymptote. The one-sided limits confirm this:
Because the function grows without bound near , there is an infinite discontinuity at .
- For :
Evaluate
Using the same factoring and canceling,
So the limit exists, which satisfies condition 2.
Condition 3: Matching
Even though the limit exists at , the original function still has denominator 0 there, so is undefined. That means condition 3 fails.
Therefore there is a removable discontinuity at - a hole that would be filled at .
Let’s explore another example - a piecewise function:
- Classify any discontinuities on , the piecewise function defined by:
Solution
Answer: Removable discontinuity at
Condition 1: The function value at the breakpoint is defined: .
Condition 2: Check whether the one-sided limits match.
Left-hand limit:
As , use :
Right-hand limit:
As , use :
The one-sided limits agree, so and condition 2 is satisfied.
Condition 3: Compare the limit to the function value.
Here, but , so condition 3 fails. Therefore the discontinuity at is removable.
Intermediate value theorem
One important consequence of continuity is the Intermediate Value Theorem (IVT).
In plain language: if a function is continuous on , it can’t “skip over” values. It must take on every -value between and somewhere in that interval.
Examples
- Let on the interval . Use the IVT to show that there is a root in the interval and find the value of guaranteed by the IVT.
Solution
is a polynomial, so it’s continuous everywhere, including on .
A root means , which corresponds to crossing the -axis (so here ).
Evaluate the endpoints:
Because , the IVT guarantees at least one in such that .
To find :
Solve :
Only lies in the interval .
- Let be a continuous function defined on the interval . The values of at various points are given in the table: | | | |:—:|:—:| | | | | | | | | | | | |
What is the minimum number of times on the interval ?
Solution
Answer:
Because is continuous, every time the function goes from below to above (or above to below), it must cross the line at least once.
You can apply the IVT on each sub-interval, but it’s often easiest to visualize the situation by sketching a possible graph through the points:
From the table:
- On , and , so is between them at least 1 solution.
- On , and , so is between them at least 1 solution.
- On , and , so is between them at least 1 solution.
So the minimum number of times is 3.
Challenge problem
- For what values of and will be continuous over all real numbers?
Solution
Answer:
Each piece is a polynomial, so it’s continuous on its own interval. The only places continuity can fail are the breakpoints and .
Breakpoint :
Continuity at requires
Compute each expression:
First,
One-sided limits:
- Left:
- Right:
Set left and right equal:
which simplifies to
Breakpoint :
Continuity at requires
Compute each expression:
First,
One-sided limits:
Set them equal:
which simplifies to
Now solve the system of equations
This gives and .


