truth table analysis

86
Truth-Table Analysis Phil 57 section 3 San Jose State University Fall 2010

Upload: janet-stemwedel

Post on 20-Aug-2015

2.361 views

Category:

Education


1 download

TRANSCRIPT

Page 1: Truth table analysis

Truth-Table Analysis

Phil 57 section 3San Jose State University

Fall 2010

Page 2: Truth table analysis

What are truth-tables good for?

• Working out the truth value of a formula from the truth values of the atomic formulae in it.

• Defining the behavior of logical connectives used to build complex formulae.

Page 3: Truth table analysis

What are truth-tables good for?

• Determining the logical status of a single proposition.

• Determining the logical status of a group of propositions.

• Determining the validity of an argument.

Page 4: Truth table analysis

The logical status of a proposition.

Some propositions are always true:It will rain or it won’t.

Some propositions are never true:The universe is empty and not empty.

Most propositions are true in some conditions and false in others:Today is hot.

Page 5: Truth table analysis

The logical status of a proposition.

Can use truth-tables to distinguish these different kinds of propositions.

Logical status Description Truth-Table

Tautology Always true Every row T

Contradiction Always false Every row F

Contingent Depends on circumstances

Some row T, some row F

Page 6: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

Page 7: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

T

F

Page 8: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

T F

F T

Page 9: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

T F F

F T F

Page 10: Truth table analysis

The logical status of a proposition.

Consider P~P

Truth-value for P~P is F in every row. (Contradiction)

P ~P P~P

T F F

F T F

Page 11: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

Page 12: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

T

F

Page 13: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

T F

F T

Page 14: Truth table analysis

The logical status of a proposition.

Consider P~P

P ~P P~P

T F T

F T T

Page 15: Truth table analysis

The logical status of a proposition.

Consider P~P

Truth-value for P~P is T in every row. (Tautology)

P ~P P~P

T F T

F T T

Page 16: Truth table analysis

The logical status of a group of propositions.

• Do two different claims mean the same thing?• Can two different claims both be true?• Must one of a pair of claims be false if the

other is true?

Page 17: Truth table analysis

The logical status of a group of propositions.

Logical Status Description Truth-Table

Equivalent Mean the same thing, logically

The truth-tables are identical

Satisfiable/consistent

Possibly all true. There is some row where all propositions are true.

Unsatisfiable/inconsistent

Can’t all be true. No row where all propositions are true.

Page 18: Truth table analysis

Rules for building truth-tables:As many columns as:• Statement letters• Non-atomic formulae• The formula to be computed

2N rows, where N= number of atomic statement letters.

Page 19: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1

2

3

4

5

6

7

8

Page 20: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1 T2 T3 T4 T5 F6 F7 F8 F

Page 21: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1 T T2 T T3 T F4 T F5 F T6 F T7 F F8 F F

Page 22: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1 T T T2 T T F3 T F T4 T F F5 F T T6 F T F7 F F T8 F F F

Page 23: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1 T T T F2 T T F T3 T F T F4 T F F T5 F T T F6 F T F T7 F F T F8 F F F T

Page 24: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1 T T T F T2 T T F T T3 T F T F F4 T F F T F5 F T T F F6 F T F T F7 F F T F F8 F F F T F

Page 25: Truth table analysis

Truth-table to evaluate ((PQ)~R) 1 2 3 4 5 6 (formula)

P Q R ~R (PQ) ((PQ)~R)

1 T T T F T F2 T T F T T T3 T F T F F T4 T F F T F T5 F T T F F T6 F T F T F T7 F F T F F T8 F F F T F T

Page 26: Truth table analysis

Determining the logical status of (~PP)

1 2 3 (formula)P ~P (~PP)

12

Page 27: Truth table analysis

Determining the logical status of (~PP)

1 2 3 (formula)P ~P (~PP)

1 T2 F

Page 28: Truth table analysis

Determining the logical status of (~PP)

1 2 3 (formula)P ~P (~PP)

1 T F2 F T

Page 29: Truth table analysis

Determining the logical status of (~PP)

1 2 3 (formula)P ~P (~PP)

1 T F T2 F T F

Page 30: Truth table analysis

Determining the logical status of (~PP)

1 2 3 (formula)P ~P (~PP)

1 T F T2 F T F

Formula is CONTINGENT.

Page 31: Truth table analysis

Determining the logical status of (P~Q)

1 2 3 4P Q ~Q (P~Q)

1234

Page 32: Truth table analysis

Determining the logical status of (P~Q)

1 2 3 4P Q ~Q (P~Q)

1 T2 T3 F4 F

Page 33: Truth table analysis

Determining the logical status of (P~Q)

1 2 3 4P Q ~Q (P~Q)

1 T T2 T F3 F T4 F F

Page 34: Truth table analysis

Determining the logical status of (P~Q)

1 2 3 4P Q ~Q (P~Q)

1 T T F2 T F T3 F T F4 F F T

Page 35: Truth table analysis

Determining the logical status of (P~Q)

1 2 3 4P Q ~Q (P~Q)

1 T T F F2 T F T T3 F T F F4 F F T F

Page 36: Truth table analysis

Steps for determining logical status of a proposition.

• Create truth-table with right number of rows and columns.

• Compute truth-value of every formula on every row using truth-values of atomic statements for the row.

• Check for the logical status by checking the relevant rows.

Page 37: Truth table analysis

The logical status of a proposition.

Can use truth-tables to distinguish these different kinds of propositions.

Logical status Description Truth-Table

Tautology Always true Every row T

Contradiction Always false Every row F

Contingent Depends on circumstances

Some row T, some row F

Page 38: Truth table analysis

Determining the logical status of a group of propositions.

• Build truth-table to give side-by-side comparison of the truth values of the propositions.

• Doing this in a single truth-table is the best way to ensure an apples-to-apples comparison.

Page 39: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1

2

3

4

Page 40: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T2 T3 F4 F

Page 41: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T2 T F3 F T4 F F

Page 42: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T F2 T F F3 F T T4 F F T

Page 43: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T F F2 T F F T3 F T T F4 F F T T

Page 44: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T F F T2 T F F T F3 F T T F F4 F F T T F

Page 45: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T F F T F2 T F F T F T3 F T T F F T4 F F T T F T

Page 46: Truth table analysis

Logical status of ~(PQ), (~P~Q)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T F F T F F2 T F F T F T T3 F T T F F T T4 F F T T F T T

Page 47: Truth table analysis

Logical status of ~(PQ), (~P~Q)

Both formulae have the same truth-values on every row (equivalent)

1 2 3 4 5 6 7

P Q ~P ~Q (PQ) ~(PQ) (~P~Q)1 T T F F T F F2 T F F T F T T3 F T T F F T T4 F F T T F T T

Page 48: Truth table analysis

Logical status of (PQ), (PQ)

1 2 3 4

P Q (PQ) (PQ)1

2

3

4

Page 49: Truth table analysis

Logical status of (PQ), (PQ)

1 2 3 4

P Q (PQ) (PQ)1 T2 T3 F4 F

Page 50: Truth table analysis

Logical status of (PQ), (PQ)

1 2 3 4

P Q (PQ) (PQ)1 T T2 T F3 F T4 F F

Page 51: Truth table analysis

Logical status of (PQ), (PQ)

1 2 3 4

P Q (PQ) (PQ)1 T T T2 T F F3 F T F4 F F F

Page 52: Truth table analysis

Logical status of (PQ), (PQ)

1 2 3 4

P Q (PQ) (PQ)1 T T T T2 T F F T3 F T F T4 F F F F

Page 53: Truth table analysis

Logical status of (PQ), (PQ)

A row (1) where both formulae are T (satisfiable, but not equivalent)

1 2 3 4

P Q (PQ) (PQ)1 T T T T2 T F F T3 F T F T4 F F F F

Page 54: Truth table analysis

Logical status of (P~Q), (PQ)

1 2 3 4

P Q ~Q (P~Q) (PQ)1

2

3

4

Page 55: Truth table analysis

Logical status of (P~Q), (PQ)

1 2 3 4

P Q ~Q (P~Q) (PQ)1 T2 T3 F4 F

Page 56: Truth table analysis

Logical status of (P~Q), (PQ)

1 2 3 4

P Q ~Q (P~Q) (PQ)1 T T2 T F3 F T4 F F

Page 57: Truth table analysis

Logical status of (P~Q), (PQ)

1 2 3 4

P Q ~Q (P~Q) (PQ)1 T T F2 T F T3 F T F4 F F T

Page 58: Truth table analysis

Logical status of (P~Q), (PQ)

1 2 3 4

P Q ~Q (P~Q) (PQ)1 T T F F2 T F T T3 F T F T4 F F T T

Page 59: Truth table analysis

Logical status of (P~Q), (PQ)

1 2 3 4

P Q ~Q (P~Q) (PQ)1 T T F F T2 T F T T F3 F T F T F4 F F T T F

Page 60: Truth table analysis

Logical status of (P~Q), (PQ)

NO row where both formulae are T (unsatisfiable)

1 2 3 4

P Q ~Q (P~Q) (PQ)1 T T F F T2 T F T T F3 F T F T F4 F F T T F

Page 61: Truth table analysis

Steps for determining logical status of group of propositions.

• Create truth-table with right number of rows and columns.

• Compute truth-value of every formula on every row using truth-values of atomic statements for the row.

• Check for the logical status by checking the relevant rows.

Page 62: Truth table analysis

The logical status of a group of propositions.

Logical Status Description Truth-Table

Equivalent Mean the same thing, logically

The truth-tables are identical

Satisfiable/consistent

Possibly all true. There is some row where all propositions are true.

Unsatisfiable/inconsistent

Can’t all be true. No row where all propositions are true.

Page 63: Truth table analysis

Determining the validity of an argument via truth-tables.

• Remember that a valid argument is one where, if all the premises are true, the conclusion must be true.

Page 64: Truth table analysis

Determining the validity of an argument via truth-tables.

• Remember that a valid argument is one where, if all the premises are true, the conclusion must be true.

• Build truth table that includes formulae for premises and conclusion.

Page 65: Truth table analysis

Determining the validity of an argument via truth-tables.

• Remember that a valid argument is one where, if all the premises are true, the conclusion must be true.

• Build truth table that includes formulae for premises and conclusion.

• If there’s a row where the premises are true and the conclusion is false, argument is invalid.

Page 66: Truth table analysis

Determining the validity of an argument via truth-tables.

• Remember that a valid argument is one where, if all the premises are true, the conclusion must be true.

• Build truth table that includes formulae for premises and conclusion.

• If there’s a row where the premises are true and the conclusion is false, argument is invalid.

• Otherwise, argument is valid.

Page 67: Truth table analysis

Determining the validity of an argument via truth-tables.

1. If John wins the election, then Mary will run for Governor.

2. John did not win the election. (Conclusion) So, Mary will not run for Governor.

Page 68: Truth table analysis

Determining the validity of an argument via truth-tables.

1. If John wins the election, then Mary will run for Governor.

2. John did not win the election. (Conclusion) So, Mary will not run for Governor.

P = John wins the election.Q = Mary will run for Governor.

Page 69: Truth table analysis

Determining the validity of an argument via truth-tables.

1. If John wins the election, then Mary will run for Governor. (PQ)

2. John did not win the election. ~P(Conclusion) So, Mary will not run for Governor.

~Q

P = John wins the election.Q = Mary will run for Governor.

Page 70: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1

2

3

4

Page 71: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1 T2 T3 F4 F

Page 72: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1 T T2 T F3 F T4 F F

Page 73: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1 T T T2 T F F3 F T T4 F F T

Page 74: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1 T T T F2 T F F F3 F T T T4 F F T T

Page 75: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1 T T T F F2 T F F F T3 F T T T F4 F F T T T

Page 76: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) ~P ~Q1 T T T F F2 T F F F T3 F T T T F4 F F T T T

ROW 3: Both premises true, conclusion false.Argument is invalid!

Page 77: Truth table analysis

Determining the validity of an argument via truth-tables.

1. If John wins the election, then Mary will run for Governor.

2. John won the election. (Conclusion) So, Mary will run for Governor.

P = John wins the election.Q = Mary will run for Governor.

Page 78: Truth table analysis

Determining the validity of an argument via truth-tables.

1. If John wins the election, then Mary will run for Governor. (PQ)

2. John won the election. P(Conclusion) So, Mary will run for Governor.

Q

P = John wins the election.Q = Mary will run for Governor.

Page 79: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1

2

3

4

Page 80: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1 T2 T3 F4 F

Page 81: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1 T T2 T F3 F T4 F F

Page 82: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1 T T T2 T F F3 F T T4 F F T

Page 83: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1 T T T T2 T F F T3 F T T F4 F F T F

Page 84: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1 T T T T T2 T F F T F3 F T T F T4 F F T F F

Page 85: Truth table analysis

Determining the validity of an argument via truth-tables.

Pr1 Pr2 C

P Q (PQ) P Q1 T T T T T2 T F F T F3 F T T F T4 F F T F F

ROW 1: Both premises true, conclusion true.Argument is valid!

Page 86: Truth table analysis

Important note for homework:

Some of the expressions you’ll be evaluating in truth-tables use alternate notation.

means ~ means means