Example 1
Question: Define a relation R on the set \( \mathbb{N} \) of natural numbers by \( R = \{(x, y) : y = x + 7,\, x \in \mathbb{N} \text{ and } x < 5\} \). Depict this relation using roster form. Write down the domain and the range.
Solution: We are given that \( y = x + 7 \) and \( x \) is a natural number less than 5, so \( x \in \{1, 2, 3, 4\} \). For each value of \( x \), we find the corresponding \( y \): When \( x = 1 \): \( y = 1 + 7 = 8 \), giving the pair \( (1, 8) \). When \( x = 2 \): \( y = 2 + 7 = 9 \), giving the pair \( (2, 9) \). When \( x = 3 \): \( y = 3 + 7 = 10 \), giving the pair \( (3, 10) \). When \( x = 4 \): \( y = 4 + 7 = 11 \), giving the pair \( (4, 11) \). Therefore, in roster form: \[ R = \{(1, 8),\,(2, 9),\,(3, 10),\,(4, 11)\} \] The domain is the set of all first elements: \[ \text{Domain} = \{1, 2, 3, 4\} \] The range is the set of all second elements: \[ \text{Range} = \{8, 9, 10, 11\} \]
Answer: \( R = \{(1,8),(2,9),(3,10),(4,11)\} \); Domain \( = \{1,2,3,4\} \); Range \( = \{8,9,10,11\} \)
Example 2
Question: Let \( A = \{1, 2, 3, 4, 5\} \). Define a relation R on A by \( R = \{(x, y) : y = 2x - 1,\, x \in A \text{ and } y \in A\} \). Write R in roster form and state its domain and range.
Solution: We are given \( A = \{1, 2, 3, 4, 5\} \) and the rule \( y = 2x - 1 \). We need both \( x \in A \) and \( y \in A \), so \( y \) must also belong to \( \{1, 2, 3, 4, 5\} \). For each value of \( x \) in A, we compute \( y \) and check whether \( y \in A \): When \( x = 1 \): \( y = 2(1) - 1 = 1 \). Since \( 1 \in A \), the pair \( (1, 1) \) is included. When \( x = 2 \): \( y = 2(2) - 1 = 3 \). Since \( 3 \in A \), the pair \( (2, 3) \) is included. When \( x = 3 \): \( y = 2(3) - 1 = 5 \). Since \( 5 \in A \), the pair \( (3, 5) \) is included. When \( x = 4 \): \( y = 2(4) - 1 = 7 \). Since \( 7 \notin A \), this pair is NOT included. When \( x = 5 \): \( y = 2(5) - 1 = 9 \). Since \( 9 \notin A \), this pair is NOT included. Therefore, in roster form: \[ R = \{(1, 1),\,(2, 3),\,(3, 5)\} \] The domain is the set of all first elements of the ordered pairs in R: \[ \text{Domain} = \{1, 2, 3\} \] The range is the set of all second elements of the ordered pairs in R: \[ \text{Range} = \{1, 3, 5\} \]
Answer: \( R = \{(1,1),(2,3),(3,5)\} \); Domain \( = \{1,2,3\} \); Range \( = \{1,3,5\} \)