Free for students · Ad-free · WCAG 2.1 AA Compliant · Accessibility

Confirming Continuity over an Interval

Lesson ~11 min read

In simple terms: 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.

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];
This flowchart shows a decision-making process for determining the intervals of continuity for a function. It starts by checking for simple, always-continuous functions, then branches to specific rules for rational functions, root functions, and piecewise functions.

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 Functions
    Any 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) and g(x) = cos(x). These functions wave up and down forever, but they are smooth, unbroken curves. Continuous on (-∞, ∞).
  • Exponential Functions
    f(x) = e^x or g(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:

  1. Set the denominator equal to zero: x - 5 = 0.
  2. Solve for x: x = 5.
  3. This value, x=5, is the only point of discontinuity.
  4. 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.

  1. Set the inside of the root >= 0: x - 3 >= 0.
  2. Solve for x: x >= 3.
  3. This is the domain of the function.
  4. Therefore, the function is continuous on its domain, which is [3, ∞). Notice the square bracket [ because the function is defined (and continuous) at x=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:

  1. Identify the type of function.
  2. Determine its domain by looking for division by zero or negative roots.
  3. 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.

Example 1

A Rational Function

Problem: Find the intervals on which the function f(x) = (x^2 - 4) / (x^2 + 2x - 15) is continuous.

Solution Walkthrough:

  1. 1
    Identify the function type
    This is a rational function (a polynomial divided by a polynomial).
  2. 2
    State the rule
    We know that rational functions are continuous everywhere except where the denominator is equal to zero. Our only job is to find those x-values.
  3. 3
    Set the denominator to zero
    x^2 + 2x - 15 = 0
  4. 4
    Solve for x
    This 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) = 0 This gives us two solutions: x = -5 and x = 3.
  5. 5
    Interpret the results
    These 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.
  6. 6
    Write the intervals of continuity
    We 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, ∞)

Final Answer: The function f(x) is continuous on the intervals (-∞, -5), (-5, 3), and (3, ∞).


Example 2

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:

  1. 1
    Analyze 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.
  2. 2
    Identify the potential trouble spot
    The 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.
  3. 3
    Apply the three-part continuity test at x = 2.
    • Part 1: Does g(2) exist? Yes. We use the second rule (x >= 2), so g(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 the x < 2 rule: lim (x->2⁻) (2x + 1) = 2(2) + 1 = 5.
      • Right-hand limit: lim (x->2⁺) g(x). We use the x >= 2 rule: 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.
    • Part 3: Does the limit equal the function value? Yes, lim (x->2) g(x) = 5 and g(2) = 5.
  4. 4
    Conclusion
    Since the function is continuous at x=2 and 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.

  1. 1
    Problem
    Find the intervals on which h(x) = 5 / (x^2 - x - 6) is continuous.
  2. 2
    Problem
    Determine the intervals of continuity for the function k(x): k(x) = { e^x, if x < 0 k(x) = { x + 2, if x >= 0