Let A = {1, 2, 3, 4, ..., 10}. Define a relation from A to A by R {(x, y): 2x − y = 0, where x, y ∈ A}. Write down its codomain, domain and range.
Advertisements
प्रश्न
Let A = {1, 2, 3, 4, ..., 10}. Define a relation from A to A by R {(x, y) : 2x − y = 0, where x, y ∈ A}. Write down its codomain, domain and range.
Advertisements
उत्तर
Given: A = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
R = {(x, y) : 2x − y = 0, where x, y ∈ A}
The condition 2x − y = 0 can be rewritten as:
y = 2x
Now, substitute values of x ∈ A such that y ∈ A:
When x = 1 ⇒ y = 2(1) = 2 ∈ A
When x = 2 ⇒ y = 2(2) = 4 ∈ A
When x = 3 ⇒ y = 2(3) = 6 ∈ A
When x = 4 ⇒ y = 2(4) = 8 ∈ A
When x = 5 ⇒ y = 2(5) = 10 ∈ A
When x = 6 ⇒ y = 2(6) = 12 ∉ A (and similarly for x = 7, 8, 9, 10)
Therefore, in roster form:
R = {(1, 2), (2, 4), (3, 6), (4, 8), (5, 10)}
Since R is a relation from A to A, the entire second set A is the codomain:
Codomain = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} = A
The set of all first elements of the ordered pairs in R:
Domain = {1, 2, 3, 4, 5}
The set of all second elements of the ordered pairs in R:
Range = {2, 4, 6, 8, 10}
