Please read Sections 2.5 through 2.7 of your textbook. That is where you will find complete explanations of the following ideas. Here I will summarize our class discussion.
In logic we work with statements that are either true or false. We use variables to represent such statements and logical operators to modify and/or connect them.
One such operator is negation, not. The symbol for not is ¬. If S is a true statement then "¬S" is false. If S is false, then "¬S" is true. Note that there is never a reason to say "¬ ¬S" because two nots cancel each other out.
Another operator is conjunction, and. The symbol for and is . If A and B are both true, then "A B" is true. If either or both are false, then "A B" is false
Disjunction is another operator, also known as or. The symbol for or is . If either A or B is true, then "A B" is true. If both are false, then "A B" is false.
Another operator is implication, if-then. The symbol used for if-then is . If A is true and B is false, then "A B" is false. Otherwise, it is true.
S | not S |
T F | F T |
A | B | A B | A B | A B |
T T F F | T F T F | T F F F | T T T F | T F T T |
¬(A B) = ¬A ¬B ¬(A B) = ¬A ¬B
For example, the negation of "John is a doctor AND Mary is not a lawyer." is "John is not a doctor OR Mary is a lawyer."
The contrapositive. of
"If A then B", is
"If not B then not A".
In mathematics, sometimes you will hear the phrase, "proof by the
contrapositive." Proving the contrapositive is the same as
proving the original statement, because they have the same truth
value.
Two truth expressions are equal if and only if their truth
table values are equal.
Here are some tautologies:
On the other hand, sometimes a compound truth statement is FALSE no matter what value the logic variables have. That type of statement is called a contradiction. Section 2.7 of your text gives many examples of contradictions. In a truth table, all the table values in the column of a contradiction result in false.
Here are some contradictions: