1.2 Inequality Notation
OCR A-level Maths Year 1 (AS) · H240 · Chapter 1: Proof and Mathematical Communication
What is in the full lesson (12 activities)
Every item below opens free in the course.
- Video: Inequalities and Interval Notation: Introduction
- Video: Inequalities and Interval Notation 2 Union and Intersection
- Video: Inequalities and Interval Notation: example 1
- Video: Inequalities and Interval Notation: example 2
- Video: Inequalities and Interval Notation: example 3
- Video: Inequalities and Interval Notation: example 4
- Notes: Lesson notes: Inequality Notation
- Interactive lesson: Interactive lesson: Interval Notation Lab
- Interactive lesson: Interactive practice: Inequality Notation Practice
- Practice questions: Practice questions (8 questions, 13 marks)
- Worksheet: Worksheet: Inequality Notation
- Answers: Answers and mark scheme of the Worksheet: Inequality Notation
A free OCR A-level Maths Year 1 lesson for OCR A Level Mathematics A (H240) from OBA School: writing solution sets with "and", "or", set notation and interval notation (OCR H240: 1.02h). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.
What you will learn
- Write the solution of an inequality in set notation, such as {x: x ≥ 5}
- Convert between inequalities, interval notation and number lines
- Combine sets with union ∪ ("or") and intersection ∩ ("and"), and recognise the empty set ∅
- Solve linear inequalities and give the answer in the form the question asks for
Key words
- Set notation: {x: x > 2} means "the set of all x such that x is greater than 2". The symbol ∈ means "is a member of".
- Interval: All the real numbers between two end points. [a, b] includes both ends; (a, b) includes neither.
- Closed / open end: A square bracket [ ] (or filled circle) means the end point is included; a round bracket ( ) (or open circle) means it is not.
- Union: A ∪ B: everything in A or in B (or both). It matches the word "or".
- Intersection: A ∩ B: only what is in both A and B. It matches the word "and".
- Empty set: ∅: the set with no members, for example the values of x with x > 3 and x < 1.
Set notation
Solving an inequality gives a whole set of values, not a single answer. You can write that set in several equivalent ways. Unless a question says otherwise, x is a real number, so x ≥ 5 includes 5, 5.1, √30, 100 and so on.
Worked example: solving and writing in set notation
Solve 4x − 7 ≥ 2x + 3. Write the answer in set notation.
4x − 2x ≥ 3 + 7, so 2x ≥ 10 and x ≥ 5.
Read {x: x ≥ 5} as "the set of x such that x is greater than or equal to 5".
Answer: {x: x ≥ 5}
Sometimes the set is restricted to integers. {x ∈ ℤ: −2 ≤ x < 3} means the integers −2, −1, 0, 1, 2. Here ℤ is the set of integers and ℝ is the set of real numbers.
Worked example: listing an integer set
List the members of {x ∈ ℤ: 3 − 2x > −6} that are positive.
−2x > −9, so x < 4.5 (dividing by −2 reverses the sign).
Positive integers less than 4.5: 1, 2, 3, 4.
Answer: 1, 2, 3, 4
Interval notation and number lines
Interval notation lists the two end points in order, smaller first. A square bracket means the end point is in the set; a round bracket means it is not. Infinity is not a number, so ∞ and -∞ always take round brackets.
- a ≤ x ≤ b; Set notation {x: a ≤ x ≤ b}; Interval [a, b]; Number line ends both filled
- a < x < b; Set notation {x: a < x < b}; Interval (a, b); Number line ends both open
- a ≤ x < b; Set notation {x: a ≤ x < b}; Interval [a, b); Number line ends filled at a, open at b
- x > a; Set notation {x: x > a}; Interval (a, ∞); Number line ends open at a, arrow right
- x ≤ b; Set notation {x: x ≤ b}; Interval (-∞, b]; Number line ends arrow left, filled at b
Worked example: converting between forms
(a) Write −3 < x ≤ 0 in interval notation. (b) Write (-∞, 7) as an inequality. (c) Write [−2.5, ∞) in set notation.
(a) −3 is excluded (round), 0 is included (square).
(b) Everything below 7, not including 7.
(c) Everything from −2.5 upwards, including −2.5.
Answer: (a) (−3, 0] (b) x < 7 (c) {x: x ≥ −2.5}
Combining sets: "and", "or", union and intersection
Two conditions joined by and must both hold, so you keep only the overlap: the intersection ∩. Two conditions joined by or need at least one to hold, so you keep everything from both: the union ∪.
Key fact: "and" rightarrow ∩ (overlap). "or" rightarrow ∪ (everything). If there is no overlap, the intersection is the empty set ∅.
Worked example: union and intersection
A = {x: x < 4} and B = {x: x ≥ −1}. Write A ∩ B and A ∪ B in interval notation.
A ∩ B: x is both less than 4 and at least −1, so −1 ≤ x < 4.
A ∪ B: every real number is in at least one of the sets.
Answer: A ∩ B = [−1, 4), A ∪ B = (-∞, ∞) = ℝ
Worked example: an "or" set that cannot be one interval
Write "x ≤ −2 or x > 1" in set notation and in interval notation.
The two pieces do not overlap or touch, so you need a union of two sets.
Answer: {x: x ≤ −2} ∪ {x: x > 1}, or (-∞, −2] ∪ (1, ∞)
Solving inequalities and presenting the answer
Solve a linear inequality like an equation, with one extra rule: multiplying or dividing both sides by a negative number reverses the inequality sign. Then present the answer in the form asked for. If the question does not say, an inequality such as x > 3 is fine; if it says "set notation", use {x: …}.
Worked example: two inequalities that must both hold
Find the set of values of x for which 3 − 2x < 9 and 5x + 1 ≤ 21. Give your answer in interval notation.
3 − 2x < 9 ⇒ −2x < 6 ⇒ x > −3 (sign reversed)
5x + 1 ≤ 21 ⇒ 5x ≤ 20 ⇒ x ≤ 4
"and", so take the overlap: −3 < x ≤ 4.
Answer: (−3, 4]
Worked example: either inequality may hold
Find the set of values of x for which 2x + 1 < −3 or 3x − 4 ≥ 11. Give your answer in set notation.
2x < −4 ⇒ x < −2. 3x ≥ 15 ⇒ x ≥ 5.
"or", so take the union of the two sets.
Answer: {x: x < −2} ∪ {x: x ≥ 5}
Worked example: no values work
Find the values of x for which x + 6 < 2 and 4x > 8.
x < −4 and x > 2. No number is in both sets.
Answer: ∅ (there are no such values)
Common mistakes
- Using a square bracket at infinity: write [3, ∞), never [3, ∞].
- Mixing up ∪ and ∩: "x < 1 or x > 6" is {x: x < 1} ∪ {x: x > 6}. The intersection of these sets is empty.
- Forgetting to reverse the sign when dividing by a negative number: −3x > 12 gives x < −4, not x > −4.
- Writing an "or" answer as one inequality such as 1 > x > 6, which no number satisfies.
- Writing the end points of an interval in the wrong order: (5, −2) should be (−2, 5).
Revision questions
Try these, then check your answers below each one.
Question 1. Which is {x: −2 < x ≤ 5} written in interval notation? (Choose from: (−2, 5]; [−2, 5); (−2, 5); [−2, 5].)
Answer: (−2, 5]
Working: −2 is not included (strict <), so use a round bracket; 5 is included (≤), so use a square bracket: (−2, 5].
Question 2. Which statement describes {x: x < −1} ∪ {x: x ≥ 4}? (Choose from: x < −1 or x ≥ 4; x < −1 and x ≥ 4; −1 < x ≤ 4; −1 ≤ x < 4.)
Answer: x < −1 or x ≥ 4
Working: ∪ (union) means "or": x is in at least one of the sets, so x < −1 or x ≥ 4. No number is in both sets, so "and" would give the empty set.
Question 3. True or false: {x: x > 7} ∩ {x: x < 2} = ∅.
Answer: True
Working: No number is both greater than 7 and less than 2, so the intersection is empty: ∅.
Related lessons
- Previous lesson: 1.1 Mathematical Structures and Arguments
- Next lesson: 1.3 Disproof by Counter Example
- In this chapter: 1.4 Proof by Deduction
- In this chapter: 1.5 Proof by Exhaustion
Continue in the full course
This lesson is section 1.2 of our free OCR A-level Maths Year 1 (AS) course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.
Continue lesson 1.2 in the free course →