How To Know If A Function Is Continuous
The Pencil Test and Other Ways to Spot a Continuous Function
Here's a question that trips up a lot of students: how do you actually know* if a function is continuous? Not just in theory, but in practice, when you're staring at a graph or an equation and someone asks you to decide.
The short version is that continuity is about whether you can draw the function without lifting your pencil. But that's not the whole story. Real talk — the pencil test is a great starting point, but once you get into calculus and beyond, the real definition is more precise, and more useful.
Let me walk you through what continuity actually means, why it matters, and how to check it without guessing.
What "Continuous" Actually Means
A function is continuous at a point if three things are true:
- The function is defined at that point — meaning you can actually plug in the value and get a real number out.
- The limit exists as you approach that point from both sides.
- The limit equals the function's value at that point.
That third condition is the one people forget. Now, you can have a function where the limit exists, but the function either isn't defined there, or it's defined at a different height. That's a break — a discontinuity.
Types of Discontinuities You'll Actually See
There are a few main flavors of breaks:
- Removable discontinuities — the function has a hole. The limit exists, but either the function isn't defined at that point, or it's defined at a different y-value. Think of a rational function where the numerator and denominator share a common factor.
- Jump discontinuities — the function jumps from one height to another. The left-hand and right-hand limits both exist, but they aren't equal. Step functions are the classic example.
- Infinite discontinuities — the function blows up to infinity near the point. Vertical asymptotes fall here.
Most of the functions you work with day to day — polynomials, sine, cosine, exponential functions — are continuous everywhere they're defined. It's the edge cases, the piecewise functions, the rational functions with zeros in the denominator, that need the careful check.
Why Continuity Matters More Than You Think
This isn't just busywork for calculus class. Continuity is the foundation for a lot of powerful tools.
The Intermediate Value Theorem only works on continuous functions. If you're trying to prove that a solution exists between two points, you need continuity. Optimization problems assume your functions are well-behaved. Derivatives require continuity (though continuity alone doesn't guarantee differentiability).
And in the real world? Engineers model physical systems with continuous functions because sudden jumps usually mean something broke, or you're missing part of the picture. A car's position doesn't teleport — it moves continuously. Temperature changes gradually. These aren't accidents of modeling; they reflect how the world actually works.
How to Check Continuity: A Step-by-Step Approach
Here's the practical method I use when I need to verify continuity at a specific point, say x = a.
Step 1: Plug in the value
First, check if f(a) is defined. If you get division by zero, or the square root of a negative number, or the logarithm of zero — the function isn't continuous there. Day to day, can you actually compute the function at x = a? It fails the very first condition.
Step 2: Check the limit from the left
Look at what happens as x approaches a from values smaller than a. Think about it: does the function settle toward a specific number? If it oscillates wildly or heads to infinity, the left-hand limit doesn't exist.
Step 3: Check the limit from the right
Same thing from the other side. As x approaches a from larger values, does the function approach a specific number?
Step 4: Compare
If both one-sided limits exist and are equal, then the overall limit exists. Now compare that limit to f(a). That's why if they match, you've got continuity. If they don't, you've got a discontinuity.
Working Through an Example
Let's say you have a piecewise function:
f(x) = { x² + 1, if x < 2 { 5x - 3, if x ≥ 2
Is it continuous at x = 2?
- f(2) = 5(2) - 3 = 7. Defined. Good.
- Left-hand limit: as x approaches 2 from below, f(x) = x² + 1, so the limit is 4 + 1 = 5.
- Right-hand limit: as x approaches 2 from above, f(x) = 5x - 3, so the limit is 10 - 3 = 7.
- The left-hand limit (5) doesn't equal the right-hand limit (7), so the overall limit doesn't exist.
The function has a jump discontinuity at x = 2. Done.
Want to learn more? We recommend which is a non membrane bound organelle and what does true breeding mean in biology for further reading.
Common Mistakes People Make
I've seen these errors over and over, and honestly, they're predictable.
Checking only two of the three conditions. A lot of students will verify that f(a) is defined and that the limit exists, then just assume they're equal. They forget to actually compare them. I've lost count of how many times I've seen someone declare a function continuous when the limit was 3 and the function value was 5.
Confusing continuity with differentiability. These are related but different ideas. A function can be continuous but not differentiable — the absolute value function at x = 0 is the classic example. It's continuous there (no hole, no jump), but it has a sharp corner, so the derivative doesn't exist.
Only looking at the algebra. Some students stare at an equation and try to reason about continuity purely symbolically, without thinking about what the graph looks like. Visualizing the function — even roughly — often makes the answer obvious.
Ignoring the domain. A function like f(x) = √x is continuous at every point where it's defined, but it's not defined for x < 0. So you can't talk about continuity at x = -1, because the function doesn't even exist there.
What Actually Works When You're Stuck
Here's what I've found helpful in practice:
Graph first, then verify. Even a rough sketch can tell you immediately whether you're looking at a continuous curve or something with breaks. Technology helps here — a quick plot can save you from going down the wrong path.
Factor and simplify rational functions. If you have a rational function and you're checking continuity at a point where the denominator is zero, try factoring. Often you can cancel a common factor, which reveals a removable discontinuity rather than a vertical asymptote.
Use known continuous functions as building blocks. Polynomials, sine, cosine, exponential and logarithmic functions are continuous on their domains. If your function is built from these using addition, multiplication, and composition, it's probably continuous wherever it's defined.
For piecewise functions, always check the boundary. The action is always at the point where the definition changes. Check the left-hand limit, right-hand limit, and function value at that boundary point.
When in doubt, go back to the definition. The three-condition checklist is your friend. Don't skip steps.
FAQ
Can a function be continuous at only one point?
Yes, technically. Plus, there are pathological examples of functions that are continuous at exactly one point and discontinuous everywhere else. They're mostly curiosities, but they show that continuity is a local property — it's about behavior at specific points, not over the whole domain.
Is a function with a hole in its graph continuous?
Only if you redefine the function to fill that hole. As it stands, a function with a hole fails the first condition — it's not defined at that point, so it can't be continuous there.
Do I need both one-sided limits to exist for continuity?
Yes. If either one-sided limit fails to exist, the overall limit doesn't exist, and the function can't be continuous at that point.
What's the fastest way to check continuity on an exam?
Look for the obvious problems first: division by zero, square roots of negatives, logarithms of non-positives. Which means those are instant discontinuities. For everything else, run through the three conditions methodically.
Can a function be continuous but not differentiable?
Absolutely. The absolute value function at x = 0 is continuous but has a corner there, so
so the left‑hand derivative equals –1 while the right‑hand derivative equals 1, indicating a corner and confirming that the function is not differentiable at x = 0. Also, in general, differentiability implies continuity, but the converse does not hold; a function can pass the continuity test at every point and still be non‑differentiable at isolated locations or even everywhere. Day to day, other typical obstacles include vertical tangents, such as the cube‑root function f(x)=∛x at the origin, where the slope grows without bound, and cusps, as seen in f(x)=|x|^{2/3}, which also lack a finite derivative despite being continuous. Worth adding: to determine differentiability, one typically examines the limit of the difference quotient, checks for equal one‑sided limits, and looks for geometric features like corners, cusps, or vertical tangents. The Weierstrass function, built from an infinite sum of oscillating terms, is continuous on the entire real line yet possesses no derivative at any point, demonstrating that continuity alone offers no guarantee of a smooth graph. This illustrates a key point: a function may be continuous at a point yet fail to have a well‑defined tangent there. If the limit exists and is finite, the function is differentiable at that point; otherwise it is not.
Thus, a systematic approach — first confirming that the point lies in the domain, then verifying the three continuity conditions, and finally testing the existence of the derivative — provides a clear path through most problems. By combining careful algebraic manipulation, graphical insight, and rigorous limit analysis, one can reliably assess both continuity and differentiability for virtually any elementary function.
Latest Posts
Straight Off the Draft
-
How Many Chambers Are Found In The Heart
Aug 06, 2026
-
Acid Base Conjugate Acid Conjugate Base
Aug 06, 2026
-
Image Of Rectangle With Length And Width
Aug 06, 2026
-
How To Get Percent By Mass
Aug 06, 2026
-
Acids And Bases In Organic Chemistry
Aug 06, 2026