Piecewise Functions: Graphs Built from Up to Three Pieces | AQA GCSE Further Maths notes
Free preview: Piecewise Functions: Graphs Built from Up to Three Pieces
What Is a Piecewise Function?
AQA Level 2 Further Maths
A car park charges £4 for up to 2 hours, then £3 for each extra hour. A phone plan is free for the first 100 minutes, then costs a few pence a minute. Rules like these change part way along. In maths, a function that uses different rules for different x-values is called a piecewise function.
Words you must know
- A piecewise function is one function made of two or more rules. Each rule works only on its own set of x-values.
- Each set of x-values is a domain (an interval), written with inequalities such as .
- The x-values where one rule stops and the next starts are the joins (or boundaries).
- In this course a piecewise function has at most three pieces.
How it is written
Read each row as "use this rule when x is in this interval". Notice the signs at the joins: x = 0 belongs to the second row (), not the first ().
Finding a value: the recipe
- Look at the x-value you are given.
- Find the one row whose interval contains it. Check the inequality signs carefully at a join.
- Put x into that row's rule only.
👀 Watch me do it: find f(−1), f(0), f(3) and f(4) for the function above
| What I write | Why I do it |
|---|---|
| f(−1): −1 is in , so | First row. |
| f(0): 0 is not in but is in , so f(0) = 3 | A join: the signs decide. |
| f(3): 3 is in , so | Third row. |
| f(4): | 4 is included because of . |

What the picture shows
- Blue: , drawn only from x = −3 to 0. Pink: y = 3, only from 0 to 2. Green: , only from 2 to 4.
- At each join the two pieces give the same y-value, so the graph has no gaps. Such a graph is called continuous.
- Outside −3 to 4 the function is not defined, so nothing is drawn there.
💡 In plain words
- A piecewise function is like a train timetable: which rule you use depends on where you are.
- Always ask "which piece am I in?" before you calculate.
- Each rule is just an ordinary line or curve, chopped to its interval.
✏️ YOUR TURN 1
Try this first:
Using the same f, find (a) f(−2.5) (b) f(1) (c) f(2) (d) f(3.5).
Answer:
- (a) .
- (b) 1 is in : 3.
- (c) 2 is in : . (Both rules happen to give 3 here.)
- (d) .
✏️ YOUR TURN 2
Try this first:
What is the range of f? (The range is the set of all output values.)
Answer:
- From the graph, the lowest value is −1 (at x = 4) and the highest is 3.
- Range: .
Drawing a Piecewise Graph: Solid and Open Dots
When the pieces don't meet, the graph has a jump. Then you must show clearly which piece owns the join. That is what solid and open dots are for.
The recipe for drawing
- For each piece, work out the y-values at both ends of its interval (and a middle point if it is a curve).
- Draw each piece only over its own interval.
- At each end: a solid dot if that end is included ( or ), an open dot if it is not ( or ).
- If two pieces meet at the same point, one solid dot is enough.
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Graphs: Linear, Quadratic, Exponential and Piecewise
- Exponential Graphs y = abˣ and y = ab⁻ˣ: Growth, Decay and Finding a and b
- Piecewise Functions: Graphs Built from Up to Three Pieces
What's inside for this topic
2 teacher notes, 34 practice questions, 32 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Exponential Graphs y = abˣ and y = ab⁻ˣ: Growth, Decay and Finding a and b