On this concept: Formula

Not sure which lesson to do first? Find your level and get a plan →

Math · Advanced Functions · Grade 9-12

Continuous Function

A function is continuous if you can trace its graph with no jumps, holes, or vertical-asymptote breaks — formally, the limit equals the function value at each point.

lim⁡x→af(x)=f(a) for all a in the domain

Quick Answer

A function is continuous if you can trace its graph with no jumps, holes, or vertical-asymptote breaks — formally, the limit equals the function value at each point. Use continuity to know where a function behaves predictably: small changes in the input give small changes in the output, and the graph passes through every height between any two of its values. Polynomials are continuous everywhere; rational functions break where the denominator is zero; piecewise functions break where their pieces fail to meet.

Why This Matters

Continuity is the assumption behind many shortcuts: the intermediate value theorem, finding roots by repeatedly halving an interval, and most of calculus. Apply them to a function with a break and they mislead: 1x changes sign between −1 and 1, yet it has no root there, because it jumps across zero at its asymptote.

Intuitive Explanation

Record the outdoor temperature every minute from dawn to noon. It may rise quickly or slowly, but it never teleports from 8∘C to 15∘C without passing through every temperature in between. Graph it and you can trace the curve without lifting your pencil. That unbroken quality is continuity: tiny changes in time give tiny changes in temperature.

Precisely, f is continuous at a when three things hold: f(a) exists, the outputs approach one single value as x approaches a from both sides, and that value equals f(a). Each failure is a different break. For 1x at 0 there is no value and the outputs explode, an asymptote. For x2−1x−1 at 1 the outputs approach 2 but there is no value, a hole. For a taxi meter that adds $0.50 every 200 m, the two sides of each jump approach different fares.

Being defined everywhere is not the same as being continuous: the taxi fare has a value for every distance, yet its graph is a staircase of jumps. Smoothness is a separate matter too. ∣x∣ has a sharp corner at 0 but no break, so it is continuous there, though it is not differentiable.

Think of it like this. A continuous function is like a hiking trail with no gaps: to climb from 200 m to 500 m of altitude, you pass every altitude in between. A trail with a missing bridge has a break where you would have to leap. A trail can still turn sharply and be unbroken, just as a continuous graph can have corners.

Core idea. A continuous function has no jumps, holes, or breaks; its limit equals its value at every point.


When to Use

Check continuity when a problem involves a piecewise rule (do the pieces meet?), a denominator that can be zero, a cancelled factor that leaves a hole, or a theorem that assumes no breaks, such as 'it changed sign, so there is a root'. Test the three conditions at each suspect point. If the question is about sharp corners or smoothness, you need differentiability, a stronger condition; if it is about where the function is defined at all, you need the domain.

Tip. Ask: Can the graph be drawn through this point without lifting the pencil?

How to Recognize It

Before calling a function continuous, list the inputs where something could go wrong and test each one separately.

  1. Is the function defined at the point you are checking?

    No means it is not continuous there, as with x2−4x−2 at x=2, which has a hole. Yes is only the first of three conditions: the limit must also exist and equal that value.

  2. At a seam of a piecewise rule, do the two pieces give the same value?

    Yes means the graph joins there, provided each piece is itself unbroken. No, as with x+1 for x<0 and x+3 for x≥0, means a jump of 2 and a discontinuity.

  3. Does the question care about a sharp corner, such as the tip of ∣x∣ at 0?

    Yes points to differentiability, which needs a smooth graph. A corner is still continuous, so ∣x∣ passes the continuity test at 0 but has no single slope there.

  4. Is the question only about the value the function approaches near a point?

    Yes means compute a limit; continuity is the extra claim that this limit equals the actual value f(a). A function can have a perfectly good limit at a point where it is undefined.

Continuous Function compared with Differentiable function, Piecewise function, and Limit

All four rows come up when you study a graph near one point, so they are easy to mix. Ask what is being claimed: an unbroken graph (continuous), a smooth graph with one slope (differentiable), a value approached (limit), or how the rule is written (piecewise).

Continuous Function

Meaning
Use this when you need to confirm a graph has no jumps, holes, or breaks so smooth-behavior theorems apply.
Key test
Can the graph be drawn through this point without lifting the pencil?
Formula
lim⁡x→af(x)=f(a) for all a in the domain
Example
Is f(x)={x2x≤12x−1x>1 continuous at x=1?

Differentiable function

Meaning
Continuous AND smooth (no sharp corners); a stronger condition.
Key test
Use when you need a well-defined slope, not just an unbroken graph.
Formula
f′(a) exists
Example
∣x∣ is continuous but not differentiable at 0

Piecewise function

Meaning
May or may not be continuous; the pieces can join smoothly or jump.
Key test
Use when describing how a function is defined, not whether it breaks.
Formula
case definition
Example
A piecewise function is continuous only if the pieces meet at the boundaries

Limit

Meaning
The value a function approaches; continuity is when that value equals the actual function value.
Key test
Use when computing the approached value, not classifying the function.
Formula
lim⁡x→af(x)
Example
Continuity requires lim⁡x→af(x)=f(a)

Formula & Notation

lim⁡x→af(x)=f(a) for all a in the domain
f is continuous at a   ⟺   ∀ ε>0,  ∃ δ>0:∣x−a∣<δ  ⟹  ∣f(x)−f(a)∣<ε

How to read it: f is continuous at a means three conditions hold: f(a) is defined, lim⁡x→af(x) exists, and the limit equals f(a).

Worked Examples

Example 1 — Check continuity at a point

Easy

Is f(x)={x2x≤12x−1x>1 continuous at x=1?
Show the steps and the answer
  1. Find the value at the seam from the piece that owns it: x≤1 applies, so f(1)=12=1.

    Continuity first requires f(1) to exist.

  2. Approach from the left with x2: f(0.99)=0.9801, heading to 1.

    The left-hand limit uses the piece for inputs just below 1.

  3. Approach from the right with 2x−1: f(1.01)=1.02, heading to 2(1)−1=1.

    The right-hand limit uses the piece for inputs just above 1.

  4. Compare: left limit 1, right limit 1, value 1.

    All three agreeing is exactly the condition lim⁡x→1f(x)=f(1), so there is no jump and no hole.

Answer: Yes — continuous at x=1

Takeaway: At a seam, compute the value and both one-sided limits; continuity needs all three to match.

Example 2 — Jump, not continuous

Standard

Is f(x)={x2x≤12x+3x>1 continuous at x=1?
Show the steps and the answer
  1. Value at the seam: f(1)=12=1, from the x≤1 piece.

    The piece with ≤ owns the boundary.

  2. Approach from the right with 2x+3: the outputs head to 2(1)+3=5, and f(1.01)=5.02.

    Just past 1 the outputs are near 5, nowhere near 1.

  3. Compare the sides: the left heads to 1, the right to 5.

    The one-sided limits disagree, so lim⁡x→1f(x) does not exist and the graph jumps up by 4.

Answer: No — it jumps from 1 to 5

Takeaway: When the pieces arrive at different heights, the function is discontinuous at the seam, even though f(1) has a value.

Example 3 — Find the mistake: pieces that must meet

Application

Find k so that f(x)={kx+1x<2x2x≥2 is continuous. Lia writes: "Each piece is a polynomial, and polynomials are continuous, so any k works. Take k=1." Find the mistake and correct it.
Show the steps and the answer
  1. Test Lia's k=1 at the seam: the left piece heads to 1(2)+1=3, but f(2)=22=4.

    Each piece is continuous on its own interval, yet the graph can still break where they meet.

  2. Write the matching condition: left limit equals the value, so 2k+1=4.

    Continuity at x=2 needs the line to arrive at exactly the height where the parabola starts.

  3. Solve: 2k=3, so k=1.5.

    This is the only value of k that closes the gap.

  4. Check: f(1.99)=1.5(1.99)+1=3.985 and f(2.01)=4.0401, both close to f(2)=4.

    Inputs on both sides of 2 now give outputs near 4, so there is no jump.

Answer: k=1.5. With k=1 the graph jumps from 3 to 4 at x=2.

Takeaway: Continuous pieces make a continuous function only if they agree in value at every seam.

Where You'll See It

  • When did the car hit 60 mph?

    A car goes from 0 to 70 mph in 10 seconds, and its speed changes continuously. So at some instant it was travelling at exactly 60 mph. The intermediate value theorem guarantees that moment exists before you know when it was.

  • Taxi meters move in jumps

    A meter that adds $0.50 every 200 m shows only $3.00, $3.50, $4.00 and so on. The fare is a discontinuous function of distance, so there is no point in the ride at which you owe exactly $3.25.

  • How a calculator finds a root

    To solve x3+x−1=0, a solver notes f(0)=−1 and f(1)=1. Because f is continuous, it must cross zero in between. Halving the interval again and again (bisection) pins the root near 0.682.

Common Mistakes

  1. The slip: Assuming defined-everywhere means continuous

    Instead: a function can have a value at every point yet still jump.

  2. The slip: Overlooking holes from cancelled factors

    Instead: a removable hole still breaks continuity at that point.

  3. The slip: Ignoring boundary matching in piecewise functions

    Instead: the pieces must agree in value at the seams to be continuous.


Mini Practice

Try these on your own. Tap Reveal when you want to check.

  1. Is f(x)=x2−4x−2 continuous at x=2?

    Hint: Check whether f(2) exists before looking at the limit.

  2. Find k so that f(x)={3x+1x<2kxx≥2 is continuous at x=2.

    Hint: Make both pieces give the same value at x=2.

  3. Is g(x)={x2+1x<34x−2x≥3 continuous at x=3?

    Hint: Compute each piece at x=3 and compare.

  4. Where is h(x)=1x2−5x+6 not continuous?

    Hint: Factor the denominator.

  5. Consider f(x)=∣x∣ at x=0. Is it continuous there, differentiable there, both, or neither?

    Hint: Look for a jump or hole, then for a sharp corner.

  6. A student says 'f(x)={1x<02x≥0 is continuous, because it has a value at every x.' Find and correct the mistake.

    Hint: Compare the values just left of 0 with f(0).

Want the full set?

50 practice questions for this concept — free to try, every one with a complete worked solution showing the why, not just the answer.

Frequently Asked Questions

Is f(x)=1x continuous?

It depends on whether you mean on its domain or on all real numbers. On its domain, every input except 0, it has no break at any point where it is defined. Its graph still comes in two pieces, because 0 is missing. Many textbooks say it is discontinuous at x=0x=0, while stricter books apply continuity only where a function is defined. Either way, you cannot draw it in one stroke.

If a continuous function is negative at one point and positive at another, must it equal zero in between?

Yes. This is the Intermediate Value Theorem: on an interval, a continuous function takes every value between its values at the ends. If f(1)=−3f(1)=-3 and f(2)=5f(2)=5, some cc between 1 and 2 has f(c)=0f(c)=0. It proves a root exists without finding it. Without continuity the guarantee fails: 1x\frac{1}{x} goes from negative at −1-1 to positive at 1 without ever being zero.

Which real-world quantities are continuous and which are not?

Temperature changes smoothly, so its graph over a day is continuous: to warm from 12∘12^\circ to 18∘18^\circ it passes every reading in between. A head count jumps by whole people, so its graph is a step graph with breaks, and a bank balance jumps when a payment clears. Deciding which kind a quantity is tells you whether a smooth model or a stepped one is honest.

Can a function be continuous at only one point?

Yes, oddly. Let f(x)=xf(x)=x when xx is rational and f(x)=0f(x)=0 when xx is irrational. Near 0 both rules give outputs close to 0, so ff is continuous at 0. Near any other point, the outputs keep jumping between values near xx and 0, so the function breaks everywhere else. Continuity is a property of each point, not only of a whole graph.

Learning Path

← Before

Function
Continuous Function

You are here

You need Function, and it helps to know piecewise and rational functions, where most breaks happen. Continuous Function adds the three-part test (value exists, limit exists, they match) and the three kinds of break: holes, jumps and asymptotes. Next, Limit gives the exact meaning of 'approaches', and the Intermediate Value Theorem uses continuity to prove that solutions exist.

See Also