1.2 Truth Tables Flashcards
What is a truth table and why is it important?
A truth table is a table that contains all the truth possibilities for a logic statement.
A truth table is important because it can easily show if an argument is valid - i.e. if all the premises are true, then the conclusion has to be true.
What is the inclusive or and what is the exclusive or?
The inclusive or includes both statements being true.
The exclusive or is only true when only a single argument is true, not both.
How can we make truth tables more compact and what is the main connective of the formula?
You can make a formula more compact by listing the truth values below the corresponding connective symbol in the original formula.
The main connective is the last logic symbol that needs to be evaluated in a formula to get the final truth value.
What is an equivalent formula and why is it useful?
Two or more formulas are equivalent if they always have the same truth value, not matter what statements the letters in them stand for and no matter the truth values of those statements.
They are useful because they can simplify complex statements to increase intuition/understanding of a complex statement.
What are DeMorgan’s Laws?
~(P ^ Q) = ~P v ~Q
~(P v Q) = ~P ^ ~Q
What are Commutative laws?
P ^ Q = Q ^ P
P v Q = Q v P
What are Associative Laws?
P ^ ( Q ^ R) = (P ^ Q) ^ R P v ( Q v R) = (P v Q) v R
What are Idempotent Laws?
P ^ P = P
P v P = P
What are Distributive Laws?
P ^ (Q v R) = (P ^ Q) v (P ^ R) P v (Q ^ R) = (P v Q) ^ (P v R)
What are Absorption Laws?
P v (P ^ Q) = P P ^ (P v Q) = P
What is the Double Negation Law?
~~P = P
What is a tautology?
P ^ a tautology is equivalent to ?
P v a tautology is equivalent to ?
~(a tautology) is a ?
A tautology is a formula that is always true
P ^ a tautology is equivalent to P.
P v a tautology is a tautology.
~(a tautology) is a contradiction.
What is a contradiction?
P ^ a contradiction is equivalent to ?
P v a contradiction is equivalent to ?
~(a contradiction ) is a ?
A contradiction is a formula that is always false.
P ^ a contradiction is a contradiction.
P v a contradiction is equivalent to P.
~(a contradiction ) is a tautology.