Continuity
Learn the three-part definition of continuity, where common functions are continuous, how to find a constant that makes a piecewise function continuous, and the Intermediate Value Theorem.
Definition
- 1. is defined (there is a point on the graph at )
- 2. exists (the left-hand and right-hand limits are equal)
- 3. (the limit equals the function value)
- polynomials (everywhere)
- rational functions (everywhere except where the denominator is )
- exponential functions and (everywhere)
- logarithms and (for )
- (for )
Try it now
Worked Examples
Is continuous at ? Check all three conditions.
Condition 1: is defined?
→
Condition 2: does the limit exist?
is a polynomial, so the limit can be found by direct substitution: → The limit exists and equals
Condition 3: compare the limit and the value
→ All three conditions hold
Answer: Yes, is continuous at (in fact, as a polynomial it is continuous everywhere).
Common Mistakes
Checking only that exists and concluding that is continuous
Why it's wrong: A function can have a value at and still jump there. For example for and for has , but the left-hand limit is .
Correct: Always check all three conditions: is defined, the limit exists, and the limit equals .
Thinking that if the limit exists, the function must be continuous
Why it's wrong: The limit ignores what happens exactly at . In Example 2 the limit is , but the point sits at .
Correct: After finding the limit, compare it with the actual value . They must be equal.
Solving for by plugging the breakpoint into only one piece
Why it's wrong: Continuity at a breakpoint is about the two pieces meeting, so one piece alone gives no equation for .
Correct: Evaluate both pieces at the breakpoint (left-hand and right-hand limits) and set them equal: in Example 4, .
Using the Intermediate Value Theorem on a function that is not continuous on the interval
Why it's wrong: has and , but it is never . The IVT does not apply because is undefined at .
Correct: Before using the IVT, confirm that is continuous on the whole closed interval .
Interactive Visual
Function graph
Tap or hover over the graph to read off values.
- At x = 2: from the left f(x) → 5, from the right f(x) → 1. The values differ, so the limit does not exist (jump). f(2) = 5.
Function graph
Tap or hover over the graph to read off values.
- At x = 3: from the left and from the right g(x) → 6, so the limit is 6. g(3) = 5.
Function graph
Tap or hover over the graph to read off values.
- Zero (x-intercept): (0.68, 0)
Interactive Sandbox
Interactive Grapher
Tap or hover over the graph to read off values.
Try these examples:
y = 2x + 1
m=2, b=1
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsWhich of these is NOT one of the three conditions for to be continuous at ?
Why It Matters
- Direct substitution is only allowed because polynomials, exponentials and logarithms are continuous: the limit is just the function value.
- Root finding: the Intermediate Value Theorem guarantees that a continuous function that changes sign must cross zero. Calculators and computers use this to locate solutions of equations.
- Modelling: temperature, height, distance and the volume of water in a tank change continuously with time. Prices, tax brackets and parking fees often do not, and a designer has to choose constants so there is no sudden jump.
- Engineering: two pieces of road, rail or pipe must meet at the same height, which is exactly the condition that a piecewise function is continuous at the joint.
Real World Applications
Fair Parking Fees
A parking garage uses one rate for short stays and another for long stays. If the formulas do not agree at the switch point, the price jumps and a driver who stays one minute longer pays much more or much less.
Example:
A fee of dollars for up to 2 hours and dollars after that gives dollars from both formulas, so the fee has no jump.
Parking costs dollars for hours and dollars for .
Which value of makes the fee continuous at ?
Step 1: Write the mathematical expression
Solve for :
Hiking Altitude and the IVT
Your altitude on a hike changes continuously with time: you cannot teleport from one height to another. The Intermediate Value Theorem then guarantees that you passed through every height between your start and your finish.
Example:
If you start at 800 m and reach a summit at 2000 m, at some moment you were at exactly 1500 m, even if you did not look at your watch then.
A hiker is at 800 m at 8:00 and at the 2000 m summit at 13:00. Altitude is a continuous function of time.
How many of the altitudes 500 m, 1200 m, 1900 m and 2100 m is the hiker guaranteed by the IVT to pass between 8:00 and 13:00?
Step 1: Write the mathematical expression
Count the values between 800 and 2000:
Joining Two Pieces of Road
Road and railway designers describe a track with different formulas on different sections. At every joint the heights must match, which is the condition for a piecewise function to be continuous.
Example:
A ramp with height for followed by for (in meters) meets at m, so there is no step.
A road profile (in meters) is for and for .
Which value of makes the road continuous at ?
Step 1: Write the mathematical expression
Solve for :
Key Takeaways
- 1 is continuous at when is defined, exists, and
- 2If any of the three conditions fails, has a discontinuity at (the kinds are covered in Types of Discontinuity)
- 3Polynomials, exponentials, and are continuous everywhere; rational functions, logarithms and roots are continuous on their domains
- 4On a closed interval , continuity at the endpoints uses one-sided limits
- 5To make a piecewise function continuous, set the left-hand limit, the right-hand limit and the value at each breakpoint equal and solve for the constant
- 6Intermediate Value Theorem: if is continuous on and is between and , then for some in
Frequently Asked Questions
Glossary
- Continuous at a point
- is continuous at if is defined, exists and the two are equal
- Continuous on an interval
- Continuous at every point of the interval, using one-sided limits at the endpoints of a closed interval
- Discontinuity
- A point where at least one of the three conditions of continuity fails
- Piecewise function
- A function defined by different formulas on different intervals; it can only break at the breakpoints or where a piece itself breaks
- Intermediate Value Theorem (IVT)
- A continuous function on takes every value between and
Formula Card
Continuity at a point
Contains all three conditions: $f(a)$ defined, the limit exists, and they are equal
Piecewise breakpoint condition
Evaluate both pieces at the breakpoint, set them equal and solve for the unknown constant
Intermediate Value Theorem
Only for $f$ continuous on $[a, b]$; with $N = 0$ it proves that a root exists