Piecewise Linear And Step Graphs
Theory
A piecewise linear function is made of two or more line segments, each with its own equation valid over its own range (domain). A step graph holds a constant value over a range, then jumps. Closed circles mean the endpoint is included, open circles mean it is not. Tiered tariffs charge each band's rate only on the portion within that band.
A piecewise linear function is a function defined by two or more straight-line formulas, each with its own domain — the range of
A step graph is a special kind of piecewise function where each piece is horizontal: the function holds a constant
- Filled (closed) circle: the
value is included in this step. - Open circle: the
value is not included — the function has already moved to the next step.
The domain of each piece is the range of
The first diagram is a piecewise linear graph: a tank fills fast in phase 1, then slower in phase 2 after
There are no new formulas — just the brace notation for writing a piecewise function, and the rule for which piece to use.
Piecewise function — brace notation
Endpoint conventions on a step graph
| Symbol on graph | What it means | In inequality form |
|---|---|---|
| Filled (closed) circle | This | |
| Open circle | This |
Tiered tariff — total cost
For a quantity
Evaluating a piecewise function at a given x
- Check the conditions — find which branch contains your
value. - Use only that branch's formula. Substitute
and compute. - Make sure you respect strict vs non-strict inequalities (
vs ) at boundary points.
Reading a step graph
- Locate your
on the horizontal axis. - Move up to the step. If your
lands exactly under a circle, use the circle's filled/open status: filled means this step applies, open means the next step applies. - Read off the constant
-value of that step.
Computing a tiered tariff bill
- Identify how the quantity is split across bands. For a total of
, work out how much falls in each band, capped at that band's width. - Multiply each amount by its band's rate.
- Add all the band-bills. The result is the total cost.
Break-even with a piecewise plan
- For each plan, write a cost formula. If a plan changes rate at some point, write a piecewise formula.
- Identify which branch of the piecewise plan you expect the break-even to fall in.
- Set the two cost expressions equal on that branch and solve. Check the answer falls inside the assumed branch.
For
For
Answer:
For
For
Answer:
Split
| Band 1 | ||
| Band 2 | ||
| Band 3 | ||
| Total | ||
Answer: the bill for
After the first
| Plan A cost | ||
| Plan B cost |
Set the costs equal:
Check:
Answer: at
Common pitfalls
Frequently asked questions
What is a piecewise linear function?
A piecewise linear function is a function defined by two or more straight-line pieces, each valid over its own range of x values (its domain). The pieces are usually joined end-to-end so the graph is continuous, but they have different slopes.
How do I evaluate a piecewise function at a given x?
Find which branch the given x value falls in by checking the conditions, then substitute x into that branch's formula. Each branch only applies to its own domain — never use a formula outside its stated range.
What is a step graph?
A step graph is a function that holds a constant value over a range of x, then jumps suddenly to a new constant at a fixed point. The graph looks like a series of horizontal steps. Step graphs are commonly used for postage charges, parking fees and tax brackets.
What do open and closed circles on a step graph mean?
A filled (closed) circle at an endpoint means that x value is included — the step's price applies AT that point. An open circle means that x value is excluded — at that exact point you have already moved to the next step's price.
How do tiered tariffs work?
Tiered tariffs charge each band's rate only on the amount within that band, not on the full total. To compute a tiered bill, work out the cost for each band separately (band amount times band rate), then add them together. Do not charge the highest rate on the entire amount.
What is brace notation for a piecewise function?
Brace notation uses a single large left brace to group several formulas, with the condition for each formula written to its right. For example, f(x) equals 2x when x is less than 1, and f(x) equals x + 1 when x is greater than or equal to 1. It is a compact way to write a function with multiple rules.
Video Lessons
Practice Questions
4 questions available.
Practice Questions