27
Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Embed Size (px)

Citation preview

Page 1: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Truth Tables

The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of

arguments.

Go To Next Slide

Page 2: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Truth tables often seem complex and difficult. This initial perception, however, is misleading. By following a consistent, step-by-step process, constructing truth tables will soon become second nature. The practice it does take to gain this skill is worth the effort for at least two reasons.

1. Truth tables are powerful and let you test the validity of arguments with certainty.

2. The skills involved in constructing truth tables are foundational for more sophisticated sorts of symbolic logic.

Page 3: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Before we begin it is important to take a minute to think about what truth tables are and what their purpose is. Like Venn Diagrams, truth tables are a way of representing an argument symbolically for the purpose of determining the argument’s validity or invalidity.

Validity, we recall, refers to a deductive argument whose true premises guarantee the truth of its conclusion. On the contrary, an invalid argument is one where the truth of the premises do not guarantee the truth of the conclusion.

Truth tables, then, offer a systematic way to investigate these relationships and determine validity or invalidity.

Page 4: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

First things first. As with Venn Diagrams, truth tables require an argument to be translated into a form using claim variables for the claims.

Each claim variable stands for a complete sentence.

Each claim variable has a truth value; that is, it is either true or false.

PTF

This is a truth table. As you can see it shows the possible truth values of the claim “P.”

Page 5: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Next, realize that whatever truth value a claim has, its negation (contradictory claim) has the opposite truth value.

P ~PT FF T

We use the “~” to represent the negation and pronounce this truth function symbol as “not.”

This truth table is the definition of negation. So, if “P” is true then “not P” is false and if “P” is false then “not P” is true.

Page 6: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Let’s look at the remaining truth function symbols. They each represent the relationship between two claims.

A conjunction is a compound claim asserting both of the simpler claims contained in it. A conjunction is true if and only if both of the simpler claims are true.

P & Q This is a conjunction using the ”&” symbol. It is pronounced “P and Q.”

Page 7: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

So, what would a truth table for a conjunction look like? Remember it must show all the possible combinations of truth values of its claims.

P Q P&QT T ?T F ?F T ?F F ?

This table must contain 4 lines because it needs to show all possible combinations of truth values of “P” and “Q.”

“P” True and “Q” True “P” True and “Q” False

“P” False and “Q” True

“P” False and “Q” False

Page 8: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Now, look at the third column. The lines below “P and Q” show the truth values of this conjunction based on the truth values of its parts. Since a conjunction is only true when both its parts are true we can see how the lines are assigned values.

P Q P&QT T T F F T F F

T

FF

F

Study this table carefully. Make sure you understand what the purpose of each part is and what it tells you. It is essential that you understand these basics in order to use truth tables to test validity.

Page 9: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

A disjunction is a compound claim asserting either or both of the simpler claims contained in it. A disjunction is false if and only if both of the simpler claims are false.

P v Q This is a disjunction using the ”v” symbol. It is pronounced “P or Q.”

P Q P v QT T T F F T F F

T

TT

F

This truth table represents the rule of disjunction. As you can see, the only way “P or Q” is false is the case where both “P” is false and “Q” is false.

Page 10: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

A conditional is a compound claim asserting the second simpler claim on the condition that the first is true. A conditional is false if and only if the first claim is true and the second false.

P Q This is a conditional using the ”” symbol. It is pronounced “if P then Q.”

P Q P QT T T F F T F F

T

TF

T

This truth table represents the conditional. As you can see, the only way “ if P then Q” is false is the case where “P” is true and “Q” is false.

Page 11: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

We are now ready to look at truth table themselves. When constructing truth tables, keep the following three rules in mind:

1. Use parentheses, as in algebra, to represent where the truth function operation is doing its work.

2. The table must capture all possible combinations of truth values for individual sentences contained in the complex expression.

3. The table must contain columns for the parts of the final complex expression, if any of those parts is not a single claim variable.

Page 12: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Now, use a truth table to determine the validity or invalidity of this argument:

First, translate this argument into standard form

“If building the bookshelf requires a screw driver then I will not be able to build it. After reading the directions I see that a screw driver is needed. So, I can’t build it.”

If S then not BS _Not B

Now into symbolsS ~BS _~B

Page 13: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

S ~BS _~B

Now, build a truth table. We have two claim variables, “S” and “~B” which will each need a column.

S ~BT TT FF TF F

Next, we need a column for each premise and the conclusion. The second premise is already represented, so we only need to add the first premise to our table.

S ~B

~B

Page 14: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

S ~BT TT FF TF F

S ~B

S ~BS _~B

Now, fill in the truth values for the first premise based on the rule of the conditional.

T F T T

For convenience we can add columns for the second premise and the conclusion, though they are already in the table.

~B T F T F

STTFF

We’re done. Our truth table now tells us whether or not the argument is valid. What do you think?

Page 15: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

S ~BT TT FF TF F

S ~B T F T T

~B T F T F

S ~BS _~B

Go To Next Slide

To use the table to test the validity of our argument, we need to concentrate on the definition of validity. An argument is valid if it is impossible for the premises to be true and the conclusion to be false. Since our truth table represents all possible combinations of the truth values of the parts of the argument, we simply need

STTFF

to inspect it to see if any line shows true premises and a false conclusion. As you can see there are no such lines, so this is a valid argument. When the premises are true so is the conclusion.

Page 16: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Now, use a truth table to determine the validity or invalidity of this argument:

First, translate this argument into standard form

“Martin is not buying a new car since he said he would buy a new car or take a Hawaiian vacation and I just heard him talking about his trip to Maui.

C or HH _Not C

Now into symbolsC v HH _~ C

Page 17: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

C v HH _~ C

Now, build a truth table. We have two claim variables, “C” and “H” which will each need a column.

C HT TT FF TF F

Next, we need a column for each premise and the conclusion. The second premise is already represented, so we only need to add the first premise to our table.

C v H

~C

Page 18: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

C HT TT FF TF F

C v H

C v HH _~ C

Now, fill in the truth values for the first premise based on the rule of disjunction.

T T T F

For convenience we can add columns for the second premise, though it is already in the table. We merely recopy the “H” column and determine the truth values of the conclusion “~ C” column by negating the “C.”

~C F F T T

HTFTF

We’re done. Our truth table now tells us whether or not the argument is valid. What do you think?

Page 19: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

C HT TT FF TF F

C v H T T T F

~C F F T T

HTFTF

C v HH _~ C

Go To Next Slide

When you inspect the truth table you want to see if it is possible for the premises to be true and the conclusion false.

Note the red shaded line. It is possible for the premises to be true and the conclusion false. This is an invalid argument.

Page 20: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

Now, use a truth table to determine the validity or invalidity of this argument:

First, translate this argument into standard form

“If you want to over-clock your processor you must make both hardware and software changes. Unfortunately, you are either ignorant of hardware or software. So, you won’t be over-clocking your processor

If O then H and SNot H or Not S _Not O

Now into symbolsO (H & S)~H v ~S _~ O

Page 21: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

Go To Next Slide

O (H & S)~H v ~S _~ O

Now, build a truth table. We have three claim variables: “O,” “H,” and “S,” which will each need a column. With

three variables we will need 8 lines to show all possible truth value combinations. Note the the “S” column alternates one true and one false all the way down, the “H” line alternates pairs of trues and falses and the “O” line alternates four trues with four falses. If we had another column it would alternate eight trues with eight falses.

O H ST T TT T FT F TT F FF T TF T FF F TF F F

Now add columns for the premises.

Page 22: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

O H ST T TT T FT F TT F FF T TF T FF F TF F F

O (H & S)~H v ~S _~ O

We need columns for “~H” and “~S”.We get these truth values by negating “H” and “S”.

~H ~S F F F T T F T T F F F T T F T T

H & S T F F F T F F F

Next we add a column for “H & S” by applying the rule of conjunction to the “H” and “S” truth values we have already drawn.

Go To Next Slide

Page 23: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

O H ST T TT T FT F TT F FF T TF T FF F TF F F

O (H & S)~H v ~S _~ O

~H ~S F F F T T F T T F F F T T F T T

H & S T F F F T F F F

Now add a column for the first premise by applying the rule of the conditional to the “O” and “H&S” values in the table.

O (H&S)TFFFTTTT

Go To Next Slide

Page 24: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

O H ST T TT T FT F TT F FF T TF T FF F TF F F

O (H & S)~H v ~S _~ O

~H ~S F F F T T F T T F F F T T F T T

H & S T F F F T F F F

Now add a column for the second premise by applying the rule of disjunction to the “~H” and “~S” values in the table.

O (H&S)TFFFTTTT

~H v ~SFTTTFTTT

Go To Next Slide

Page 25: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

O H ST T TT T FT F TT F FF T TF T FF F TF F F

O (H & S)~H v ~S _~ O

~H ~S F F F T T F T T F F F T T F T T

H & S T F F F T F F F

Now add a column for the conclusion by negating the “O” column and determine the validity or invalidity.

O (H&S)TFFFTTTT

~H v ~SFTTTFTTT

Go To Next Slide

~ O F F F F T T T T

Page 26: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

O H ST T TT T FT F TT F FF T TF T FF F TF F F

O (H & S)~H v ~S _~ O

~H ~S F F F T T F T T F F F T T F T T

H & S T F F F T F F F

There are no cases where the premises are true and the conclusion is false. Thus, this is a valid argument.

O (H&S)TFFFTTTT

~H v ~SFTTTFTTT

Go To Next Slide

~ O F F F F T T T T

Page 27: Truth Tables The aim of this tutorial is to help you learn to construct truth tables and use them to test the validity of arguments. Go To Next Slide

This is the end of this tutorial

Obviously there are more complex arguments than the ones addressed in this tutorial. However, if you are systematic in applying the rules, the complexity is irrelevant.

If you would like more practice with building truth tables click here.