Blog · Calculus guides · 11 November 2026 · 4 min read
By the Asymptote team. Every answer on this page is checked by the same machine that grades the game.
Continuity: Definition, 3 Examples & Practice Problems

A function is continuous at when three things hold: is defined, exists, and the two are equal. In pictures, you can draw the graph through without lifting your pen. For a piecewise function, that means the left-hand and right-hand limits at the join must agree with each other and with the value there.
Before you scroll
Try one now
Type the answer. Any correct form counts, and it is checked instantly. Stuck? The answer is underneath.
Problem 1
EasyFind so that is continuous at :
Stuck? Show the answer
Answer
How to start
At the join, the left piece gives and the right piece gives . Set them equal.
The formula
Three conditions packed into one equation: the left side has to exist, the right side has to exist, and they have to agree. Very short, very strict.
When to use it
You check continuity in three kinds of question. First, "is continuous at ?", usually about a piecewise function or a fraction whose denominator is zero somewhere. Second, "find so that is continuous", where you set the left and right limits equal and solve. Third, as the small print on bigger theorems: the Intermediate Value Theorem, the Extreme Value Theorem and the Fundamental Theorem of Calculus all begin "if is continuous". It helps to know the safe ones. Polynomials, , and are continuous everywhere. Fractions are continuous except where the denominator is zero. and are continuous on their domains.
How to do it, step by step
- Check that exists. Plug in . If you get or anything undefined, is not continuous at , though it may be fixable.
- Find the limit from each side. For a piecewise function, use the piece that applies on each side: the left piece for and the right piece for .
- Compare them. If the left and right limits differ, there is a jump and the limit does not exist. If they agree, the limit exists.
- Match the value. Continuous means the limit equals . To find an unknown constant, set the expressions equal at and solve.
Worked examples
Example 1: Find k at a join
EasyFind so that is continuous at :
Both pieces are polynomials, so the only place anything can go wrong is the join at . From the left, . From the right, , which is also .
Check: with , both pieces give 5 at the join, and the pen never leaves the paper.
Answer
Example 2: k on both sides
MediumFind so that is continuous at :
At the join, the left piece gives and the right piece gives . This time turns up on both sides, which is fine: set them equal and solve.
Check: and . They meet.
Answer
Example 3: Filling a hole
HarderFind the value of that makes continuous at :
Plugging into the fraction gives , so the fraction on its own has a hole at 2. Continuity needs to equal the limit there. Factor and cancel, the method from limits by factoring:
So . Any other value leaves a single dot floating above or below the hole. That is a removable discontinuity: removable, because changing one value removes it.
Compare , which gives at 2. Nothing cancels, the graph shoots off to infinity on both sides, and no choice of can rescue it.
Answer
Continuity practice problems
The easy one was at the top. Here are the harder ones. Type an answer and it is checked instantly by the same checker that grades the game; any correct form counts. Stuck? The answer and the first step are under each one.
Problem 2
MediumFind so that is continuous at :
Stuck? Show the answer
Answer
How to start
Put into both pieces: on the left and on the right. Set them equal and collect the 's on one side.
Problem 3
HarderFind the value of that makes continuous at :
Stuck? Show the answer
Answer
How to start
Plugging in gives , and there is a square root, so multiply top and bottom by the conjugate . The top becomes , which cancels.
Want more? Asymptote has 644 related problems, free, with no account.
Common mistakes
- Checking only that the pieces meet. They also have to meet at . A function whose one-sided limits match, but whose value at is something else, is still discontinuous.
- Using the wrong piece on a side. The inequality signs decide which piece you use for and which for . Read them before you plug anything in.
- Judging a fraction by its denominator alone. is undefined at 2, so it is not continuous there, but its limit exists. Whether a zero denominator means a hole or a vertical asymptote is decided by factoring.
- Thinking continuous means smooth. is continuous at 0 (no pen-lifting) but has a corner there, so it is not differentiable. Differentiable implies continuous, not the other way round.
Practice it now
Five minutes, no account
There are no continuity problems as such in the game. Sprint does have the two limits continuity is built from: limits by direct substitution in the opening problems, and one-sided limits at a jump, like as , later in a run.
FAQ
- What are the three conditions for continuity?
- is defined, exists, and .
- What are the types of discontinuity?
- Removable (a hole, where the limit exists but does not equal ), jump (the one-sided limits differ) and infinite (a vertical asymptote).
- Is every differentiable function continuous?
- Yes. The reverse fails: is continuous everywhere but not differentiable at 0.
- Is a function with a vertical asymptote continuous?
- Not at the asymptote, because is not defined there. is continuous at every point where it exists, which is everywhere except 0, but it is not continuous at 0.
- How do you make a piecewise function continuous?
- Plug the boundary value into the left piece and into the right piece, set the two results equal, and solve for the unknown constant.
- Where can I find continuity practice problems?
- Right on this page: the practice problems section has three continuity problems, easy, medium and harder, with the answer and the first step under each one, and a box that checks what you type with the same checker that grades Asymptote. The game has 644 related problems after that, free and with no account: try a five-minute Sprint.
Keep going
Limits by Factoring: 0/0 Limits & Practice Problems
A 0/0 limit: factor top and bottom, cancel the common factor, then substitute. 3 worked examples, including a sum of cubes, and practice problems.
L'Hôpital's Rule: When to Use It & Practice Problems
L'Hôpital's rule: for 0/0 or ∞/∞, the limit of f/g equals the limit of f'/g'. When it applies, 3 worked examples and practice problems with answers.
Squeeze Theorem: 3 Examples & Practice Problems
The squeeze theorem: if g ≤ f ≤ h and g, h share a limit L, so does f. How to find the bounds for x² sin(1/x) and friends, 3 examples, practice problems.