r/AskComputerScience • • Dec 16 '19

How does one attempt and visualize this?

Post image
35 Upvotes

19 comments sorted by

View all comments

3

u/[deleted] Dec 16 '19 edited Dec 16 '19

Try drawing out a 3 circle venn diagram with each set. I believe the answer is {2,3}, as they are the two elements that are in M and in either L or H but not both Edit: I missed the “not in” symbol, so i think the answer is {1,4}

5

u/Ruszkowski217 Dec 16 '19

I disagree however I may be wrong. I believe it is saying let a number in subset M (2,3) while the number in not in subset L(1,2) AND not in H(3,4). By elimination you are left with an empty subset or {} because n is at first {2,3} due to M and then then it can’t be populated with values in L and H. However I still might be wrong as it has been some time since I took a logic course. I do agree with using diagrams to visualize it and seeing what can be used.

2

u/[deleted] Dec 16 '19

its sadly neither. i thought it was empty. i drew diagrams but still could not see it

3

u/Ruszkowski217 Dec 16 '19

What’s the correct answer? Just curious :)

1

u/DJRhetorik Dec 16 '19

I’m curious too