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 0⩽x<2.
  • 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

f(x)={x+3−3⩽x<030⩽x<27−2x2⩽x⩽4

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 (0⩽x), not the first (x<0).

Finding a value: the recipe

  1. Look at the x-value you are given.
  2. Find the one row whose interval contains it. Check the inequality signs carefully at a join.
  3. 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 writeWhy I do it
f(−1): −1 is in −3⩽x<0, so f(−1)=−1+3=2First row.
f(0): 0 is not in x<0 but is in 0⩽x<2, so f(0) = 3A join: the signs decide.
f(3): 3 is in 2⩽x⩽4, so f(3)=7−6=1Third row.
f(4): f(4)=7−8=−14 is included because of ⩽.

Piecewise Functions: Graphs Built from Up to Three Pieces diagram

What the picture shows

  1. Blue: y=x+3, drawn only from x = −3 to 0. Pink: y = 3, only from 0 to 2. Green: y=7−2x, only from 2 to 4.
  2. At each join the two pieces give the same y-value, so the graph has no gaps. Such a graph is called continuous.
  3. 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) −2.5+3=0.5.
  • (b) 1 is in 0⩽x<2: 3.
  • (c) 2 is in 2⩽x⩽4: 7−4=3. (Both rules happen to give 3 here.)
  • (d) 7−7=0.

✏️ 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: −1⩽f(x)⩽3.

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

  1. For each piece, work out the y-values at both ends of its interval (and a middle point if it is a curve).
  2. Draw each piece only over its own interval.
  3. At each end: a solid dot if that end is included (⩽ or ⩾), an open dot if it is not (< or >).
  4. 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.

Log in · Subscribe · Start free trial

All notes in Graphs: Linear, Quadratic, Exponential and Piecewise

  1. Exponential Graphs y = abˣ and y = ab⁻ˣ: Growth, Decay and Finding a and b
  2. 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.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: Exponential Graphs y = abˣ and y = ab⁻ˣ: Growth, Decay and Finding a and b

All AQA GCSE Further Maths topics · GCSE Further Maths