ACCUPLACER ADVANCED ALGEBRA & FUNCTIONS • FUNCTIONS

Piecewise Functions — Build and interpret piecewise functions (intro)

Master functions defined by multiple rules, each governing a specific interval of the domain.

Historical Context & Motivation

Mathematics has long grappled with the challenge of modeling phenomena that behave differently across distinct regions. A single algebraic expression—say, a polynomial or an exponential—works beautifully when the underlying relationship follows one consistent pattern, but many real-world scenarios refuse such uniformity. Tax brackets charge different rates at different income levels; shipping companies price packages differently by weight ranges; and physical systems often switch behavior at critical thresholds. The concept of a piecewise function emerged precisely to handle these situations, stitching together multiple rules under a single functional umbrella.

1748
Euler's Introductio
Leonhard Euler defined a function as an analytic expression, but acknowledged that some relationships required different expressions on different intervals, planting the seeds for piecewise thinking.
1822
Fourier's Heat Equation
Joseph Fourier represented discontinuous temperature distributions using sums of trigonometric functions, demonstrating that piecewise-defined data could be analyzed with powerful mathematical tools.
1837
Dirichlet's Modern Definition
Peter Gustav Lejeune Dirichlet formalized the modern concept of a function as an arbitrary correspondence, explicitly permitting different rules on different parts of the domain—legitimizing piecewise definitions.
20th C.
Applications Across Disciplines
Piecewise functions became standard in engineering (signal processing), economics (tax models), and computer science (conditional logic), reinforcing their importance in applied mathematics.

The central question that piecewise functions answer is straightforward yet essential: How do we define a single function when the rule that governs its output changes depending on the input? On the ACCUPLACER Advanced Algebra & Functions exam, you will encounter questions that ask you to evaluate piecewise functions at specific values, identify their graphs, and build them from verbal descriptions. Mastering this topic positions you to handle more advanced ideas—continuity, limits, and transformations—with confidence.

Core Principles & Definitions

A piecewise function is a function defined by two or more sub-functions (called pieces or branches), each of which applies to a specific interval of the domain. The key structural requirement is that every input value belongs to exactly one interval, so the function assigns exactly one output to every valid input—preserving the fundamental definition of a function.

1

Domain Partitioning

The domain is divided into non-overlapping intervals. Each interval is paired with a specific rule. Together, the intervals must cover the entire domain of the function.
2

Branch Rules

Each piece can be any type of function—linear, quadratic, constant, absolute value, or otherwise. The pieces need not be of the same type; a piecewise function can mix a line with a parabola.
3

Boundary Points

At the transition between pieces, one inequality must be strict (<, >) and the other non-strict (≤, ≥) so that each boundary input is claimed by exactly one branch—avoiding ambiguity.
4

Notation Convention

Piecewise functions are written with a large brace grouping the pieces, each accompanied by the condition on x that activates it. The brace is read as 'defined by the following cases.'
5

Continuity (Optional)

Pieces may or may not connect smoothly at boundary points. When they do, the function is continuous there; when they don't, a jump discontinuity appears. The ACCUPLACER tests both scenarios.
KEY TAKEAWAY
Think of a piecewise function like a highway with different speed limits on different stretches. The road is a single, continuous route (one function), but the rule governing your speed (the formula you apply) changes at specific mile markers (the boundary points). To find the correct speed limit, you first check which stretch you're on—that's the same logic you use to evaluate a piecewise function: identify the interval, then apply the corresponding rule.

Visualizing Piecewise Functions

The graph of a piecewise function reveals its multi-rule nature at a glance. Each branch occupies its designated horizontal interval, and open circles indicate excluded endpoints while filled circles indicate included endpoints. The following diagram illustrates a two-piece function with a linear branch and a quadratic branch meeting at a boundary.

The violet branch shows f(x) = x for x ≤ 2, ending with a filled circle at (2, 2). The cyan branch shows f(x) = (x − 3)² + 1 for x > 2, starting with an open circle at (2, 2). Note the jump discontinuity: the quadratic branch begins at y = 2, but the open circle means x = 2 is not included in this piece.

When reading a piecewise graph, always check the boundary points carefully. An open circle at a boundary means the function does not include that point on that branch; the value comes from the other branch (marked with a filled circle). If both sides show open circles at the same x-value, the function is undefined there. On the ACCUPLACER, misreading endpoint markers is one of the most common errors—always distinguish ● from ○.

Mathematical Framework

The formal notation for a piecewise function groups each sub-function alongside the condition on x that activates it. Understanding this notation is essential for both reading and writing piecewise definitions on the ACCUPLACER.

GENERAL PIECEWISE NOTATION
f(x) = { f₁(x), if a ≤ x < b { f₂(x), if b ≤ x < c { f₃(x), if c ≤ x ≤ d
Each fₖ(x) is a sub-function (branch). The conditions partition the domain [a, d] into non-overlapping intervals. Boundary assignment (≤ vs. <) ensures no x-value belongs to two branches.

Evaluation Algorithm

To evaluate f(c) for a specific input c, follow a two-step process. First, determine which interval contains c by checking the conditions from top to bottom; second, substitute c into the corresponding sub-function. This is the single most important procedural skill tested on the ACCUPLACER for piecewise functions.

EXAMPLE DEFINITION
g(x) = { 2x + 1, if x < 3 { 10 − x, if x ≥ 3
For x < 3, use the linear rule 2x + 1. For x ≥ 3, use the linear rule 10 − x. At x = 3 the second rule applies: g(3) = 10 − 3 = 7.
CONTINUITY CHECK AT A BOUNDARY
If lim(x→b⁻) f₁(x) = lim(x→b⁺) f₂(x) = f(b), then f is continuous at x = b.
A piecewise function is continuous at the boundary x = b if the left-hand limit, the right-hand limit, and the actual function value all agree. When they differ, a jump discontinuity occurs.
ACCUPLACER TIP
When a problem asks for f(b) where b is a boundary value, pay close attention to whether the condition uses < or ≤. If the condition says x < b for the first piece and x ≥ b for the second, then f(b) is determined by the second piece only. Students frequently lose points by evaluating the wrong branch at boundary values.

Types of Piecewise Functions & Graphical Signatures

Piecewise functions appear in many forms on the ACCUPLACER. Recognizing the common types and their graphical signatures will help you navigate problems more efficiently. The table below catalogs the most frequently tested varieties, and the diagram that follows shows how the absolute value function—one of the most important special cases—can be rewritten in piecewise form.

Common piecewise function types tested on the ACCUPLACER
TypeDefinition StyleGraph Signature
Piecewise LinearEach branch is a linear function (mx + b) on its intervalConnected or disconnected line segments with possible slope changes at boundaries
Step FunctionEach branch is a constant value; outputs 'jump' at boundariesHorizontal segments at different heights, with open/closed circles at transitions
Absolute Valuef(x) = |x| rewritten as x for x ≥ 0 and −x for x < 0V-shape with a vertex (corner point); always continuous
Mixed TypeBranches of different families (e.g., linear + quadratic + constant)Visually distinct curves on adjacent intervals; may or may not connect at boundaries
The absolute value function f(x) = |x − 2| + 1 splits into two linear branches at the vertex (2, 1). The left branch has slope −1, and the right branch has slope +1. Both branches meet at the vertex, so the function is continuous everywhere.

Notice that the absolute value function is inherently piecewise: the expression inside the bars is either non-negative (so the bars do nothing) or negative (so the bars negate it). Converting an absolute value expression to its piecewise equivalent is a skill frequently tested on the ACCUPLACER. The process involves setting the argument of the absolute value equal to zero to find the boundary, then writing the non-negated and negated expressions on their respective intervals.

Worked Example

Let's work through a complete ACCUPLACER-style problem that combines evaluation, graphing interpretation, and piecewise construction.

GIVEN FUNCTION
h(x) = { x² − 1, if x < −1 { 3, if −1 ≤ x ≤ 2 { 2x − 1, if x > 2
Find h(−3), h(−1), h(0), h(2), and h(5). Then determine whether h is continuous at x = −1 and at x = 2.
Evaluating h(x) at Five Input Values
1
Step 1 — Evaluate h(−3)Since −3 < −1, we use the first branch: h(−3) = (−3)² − 1 = 9 − 1.
h(−3) = 8
2
Step 2 — Evaluate h(−1)Since −1 satisfies −1 ≤ x ≤ 2, we use the second branch (the constant piece): h(−1) = 3. Note that x = −1 is included in this interval because the condition uses ≤.
h(−1) = 3
3
Step 3 — Evaluate h(0) and h(2)Both 0 and 2 fall in the interval −1 ≤ x ≤ 2, so both use the constant branch. Thus h(0) = 3 and h(2) = 3.
h(0) = 3, h(2) = 3
4
Step 4 — Evaluate h(5)Since 5 > 2, we use the third branch: h(5) = 2(5) − 1 = 10 − 1.
h(5) = 9
5
Step 5 — Check Continuity at x = −1Left-hand limit (from piece 1): lim x→−1⁻ (x² − 1) = (−1)² − 1 = 0. Function value (from piece 2): h(−1) = 3. Since 0 ≠ 3, the left-hand limit does not match the function value.
h is NOT continuous at x = −1 (jump from 0 to 3)
6
Step 6 — Check Continuity at x = 2Function value (from piece 2): h(2) = 3. Right-hand limit (from piece 3): lim x→2⁺ (2x − 1) = 2(2) − 1 = 3. Since the function value and the right-hand limit both equal 3, and the left-hand limit from piece 2 is also 3 (constant function), all three agree.
h IS continuous at x = 2

Common Errors & How to Avoid Them

Understanding the most frequent mistakes students make with piecewise functions can save you valuable time and points on the ACCUPLACER. The following table organizes these pitfalls alongside the correct approach.

Top five piecewise function errors on the ACCUPLACER
Common ErrorWhy It HappensCorrect Approach
Using the wrong branch at a boundaryConfusing < with ≤ or ignoring which branch 'owns' the boundary pointCircle the inequality symbols in the problem; substitute the boundary into the branch whose condition includes ≤ or ≥
Evaluating all branches instead of oneTreating the function as though every rule applies simultaneouslyAlways identify the interval first, then use only the corresponding formula
Mixing up open and closed circles on graphsNot connecting notation (< vs. ≤) to graphical convention (○ vs. ●)Strict inequality (< or >) → open circle; non-strict (≤ or ≥) → filled circle
Assuming continuityExpecting pieces to connect smoothly without checkingCompute the left-hand and right-hand limits at each boundary and compare them to the function value
Domain gaps or overlaps when building a piecewise definitionDefining intervals that don't cover all inputs, or assigning an x-value to two branchesList intervals side by side and verify they tile the full domain with no gaps and no overlaps
🎯 TEST-DAY STRATEGY
Treat boundary evaluation like a database query: the input x is your search key, and the interval conditions are your WHERE clauses. Only one clause matches, and it tells you which formula to run. If two clauses could match, the problem is flawed—or you've misread the inequalities. This systematic approach converts a conceptually tricky question into a mechanical lookup.

Connection to Advanced Topics

Piecewise functions are not merely a test topic—they form the conceptual backbone for several advanced mathematical ideas you may encounter in college-level courses and higher-level placement tests. Understanding how this introductory material connects to more sophisticated theory helps you see the broader mathematical landscape.

How introductory piecewise concepts extend into advanced coursework
Introductory ConceptAdvanced ExtensionWhere You'll See It
Evaluating branches at boundariesFormal limits and one-sided limitsCalculus I — limit definition and continuity proofs
Continuity checks at boundary pointsDifferentiability and smoothness conditionsCalculus I — differentiability implies continuity
Absolute value as piecewisePiecewise integration and Laplace transformsCalculus II and Differential Equations
Step functions (constant pieces)Heaviside step function and signal processingEngineering mathematics and systems theory
Building piecewise definitions from descriptionsSpline interpolation for data fittingNumerical analysis, computer graphics, and CAD

For the ACCUPLACER specifically, the test will not ask you to perform integration or analyze differentiability, but having awareness of these connections can reinforce why precision matters when reading and writing inequality conditions. The habits you build now—checking boundaries carefully, verifying continuity, and partitioning the domain without gaps—are exactly the habits required for success in calculus and beyond.

Practice Problems

PROBLEM 1CONCEPTUAL
A student claims that a piecewise function can assign two different outputs to the same input. Is this claim correct? Explain why or why not, referencing the definition of a function.
PROBLEM 2BASIC CALCULATION
Given f(x) = { 4x + 2, if x ≤ 1 ; x² + 3, if x > 1 }, evaluate f(−2), f(1), and f(4).
PROBLEM 3INTERMEDIATE
Consider g(x) = { 2x + k, if x < 3 ; x² − 2, if x ≥ 3 }. Find the value of k that makes g continuous at x = 3.
PROBLEM 4APPLIED
A parking garage charges $5 for the first hour or any fraction thereof, $3 for each additional hour up to 5 total hours, and a flat rate of $20 for anything over 5 hours. Write a piecewise function C(t) that gives the cost in dollars as a function of time t in hours, for t > 0. Then find C(0.5), C(3), and C(7).
PROBLEM 5CRITICAL THINKING
A piecewise function is defined as f(x) = { ax + b, if x ≤ 2 ; cx², if x > 2 }. You are told that f is continuous at x = 2, f(0) = 4, and f(3) = 18. Determine a, b, and c, and verify that f(2) is uniquely defined.

Lesson Summary

A piecewise function is defined by multiple sub-functions, each governing a specific interval of the domain. The intervals must be non-overlapping so that every input maps to exactly one output, and boundary points are assigned to a single branch using strict (<, >) vs. non-strict (≤, ≥) inequalities. On a graph, filled circles denote included endpoints and open circles denote excluded endpoints.

To evaluate a piecewise function, first identify which interval contains your input, then substitute into the corresponding branch formula. A piecewise function is continuous at a boundary if the left-hand limit, right-hand limit, and function value all agree; otherwise, a jump discontinuity occurs. Common special cases include absolute value functions (V-shaped graphs) and step functions (horizontal segments at varying heights). Master the two-step evaluation process—interval identification followed by formula substitution—and you will handle ACCUPLACER piecewise questions with confidence.

Varsity Tutors • ACCUPLACER Advanced Algebra & Functions • Piecewise Functions — Build and interpret piecewise functions (intro)