01 / 21

Continuity &
Piecewise Functions

Learn to determine where a function is continuous, classify discontinuities, and evaluate piecewise-defined functions in real business scenarios.

Business Calculus

What Does Continuous Mean?

Informally, a function is continuous at a point if you can draw its graph through that point without lifting your pen. If there is a hole, jump, or vertical asymptote, the function is not continuous there.

The Three Conditions for Continuity

A function \(f(x)\) is continuous at \(x = c\) if and only if:

1
\(f(c)\) is defined: the function has an output at \(c\).
2
\(\displaystyle\lim_{x\to c}f(x)\) exists: the left-hand and right-hand limits agree.
3
\(\displaystyle\lim_{x\to c}f(x)=f(c)\): the limit equals the function value.

Types of Discontinuity

Removable (Hole)
The limit exists but \(f(c)\) is undefined or doesn't match. A "hole" you could fill in.
Jump
Left and right limits both exist but are not equal. The graph "jumps" at \(c\).
Infinite
The function approaches \(\pm\infty\) near \(c\). A vertical asymptote creates this.
Removable Jump Infinite

What is a Piecewise Function?

A piecewise function uses different formulas for different intervals of its domain:

Each "piece" applies only on its stated interval. The key question is always: what happens at the boundary point where the rule switches?

Piecewise Functions in Business

Tax Brackets
Income is taxed at different rates by bracket: a classic piecewise function.
Shipping Tiers
Flat rate up to 5 lbs, then per-pound surcharge beyond: the cost function changes rules.
Volume Pricing
Buy 1 to 100 at \$10 each, 101+ at \$8: the unit price drops at a threshold.

Continuity Test at a Boundary

At every boundary point \(x=c\) of a piecewise function, apply:

1
Evaluate \(f(c)\) using whichever piece includes \(c\) in its domain.
2
Left-hand limit: \(\displaystyle\lim_{x\to c^-}f(x)\) from the piece for \(x < c\).
3
Right-hand limit: \(\displaystyle\lim_{x\to c^+}f(x)\) from the piece for \(x > c\).
4
Compare: If all three equal the same number, \(f\) is continuous. Otherwise, discontinuous.

Removable vs. Jump Discontinuity

Removable Jump
Two-sided limitExistsDoes not exist
One-sided limitsEqual to each otherBoth exist but unequal
\(f(c)\)Undefined or \(\neq\) limitEquals one side's limit
Fixable?Yes: redefine \(f(c)\)No: inherent gap
Business exampleRounding error in pricingTax bracket threshold

Your Step-by-Step Checklist

1
Identify every boundary point where the formula changes.
2
Evaluate \(f(c)\) directly from the piece whose interval includes \(c\).
3
Compute both one-sided limits by substituting \(c\) into each neighbouring piece.
4
Compare all three values. Match = continuous. Mismatch = discontinuous.
5
Classify the discontinuity type if one exists (removable, jump, or infinite).

Example 1: A Continuous Join

1
\(f(2)=3(2)-2=\) 4
2
Left: \(\displaystyle\lim_{x\to 2^-}x^2=\) 4
3
Right: \(\displaystyle\lim_{x\to 2^+}(3x-2)=\) 4

Example 1: Graph

0 1 2 3 4 0 2 4 6 8 \(x^2\) \(3x - 2\) Continuous

Example 2: A Jump Discontinuity

1
\(g(3)=3-2=\) 1
2
Left: \(\displaystyle\lim_{x\to 3^-}(2x+1)=\) 7
3
Right: \(\displaystyle\lim_{x\to 3^+}(x-2)=\) 1

Example 2: Graph

0 1 2 3 4 5 6 0 2 4 6 8 Jump! \(2x + 1\) \(x - 2\)

Example 3: Shipping Cost

1
\(C(10)=5\)  (first piece includes \(w=10\)).
2
Left: \(\displaystyle\lim_{w\to 10^-}5=\) 5
3
Right: \(\displaystyle\lim_{w\to 10^+}[5+0.75(w-10)]=5+0=\) 5

Common Mistakes

✕ Wrong Piece for \(f(c)\)
Using the left piece to compute \(f(c)\) when the boundary belongs to the right piece. Always check the \(\leq\) vs. \(<\) symbol.
✕ Limits Match = Done
Assuming equal one-sided limits guarantee continuity. You must also verify \(f(c)\) equals that common limit.
✕ Skipping the Domain
Forgetting that \(f(c)\) may not be defined at all, making condition 1 fail immediately.

Summary of Continuity Outcomes

Scenario Left = Right? Limit = \(f(c)\)? Result
All matchYesYesContinuous
Limits match, \(f(c)\) differsYesNoRemovable
Limits don't matchNoN/AJump
Limit is \(\pm\infty\)NoN/AInfinite

Question 1 of 5

Which of the following is not required for continuity at \(x=c\)?

Question 2 of 5

Given \(f(x)=\begin{cases}2x+3 & x < 1\\4x+1 & x\geq 1\end{cases}\), is \(f\) continuous at \(x=1\)?

Question 3 of 5

For \(h(x)=\begin{cases}x^2-1 & x < 2\\5 & x=2\\2x-1 & x > 2\end{cases}\), what type of discontinuity exists at \(x=2\)?

Question 4 of 5

A company's cost function is \(C(q)=\begin{cases}10q & 0\leq q\leq 100\\8q+200 & q > 100\end{cases}\). Is \(C\) continuous at \(q=100\)?

Question 5 of 5

For \(p(x)=\begin{cases}3x+2 & x < 4\\5x-7 & x\geq 4\end{cases}\), what happens at \(x=4\)?