A relation is a way of pairing elements of one set with elements of another. Formally, a relation R from a set A to a set B is any subset of the Cartesian product A × B, the set of all ordered pairs (a, b) with a in A and b in B. If (a, b) belongs to R we write a R b and say that a is related to b. For example, if A = {1, 2, 3} and B = {2, 4, 6}, the rule 'is half of' gives R = {(1, 2), (2, 4), (3, 6)}.
Key terms
- Ordered pair
- a pair (a, b) where order matters
- Cartesian product A × B
- the set of all ordered pairs (a, b) with a ∈ A, b ∈ B
- Relation
- any subset of A × B
- Domain
- the set of first coordinates of a relation
- Range
- the set of second coordinates of a relation
- Boundary line
- the line that separates the region of an inequality relation
Key formulas
Summary
- A relation is any set of ordered pairs, a subset of A × B.
- Domain = first coordinates used; range = second coordinates used.
- Inequality relations are graphed as shaded regions with solid or broken boundaries.
In everyday life: A class register pairs each student's name with an ID number; the set of (name, ID) pairs is a relation from students to numbers.
Check yourself
- If n(A) = 3 and n(B) = 4, how many ordered pairs are in A × B?
- Write the domain and range of {(2, 7), (3, 7), (5, 1)}.
- When do you use a broken boundary line?
Practice questions
1. Which of the following relations on {1, 2, 3} is a function?
- A. {(1, 2), (1, 3), (2, 3)}
- B. {(1, 1), (2, 1), (3, 1)}
- C. {(2, 1), (2, 2), (3, 3)}
- D. {(1, 3), (3, 1), (3, 2)}
Show answer
Answer: {(1, 1), (2, 1), (3, 1)}
A function pairs each input with exactly one output. In {(1,1),(2,1),(3,1)} each input appears once; the others repeat an input with two different outputs.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 1 quiz
Study Relations on WeLearnTeach Relations with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.
