Continuity and Piecewise Functions
Check the three continuity conditions and choose parameters that join pieces correctly.
Builds on Limits and One-Sided Behavior
The bigger question: What happens as we get close to a point?
On this page
Joining a value to its neighbors
Continuity at means the value of a function agrees with the trend of nearby values. There are three checks: must be defined, the finite limit at must exist, and that limit must equal . Missing any one of these breaks continuity.
Polynomials are continuous everywhere. Rational functions are continuous wherever their denominator is nonzero. Roots and logarithms are continuous on their real domains. Compositions preserve continuity when the inner output belongs to the outer function's domain. At an endpoint of a domain, use the appropriate one-sided limit.
Classify the obstruction
A removable discontinuity has a finite common limit but the point is missing or has the wrong value. A jump has distinct finite one-sided limits. An infinite discontinuity involves unbounded values near the point. These descriptions identify what, if anything, changing a single value can repair.
Changing can fix a removable hole. It cannot reconcile distinct one-sided limits, and it cannot turn unbounded nearby values into a finite continuous value.
Worked example: join two formulas
Suppose for and for . The left-hand limit is . The right-hand limit and actual value are both . Continuity requires , so .
Notice the order: identify which expression defines the point, calculate the two nearby trends, then equate them. Substituting into the wrong branch can give a plausible answer to a different problem.
Worked example: continuous does not mean smooth
The function is continuous at zero: both sides approach zero and . Its left slope is and its right slope is , however, so it is not differentiable there. Every differentiable function is continuous at that point, but the reverse implication fails.
For the rational expression , the original domain excludes . Nearby it equals , so defining a new value of at gives a continuous extension. The original formula and its extension have different domains.
Using continuity responsibly
Continuity allows substitution in limits and supports existence theorems. It does not imply boundedness on an open interval: is continuous on but unbounded there. A continuous function on a closed bounded interval is bounded and attains its maximum and minimum.
Practice
- Set for and for . Find for continuity.
- Can redefining at zero make it continuous there?
- Give a continuous function with a corner and explain what fails at that corner.
Show worked solutions
- The left limit is , while the value and right limit are . Thus .
- No. There is no finite common limit at zero, regardless of a chosen point value.
- is continuous at zero, but its unequal one-sided derivatives prevent differentiability.
Explore
Try this. Compare a hole and a jump. In the defined-value mode, move f(0) to 0: continuity requires the value to equal the common limit.
Try it yourself.
Choose an answer and explain your reasoning to yourself. Use a hint if you get stuck.
Hint 1 · Find a starting point
Continuity connects the limiting value with the function value.
Hint 2 · Take the next step
Use limₓ→ₐ f(x)=f(a).
Show the reasoning
Answer: 4
The function value must equal 4; simply defining it is not enough.
Before moving on: what would make one of the other answers wrong? Saying why is part of understanding.
Pause before the next idea.
Can you explain how the visualization connects to this lesson’s goal? If a step still feels uncertain, put this lesson on your review list and try the check again another day.