Confirming Continuity over an Interval
Why this matters
Imagine you're on a cross-country road trip, driving from Chicago to Seattle. For a smooth journey, you need the road to be continuous—no sudden gaps, no bridges out, no giant sinkholes. If someone asks you, "Is Interstate 90 continuous from Illinois to Washington?" you're not just checking one single spot. You're confirming that the entire stretch of road is connected.
In calculus, we do the exact same thing with functions. We've already learned how to check for continuity at a single point, like checking for a pothole at mile marker 47. Now, we're zooming out. We're going to learn how to state with confidence that a function is smooth and unbroken over a whole interval, a whole "stretch of road." We'll build a toolkit that lets us quickly identify the continuous stretches for even complex-looking functions.
Concept overview
flowchart TD
A[Start: Find intervals of continuity for f(x)] --> B{Is f(x) a polynomial, sin(x), cos(x), or e^x?};
B -- Yes --> C[Continuous on (-∞, ∞)];
B -- No --> D{Is f(x) a rational function P(x)/Q(x)?};
D -- Yes --> E[Find x where Q(x) = 0. These are the discontinuities.];
E --> F[State intervals that exclude these points];
D -- No --> G{Does f(x) have a square root?};
G -- Yes --> H[Set expression inside root >= 0 and solve for x];
H --> I[The solution is the domain and the interval of continuity];
G -- No --> J{Is f(x) a piecewise function?};
J -- Yes --> K[Test for continuity at each 'seam' where the rule changes];
K --> L[Combine results from pieces and seams];
J -- No --> M[Analyze other types like log or tan(x) based on their domains];
Core explanation
Hey there. It's Saavi. Let's talk about one of my favorite ideas in early calculus: moving from a snapshot to the big picture. We've been testing for continuity at a single point x = c, but now we want to answer a bigger question: Over what intervals is a function continuous?
From a Single Point to a Stretch of Road
Think back to our road trip analogy. Saying a function is continuous on an interval, like [a, b], is the mathematical way of saying the road is perfectly paved from mile marker a to mile marker b.
Formally, a function f(x) is continuous on an interval if it is continuous at every single point in that interval.
Now, your first thought might be, "Do I have to test an infinite number of points? That sounds impossible!" And you're right, that would be. Luckily, we have a massive shortcut. Certain types of functions are famously "well-behaved," and we can use their known properties to our advantage.
The "Always Continuous" All-Stars
Some functions are like brand-new interstate highways that stretch across the country. They are continuous everywhere, on the interval (-∞, ∞). Once you can spot them, you've got an easy answer.
- Polynomial FunctionsAny function like
f(x) = 3x^4 - 7x^2 + x - 10. No breaks, no gaps, no jumps, no asymptotes. Ever. They are the gold standard of continuity. Continuous on(-∞, ∞). - Sine and Cosine Functions
f(x) = sin(x)andg(x) = cos(x). These functions wave up and down forever, but they are smooth, unbroken curves. Continuous on(-∞, ∞). - Exponential Functions
f(x) = e^xorg(x) = 2^x. These curves sweep upwards smoothly and are also continuous on(-∞, ∞).
If you see one of these, you can quickly state it's continuous everywhere. But things get more interesting when a function isn't continuous everywhere.
Continuity on a Domain
For most other functions, the rule is simple and powerful: A function is continuous on its domain.
This means our job changes from "testing continuity" to "finding the domain." The places where a function is defined are the places where it is continuous. The "discontinuities" are simply the x-values that aren't in the domain to begin with.
Let's break down the main types:
Rational Functions
A rational function is a fraction of polynomials, like f(x) = P(x) / Q(x).
Example: f(x) = (x + 1) / (x - 5)
The only rule for fractions is that you can't divide by zero. So, the only "danger spots" are the x-values that make the denominator zero.
To find the intervals of continuity:
- Set the denominator equal to zero:
x - 5 = 0. - Solve for x:
x = 5. - This value,
x=5, is the only point of discontinuity. - Therefore, the function is continuous everywhere else. We write this as intervals:
(-∞, 5)and(5, ∞).
Root Functions (like Square Roots)
Consider g(x) = sqrt(x - 3).
The rule for square roots is that you can't take the square root of a negative number. The value inside the root (the radicand) must be greater than or equal to zero.
- Set the inside of the root
>= 0:x - 3 >= 0. - Solve for x:
x >= 3. - This is the domain of the function.
- Therefore, the function is continuous on its domain, which is
[3, ∞). Notice the square bracket[because the function is defined (and continuous) atx=3.
Logarithmic Functions
Consider h(x) = ln(x).
Remember that you can only take the logarithm of a positive number. The domain of ln(x) is x > 0. So, h(x) = ln(x) is continuous on the interval (0, ∞). If you had ln(x-2), you'd solve x-2 > 0 to find the domain and thus the interval of continuity is (2, ∞).
Other Trigonometric Functions
What about f(x) = tan(x)? We know tan(x) = sin(x) / cos(x). This is a rational function! The discontinuities happen where the denominator, cos(x), is zero. This happens at x = π/2, x = -π/2, x = 3π/2, and so on. So, tan(x) is continuous on intervals like (-π/2, π/2) and (π/2, 3π/2), but not at the endpoints.
Your strategy is always:
- Identify the type of function.
- Determine its domain by looking for division by zero or negative roots.
- The interval(s) of continuity are the domain.
Worked examples
Let's put this into practice. The key is to be a detective: identify the function type, find the potential trouble spots, and then clearly state the safe zones.
A Rational Function
Problem: Find the intervals on which the function f(x) = (x^2 - 4) / (x^2 + 2x - 15) is continuous.
Solution Walkthrough:
- 1Identify the function typeThis is a rational function (a polynomial divided by a polynomial).
- 2State the ruleWe know that rational functions are continuous everywhere except where the denominator is equal to zero. Our only job is to find those x-values.
- 3Set the denominator to zero
x^2 + 2x - 15 = 0 - 4Solve for xThis is a standard quadratic equation. We can factor it. We need two numbers that multiply to -15 and add to +2. Those numbers are +5 and -3.
(x + 5)(x - 3) = 0This gives us two solutions:x = -5andx = 3. - 5Interpret the resultsThese two x-values are the points of discontinuity. They are the only places where the graph has a break (in this case, vertical asymptotes). The function is continuous everywhere else.
- 6Write the intervals of continuityWe need to express "everywhere except -5 and 3" using interval notation. Imagine a number line with open circles at -5 and 3. The continuous parts are the sections in between.
- The stretch from negative infinity up to -5:
(-∞, -5) - The stretch between -5 and 3:
(-5, 3) - The stretch from 3 up to positive infinity:
(3, ∞)
- The stretch from negative infinity up to -5:
Final Answer: The function f(x) is continuous on the intervals (-∞, -5), (-5, 3), and (3, ∞).
A Piecewise Function
Problem: Is the function g(x) continuous on the interval (-∞, ∞)?
g(x) = { 2x + 1, if x < 2
g(x) = { x^2 + 1, if x >= 2
Solution Walkthrough:
- 1Analyze the pieces
- The first piece,
2x + 1, is a line (a polynomial). It's continuous everywhere. - The second piece,
x^2 + 1, is a parabola (a polynomial). It's also continuous everywhere.
- The first piece,
- 2Identify the potential trouble spotThe only place a discontinuity could occur is at the "seam" where the function rule changes, which is at
x = 2. We need to check if the two pieces meet at the same point. - 3Apply the three-part continuity test at
x = 2.- Part 1: Does
g(2)exist? Yes. We use the second rule (x >= 2), sog(2) = (2)^2 + 1 = 5. The point exists. - Part 2: Does the limit
lim (x->2) g(x)exist? For this, the left-hand and right-hand limits must be equal.- Left-hand limit:
lim (x->2⁻) g(x). We use thex < 2rule:lim (x->2⁻) (2x + 1) = 2(2) + 1 = 5. - Right-hand limit:
lim (x->2⁺) g(x). We use thex >= 2rule:lim (x->2⁺) (x^2 + 1) = (2)^2 + 1 = 5. - Since the left-hand limit (5) equals the right-hand limit (5), the overall limit exists and is 5.
- Left-hand limit:
- Part 3: Does the limit equal the function value? Yes,
lim (x->2) g(x) = 5andg(2) = 5.
- Part 1: Does
- 4ConclusionSince the function is continuous at
x=2and we already know the individual pieces are continuous on their own, we can conclude that the entire function is continuous everywhere.
Final Answer: Yes, g(x) is continuous on the interval (-∞, ∞).
Try it yourself
Ready to try a couple on your own? Don't just find the answer; walk through the steps and justify your reasoning.
- 1ProblemFind the intervals on which
h(x) = 5 / (x^2 - x - 6)is continuous. - 2ProblemDetermine the intervals of continuity for the function
k(x):k(x) = { e^x, if x < 0k(x) = { x + 2, if x >= 0
In simple terms, confirming continuity over an interval is about finding the stretches of a graph you can draw without lifting your pencil, and proving it mathematically.
- LIM-2.B: Determine intervals over which a function is continuous.
- LIM-2.B.1
- A function is continuous on an interval if the function is continuous at each point in the interval.
- LIM-2.B.2
- Polynomial, rational, power, exponential, logarithmic, and trigonometric functions are continuous on all points in their domains.
flowchart TD
A[Start: Find intervals of continuity for f(x)] --> B{Is f(x) a polynomial, sin(x), cos(x), or e^x?};
B -- Yes --> C[Continuous on (-∞, ∞)];
B -- No --> D{Is f(x) a rational function P(x)/Q(x)?};
D -- Yes --> E[Find x where Q(x) = 0. These are the discontinuities.];
E --> F[State intervals that exclude these points];
D -- No --> G{Does f(x) have a square root?};
G -- Yes --> H[Set expression inside root >= 0 and solve for x];
H --> I[The solution is the domain and the interval of continuity];
G -- No --> J{Is f(x) a piecewise function?};
J -- Yes --> K[Test for continuity at each 'seam' where the rule changes];
K --> L[Combine results from pieces and seams];
J -- No --> M[Analyze other types like log or tan(x) based on their domains];
Read what Saavi narrates
Hi everyone, it's Saavi. Let's talk about continuity, but on a bigger scale.
Imagine you're on a road trip from Chicago to Seattle. For a smooth ride, you need the road to be continuous—no giant gaps or bridges out. In calculus, we do the same thing with functions. We're moving from checking for a single pothole to making sure the entire stretch of road is perfectly connected.
We're going from checking continuity at one point to confirming it over a whole range of x-values. This means finding the stretches where a function's graph is one unbroken curve.
So let's try an example. Say you're asked to find the intervals where the function f of x equals, in the numerator, x squared minus 4, and in the denominator, x squared plus 2x minus 15, is continuous.
First, you identify this as a rational function. And the rule for rational functions is that they're continuous everywhere except where the denominator is zero. So our whole job is just to find those trouble spots.
We set the denominator, x squared plus 2x minus 15, equal to zero. We can factor that into... x plus 5, times, x minus 3. That gives us two solutions: x equals negative 5, and x equals positive 3.
These are our two points of discontinuity. So, the function is continuous everywhere else. We write this out as intervals. The first stretch is from negative infinity up to negative 5. The second is between negative 5 and 3. And the third is from 3 to positive infinity.
So the final answer is that the function is continuous on the intervals from negative infinity to negative 5... from negative 5 to 3... and from 3 to positive infinity.
Now, here's a really common mistake students make. They find the right numbers, negative 5 and 3, but then they just write "the function is discontinuous at x equals negative 5 and x equals 3." That's true, but it doesn't answer the question! The question asks where the function IS continuous. So you have to provide the intervals, not just the problem spots.
This is a key skill. It's about shifting your perspective from a single point to the whole picture. You can do this. Just be systematic, identify the function type, and find its domain. Keep practicing, and it'll become second nature.
This is a true statement, but it doesn't answer the question, which asks for the *intervals of continuity*.
Use the points of discontinuity to define the intervals where the function *is* continuous. The correct answer is `(-∞, 2)` and `(2, ∞)`.
Even if the individual pieces (like a line and a parabola) are continuous on their own, they might not meet up at the transition point, creating a jump discontinuity.
Always apply the three-part continuity test at the x-value where the function's rule changes.
The function is defined and continuous at `x=0` (`sqrt(0) = 0`). A parenthesis `(` means the endpoint is excluded.
Check if the endpoint is included in the domain. Since `x=0` is valid, the correct interval is `[0, ∞)`.
Students often mechanically write `x - 9 >= 0`. This ignores the actual expression inside the root.
Always take the *exact expression* inside the radical and set it to be `>= 0`. Here, it's `9 - x >= 0`, which solves to `9 >= x`, or `x <= 9`. The interval is `(-∞, 9]`.
Only `sin(x)` and `cos(x)` are continuous on `(-∞, ∞)`. Functions like `tan(x)`, `cot(x)`, `sec(x)`, and `csc(x)` all have vertical asymptotes because they are defined as ratios and have denominators that can be zero.
Remember that these other trig functions are only continuous on their specific domains, which exclude the x-values that cause division by zero.