Skip to content
Mathematics · 9th Grade · Linear Relationships and Modeling · Weeks 1-9

Piecewise Functions

Defining and graphing functions that are composed of multiple sub-functions, each defined over a certain interval.

Common Core State StandardsCCSS.Math.Content.HSF.IF.B.4CCSS.Math.Content.HSF.IF.C.7b

About This Topic

Piecewise functions are the first time many 9th graders encounter a function defined by multiple rules, each applying to a different portion of the domain. This concept appears throughout CCSS Algebra standards and connects directly to real pricing systems, tax brackets, and utility billing structures that students encounter outside school. The key conceptual shift is accepting that a single function can have different rules depending on the input value.

Graphing piecewise functions demands careful attention to domain restrictions, open versus closed endpoints, and transitions between pieces. Students who skip reading the domain restrictions and jump straight to graphing consistently produce incorrect results. Understanding which rule governs which x-values is as important as understanding the algebraic rules themselves.

Active learning approaches make piecewise functions more accessible because students can build the graph in sections, reducing the cognitive load of handling the entire function at once. Collaborative graphing where each person is responsible for one piece, then the group assembles the full graph, mirrors the mathematical structure of the function itself.

Key Questions

  1. Explain how to evaluate a piecewise function for a given input.
  2. Construct the graph of a piecewise function from its algebraic definition.
  3. Analyze real-world situations that can be modeled effectively using piecewise functions.

Learning Objectives

  • Evaluate a piecewise function for a given input value by identifying the correct sub-function and interval.
  • Construct the graph of a piecewise function by accurately plotting each sub-function over its specified domain and indicating endpoint inclusivity.
  • Analyze real-world scenarios, such as tiered pricing or tax brackets, to determine if they can be modeled by piecewise functions.
  • Compare and contrast the behavior of different pieces of a piecewise function at the boundaries of their domains.

Before You Start

Graphing Linear Equations

Why: Students need to be proficient in graphing lines, including understanding slope and y-intercept, to graph the individual pieces of a piecewise function.

Understanding Function Notation and Evaluation

Why: Students must be able to substitute values into a function and interpret the output to evaluate piecewise functions.

Inequalities and Interval Notation

Why: Knowledge of inequalities (e.g., <, >, <=, >=) and interval notation is essential for defining the domain restrictions of each sub-function.

Key Vocabulary

Piecewise FunctionA function defined by multiple sub-functions, where each sub-function applies to a specific interval of the domain.
Domain IntervalThe specific range of input values (x-values) for which a particular sub-function of a piecewise function is valid.
Endpoint InclusivityIndicates whether the boundary value of a domain interval is included (closed bracket, solid dot) or excluded (open bracket, open circle) from the domain of a sub-function.
Sub-functionOne of the individual functions that make up a piecewise function, each defined over a distinct part of the overall domain.

Watch Out for These Misconceptions

Common MisconceptionA piecewise function is really multiple separate functions, each with its own name.

What to Teach Instead

Emphasize that the function has one name such as f(x) and produces exactly one output for every input in its domain. Sorting activities where students match a list of inputs to exactly one rule reinforce the single-function identity and prevent students from treating the pieces as independent objects.

Common MisconceptionThe graph of a piecewise function must be continuous with no jumps or gaps.

What to Teach Instead

Show real examples of discontinuous piecewise functions such as US tax brackets where the effective marginal rate changes sharply at each threshold. Peer discussion of why jumps are mathematically valid and practically useful prevents the overgeneralization that all functions must be drawn without lifting the pencil.

Common MisconceptionOpen and closed endpoint dots are visual decorations and do not affect the function's output.

What to Teach Instead

Use a specific example where x = 3 sits on a boundary between two pieces with different output values. Evaluating f(3) under each piece and seeing the different results shows concretely why the convention matters for the function to be well-defined at that point.

Active Learning Ideas

See all activities

Real-World Connections

  • Income tax systems often use piecewise functions, with different tax rates applied to different income brackets. For example, the first $10,000 earned might be taxed at 10%, the next $30,000 at 12%, and income above that at 22%.
  • Utility companies frequently model electricity or water usage costs with piecewise functions. A base rate might apply up to a certain usage, with higher per-unit costs for consumption exceeding that threshold, encouraging conservation.
  • Tiered pricing for services, like phone plans with a set amount of data included and then overage charges, can be represented by piecewise functions.

Assessment Ideas

Exit Ticket

Provide students with a simple piecewise function, e.g., f(x) = { 2x if x < 1, x + 1 if x >= 1 }. Ask them to calculate f(0) and f(2). Then, ask them to sketch the graph of the function, paying close attention to the endpoint at x=1.

Quick Check

Display a graph of a piecewise function on the board. Ask students to write down the algebraic definition of the function, including the correct domain intervals and endpoint notation for each piece.

Discussion Prompt

Present a scenario like a taxi fare structure: '$3 for the first mile, then $2 for each additional half-mile.' Ask students: 'How can we represent this fare structure using a piecewise function? What are the key intervals and rules?'

Frequently Asked Questions

How do you evaluate a piecewise function for a specific input value?
First, find which piece's domain interval contains your input. Then plug the input into only that piece's formula. At boundary values, check whether the interval is open (excludes the endpoint) or closed (includes it) before applying a rule. Never substitute the same input into more than one piece, even if the value sits very close to a boundary.
What are real-world examples of piecewise functions?
Tax brackets apply different rates to different income ranges. Shipping costs often jump at weight thresholds. Electricity billing uses tiered pricing where the rate per kilowatt-hour increases above a usage level. Cell phone data plans throttle speed after a data limit. Each of these structures is piecewise: a different rule applies in each interval of the input variable.
How does active learning help students graph piecewise functions?
Dividing the graphing task so each student handles one sub-function reduces the cognitive load of managing multiple rules simultaneously. When the group assembles the full graph, endpoint decisions become a collaborative negotiation rather than an isolated guess. This social process surfaces the most common errors about open and closed dots more effectively than individual practice because students must defend their endpoint choices to their group.
Why does a piecewise function need domain restrictions for each piece?
Each rule is only valid over a specific part of the input range. Without domain restrictions, two rules could claim the same input and produce two different outputs, which violates the definition of a function. The domain restrictions partition the real number line so every input has exactly one rule and exactly one output, preserving the function's defining property.

Planning templates for Mathematics