Continuity of Functions
Continuity in Calculus
Definition of Continuity at a Point
A function f is continuous at a point c if three conditions are met:
f(c) is defined – the function has a real value at x=c. Common causes for failure: holes, vertical asymptotes.
limx→cf(x) exists – the two-sided limit must be a real number (not infinite). This requires that the left-hand and right-hand limits exist and are equal.
limx→cf(x)=f(c) – the limit and the function value must match.
Visually, continuity means you can draw the graph without lifting your pencil. A discontinuity is any place where you must lift the pencil (hole, jump, vertical asymptote).
Important: Continuity does not require smoothness – only that the graph is unbroken.
Continuity on Open and Closed Intervals
Open Intervals
A function is continuous on an open interval (a,b) if it is continuous at every point inside that interval.
Closed Intervals
A function f is continuous on a closed interval [a,b] if:
It is continuous on the open interval (a,b) (every interior point).
Right-hand continuity at a: x→a+limf(x)=f(a)
Left-hand continuity at b: x→b−limf(x)=f(b)
This means the function must also "connect" properly at the endpoints.
Everywhere Continuous
A function is continuous on the entire real line (−∞,∞), e.g., polynomials, sine, cosine.
Types of Discontinuity
Two main types exist:
Removable Discontinuity
Also called a hole.
The limit limx→cf(x) exists, but f(c) is either undefined or f(c)=limx→cf(x).
Can be "fixed" by redefining f(c) to equal the limit.
Non-Removable Discontinuity
Includes jump discontinuities (left and right limits exist but are not equal) and infinite discontinuities (vertical asymptotes).
Cannot be fixed by simply redefining f(c) – there is a genuine break.
Properties of Continuity
If b is a real number and f and g are continuous at c, then the following are also continuous at c:
bf (scalar multiple)
f+g and f−g (sum/difference)
f⋅g (product)
f/g (quotient), provided g(c)=0
The following types of functions are continuous at every point in their domain:
Polynomials
Rational functions (except where denominator is zero)
Radical functions (within domain)
Trigonometric functions (within domain)
This means when checking continuity, the main work is to find where a function is undefined, or for piecewise functions, where the pieces meet.
Checking for Continuity: Examples
Example 1: Finding a Limit by Rationalizing
Evaluate x→4+limx−4x−2.
Because direct substitution gives 0/0, rationalize the numerator:
Now substitute x=4:
Thus x→4+limf(x)=41.
Purpose: If you cannot find a limit, you cannot test continuity – so limit skills are essential.
Example 2: Limit of a Greatest Integer Function
Consider f(x)=3+⌊x⌋ (the greatest integer less than or equal to x).
Evaluate x→3limf(x).
As x→3−, ⌊x⌋=2, so f(x)=5.
As x→3+, ⌊x⌋=3, so f(x)=6.
Because the left and right limits are different (5=6), the two-sided limit does not exist.
Hence f is discontinuous at x=3 (a jump discontinuity).
Example 3: Continuity on a Closed Interval
Check continuity of f(x)=x2−92 on [−2,3].
On the open interval (−2,3), the function is continuous because rational functions are continuous where denominator =0. The denominator is zero at x=±3, but only x=3 is an endpoint.
At left endpoint x=−2: Compute x→−2+limx2−92=4−92=−52, and f(−2)=−52. So left endpoint is fine.
At right endpoint x=3: x→3−limx2−92=9−92=02, which does not exist (vertical asymptote).
Since the right endpoint limit does not exist, f is not continuous on the closed interval [−2,3]. It would be continuous on the open interval (−2,3).
Example 4: Finding Values Where a Function is Discontinuous
Find all x where f(x)=x2+2x−3x−1 is discontinuous.
Factor the denominator: x2+2x−3=(x−1)(x+3).
So f(x)=(x−1)(x+3)x−1.
At x=1, the factor (x−1) cancels, leaving a hole (removable discontinuity).
At x=−3, denominator is zero with no cancellation → vertical asymptote (non-removable discontinuity).
Thus f is discontinuous at x=1 (removable) and x=−3 (non-removable). Everywhere else it is continuous.
Example 5: Piecewise Function – Determine Continuity
Given
Check continuity at x=−1 and x=1.
At x=−1:
x→−1−limf(x)=−2
x→−1+limf(x)=3(−1)+1=−2
f(−1)=3(−1)+1=−2
Left limit = right limit = function value, so continuous at x=−1.
At x=1:
x→1−limf(x)=3(1)+1=4
x→1+limf(x)=(1)2=1
Left limit = right limit, so the two-sided limit does not exist → discontinuous at x=1 (jump discontinuity).
Graphically: The pieces connect at x=−1 but there is a jump at x=1.
Example 6: Find a Constant to Make a Piecewise Function Continuous
Find a so that f is continuous at x=0, where
Left-hand limit: x→0−limx2sinx=2⋅x→0−limxsinx=2⋅1=2.
Right-hand limit: x→0+lim(2a−5x)=2a (direct substitution).
For continuity, left limit = right limit = f(0) (since f(0) is given by the second piece). So 2a=2, giving a=1.
With a=1, the function is continuous at x=0.
In summary: Continuity is a fundamental concept in calculus. Checking it involves verifying that the function is defined, the limit exists, and the limit equals the function value. For most functions, discontinuities occur only where the function is undefined (holes, asymptotes) or at boundaries in piecewise functions.

Ask anything
We've read this whole study set, so questions about it get the best answers.