3
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
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 :)
10
u/SuityBarney Dec 16 '19
I think it should be {1,4}, because when put into words, the set builder notation says, that X is the set of n (from the universe U) such that if n belongs to M, then it is not in L and it is not in H.
This is trivially true for 1 and 4, because the left side of the implication is false, therefore the whole implication is true.
Now, for 2 and 3, the left side is true, therefore the right side has to be true too. But 2 is in L, which violates the conjuction, and 3 is in H, which violates the conjunction as well.
3
2
1
11
Dec 16 '19
My guess:
Material implication to convert P->Q to not(P) OR Q, so elements of the set can either not be in M or not be in both L and H. But L union H covers the whole universe, so we just need elements not in M, which is {1,4}.
8
u/Audiblade Dec 16 '19
I think this problem could have used notation that's just a touch clearer. When I saw X = {n | n ∈ M, I first thought it meant, "consider all n such that n is in M." That is, it initially looked like the order of operations was X = {(n | n ∈ M) ⇒ (n ∉ L & n ∉ H)}, not X = {n | [(n ∈ M) ⇒ (n ∉ L & n ∉ H)]}.
The way I initially read it doesn't end up making any sense, so looking at the problem closely eventually leads one to the correct way of reading it. So the notation isn't badly ambiguous. I'm bringing it up because I think it's just ambiguous enough that maybe that's part of what made this problem difficult for you to solve.
2
u/pinkytoeyeezys Dec 17 '19
I was thinking the same thing, sometimes understanding what the problem is asking can be more difficult than the solution.
1
u/diasporic-acid Dec 16 '19
Where can I find more of these kinds of problems?
1
Dec 16 '19
sadly this is from a enclosed past paper but u can find more of these online under discrete maths
1
u/midwayfair Dec 16 '19 edited Dec 16 '19
EDITED for a correction.
This isn't exactly a visualization, but I think it's probably better than trying to visualize it:
X is the set of numbers such that if n is in m, then n is not in L and n is not in H.
There are few enough numbers in the universe that you can run each number through the statement. Remember your truth table for P -> Q:
P Q P -> Q
T T T
T F F
F T T
F F TIf 1 is in M and 1 is not in L and 1 is not in H: P is false (1 is not in M), therefore the statement is true. Therefore n = 1 is in X.
If 2 is in M and 2 is not in L and 2 is not in H: P is true (2 is in M), but Q is false, since 2 is in L. Therefore the statement is false. Therefore n = 2 is not in X.
If 3 is in M and 3 is not in L and 3 is not in H: P is true (3 is in M), but Q is false, since 3 is in H. Therefore the statement is false. Therefore n = 3 is not in X.
If 4 is in M and 4 is not in L and 4 is not in H: P is false (4 is not in M), therefore the statement is true. Therefore n = 4 is in X.
X = {1, 4} then.
2
u/narut0fan Dec 16 '19
Your truth table for P->Q is wrong. Look it up again. If P is False, P->Q returns True.
1
u/midwayfair Dec 16 '19 edited Dec 16 '19
You're right. I'm a dolt.
EDIT: The worst part is, until I typed out the truth table, I was going to tell them that the answer was 1, 4 ... and then I fixed my answer to match the wrong truth table (which was the AND table).
-9
24
u/narut0fan Dec 16 '19 edited Dec 16 '19
X = { 1, 4 }
See, X is set of all those 'n', which follows the given condition. The condition is actually an imply statement. Left part of the statement is: 'n' belongs to 'M'. Right part is: 'n' does not belong to 'L' AND 'n' does not belong to 'H'.
For each 'n' in universe 'U', if the imply statement is true, we add 'n' in 'X'. An imply statement is TRUE only in following cases:
True implies True
False implies True
False implies False
That means only if the left side of imply statement is True, and right side is False, only those values of 'n' would NOT go in set 'X'.
For n=2,3, Left side is True, right side is False.
For n=1,4, Left side is False, right side is False.
Hence, X = {1,4} :D
I hope it is clear now.