Question:

Let A = {1, 2, 3, 4}, B = {1, 5, 9, 11, 15, 16} and f = {(1, 5), (2, 9), (3, 1), (4, 5), (2, 11)}. Are the following true?
  1. f is a relation from A to B.
  2. f is a function from A to B.
Justify your answer in each case.

Updated On: Oct 23, 2023
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

A = {1, 2, 3, 4} and B = {1, 5, 9, 11, 15, 16}
∴A x B = {(1, 1), (1, 5), (1, 9), (1, 11), (1, 15), (1, 16), (2, 1), (2, 5), (2, 9), (2, 11), (2, 15), (2, 16), (3, 1), (3, 5), (3, 9),(3, 11), (3, 15), (3, 16), (4, 1), (4, 5), (4, 9), (4, 11), (4, 15), (4, 16)}
It is given that f = {(1, 5), (2, 9), (3, 1), (4, 5), (2, 11)}

(i) A relation from a non-empty set A to a non-empty set B is a subset of the Cartesian product A x B.
It is observed that f is a subset of A x B.

Therefore, f is a relation from A to B.


(ii) Since the same first element i.e., 2 corresponds to two different images i.e., 9 and 11.

Therefore, relation f is not a function.

Was this answer helpful?
0
0

Concepts Used:

Relations and functions

A relation R from a non-empty set B is a subset of the cartesian product A × B. The subset is derived by describing a relationship between the first element and the second element of the ordered pairs in A × B.

A relation f from a set A to a set B is said to be a function if every element of set A has one and only one image in set B. In other words, no two distinct elements of B have the same pre-image.

Representation of Relation and Function

Relations and functions can be represented in different forms such as arrow representation, algebraic form, set-builder form, graphically, roster form, and tabular form. Define a function f: A = {1, 2, 3} → B = {1, 4, 9} such that f(1) = 1, f(2) = 4, f(3) = 9. Now, represent this function in different forms.

  1. Set-builder form - {(x, y): f(x) = y2, x ∈ A, y ∈ B}
  2. Roster form - {(1, 1), (2, 4), (3, 9)}
  3. Arrow Representation