Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Truth Tables for Complex Propositions: 2-Letter and 3-Letter Statements, Exams of Discrete Mathematics

How to create truth tables for more complicated propositions using the examples of 'If you buy cookies, then you will buy milk AND cookies' and 'If we either exercise or eat anything other than cookies, then we’ll eat cookies'. It covers the process of determining truth values for each line and interpreting the results.

Typology: Exams

2021/2022

Uploaded on 08/05/2022

hal_s95
hal_s95 🇵🇭

4.4

(652)

10K documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
6.3 Truth Tables for Propositions
1. Truth Tables for 2-Letter Propositions: In section 6.2, we learned about truth tables
for simple statements. For instance, the truth table for “A Ɔ B” is the following:
Conditional
A
B
A Ɔ B
T
T
T
T
F
F
F
T
T
F
F
T
So, if I had told you that, “If you come over and help me move my couch on Saturday,
then I will buy you pizza”, the ONLY way you might call me a liar is if you DID come over
and help me, and I DID NOT buy you pizza.
(To see this, imagine that “p”=”you come over and help me move my couch” and “q”=”I
buy you pizza” and then examine the truth table above)
In this section, we will learn how to make truth tables for more complicated statements.
Let’s start with a statement which still has ONLY TWO statements as components (“p”
and “q”).
Example #1: For instance, imagine that I told you: “I know you really well. If you buy
cookies, then you will buy milk AND cookies.” Let “C”=”You buy cookies” and “M”=”You
buy milk”. In that case, my claim can be written as the following:
C Ɔ (M ● C)
The truth table for C and M still looks like this:
C
M
C Ɔ (M ● C)
T
T
?
T
F
?
F
T
?
F
F
?
Our job now is to figure out what goes in place of the question marks. We figure them
out one line at a time. Let’s start with the first line, where C and M are both true. In that
case, we get the following:
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Truth Tables for Complex Propositions: 2-Letter and 3-Letter Statements and more Exams Discrete Mathematics in PDF only on Docsity!

6.3 Truth Tables for Propositions

1. Truth Tables for 2-Letter Propositions: In section 6.2, we learned about truth tables for simple statements. For instance, the truth table for “A Ɔ B” is the following:

Conditional A B A Ɔ B T T T T F F F T T F F T

So, if I had told you that, “If you come over and help me move my couch on Saturday, then I will buy you pizza”, the ONLY way you might call me a liar is if you DID come over and help me, and I DID NOT buy you pizza.

(To see this, imagine that “p”=”you come over and help me move my couch” and “q”=”I buy you pizza” and then examine the truth table above)

In this section, we will learn how to make truth tables for more complicated statements. Let’s start with a statement which still has ONLY TWO statements as components (“p” and “q”).

Example #1: For instance, imagine that I told you: “I know you really well. If you buy cookies, then you will buy milk AND cookies.” Let “C”=”You buy cookies” and “M”=”You buy milk”. In that case, my claim can be written as the following:

C Ɔ (M ● C)

The truth table for C and M still looks like this:

C M C Ɔ (M ● C)

T T?

T F?

F T?

F F?

Our job now is to figure out what goes in place of the question marks. We figure them out one line at a time. Let’s start with the first line, where C and M are both true. In that case, we get the following:

Line 1: C=T, M=T

C Ɔ (M ● C) becomes: T Ɔ (T ● T) (we’ve replaced the letters with “T” for “True” and “F” for “False”) T Ɔ T (the conjunction of two true statements is also true) T (a conditional where both the antecedent and consequent are true is also true)

So, the right-hand column should have a “T” on the first line, like this:

C M C Ɔ (M ● C)

T T T

T F?

F T?

F F?

Let’s do the other 3 lines:

Line 2: C=T, M=F

C Ɔ (M ● C) T Ɔ (F ● T) T Ɔ F F

Line 3: C=F, M=T

C Ɔ (M ● C) F Ɔ (T ● F) F Ɔ F T

Line 4: C=F, M=F

C Ɔ (M ● C) F Ɔ (F ● F) F Ɔ F T

So, now that we have our truth values for lines 1-4, we can fill in the entire truth table:

Above, the original truth values for the statements E and C are in black, and the truth values for the negation are in green. Next, we should solve the stuff inside of the parenthesis (the disjunction, “˅”), like this:

(E ˅ ~C) Ɔ C T T F T T T T T F F F F F T T F T T F F

The solution for the truth values of the disjunction is in blue. Note that the disjunction is only false on the third line, since disjunctions are only ever false when BOTH of their disjuncts are false. Now, let’s solve the main operator, the conditional, “Ɔ”:

(E ˅ ~C) Ɔ C T T F T T T T T T F F F F F F T T T F T T F F F

The bold, red letters represent the truth function for the whole proposition. Notice that only the first and third lines are true. So, looking at the original truth values for the statements E and C (in black), we see that the whole statement is false ONLY WHEN “E” is true and “C” is false, or else when “E” is false and “C” is false.

In other words, the statement, “If we either exercise or eat anything other than cookies, then we’ll eat cookies” is a lie ONLY when: (1) We DO exercise, but we do NOT eat cookies. Or (2) We do NOT exercise and we DO NOT eat cookies.

On the other hand, that statement is TRUE when: (1) We DO exercise AND eat cookies, or (2) We do NOT exercise, but DO eat cookies.

2. Truth Tables for 3-Letter Propositions: Next, we will look at propositions with THREE distinct statements in them. For instance, let’s try one from exercise 6.3, section II, #10 (on page 342 of your textbook). It says:

W ≡ (B ● T)

Now, we’ve seen that when there is only ONE letter, we get a truth table with TWO lines, and when there are TWO letters, we get a truth table with FOUR lines. For instance:

Negation: 1 Letter A ~A T F F T

Conjunction: 2 Letters A B A ● B T T T T F F F T F F F F

When there are THREE letters, there will be EIGHT lines. The basic formula is that there will be 2 n^ lines , where n=the number of statement letters. So, the truth table for THREE letter propositions will look like this:

W B T Proposition T T T? T T F? T F T? T F F? F T T? F T F? F F T? F F F?

Let’s determine the truth values for the entire proposition which go in the right-hand column. We begin by writing out all 8 lines with the truth values for the three different statements filled in, as follows:

W ≡ (B ● T) T T T T T F T F T T F F F T T F T F F F T F F F

Next, let’s fill in the truth values for the disjunction. The disjunction will ONLY be true when BOTH conjuncts are true. So, our table should look like this:

Column Under the Main Operator Statement Classification All True Tautologous (Logically True) All False Self-Contradictory (Logically False) At Least One True & At Least One False Contingent

Tautologous statements are true, but this truth depends ONLY on the FORM of the statement, and not at all on the content—so they are true in a really uninteresting and uninformative way. They are “trivially true”.

Self-Contradictory statements are always false, and their falsehood depends upon their FORM. Since their FORM is what makes them false, they can NEVER be true, no matter WHAT the content is.

Contingent statements have a form that allows for them to be EITHER true OR false, depending on the content, and whether the statements that make up the content are true or false.

All of the statements we have examined so far have been contingent ones. (To see this, look at their truth tables, and notice that there are both T’s and F’s in the column under the main operator). Let’s try one that is NOT contingent:

“I have a car that is red all over and not red all over.” Symbolize this as follows:

R ● ~R

This only has ONE distinct letter, so there will only be TWO lines, like this:

R ● ~R T T F F

First, let’s do the negation:

R ● ~R T F T F T F

The truth values for the negation are in green. Now, let’s do the conjunction “●”. To do that, we should compare the letters under the “R” and the green letters under the “~”:

R ● ~R T F F T F F T F

Since conjunctions are ONLY true when BOTH conjuncts are true, there is no way that the conjunction can ever be true. So, if someone tells you that they have a car that is both red all over, and not red all over, they are claiming something impossible. Since all of the letters under the main operator (in red) are FALSE, this statement is self- contradictory.

4. Comparing Statements: In the previous section, we looked a SINGLE propositions and noticed something about them based on the truth values listed under the main operator. In this section, we’re going to compare the truth tables of TWO propositions with EACH OTHER. To do this, we take the columns of truth vales under the main operators for EACH of the two propositions, and COMPARE them.

Sometimes, when we compare the truth tables for two different propositions, the truth values under the main operator will be exactly the same (when this happens, the two propositions are said to be “ logically equivalent ”). Sometimes they will be exactly opposite (when this happens, the two propositions are said to be “ contradictory ”). Sometimes, there will be one or more lines where both propositions come out true (in this case, the propositions are “ consistent ”). Sometimes, there will NOT be any lines where both propositions are true (in this case, the propositions are “ inconsistent ”).

Columns Under the Main Operators Relation Between SAME Truth Values on EVERY Line Logically Equivalent DIFFERENT Truth Values on EVERY Line Contradictory At Least One Line Where Both Are True Consistent No Line Where Both Are True Inconsistent

Let’s do Exercise 6.3. Section III. #1 as an example. Harold Carson claims:

“The balance of payments will decrease if and only if interest rates remain steady; however, it is not the case that either interest rates will not remain steady or the balance of payments will decrease.”

There are two claims here. (The second claim begins with the word “however”) Let “D”=”The balance of payments will decrease, and let “S”=”interest rates remain steady”. Then, we get the following two statements:

D ≡ S ~(~S ˅ D)

To compare the two propositions, we will need to do TWO truth tables—one for each statement. Since there are two letters, our truth table will have four lines. Like this:

Are the two statements logically equivalent? No. To be logically equivalent, the truth values in red would need to be IDENTICAL. Are they contradictory? No. To be contradictory, the truth values in red would need to be EXACTLY OPPOSITE. Though lines 1, 3, and 4, are exactly opposite, on line 2 they are BOTH FALSE ( F ). Are they consistent? No. To be consistent, there would need to be at least one line where BOTH statements are true. But there are NO lines with two T ’s.

Answer: The two statements are inconsistent. That is, there is NO circumstance in which both propositions could be true; i.e., there is NO line with two T ’s.

(See your textbook, section 6.3, as well as starred questions for exercise 6.3 for more examples comparing the truth tables of two propositions).

Note: Do homework for section 6.3 at this time.