Sets
 

Set theory for KS4



We are already familiar with sets in the material Set notation for KS4. In this material, however, let us look at the operations between them.


Union of sets



The union of two sets is a set that contains all the elements of the first and all the elements of the second set (without repeating any element).


The union of sets A and B is denoted as:




and contains all the elements from both sets.



Example

The example is available to registered users free of charge.
 
 
Sign up for free access to the example »


Intersection of sets



The intersection of two sets is a set that contains all the elements that are in the first and second sets at the same time.


The intersection of the sets A and B is denoted as:




and contains elements that are in both sets.



Example

The example is available to registered users free of charge.
 
 
Sign up for free access to the example »


Sets that have an empty intersection (i.e. ) are said to be disjoint sets.


Set difference



The difference of two sets is a set that contains all the elements from the first set that are not in the second set.


The difference between the sets A and B is denoted as:




or




and contains elements from the set A that are not in the set B.



Example

The example is available to registered users free of charge.
 
 
Sign up for free access to the example »


Set complement



The complement of a set is the set that contains those elements of the universal set that are not contained in the set.


The complement of the set A is denoted as:




and contains elements from the set U (universal sets) that are not in the set A.



Example

The example is available to registered users free of charge.
 
 
Sign up for free access to the example »


Cartesian product



The Cartesian product of sets is the set of all possible ordered pairs, with the first element of the ordered pair being from the first set and the second from the second.


The Cartesian product A and B is denoted as:




and contains ordered pairs where and .



Example

The example is available to registered users free of charge.
 
 
Sign up for free access to the example »

material editor: Azeez Adesina