Professional Documents
Culture Documents
Truth Tables and Logic Laws
Truth Tables and Logic Laws
- and
- Both statements need to be the same to be true
p ^ q = Minimum value(p,q)
Disjunction
- or
- At least one statement needs to be true to be true
Conditional
- if then
p>q=1
Biconditional
Exclusive
- O+
- P is not equal to q, then p O+ q = 1
Tautology
- P v not p
- always true
- Every output is 1 or always true
Contradiction
- p ^ not p
- Always false
- Every output is 0 or always false
Logic Laws
Identity Laws
- P ^ T <--> P
- P v F <--> P
Domination Laws
- P v T <--> T
- P ^ F <--> F
Double Negation
De Morgan’s Law
Distributive Law
- P ^ (q v r) <--> (p ^ q) v (p ^ r)
- p v (q ^ r) <--> (p v q) ^ (p v r)
- 3 * (1 + 2)
Absorption Law
- p ^ (p v q) <--> P
- p v (p ^ q) <--> p
Commutativity (v, ^)
- p ^ q <--> q ^ p
- p v q <--> q v p
- Must only have one condition
Associativity (v, ^)
- p ^ (q ^ r) <--> (p ^ q) ^ r
- Must only have one condition
Inverse Laws
- p ^ not p <--> F
- p v not p <--> T
Conditional Law