BUSINESS CALCULUS • LIMITS & CONTINUITY

Continuity & Piecewise Functions — Continuity and Piecewise Functions in Context

How piecewise-defined models capture real-world pricing, taxation, and cost structures through the lens of continuity.

Historical Context & Motivation

The notion of continuity has deep roots in the effort to make calculus rigorous. For more than a century after Newton and Leibniz introduced the calculus, mathematicians relied on an intuitive sense that a function should be 'unbroken'—a curve you could draw without lifting your pen. This intuition sufficed for many physical applications, but the rise of commerce, taxation, and industrial engineering in the nineteenth century introduced functions that were deliberately broken into segments: shipping rates that jump at weight thresholds, income tax brackets, and volume-discount schedules. These piecewise functions demanded a precise definition of where a function is continuous and, equally important, where it is not.

1817
Bolzano's Formal Definition
Bernard Bolzano proposed one of the earliest rigorous definitions of continuity, requiring that the difference f(x + δ) − f(x) could be made arbitrarily small—laying the groundwork for the ε-δ formalism.
1821
Cauchy's Cours d'analyse
Augustin-Louis Cauchy published his landmark textbook, defining a function as continuous if infinitely small increments in the input produced infinitely small changes in the output, formalizing limits as the backbone of continuity.
1861
Weierstrass Epsilon-Delta
Karl Weierstrass refined the ε-δ definition still used today, eliminating reliance on vague 'infinitesimals' and making continuity a checkable, algebraic condition.
1913
U.S. Federal Income Tax
The ratification of the 16th Amendment created a progressive tax system whose rate schedule is inherently piecewise—providing one of the most familiar real-world examples of piecewise-defined functions studied in business calculus.

The central question this lesson addresses is: given a function that is defined by different rules on different intervals, how do we determine whether the function is continuous at the boundaries where the rules switch? In a business context, this question translates directly into whether a cost, revenue, or tax function has a sudden jump—a discontinuity—that can create unexpected financial consequences for decision-makers.

Core Principles & Definitions

Before analyzing piecewise functions, we need a precise vocabulary for continuity. A function f is said to be continuous at a point c if three conditions are satisfied simultaneously: the function value f(c) must exist, the limit of f(x) as x approaches c must exist, and that limit must equal f(c). A failure of any one of these conditions produces a discontinuity. Piecewise functions are particularly susceptible to discontinuities at the boundary points between their component rules, making these points the focus of every continuity analysis.

1

Three-Part Continuity Test

At a point c: (1) f(c) is defined, (2) lim(x→c) f(x) exists, and (3) lim(x→c) f(x) = f(c). All three must hold simultaneously.
2

Piecewise Function

A function defined by two or more formulas, each valid on a distinct interval. The boundaries between intervals are called breakpoints or transition points.
3

One-Sided Limits

At a breakpoint c, the left-hand limit lim(x→c⁻) and right-hand limit lim(x→c⁺) are computed from different formulas. The two-sided limit exists only if these are equal.
4

Types of Discontinuity

A removable discontinuity occurs when the limit exists but differs from f(c). A jump discontinuity occurs when the one-sided limits exist but are unequal. An infinite discontinuity involves at least one unbounded one-sided limit.
KEY TAKEAWAY
Think of a piecewise function as a relay race. Each runner (formula) covers a different segment of the track (interval). Continuity at the handoff point means the baton passes seamlessly—the outgoing runner's position matches the incoming runner's starting position exactly. A mismatch in position is a jump discontinuity; a runner who never shows up is a hole. In business, a 'dropped baton' means a sudden cost spike or gap in revenue that decision-makers must plan for.

Visual Explanation — Continuity at a Breakpoint

The following diagram illustrates a piecewise function with two pieces meeting at a breakpoint x = 3. The left piece is a linear function and the right piece is a different linear function. Depending on whether the pieces meet at the same y-value, the function is either continuous or has a jump discontinuity. The diagram shows both scenarios side by side so you can visually compare the behavior.

Left panel: Both pieces meet at (3, 5), so the left-hand and right-hand limits agree and equal f(3). Right panel: The left piece approaches 5 while the right piece starts at 7, producing a jump discontinuity of magnitude 2.

In the left panel, the cyan segment (f(x) = x + 2 for x ≤ 3) and the violet segment (f(x) = ½x + 3.5 for x > 3) both yield y = 5 when evaluated at or approaching x = 3. All three conditions of continuity are satisfied. In the right panel, the right-hand piece has been shifted upward, so the right-hand limit is 7 while the left-hand limit remains 5. The two-sided limit does not exist, producing a jump discontinuity. In a business setting, such a jump might represent a surcharge that activates the moment order quantity exceeds a threshold—an abrupt increase that cannot be smoothed by ordering slightly less or slightly more.

Mathematical Framework

The formal machinery for checking continuity of piecewise functions involves computing one-sided limits at each breakpoint and comparing them to the function value assigned there. Below are the key equations that drive every continuity analysis in this lesson.

CONTINUITY AT A POINT
f is continuous at c ⟺ lim(x→c) f(x) = f(c)
This compact statement encodes three requirements: f(c) must be defined, the limit must exist, and they must be equal.
TWO-SIDED LIMIT FROM ONE-SIDED LIMITS
lim(x→c) f(x) exists ⟺ lim(x→c⁻) f(x) = lim(x→c⁺) f(x)
The left-hand limit (x → c⁻) is computed using the formula valid to the left of c, and the right-hand limit (x → c⁺) uses the formula valid to the right.
GENERAL PIECEWISE FUNCTION
f(x) = { g(x), x < c ; h(x), x ≥ c }
At the breakpoint c, continuity requires lim(x→c⁻) g(x) = h(c). When the breakpoint is assigned to the left piece instead (x ≤ c with g, x > c with h), continuity requires g(c) = lim(x→c⁺) h(x).
PARAMETER MATCHING FOR CONTINUITY
lim(x→c⁻) g(x) = lim(x→c⁺) h(x) → solve for unknown parameter
When a piecewise function contains an unknown constant (often labeled k or a), setting the one-sided limits equal at the breakpoint yields an equation whose solution makes the function continuous.
Watch for Domain Restrictions
In business models, the domain of a piecewise function is often restricted to nonnegative values (quantities, prices, time). Always verify that the breakpoint lies within the stated domain before performing continuity analysis. A breakpoint outside the domain is irrelevant.

Classifying Discontinuities in Business Models

Different types of discontinuities arise in different business scenarios. Understanding the classification helps practitioners predict the impact of a discontinuity and decide whether it can be 'repaired' (made continuous by redefining a single point) or whether it reflects a genuine structural feature of the pricing or cost model.

Three types of discontinuity. Removable: the limit exists but the function value does not match (a hole). Jump: the one-sided limits are unequal. Infinite: the function blows up near the breakpoint (e.g., average cost as quantity approaches zero).
Classification of discontinuities with business interpretations.
Discontinuity TypeBusiness ExampleCan Be Removed?
RemovableA promotional price that accidentally excludes the exact threshold quantity (e.g., discount defined for orders > 100 but not = 100).Yes — redefine f(c) to equal the limit.
JumpTax brackets: the marginal rate changes abruptly at an income threshold, though total tax remains continuous by design.No — the one-sided limits differ structurally.
InfiniteAverage cost C(x)/x as production quantity x → 0⁺ (dividing fixed costs by near-zero output).No — the function is unbounded near the breakpoint.

Worked Example — Volume Discount Pricing

A wholesale distributor offers the following pricing schedule for bulk orders of office supplies. The total cost function C(x), in dollars, depends on the number of units x ordered:

PIECEWISE COST FUNCTION
C(x) = { 12x, 0 < x ≤ 100 ; kx + 200, x > 100 }
The parameter k is the per-unit price for large orders. The constant 200 is a logistics surcharge. We want to find k so that C(x) is continuous at x = 100.
Finding k for Continuity at x = 100
1
Step 1 — Evaluate f(c) from the piece that includes x = 100The first piece covers 0 < x ≤ 100, so f(100) = 12(100) = 1200. This is the function value at the breakpoint.
C(100) = 1200
2
Step 2 — Compute the left-hand limitAs x → 100⁻, we use the first piece: lim(x→100⁻) 12x = 12(100) = 1200. This agrees with f(100), which is expected since f is a polynomial on this interval.
lim(x→100⁻) C(x) = 1200
3
Step 3 — Compute the right-hand limitAs x → 100⁺, we use the second piece: lim(x→100⁺) (kx + 200) = k(100) + 200 = 100k + 200.
lim(x→100⁺) C(x) = 100k + 200
4
Step 4 — Set left-hand limit equal to right-hand limit and solveFor continuity, we need 1200 = 100k + 200. Subtracting 200 from both sides gives 1000 = 100k. Dividing by 100 yields k = 10.
k = 10
5
Step 5 — Verify and interpretWith k = 10, the cost function becomes C(x) = 10x + 200 for x > 100. At x = 100: C(100) = 1200 and lim(x→100⁺) C(x) = 10(100) + 200 = 1200. All three continuity conditions hold. Economically, the per-unit price drops from $12 to $10 for large orders, but the $200 logistics surcharge ensures no abrupt savings at the threshold—customers pay exactly the same amount whether they order 100 units under the old rate or 100+ units under the new rate.
C is continuous at x = 100 when k = 10

Continuous vs. Discontinuous Business Models

Whether a business model should be continuous or deliberately discontinuous is itself a strategic decision. A continuous cost function eliminates surprises for both the firm and its customers, but a jump discontinuity can serve as an intentional incentive or penalty mechanism. The table below contrasts the practical implications of each choice.

Practical implications of continuity in business cost and pricing models.
CharacteristicContinuous ModelDiscontinuous Model
PredictabilitySmall input changes produce small cost changes — easy to forecast.Crossing a threshold can trigger a large, sudden cost change.
OptimizationStandard calculus tools (derivatives, critical points) apply directly.Optimization requires checking each continuous segment separately plus the breakpoints.
Customer behaviorNo incentive to 'game' the threshold — ordering 99 vs. 101 units gives nearly the same cost.Customers may cluster orders just above or below a threshold, creating inventory distortions.
Real-world examplesProgressive income tax (total tax is continuous), smoothed volume discounts.Flat-rate shipping tiers, overtime wage rules, minimum order penalties.
KEY TAKEAWAY
Continuity in a business function is analogous to a well-designed highway interchange. When lanes merge smoothly, traffic (revenue, cost, or demand) flows without bottlenecks. A discontinuity is like a sudden lane closure—drivers (customers) pile up at the boundary, creating inefficiency. The Intermediate Value Theorem guarantees that a continuous function hits every value between any two of its outputs, which in business terms means that there are no 'impossible' order quantities or unreachable profit levels between two known points.

Connection to Differentiability & the Intermediate Value Theorem

Continuity is a necessary condition for many of the deeper results you will encounter in business calculus. Most importantly, differentiability implies continuity, but continuity does not imply differentiability. A piecewise function can be continuous at a breakpoint and still have a sharp corner there, meaning the derivative does not exist at that point. In the volume-discount example, even after choosing k = 10 to ensure continuity, the slopes of the two pieces are different (12 on the left, 10 on the right), so the cost function has a 'kink' at x = 100. This matters when computing marginal cost, which is the derivative of the total cost function.

Continuity vs. differentiability at breakpoints of piecewise functions.
PropertyContinuityDifferentiability
Condition at breakpointLeft-hand limit = right-hand limit = f(c).Continuity holds AND left-hand derivative = right-hand derivative.
Geometric meaningNo gap or hole in the graph.No gap, no corner, no vertical tangent — the graph is smooth.
Business implicationTotal cost changes smoothly — no sudden jumps.Marginal cost is well-defined everywhere — optimization via first-derivative test works without special handling.
Number of equations to solveOne equation per breakpoint (match function values).Two equations per breakpoint (match values AND match derivatives).

The Intermediate Value Theorem (IVT) is another direct consequence of continuity. If a revenue function R(x) is continuous on [a, b] and R(a) = 5000 while R(b) = 12000, then R must take every value between 5000 and 12000 at least once in that interval. This guarantees, for instance, that a break-even point exists somewhere in the interval if costs pass through that range. When a piecewise function is discontinuous at a breakpoint within [a, b], the IVT cannot be applied across that breakpoint, and break-even points may fail to exist in the expected range.

Practice Problems

PROBLEM 1CONCEPTUAL
State the three conditions that must hold for a function f to be continuous at a point x = c. Then explain, in your own words, why each condition is necessary — that is, give a brief description of what goes wrong geometrically if that particular condition fails.
PROBLEM 2BASIC CALCULATION
Determine whether the following piecewise function is continuous at x = 4: f(x) = { 3x − 2, x ≤ 4 ; x² − 6, x > 4 }
PROBLEM 3INTERMEDIATE
A company's total shipping cost (in dollars) for x pounds of merchandise is given by: S(x) = { 5x + 10, 0 < x ≤ 50 ; ax + b, x > 50 } Find values of a and b so that S(x) is both continuous and differentiable at x = 50.
PROBLEM 4APPLIED
A ride-sharing company uses the following fare function F(d) in dollars, where d is distance in miles: F(d) = { 2.50 + 1.80d, 0 < d ≤ 10 ; 1.20d + k, d > 10 } (a) Find k so that the fare is continuous at d = 10. (b) A customer complains that the fare for a 10.01-mile trip is less than for a 9.99-mile trip. Is this possible with your value of k? (c) What is the marginal fare (derivative) just before and just after d = 10?
PROBLEM 5CRITICAL THINKING
A three-bracket tax system defines the total tax T(x) on income x (in thousands of dollars) as: T(x) = { 0.10x, 0 ≤ x ≤ 50 ; 0.20(x − 50) + c₁, 50 < x ≤ 150 ; 0.30(x − 150) + c₂, x > 150 } (a) Determine the constants c₁ and c₂ that make T continuous. (b) Prove that T is continuous on its entire domain. (c) Explain why real progressive tax systems are designed to be continuous even though the marginal rate jumps at each bracket boundary.

Lesson Summary

A function is continuous at a point c when three conditions hold simultaneously: f(c) is defined, the two-sided limit exists, and that limit equals f(c). For piecewise functions, the critical task is evaluating the left-hand and right-hand limits at each breakpoint by substituting into the respective piece's formula and checking whether they agree. Discontinuities are classified as removable (hole), jump (mismatched one-sided limits), or infinite (unbounded behavior).

In business calculus, piecewise functions model tiered pricing, tax brackets, and volume discounts. When an unknown parameter appears, setting the one-sided limits equal at the breakpoint yields an equation that determines the parameter value ensuring continuity. Beyond continuity, differentiability at a breakpoint additionally requires matching derivatives from each side, and the Intermediate Value Theorem guarantees that a continuous function on a closed interval achieves every value between its endpoints — a result with direct consequences for finding break-even points and feasibility thresholds.

Varsity Tutors • Business Calculus • Continuity & Piecewise Functions — Continuity and Piecewise Functions in Context