SECTION 1
Historical Context & Motivation
Mathematics has always been driven by the need to describe the real world, and real-world phenomena rarely follow a single, neat formula from start to finish. Tax brackets change at certain income thresholds, shipping costs jump at weight limits, and the speed of a car changes between acceleration and braking. The concept of a piecewise function — a function built from multiple sub-functions, each applying to a specific interval of the domain — arose precisely because mathematicians needed flexible tools to model situations where the rules change.
1700s • Euler and Function Debate
1822 • Fourier's Heat Equation
1837 • Dirichlet's Modern Definition
Today • ACT & Standardized Testing
The central question piecewise functions answer is straightforward: How do we write a single function when the rule changes depending on where you are in the domain? Understanding this concept not only prepares you for ACT problems but also builds a foundation for calculus, where piecewise functions play a critical role in understanding limits and continuity.
SECTION 2
Core Principles & Definitions
A piecewise function is a function defined by two or more expressions, each of which applies to a different part (or "piece") of the domain. You can think of it as a set of instructions: "If x is in this range, use this formula; if x is in that range, use that formula." Each sub-function has its own interval, and the intervals together must cover the entire domain without overlapping.
Domain Intervals
Sub-Functions (Pieces)
Boundary Points
Evaluating
Continuity at Boundaries
KEY TAKEAWAY
SECTION 3
Visual Explanation
The graph below shows a classic piecewise function with three pieces. Notice how the graph changes its behavior at the boundary points x = −1 and x = 2. Each colored segment represents a different sub-function, and the open and filled circles tell you whether each endpoint is included or excluded.
When reading a piecewise graph, always check the boundary points. A filled circle means the point is included in that piece (corresponding to ≤ or ≥ in the inequality). An open circle means the point is excluded (corresponding to < or >). Notice in the diagram above that there is a jump discontinuity at x = −1: the blue piece approaches y = 0 but the violet piece starts at y = 1. Meanwhile, at x = 2 the pieces meet smoothly — no jump.
SECTION 4
Mathematical Framework
Piecewise functions use a special notation that looks like a large curly brace with multiple rows. Each row contains a formula on the left and the condition (interval) on the right. Here is the general form and two important special cases you will encounter on the ACT.
GENERAL PIECEWISE NOTATION
Each expressionₖ is a formula (like 2x + 3 or x²), and each conditionₖ is an inequality defining the interval (like x < 0 or x ≥ 5). The conditions must not overlap, and together they should cover the full domain.
ABSOLUTE VALUE AS PIECEWISE
The absolute value function is the most common piecewise function. For non-negative inputs, it returns the input unchanged; for negative inputs, it returns the opposite (making it positive).
STEP FUNCTION EXAMPLE
A step function jumps between constant values. These model scenarios like postage rates, parking fees, and grade thresholds.
ACT TIP
SECTION 5
Types of Piecewise Functions
Not all piecewise functions look the same. Some are continuous (the graph has no breaks), while others have jumps or gaps. The ACT can test any of these types. The diagram below compares a continuous piecewise function on the left with a discontinuous piecewise function on the right, so you can see the difference clearly.
| Feature | Continuous Piecewise | Discontinuous Piecewise |
|---|---|---|
| Graph appearance | No breaks — you can draw it without lifting your pencil | Has jumps, holes, or gaps at one or more boundary points |
| At the boundary | Left piece value = Right piece value | Left piece value ≠ Right piece value |
| Example | Absolute value |x|, V-shaped functions | Step functions, tax bracket calculations |
Comparing continuous and discontinuous piecewise functions
SECTION 6
Worked Example
Let's work through a complete ACT-style problem involving a piecewise function. This example covers the most common question type: evaluating the function at given values and interpreting the result.
GIVEN FUNCTION
Find f(−2), f(1), and f(4).
Evaluating a Piecewise Function
- 1
Step 1 — Evaluate f(−2)
Since −2 < 1, we use the first piece: f(x) = 3x + 2. Substituting x = −2 gives f(−2) = 3(−2) + 2 = −6 + 2.f(−2) = −4 - 2
Step 2 — Evaluate f(1)
Since 1 ≥ 1, we use the second piece: f(x) = x² − 1. Substituting x = 1 gives f(1) = (1)² − 1 = 1 − 1. Note: the boundary x = 1 belongs to the second piece because the condition says x ≥ 1 ("greater than or equal to").f(1) = 0 - 3
Step 3 — Evaluate f(4)
Since 4 ≥ 1, we again use the second piece: f(x) = x² − 1. Substituting x = 4 gives f(4) = (4)² − 1 = 16 − 1.f(4) = 15 - 4
Step 4 — Check for Continuity at x = 1
To see if the function is continuous at the boundary, compare the limit from the left using the first piece with the actual value from the second piece. Approaching x = 1 from the left: 3(1) + 2 = 5. The second piece gives f(1) = 0. Since 5 ≠ 0, there is a jump discontinuity at x = 1.Discontinuous at x = 1 (jump of 5 units)
SECTION 7
Common Mistakes & How to Avoid Them
Piecewise function questions on the ACT are designed to test careful reading. Most errors come not from difficult calculations but from picking the wrong piece or misreading an inequality sign. The table below highlights the most frequent mistakes students make, along with strategies to avoid them.
| Common Mistake | Why It Happens | How to Fix It |
|---|---|---|
| Using the wrong piece | Rushing and not checking whether the boundary value is < or ≤ | Circle the inequality sign before substituting. Ask: does the boundary belong to this piece or the next? |
| Confusing open and filled dots | Forgetting that an open dot means the point is excluded | Open circle = strict inequality (< or >). Filled circle = includes endpoint (≤ or ≥). |
| Sign errors with negatives | Substituting a negative value without proper parentheses | Always wrap negative numbers in parentheses: 3(−2), not 3 × −2. |
| Ignoring domain restrictions | Graphing a piece beyond its valid interval | Mark the start and end of each piece on the x-axis before drawing the curve. |
Common errors and corrections for piecewise function problems
KEY TAKEAWAY
SECTION 8
Connection to Advanced Topics
Mastering piecewise functions on the ACT is not just about test points — it builds essential skills for higher-level math. In calculus, you will study limits and derivatives of piecewise functions, asking not just what the function equals at a boundary but how it behaves as it approaches the boundary from each side. The idea of continuity you explored in this lesson becomes a formal definition in calculus, and differentiability adds another layer.
| Concept | ACT Level (This Lesson) | Calculus Level |
|---|---|---|
| Evaluating f(a) | Determine which piece to use; substitute and simplify | Evaluate left-hand and right-hand limits as x → a |
| Continuity | Check if pieces connect at boundary (no gap) | Formal ε-δ definition; three conditions must hold |
| Graphing | Plot each piece on its interval; use open/filled dots | Analyze slope and concavity of each piece; find derivatives |
| Applications | Tax brackets, shipping costs, grading scales | Signal processing, physics models, spline interpolation in computer graphics |
How piecewise function skills scale from ACT to calculus
If you continue to precalculus or AP Calculus, you will also encounter absolute value functions and the greatest integer (floor) function — both of which are piecewise functions in disguise. Having a solid foundation now means these topics will feel familiar rather than intimidating.
SECTION 9
Practice Problems
Test your understanding with these five problems, arranged from foundational concepts to challenging applications. Try each one before reading the answer.
Question 1: CONCEPTUAL
- A. −1
- B. 0
- C. 1
- D. 5
- E. Undefined
Show answer
Question 2: BASIC CALCULATION
- A. 19
- B. 21
- C. 23
- D. 25
- E. 33
Show answer
Question 3: INTERMEDIATE
- A. −1 only
- B. 5 only
- C. −1 and 5
- D. 1 and 5
- E. −1 and 10
Show answer
Question 4: APPLIED
- A. $14
- B. $16.50
- C. $17
- D. $18.50
- E. $20
Show answer
Question 5: CRITICAL THINKING
- A. 2
- B. 4
- C. 5
- D. 6
- E. 7
Show answer
SUMMARY
Lesson Summary
Summary
A piecewise function is a single function defined by multiple expressions, each applying to a specific domain interval. To evaluate one, first check which condition (inequality) your input satisfies, then substitute into the matching sub-function. Pay close attention to boundary points: a filled circle (≤ or ≥) means the endpoint is included, while an open circle (< or >) means it is excluded.
When graphing, draw each piece only on its assigned interval and use open and filled dots at boundaries. A piecewise function is continuous at a boundary if both pieces produce the same value there; otherwise, it has a jump discontinuity. Common ACT question types include evaluating at specific values, finding constants that ensure continuity, interpreting graphs, and modeling real-world scenarios like pricing or tax brackets. These skills also form the foundation for limits and derivatives in calculus.