Truth Tables for Propositions

Similar documents
Truth Table Definitions of Logical Connectives

1.3 Propositional Equivalences

Truth Tables for Arguments

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Section 1.1: Logical Form and Logical Equivalence

Derivations, part 2. Let s dive in to some derivations that require the use of the last four rules:

CSC Discrete Math I, Spring Propositional Logic

Truth-Functional Logic

Propositional Logic Review

PL: Truth Trees. Handout Truth Trees: The Setup

PHIL12A Section answers, 16 February 2011

THE LOGIC OF COMPOUND STATEMENTS

Symbolic Logic 3. For an inference to be deductively valid it is impossible for the conclusion to be false if the premises are true.

Propositional Equivalence

Logic and Proofs. Jan COT3100: Applications of Discrete Structures Jan 2007

Chapter 3: Logic. Diana Pell. A statement is a declarative sentence that is either true or false, but not both.

AMTH140 Lecture 8. Symbolic Logic

2/2/2018. CS 103 Discrete Structures. Chapter 1. Propositional Logic. Chapter 1.1. Propositional Logic

Choosing Logical Connectives

Deduction by Daniel Bonevac. Chapter 3 Truth Trees

Introducing Proof 1. hsn.uk.net. Contents

1.1 Language and Logic

Logical Operators. Conjunction Disjunction Negation Exclusive Or Implication Biconditional

Introduction to Sets and Logic (MATH 1190)

First Degree Entailment

LOGIC CONNECTIVES. Students who have an ACT score of at least 30 OR a GPA of at least 3.5 can receive a college scholarship.

COM S 330 Homework 02 Solutions. Type your answers to the following questions and submit a PDF file to Blackboard. One page per problem.

1.1 Statements and Compound Statements

1.1 Language and Logic

Topic 1: Propositional logic

CHAPTER 6 - THINKING ABOUT AND PRACTICING PROPOSITIONAL LOGIC

A Little Deductive Logic

Chapter 1 Review of Equations and Inequalities

Chapter 1: Formal Logic

KB Agents and Propositional Logic

Ella failed to drop the class. Ella dropped the class.

Propositional logic ( ): Review from Mat 1348

PHI Propositional Logic Lecture 2. Truth Tables

PROPOSITIONAL CALCULUS

A Little Deductive Logic

Discrete Mathematical Structures. Chapter 1 The Foundation: Logic

5. And. 5.1 The conjunction

Tautologies, Contradictions, and Contingencies

The paradox of knowability, the knower, and the believer

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Section 1.2 Propositional Equivalences. A tautology is a proposition which is always true. A contradiction is a proposition which is always false.

Propositional Logic: Equivalence

Proving logical equivalencies (1.3)

Gödel s Incompleteness Theorems

1 Propositional Logic

Logic. Definition [1] A logic is a formal language that comes with rules for deducing the truth of one proposition from the truth of another.

5. And. 5.1 The conjunction

DISCRETE MATHEMATICS BA202

EECS 1028 M: Discrete Mathematics for Engineers

3 The Semantics of the Propositional Calculus

FUNDAMENTALS OF MATHEMATICS HANDOUT 1.3 DR. MCLOUGHLIN

Computation and Logic Definitions

Chapter 1. Foundations of GMAT Math. Arithmetic

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

Logic and Truth Tables

Arguments and Proofs. 1. A set of sentences (the premises) 2. A sentence (the conclusion)

Properties of Arithmetic

First Order Logic: Syntax and Semantics

2.2: Logical Equivalence: The Laws of Logic

Chapter 4: Classical Propositional Semantics

~ p is always false. Based on the basic truth table for disjunction, if q is true then p ~

MAT 101 Exam 2 Logic (Part I) Fall Circle the correct answer on the following multiple-choice questions.

Chapter Summary. Propositional Logic. Predicate Logic. Proofs. The Language of Propositions (1.1) Applications (1.2) Logical Equivalences (1.

Russell s logicism. Jeff Speaks. September 26, 2007

Equivalence and Implication

THE LOGIC OF COMPOUND STATEMENTS

Unary negation: T F F T

Part Two: The Basic Components of the SOFL Specification Language

Chapter 5: Section 5-1 Mathematical Logic

MACM 101 Discrete Mathematics I. Exercises on Propositional Logic. Due: Tuesday, September 29th (at the beginning of the class)

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

Logic I - Session 10 Thursday, October 15,

Section L.1- Introduction to Logic

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

Supplementary Logic Notes CSE 321 Winter 2009

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

Chapter 1: The Logic of Compound Statements. January 7, 2008

HANDOUT AND SET THEORY. Ariyadi Wijaya

CSE 20 DISCRETE MATH WINTER

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

a. ~p : if p is T, then ~p is F, and vice versa

Unit 1. Propositional Logic Reading do all quick-checks Propositional Logic: Ch. 2.intro, 2.2, 2.3, 2.4. Review 2.9

Section 3.1 Statements, Negations, and Quantified Statements

Predicate Logic & Quantification

CSE 20: Discrete Mathematics

Formal Logic. Critical Thinking

Final Exam Theory Quiz Answer Page

Mathematical Reasoning (Part I) 1

STRATEGIES OF PROBLEM SOLVING

Announcements For Methods of Proof for Boolean Logic Proof by Contradiction. Outline. The Big Picture Where is Today? William Starr

Compound Propositions

2/13/2012. Logic: Truth Tables. CS160 Rosen Chapter 1. Logic?

THE LOGIC OF COMPOUND STATEMENTS

Language of Propositional Logic

UNIT-I: Propositional Logic

Transcription:

Truth Tables for Propositions 1. Truth Tables for 2-Letter Compound Statements: We have 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. Now we will learn how to make truth tables for more complicated statements. Let s start with a compound statement which contains ONLY TWO distinct simple statements. Example #1: For instance, imagine that a bunch of people are invited to a party. You speculate about your friends: If Alice goes, then Brad will go; but, if Brad goes, then Alice WON T go. Let A = Alice goes to the party and B = Brad goes to the party, so that we get: (A B) (B A) The un-filled-in truth table for this proposition looks like this: A B (A B) (B A) 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 A and B are both true. In that case, we get the following: 1

Line 1: A=T, B=T (A B) (B A) becomes: (T T) (T T) (We replace the letters with T for True and F for False ) (T T) (T F) (We negate the last T ) T F (The first conditional is true, and the second one is false) F (A conjunction with one false conjunct is false) So, the right-hand column should have an F on the first line, like this: A B (A B) (B A) T T F T F? F T? F F? Let s do the other 3 lines: Line 2: A=T, B=F (A B) (B A) (T F) (F T) (T F) (F F) F T F Line 3: A=F, B=T (A B) (B A) (F T) (T F) (F T) (T T) T T T Line 4: A=F, B=F (A B) (B A) (F F) (F F) (F F) (F T) T T T 2

So, now that we have our truth values for lines 1-4, we can fill in the entire truth table: A B (A B) (B A) T T F T F F F T T F F T The bold values on the far right represents the truth table for the proposition. As we can see, your claim ONLY comes out true if Brad is the only one of the two who shows up, or if NEITHER Alice nor Brad show up. Example #2: We have seen this claim: Timmy is either five or six, but he s not both five AND six. Substituting F for Timmy is five and S for Timmy is six, we get the following symbolization: Again, these are the four possible combinations of truth and falsehood for F and S: F S T T? T F? F T? F F? But, typically, to save space we do not determine the truth table like we did in example #1. Usually, we put the T s and F s directly underneath the formula, all together, like this: T T T T T F T F F T F T F F F F First, let s determine the truth values of the disjunction and conjunction (the stuff inside of the parentheses), like this: T T T T T T T T F T F F F T T F F T F F F F F F 3

Above, the original truth values for the statements F and S are in black, and the truth values for the disjunction and the conjunction are in green. Note that the disjunction is only false on the fourth line, since disjunctions are only ever false when BOTH of their disjuncts are false. Also, the conjunction is only true on the first line, since conjunctions are only true when BOTH of their conjuncts are true. Next, we perform the negation on the stuff in parentheses on the right, like this: T T T F T T T T T F T T F F F T T T F F T F F F T F F F The solution for the truth values of the negation is in blue. For negation, we just write the opposite truth value of whatever is being negated (so the blue truth values are just the opposite of the green truth values listed underneath the conjunction). Last, let s solve for the main operator, the conjunction, : T T T F F T T T T T F T T T F F F T T T T F F T F F F F T F F F The bold, red letters are the truth function for the whole proposition, which was: Timmy is either five or six, but he s not both five AND six. The final truth table looks like this: F S T T F T F T F T T F F F 4

Notice that only the second and third lines are true. So, looking at the original truth values for the statements F and S (in black), we see that the whole statement is false ONLY WHEN it is true that Timmy is five, but false that he is six, OR when it is false that Timmy is five, but true when he is six. On the other hand, the statement would come out false if it was true that Timmy is five AND true that he is six, or if it were false that he is five AND false that he is six. Intuitively, this is the correct result. 2. Truth Tables for 3-Letter Compound Statements: Next, we will look at propositions containing THREE distinct statements. We ve seen that statements with only ONE letter get truth tables with TWO lines, and TWO letters gets a table with FOUR lines, like this: 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. For, instance, we ll try: Warren will go to the party if and only if both Belinda and Tina go to the party Symbolized as: W (B T) ; And its truth table will look like this: W B T 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? 5

Let s determine the truth values which go in place of the question marks. We begin by writing out all 8 lines with the truth values for the three different statements filled in: 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: W (B T) T T T T T T F F T F F T T F F F F T T T F T F F F F F T F F F F Next, let s fill in the final truth values for the bi-conditional. Bi-conditionals are ONLY true whenever the statements on either side of the bi-conditional have the SAME truth value. So, here, we should be comparing the letters underneath the W with the green letters underneath the. Here is the answer: W (B T) T T T T T T F T F F T F F F T T F F F F F F T T T F T T F F F T F F T F T F F F 6

This statement is true on the first line, and the last 3 lines. In other words, the entire proposition is true if: Line 1: W=true, B=true, T=true Line 6: W=false, B=true, T=false Line 7: W=false, B=false, T=true Line 8: W=false, B=false, T=false 3. Classifying Statements: In the truth table we just did, the red letters are an assortment of true and false. When this happens, we say that the proposition is contingent. But, sometimes, the column will be ALL T s, or ALL F s. When the truth table for the proposition is ALL T s, we say that the proposition is tautologous. When the truth table is ALL F s, we say that it is self-contradictory. So: Column Under the Main Operator All True All False At Least One True & At Least One False Statement Classification Tautologous (Logically True) Self-Contradictory (Logically 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 also 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 whether the statements that make up its 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: Someone says: If you know, then you just know Symbolized as: K K 7

K K T T F F And, one step later: K K T T T F T F This is a tautology. The statement is true in all possible scenarios. It cannot be false. Try another: Dude It both is, and it isn t. Symbolized as: I I I I T T F F First, let s do the negation: I I T FT F TF 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 : I I TF FT FF TF 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 something is AND it isn t, they are claiming something impossible. Since all of the letters under the main operator (in red) are FALSE, this statement is self-contradictory. 8