Drawing a curve without lifting your marker gives us an intuition for continuity, and limits let us test a function for continuity even when we can't see its graph.
1
What Continuity Means and Three Ways a Graph Can Break
As we approach a point like x=3 from both sides, the limit limx→3f(x) tells us the height the curve is aiming for, while f(3) tells us the actual height of the point at x=3. A graph is continuous at x=3 when the height the curve aims for matches the point that is actually there, and every break in a graph comes from one of those two pieces failing.
What Continuity Means and the Three Ways a Graph Breaks
In a removable discontinuity, both sides of the curve still aim at the same height, so the limit exists and only the single point at x=3 is missing or in the wrong spot. In a jump or infinite discontinuity, the two sides don't even meet at a finite height, so the limit itself fails to exist.
2
The Continuity Checklist at a Point
To test whether a function f(x) is continuous at x=c directly from its equation, we check that the curve aims at a finite height, a point exists at x=c, and the two heights match:
1. 2. 3. x→climf(x) existsf(c) is definedx→climf(x)=f(c)
When a rational function divides by zero at x=3, it automatically fails Check 2 unless a separate rule defines f(3). Factoring the denominator tells us whether the break at x=3 is an infinite discontinuity or a removable hole, and running all three checks shows whether a separate rule for f(3) actually fills that hole:
f(x)=⎩⎨⎧x−3x2−92if x=3if x=3
The Continuity Checklist at a Point
A(x)B(x)=x−3x+1=x−3x2−9
How does each break at x=3?
Text solution
Factor and cancel x−3 near x=3 (Check 1)Because a limit only looks near x=3 where x=3, we use the top rule and cancel the common factor x−3 to find the height the curve aims for.
Read the point at x=3 (Check 2)At x=3 itself, the bottom rule gives the height of the filled dot.
f(3)=2
Compare the limit and the point (Check 3)Because the curve aims for height 6 while the dot sits at height 2, Check 3 fails.
x→3limf(x)=6=2=f(3)
So f(x) is discontinuous at x=3 with a removable discontinuity, because moving that single dot from height 2 to height 6 would make the line unbroken.
For the piecewise function above, changing the height of the single point at x=3 changes f(3) without changing the limit of 6, so Check 3 passes only when the point lands directly in the hole at (3,6).
Moving the single point changes the function's value there without changing its limit, so the graph is only unbroken when the point fills the hole.
3
Intervals of Continuity for Toolkit Functions
Instead of checking one point at a time, we often want all the intervals where a function is continuous. Our basic toolkit functions never jump or put a single dot out of place on their own: they are continuous at every input in their domain.
Intervals of Continuity for Toolkit Functions
Polynomials, sin(x),cos(x),2x, and ex are defined for every real number, so they are continuous on (−∞,∞). For toolkit functions with domain restrictions, we write their intervals of continuity by leaving out any points outside the domain, using a square bracket `[` when an endpoint is an actual point on the graph and a round parenthesis `(` when the graph has an asymptote or is undefined there:
f(x)=x−3x+1is continuous on (−∞,3)∪(3,∞)f(x)=x−2is continuous on point at (2,0)[2,∞)f(x)=ln(x)is continuous on asymptote at x=0(0,∞)f(x)=tan(x)=cos(x)sin(x)is continuous on …,(−2π,2π),(2π,23π),…
4
Continuity of Piecewise Functions
When a piecewise function combines continuous formulas on different intervals, each piece is already continuous on its own side, so the only place a break can happen is at the boundary where the formula switches from one rule to the next. We test whether
f(x)={x23x−1if x<2if x≥2
is continuous at x=2 by checking whether the left piece ends at the same height where the right piece starts, and we use that same match to find the constant k that makes
f(x)={x23x+kif x<2if x≥2
continuous on (−∞,∞).
Continuity of Piecewise Functions
The − and + in x→2− and x→2+ tell us which side of 2 we approach from, not whether 2 is negative or positive.
Text solution
Left of 2For x<2, we plug x=2 into the left rule x2 to find the height where the parabola ends.
x→2−limf(x)=x→2−limx2=22=4
Right of 2 and at 2For x≥2, we plug x=2 into the right rule 3x−1 to find the height where the line starts.
x→2+limf(x)=f(2)=3(2)−1=6−1=5
Compare the one-sided limitsBecause the left and right pieces meet x=2 at different heights, the two-sided limit at x=2 does not exist.
x→2−limf(x)=4=5=x→2+limf(x)
So Check 1 fails with a jump discontinuity at x=2. The function is continuous on (−∞,2) and on [2,∞): at the included endpoint 2, the right-hand limit equals f(2).
To make the second function continuous everywhere by choosing k:
Match the two pieces at x=2We set the height of the left piece at x=2 equal to the height of the right piece at x=2 and solve for k.
x→2−limf(x)224−2=x→2+limf(x)=3(2)+k=6+k=k
So k=−2 connects both pieces at (2,4), making f(x) continuous on (−∞,∞).
Changing k shifts the right-hand line y=3x+k up or down while the left-hand parabola y=x2 stays fixed at (2,4), so the jump at x=2 disappears only when k=−2 places the starting dot of the line directly on the open circle at (2,4).
The jump disappears only when the right-hand line starts at the exact height where the left-hand curve ends.
5
The Intermediate Value Theorem
The Intermediate Value Theorem says that if a function is continuous from x=a to x=b, its graph cannot skip any heights: it has to pass through every height between f(a) and f(b) at least once on [a,b].
In particular, if a continuous curve has opposite signs at x=a and x=b, with one point below the x-axis and one above, it has to cross height 0 somewhere in (a,b). That lets us prove an equation like x5−3x−1=0 has a real solution on [1,2] without solving the equation algebraically.
The Intermediate Value Theorem
Showing that f(a) and f(b) have opposite signs is only half the argument: you must also state that f(x) is continuous on the closed interval [a,b] before concluding there is a zero.
Text solution
Verify continuity on [1,2]Because f(x)=x5−3x−1 is a polynomial, it is continuous on the entire closed interval [1,2].
Evaluate f(x) at the endpointsWe plug in x=1 and x=2 to see whether the height changes sign across 0.
Because f(x) is continuous on [1,2] and switches from −3 to 25, the Intermediate Value Theorem guarantees at least one real zero in the open interval (1,2).
For f(x)=x−21 on [1,3], the endpoints also have opposite signs (f(1)=−1 and f(3)=1), but the denominator is zero at x=2 inside [1,3]. That infinite discontinuity lets the graph go down to −∞ on the left of 2 and restart from +∞ on the right without ever crossing the x-axis.
On [1,3], every horizontal line between y=−1 and y=1 crosses the unbroken curve at least once, whereas on f(x)=x−21 the horizontal line y=0 passes right through the vertical asymptote at x=2 without touching the graph.
Both graphs go from height −1 to height 1 on [1, 3], but only the unbroken curve hits every height in between.
Key concepts
Testing continuity always comes down to whether a curve is unbroken, and your first move depends on what the question gives you:
Testing a single point x=c
Run the three-step checklist: limx→cf(x) exists, f(c) is defined, and limx→cf(x)=f(c). When a fraction gives 00 at x=c, factor and cancel before naming the break: if the (x−c) factor completely cancels from the bottom, like x−3x2−9=x+3 at x=3, the limit is finite and the break is a removable discontinuity (unless a separate rule defines f(3)=6 to fill the hole); do not call every 00 a hole, because if a copy of (x−c) still remains in the denominator after canceling, like (x−3)2(x−3)(x+3)=x−3x+3, the limit does not exist and x=3 is an infinite discontinuity.
Finding intervals of continuity for a single formula
Toolkit functions are continuous everywhere on their domain, which is all of (−∞,∞) for polynomials, sin(x),cos(x), and exponentials. At a domain boundary, use `[` only when the endpoint is an actual point on the graph, like [2,∞) for x−2 where 2−2=0, and use `(` when the endpoint divides by zero or hits an asymptote, like (0,∞) for ln(x) or (−∞,3)∪(3,∞) for x−3x+1.
Testing or connecting a piecewise function
When the pieces are continuous on their intervals, check the x-value x=c where the rule changes. Compare limx→c−f(x),limx→c+f(x), and f(c). For polynomial pieces, substitution gives the one-sided limits: if they disagree, like 22=4 and 3(2)−1=5 at x=2, Check 1 fails with a jump discontinuity. In the example with an unknown constant k, the right-hand limit also equals f(2), so setting the two limits equal (22=3(2)+k) makes the function continuous.
Trapping a zero with the Intermediate Value Theorem
To show f(x)=0 has a root in (a,b), check both that f(x) is continuous on the entire closed interval [a,b] and that f(a) and f(b) have opposite signs (like f(1)=−3<0 and f(2)=25>0 for x5−3x−1). Do not apply the theorem when f(x) has a vertical asymptote inside [a,b]. Even with opposite endpoint signs like f(1)=−1 and f(3)=1 for x−21 on [1,3], the break at x=2 lets the graph jump from negative to positive without crossing zero.
6
Practice
1
Let f(x)=x−4x2−16 if x=4, and f(4)=5. Use the three-step continuity checklist to determine whether f(x) is continuous at x=4, state which check fails (if any), and name the type of discontinuity.
For Check 1, x is near 4 (x=4): which rule applies, and how does x2−16 factor?
For Check 1, we use the x=4 rule to find the limit as x→4 (watch out for the common mistake of plugging 4 into the bottom rule f(4)=5 to get a limit of 5 and claiming the function is continuous):
For Check 2, the rule for x=4 gives f(4)=5, so Check 2 passes (don't say Check 2 fails by plugging x=4 into x−4x2−16, which only applies when x=4).
For Check 3, we compare the limit and the point:
x→4limf(x)=8=5=f(4)
Discontinuous at x=4; Check 3 fails; removable discontinuity.
2
Write the intervals on which (a) g(x)=x+5 and (b) h(x)=ln(x−1) are continuous.
Both toolkit functions are continuous on their domains. At each starting endpoint, does plugging the number in give a point on the graph or an undefined logarithm of zero?
(a) A square root requires x+5≥0, or x≥−5. Because g(−5)=0=0 is a point on the graph, we include −5 with a square bracket (using a round parenthesis to write (−5,∞) is a common mistake here).
(b) A logarithm requires a positive input x−1>0, or x>1. Because h(x) has a vertical asymptote at x=1 where ln(0) is undefined, we exclude 1 with a round parenthesis rather than writing [1,∞).
(a) [−5,∞), (b) (1,∞).
3
Let f(x)=x2+1 if x<1, and f(x)=4x−1 if x≥1. Determine whether f(x) is continuous at x=1, classify any discontinuity, and write the intervals on which f(x) is continuous.
Each polynomial piece is continuous on its own side of x=1; what heights do the two pieces aim for as x→1− and x→1+?
Where the formula switches at x=1, we check both one-sided limits (don't just plug x=1 into 4x−1 because of the ≥ sign and assume the function is continuous on (−∞,∞)):
x→1−limf(x)x→1+limf(x)=12+1=2=f(1)=4(1)−1=3
Because 2=3, Check 1 fails at x=1 with a jump discontinuity. On the interval to the right, the right-hand limit at 1 equals f(1), so we include 1 as that interval's endpoint.
Not continuous at x=1; Check 1 fails with a jump discontinuity; continuous on (−∞,1) and [1,∞).
4
Find the value of k that makes the piecewise function f(x)=x2−1 if x<3, and f(x)=2x+k if x≥3, continuous on (−∞,∞).
Be careful not to plug in x=0 to get k=−1.Watch the subtraction when solving 8=6+k so you don't add 6 to get k=14.
At what x-value does the formula switch between the two pieces, and what height does the left piece reach there?
The pieces switch at x=3, so we set the left-hand limit at x=3 equal to the right-hand limit at x=3 (be careful not to plug in x=0 to get k=−1, and watch the subtraction when solving 8=6+k so you don't add 6 to get k=14):
x→3−limf(x)32−182=x→3+limf(x)=2(3)+k=6+k=k
k=2.
5
Find all values of x where f(x)=(x+2)(x−5)2(x+2)(x−5) is discontinuous, classify each discontinuity as removable or infinite, and write the intervals on which f(x) is continuous.
After you cancel common factors between the top and bottom, which factor is completely gone from the denominator and which factor still has a copy left on the bottom?
The denominator is zero at x=−2 and x=5, so f(x) is discontinuous at both numbers. Canceling common factors for x=−2,5 gives:
f(x)=(x+2)(x−5)2(x+2)(x−5)=x−51
Don't call x=5 a removable discontinuity just because one (x−5) factor canceled: a factor of (x−5) still remains in the denominator, making x=5 an infinite discontinuity. And don't leave x=−2 out of your intervals after canceling (x+2), because the original function is still undefined at x=−2.
Discontinuous at x=−2 (removable discontinuity) and x=5 (infinite discontinuity); continuous on (−∞,−2)∪(−2,5)∪(5,∞).
6
Use the Intermediate Value Theorem to show that f(x)=x3+x−3 has a real zero on [1,2], then evaluate f(1.5) to trap the zero in an interval of length 0.5.
After checking f(1),f(2), and f(1.5), compare the sign of f(1.5) with the signs of f(1) and f(2): which half of [1,2] still has opposite signs at its endpoints?
Since f(x)=x3+x−3 is a polynomial, it is continuous on [1,2]. Evaluating at the endpoints gives:
f(1)f(2)=13+1−3=−1<0=23+2−3=7>0
Because f(1) and f(2) have opposite signs, the Intermediate Value Theorem guarantees a real zero in (1,2). Testing the midpoint x=1.5 gives:
f(1.5)=(1.5)3+1.5−3=3.375+1.5−3=1.875>0
Don't pick (1.5,2) just because 1.5 is the new number: both f(1.5)=1.875 and f(2)=7 are positive, whereas the sign change is between f(1)=−1<0 and f(1.5)=1.875>0.
Zero trapped in (1,1.5).
7
For f(x)=x−2x−6 on [1,4],f(1)=5 and f(4)=−1 have opposite signs. Does the Intermediate Value Theorem guarantee a zero in (1,4)? Explain why or why not, and state whether f(x) actually has a zero in (1,4).
Before trusting opposite signs at x=1 and x=4, is f(x) defined at every number between 1 and 4? And what x-value makes a fraction equal to zero?
Don't answer "Yes" just because f(1)=5>0 and f(4)=−1<0 have opposite signs: at x=2 inside [1,4], the denominator x−2 is zero, so f(x) has an infinite discontinuity (vertical asymptote) at x=2 and is not continuous on [1,4]. To check whether f(x) has a zero, we set the numerator equal to zero (not the denominator x−2=0, which would falsely give x=2):
x−6=0⟹x=6
Since 6 is outside (1,4), the graph jumps from positive to negative across the asymptote at x=2 without ever crossing the x-axis on (1,4).
No; f(x) has an infinite discontinuity at x=2 inside [1,4] so the Intermediate Value Theorem does not apply, and f(x) has no zero in (1,4).