Diccrete Math problem: finding a proposition given a specific truth table

nicnicman
Messages
132
Reaction score
0
I've been working at this problem for a while and it seems that there should be an easier more systematic way of solving it. Here it is:

Find a proposition using only p, q, ¬ and the connective ∧ with the given truth table.

p q ?
T T F
T F F
F T T
F F T

I know of a systematic approach to creating propositions but includes the use of OR. Is there a systematic way of solving this only using ANDs?
 
Physics news on Phys.org
Just read off the ones where the truth table evaluates to "T", namely:
F T T
F F T
This results in:
(not p and q) (from the F T T line)
(not p and not q) (from the F F T line)

join them with "or":
(not p and q) or (not p and not q)

simplify if possible, using the distributive rule in this case:
(not p) and (q or not q)
q or not q = T
(not p) and T = not p

final result:
not p
 
  • Like
Likes InfZero
Thanks this is very helpful. It's actually the way I originally went about solving the problem but the book gives another answer:

¬(p ∧ ¬q) ∧ ¬(p ∧ q)

Probably both answers are acceptable, but I wonder how I could get the book's answer from your original answer, (¬p ∧ q) ∨ (¬p ∧ ¬q). There must be a way to convert it since they are logically equivalent.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.
Back
Top