I was working my way through some Propositional Logic Questions in Discrete Maths by Rosen, when I came across the following question:
When planning a party you want to know whom to invite. Among the people you would like to invite are three touchy friends. You know that if Jasmine attends, she will become unhappy if Samir is there, Samir will attend only if Kanti will be there, and Kanti will not attend unless Jasmine also does.
Which combinations of these three friends can you invite so as not to make someone unhappy?
My Solution:
1) First convert the given English sentences to logical propositions
Let J, S, K represent Jasmine, Samir, Kanti attending the party. So the propositions become:
$J\Rightarrow\not S$
$S\Rightarrow K$
$\not J\Rightarrow\not K$
2) For three variables, $2^3 = 8$ Truth Value Combinations are Possible. We need to find a combination which is consistent with the above set of propositions.
3) Clearly the combination that works is : J-True ; K-True ; S-False
4) Hence, one should invite Jasmine and Kanti and leave out Samir.
Doubt:
Am I correct in saying my answer will work? It is a bit lengthy . In more complicated problems , say involving > 5 variables , it would be futile to do the way I have done .