40.2 Number lines and set notation
GCSE Maths Higher · OCR J560 · Chapter 40: Algebraic inequalities
What is in the full lesson (14 activities)
Every item below opens free in the course.
- Video: Algebra: ineqalities graph intro Example 1
- Video: Algebra: basic inequal intro Example 1
- Video: Algebra: ineqalities graph horizontal Example 1
- Video: Algebra: ineqalities graph horizontal Example 2
- Video: Algebra: ineqalities graph horizontal Example 3
- Video: Algebra: ineqalities graph vertical Example 1
- Video: Algebra: ineqalities graph vertical Example 2
- Video: Algebra: ineqalities graph vertical Example 3
- Notes: Lesson notes: Number lines and set notation
- Interactive lesson: Interactive lesson: Number lines and set notation
- Practice questions: Practice questions (8 questions, 11 marks)
- Interactive lesson: Practice interactivity: Number lines and set notation
- Worksheet: Worksheet: Number lines and set notation
- Answers: Answers and mark scheme of the Worksheet: Number lines and set notation
A free OCR GCSE Maths Higher lesson (J560) from OBA School: showing inequalities on number lines with open and closed circles, reading number lines, and writing solution sets in set notation (OCR J560: 6.04a). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with interactive activities, practice quizzes and printable worksheets, in our free online course.
What you will learn
- Show an inequality on a number line, using an open circle for < or > and a closed circle for ≤ or ≥
- Write down the inequality shown on a number line
- Write a solution set in set notation, such as {x : x > 2} or {x : −1 ≤ x < 4}
- Describe solutions in two separate parts, and values that satisfy two inequalities at once, using ∪ and ∩
Key words
- Open circle: Shows that the boundary value is not included (< or >).
- Closed circle: A filled-in circle. The boundary value is included (≤ or ≥).
- Solution set: All the values that make an inequality true.
- Set notation: {x : x > 2} is read “the set of all x such that x is greater than 2”.
- ∪ and ∩: Union (in either set) and intersection (in both sets).
Drawing inequalities on a number line
Draw a circle at the boundary value. Leave it open if the value is not included and fill it in (closed) if it is. Then draw a line over all the values that work. An arrow means the values carry on for ever.
Key fact: Open circle: < or >. Closed circle: ≤ or ≥. OCR expects this convention.
Reading a number line
Work from the circles. Decide whether each end is included, then write the inequality with x in the middle for a line segment.
Worked example: reading the lines above
Top line: open circle at 2, arrow to the right: x > 2.
Bottom line: closed circle at −2, open circle at 3: −2 ≤ x < 3.
Answer: x > 2 and −2 ≤ x < 3
If x must be an integer, list the integers instead. For −2 ≤ x < 3 these are −2, −1, 0, 1 and 2.
Set notation
Set notation gives the whole solution set. Write the letter, a colon (read “such that”), then the inequality, all inside curly brackets.
- open circle at 2, arrow right; Inequality x > 2; Set notation {x : x > 2}
- closed circle at −1, arrow left; Inequality x ≤ −1; Set notation {x : x ≤ −1}
- closed at −2, open at 3; Inequality −2 ≤ x < 3; Set notation {x : −2 ≤ x < 3}
- integers from −2 to 2; Inequality −2 ≤ x ≤ 2, x an integer; Set notation {−2, −1, 0, 1, 2}
Worked example: writing a set
Write −4 < x ≤ 1 in set notation. Then list the integers in the set.
{x : −4 < x ≤ 1}. Integers: {−3, −2, −1, 0, 1}.
Answer: {x : −4 < x ≤ 1} and {−3, −2, −1, 0, 1}
Careful: {x : 0 < x < 3} contains every number between 0 and 3, such as 0.5 and 2.99. Only list values in { } when x must be an integer.
Solutions in two parts
Some solution sets have two separate parts, for example the numbers less than −2 together with the numbers from 3 upwards. This happens with quadratic inequalities in section 26.4.
Worked example: two separate regions
Write the solution set shown in set notation.
{x : x < −2} ∪ {x : x ≥ 3}. The ∪ means “or”: a number can be in either part.
You cannot write this as one double inequality: “3 ≤ x < −2” is impossible.
Answer: {x : x < −2} ∪ {x : x ≥ 3}
Satisfying two inequalities at once
If x must satisfy both inequalities, draw both on number lines and look for the overlap. This is the intersection of the two sets.
Worked example: the overlap
{x : x > −1} ∩ {x : x ≤ 4} = {x : −1 < x ≤ 4}.
Integers in the overlap: 0, 1, 2, 3, 4.
Answer: {x : −1 < x ≤ 4}
Common mistakes
- Using a closed circle for < or >, or an open circle for ≤ or ≥.
- Drawing the arrow the wrong way. For x < 1 the line goes to the left, towards smaller numbers.
- Listing only integers in a set such as {x : 0 < x < 3} when x does not have to be an integer.
- Writing a two-part solution as one impossible double inequality such as 3 ≤ x < −2.
- Mixing up ∪ (either part) and ∩ (the overlap only).
Revision questions
Try these, then check your answers below each one.
Question 1. Which number line shows x ≥ -2? (Choose from: closed circle at −2, arrow to the right, open circle at −2, arrow to the right, closed circle at −2, arrow to the left, open circle at −2, arrow to the left.)
Answer: closed circle at −2, arrow to the right
Working: ≥ needs a closed circle, and values greater than -2 are to the right.
Question 2. A number line has an open circle at 1 and a closed circle at 5, with a line between them. Which inequality does it show? (Choose from: 1 < x ≤ 5, 1 ≤ x < 5, 1 < x < 5, 1 ≤ x ≤ 5.)
Answer: 1 < x ≤ 5
Working: 1 is not included and 5 is included: 1 < x ≤ 5.
Exam board focus: OCR GCSE Maths (J560)
Specification: in the OCR J560 specification this lesson covers 6.04a (inequalities in one variable). In the national GCSE subject content these are N1, A3 and A22 (number and algebra).
Your exams: OCR Higher tier students sit three papers: J560/04 (calculator allowed), J560/05 (non-calculator) and J560/06 (calculator allowed). Each paper lasts 1 hour 30 minutes and is worth 100 marks. Questions on this topic can appear on any of the three papers, so practise it both with and without a calculator.
Foundation tier: the OCR Foundation course covers this topic too, in 38.1 Inequality symbols and 38.2 Number lines.
Studying with a different exam board? AQA: 26.2 Number Lines and Set Notation; Edexcel: our free Edexcel GCSE Maths Higher course.
Related lessons
- Previous lesson: 40.1 Inequality symbols
- Next lesson: 40.3 Solving linear inequalities
Continue in the full course
This lesson is section 40.2 (OGCMH4002) of our free OCR GCSE Maths Higher course (OCR J560: 6.04a). In the full course you get every video for this section, an animated interactive lesson, a practice interactivity, a self-marking practice quiz, a printable worksheet with a mark scheme, and your progress saved. Go to the full OCR GCSE Maths Higher course.
This lesson is part of the free GCSE Maths Higher course. You can also browse all our free GCSE courses.