If X = {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9} and Y = {3 , 6 , 9 , 12 , 15 , 18} , find $(X - Y)$ and $(Y -X)$ and illustrate them in Venn diagram.


Given :

X = {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9}  and  Y = {3 , 6 , 9 , 12 , 15 , 18}.


To find :

We have to find $(X - Y)$ and $(Y -X)$.


Solution :

X = {1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9}

Y = {3 , 6 , 9 , 12 , 15 , 18}

$(X - Y)$ = {1 , 2 , 4 , 5 , 7 , 8 }                 [Values only in X but not in Y]

$(Y -X)$ = {12 , 15 , 18}                           [Values only in Y but not in X]


Venn diagram :


$(X - Y)$ = {1 , 2 , 4 , 5 , 7 , 8 }                 


$(Y -X)$ = {12 , 15 , 18}.

Tutorialspoint
Tutorialspoint

Simply Easy Learning

Updated on: 10-Oct-2022

42 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements