Lesson 1.6 · Limits and Continuity
Continuity
Informally, a function is continuous if you can draw its graph without lifting your pencil. That picture is a good start, but calculus needs a definition you can check with algebra, because the biggest theorems in the course (the intermediate value theorem, the extreme value theorem, the mean value theorem, the fundamental theorem of calculus) only apply to continuous functions.
Continuity at a point
A function is continuous at when its limit there matches its value there: where the graph is heading is exactly where the graph is.
Definition
Continuity at a point
A function is continuous at if all three of the following are true:
- is defined.
- exists.
- .
If any condition fails, is discontinuous at .
Condition 3 is the heart of the definition; conditions 1 and 2 just make sure both sides of that equation mean something. On the AP exam, a justification of continuity or discontinuity should check the conditions explicitly, with the actual values.
Recall that condition 2 requires the one-sided limits to agree. So in practice, to check continuity at a point where a function changes formula, you compute three numbers and compare them:
The function is continuous at exactly when all three are equal.
Worked example: Checking a piecewise function
Is continuous at ?
Solution. Check the three conditions.
- , so is defined.
- and . They agree, so .
- .
All three conditions hold, so is continuous at .
Continuity on an interval
A function is continuous on an open interval if it is continuous at every point of the interval.
At the endpoints of a closed interval we only care about one side. We say is continuous from the right at if , and continuous from the left at if . Then is continuous on the closed interval if it is continuous on , continuous from the right at , and continuous from the left at .
For example, is defined only for . It is continuous on and continuous from the left at , so it is continuous on its entire domain .
Which functions are continuous?
You rarely need to check the definition point by point, thanks to the following facts.
Continuous functions
These functions are continuous at every point of their domains:
- polynomials, and rational functions (everywhere except where the denominator is )
- and other root functions
- , , and the other trigonometric functions
- exponential functions , including , and logarithmic functions such as
Moreover, if and are continuous at , then so are , , , , and (provided ). If is continuous at and is continuous at , then is continuous at .
So for a function built from these pieces, the only places to worry about are points outside the domain (zero denominators, negative numbers under even roots, nonpositive inputs to logarithms) and points where a piecewise function changes formula.
Worked example: Finding where a function is continuous
On what intervals is continuous?
Solution. is a rational function, so it is continuous wherever its denominator is nonzero. Since when , is continuous on , , and .
Making a piecewise function continuous
A common AP question asks you to choose a constant so that a piecewise function is continuous. Each piece is a continuous function on its own, so the only question is whether the pieces meet where the formula changes. Set the one-sided limits (and the function value) equal and solve.
Worked example: Solving for a constant
Find so that is continuous for all real numbers.
Solution. Both pieces are polynomials, so is continuous everywhere except possibly at . There,
Continuity requires , so and . With this value both pieces reach the height at .
Worked example: Two constants
Find and so that is continuous everywhere.
Solution. At : the left piece approaches and the middle piece gives , so .
At : the middle piece gives and the right piece approaches , so .
Subtracting the first equation from the second: , so and .
Common mistake
Showing that exists is not enough to prove continuity. You must also show that exists and equals the limit. A function with a hole, or with a single point moved off the curve, has a limit but is not continuous there.
Tip
"Continuous" means continuous at each point of the domain. So is a continuous function (it is continuous at every point where it is defined), even though it is discontinuous at . When the AP exam asks about continuity "for all real numbers" or "on ," check every point in that set.
Practice
Let . Which condition in the definition of continuity at fails?
Find the value of that makes continuous at .
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the value of that makes continuous for all real numbers.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
On which set is continuous?
Let for and . For what value of is continuous at ?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find and so that is continuous everywhere. Enter your answer as an ordered pair .
Enter a point like (2, -3)
Which function is continuous on the closed interval ?