What is the difference between sets? Describe and give examples.

What is the difference between sets? Describe and give examples.

28 January, 2022

Ans.

The difference of sets is the operation of set theory. In which the difference between two sets is interpreted as a result. The difference is denoted as ‘-‘ in set operations.

E.g.

P = {1, 2, 3, 4, 5}

Q = {4,5,6,7}

Difference of sets

P – Q ={1,2,3,4,5} – {4,5,6,7} = {1,2,3}  or

Q – P ={4,5,6,7} – {1,2,3,4,5} =  {6,7}