Suppose that the relation T is defined as follows.

T={(n,1),(0,p),(1,n),(4,4)}
Give the domain and range of T .
Write your answers using set notation.

The domain of T is the set of all first elements in each of the ordered pairs in T. Therefore, the domain of T is {n, 0, 1, 4}.

The range of T is the set of all second elements in each of the ordered pairs in T. Therefore, the range of T is {1, p, n, 4}.