Propositional Logic – The Basics (2)

Slides:



Advertisements
Similar presentations
Copyright 2008, Scott Gray1 Propositional Logic 3) Truth Tables.
Advertisements

3.2 Truth Tables for Negation, Conjunction, and Disjunction
Truth Tables How to Make and Use. Making a Truth Table To determine the number of rows other than the heading row. To determine the number of rows other.
PROOF BY CONTRADICTION
Grading Lecture attendance: -1% per 2 unexcused absences
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
The basics of propositional logic
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
2.2 Conditional Statements. Goals Identify statements which are conditional Identify the antecedent and consequent of a conditional statement Negate conditional.
Syllabus Every Week: 2 Hourly Exams +Final - as noted on Syllabus
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
First Order Logic. Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not.
The Language of Propositional Logic The Syntax and Semantics of PL.
Satisfiability & Logical Truth PHIL /16/2001.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Conjunctions, Disjunctions, and Negations Symbolic Logic 2/12/2001.
Section 1.5 Implications. Implication Statements If Cara has a piano lesson, then it is Friday. If it is raining, then I need to remember my umbrella.
MATERI II PROPOSISI. 2 Tautology and Contradiction Definition A tautology is a statement form that is always true. A statement whose form is a tautology.
Discrete Mathematics CS 285. Lecture 12 Section 1.1: Logic Axiomatic concepts in math: Equals Opposite Truth and falsehood Statement Objects Collections.
Copyright © Curt Hill Truth Tables A way to show Boolean Operations.
Discrete Mathematics. Propositional Logic 10/8/2015 What’s a proposition? PropositionsNot Propositions = 32Bring me coffee! CS173 is Bryan’s favorite.
Chap. 2 Fundamentals of Logic. Proposition Proposition (or statement): an declarative sentence that is either true or false, but not both. e.g. –Margret.
Math 240: Transition to Advanced Math Deductive reasoning: logic is used to draw conclusions based on statements accepted as true. Thus conclusions are.
Logic Disjunction A disjunction is a compound statement formed by combining two simple sentences using the word “OR”. A disjunction is true when at.
Conjunction A conjunction is a compound statement formed by combining two simple sentences using the word “AND”. A conjunction is only true when both.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
Truth Tables and Validity Kareem Khalifa Department of Philosophy Middlebury College pqrSp v qr & s~(p v q)~p~q~p & ~q~(p v q) -> (r & s) (~p & ~q) ->
Module Code MA1032N: Logic Lecture for Week Autumn.
Tautologies, contradictions, contingencies
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
Reading: Chapter 4 (44-59) from the text book
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
Validity and Conditionals There is a relationship between validity of an argument and a corresponding conditional.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 3 Logic.
1 Introduction to Abstract Mathematics Expressions (Propositional formulas or forms) Instructor: Hayk Melikya
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.3 Truth Tables for the Conditional and Biconditional.
Thinking Mathematically
© 2010 Pearson Prentice Hall. All rights reserved. 1 §3.4, Truth Tables for the Conditional and the Biconditional.
12/6/ A sample class of Discrete Structures Gongjun Yan Computer Science Department, Old Dominion University, Norfolk, VA (Logical conjunction and.
Discrete Mathematics CS 285. Lecture 12 Quick Overview The conceptual center of computer science is the ALGORITHM.
Thinking Mathematically Arguments and Truth Tables.
Chapter 1: The Foundations: Logic and Proofs
The Foundations: Logic and Proof, Sets, and Foundations PROPOSITIONS A proposition is a declarative sentence that is either True or False, but not the.
Propositional Logic – The Basics (2) Truth-tables for Propositions.
Section 1.1 Propositions and Logical Operations. Introduction Remember that discrete is –the study of decision making in non-continuous systems. That.
Mathematics for Comter I Lecture 2: Logic (1) Basic definitions Logical operators Translating English sentences.
LECTURE 1. Disrete mathematics and its application by rosen 7 th edition THE FOUNDATIONS: LOGIC AND PROOFS 1.1 PROPOSITIONAL LOGIC.
 To combine propositions using connectives  To construct the truth table of a given compound proposition  To define de Morgan Law for logic  To define.
Thinking Mathematically Logic 3.4 Truth Tables for the Conditional and Biconditional.
CS104 The Foundations: Logic and Proof 1. 2 What is Discrete Structure?  Discrete Objects  Separated from each other (Opposite of continuous)  e.g.,
2.2 Truth Tables for Negation, Conjunction, and Disjunction.
CS-7081 Application - 1. CS-7082 Example - 2 CS-7083 Simplifying a Statement – 3.
Truth Tables, Continued 6.3 and 6.4 March 14th. 6.3 Truth tables for propositions Remember: a truth table gives the truth value of a compound proposition.
AND.
Thinking Mathematically
CHAPTER 3 Logic.
How do I show that two compound propositions are logically equivalent?
(CSC 102) Discrete Structures Lecture 2.
CS 220: Discrete Structures and their Applications
TRUTH TABLES.
Discrete Mathematics Lecture 2: Propositional Logic
6.3 Truth Tables for Propositions
Section 3.7 Switching Circuits
CHAPTER 3 Logic.
Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction
6.4 Truth Tables for Arguments
CHAPTER 3 Logic.
CHAPTER 3 Logic.
Truth tables.
Truth Tables for Conditional and Biconditional Statements
Presentation transcript:

Propositional Logic – The Basics (2) Truth-tables for Propositions

Assigning Truth L ● ~ F True or false? – “This is a class in introductory-level logic.” “This is a class in introductory-level logic, which does not include a study of informal fallacies.” “This is a class in introductory-level logic, which does not include a study of informal fallacies.” L ● ~ F

How about this one? L ● F T F F “This is a class in introductory logic, which includes a study of informal fallacies.” “This is a class in introductory logic (T), which includes a study of informal fallacies (F).” L ● F T F F

Propositional Logic and Truth The truth of a compound proposition is a function of: The truth value of it’s component, simple propositions, plus the way its operator(s) defines the relation between those simple propositions. p ● q p v q T F T F F T

Truth Table Principles and Rules Truth tables enable you to determine the conditions under which you can accept a particular statement as true or false. Truth tables thus define operators; that is, they set out how each operator affects or changes the value of a statement.

Truth and the Actual World Some statements describe the actual world - the existing state of the world at “time x”; the way the world in fact is. “This is a logic class and I am seated in SOCS 203.” - Actually and currently true on a class day. - Possibly true, but not “currently” true on Monday, Wednesday or Friday.

Truth and Possible Worlds Some statements describe possible worlds - particular states of the world at “time y”; a way the world could be.. “This is a history class and I am seated in SOCS 203.” Possibly true, but not currently true. Actually true, if you have a history class here and it is a history class day/time. A truth table describes all possible combinations of truth values for a statement. It will, in fact, even tell you if a statement could not possibly be true in any world.

Constructing Truth Tables 1. Write your statement in symbolic form. 2. Determine the number of truth-value lines you must have to express all possible conditions under which your compound statement might or might not be true. Method: your table will represent 2n power, where n = the number of propositions symbolized in the statement. 3. Distribute your truth-values across all required lines for each of the symbols (operators will come later). Method: Divide by halves as you move from left to right in assigning values.

Constructing Truth Tables - # of Lines For statement forms, there are only two symbols. Thus, these require lines numbering 22 power, or 4 lines. p q 1. 2. 3. 4. p q 1. 2. 3. 4.

Constructing Truth Tables – Distribution across all Symbols Under “p,” divide the 4 lines by 2. In rows 1 & 2 (1/2 of 4 lines), enter “T.” In rows 3 & 4, (the other ½ of 4 lines), enter “F.” p ● q 1. 2. 3. 4. p ≡ q 1. 2. 3. 4. T T F F T T F F

Constructing Truth Tables – Distribution across all Symbols Under “q,” divide the 2 “true” lines by 2. In row 1 (1/2 of 2 lines), enter “T.” In row 2, (the other ½ of 2 lines), enter “F.” Repeat for lines 3 & 4, inserting “T” and “F” respectively. p ● q 1. 2. 3. 4. p ≡ q 1. 2. 3. 4. T T F F T T F F T F T F T F T F

Constructing Truth Tables – Operator Definitions Thinking about the corresponding English expressions for each of the operators, determine which truth value should be assigned for each row in the table. p ● q 1. 2. 3. 4. p ≡ q 1. 2. 3. 4. T T F F T T F F T T F T F T F F F F F T F T F T

Constructing Truth Tables - # of Lines Remember that you are counting each symbol, not how many times symbols appear. ( p ≡ q ) ● q 1. 2. 3. 4. 2 symbols: 1 appearance of “p” and 2 appearances of “q”

Exercises - 1 1. 2. 3. 4. ( M > P ) v ( P > M ) T T F F T F T T Using the tables which define the operators, determine the values of this statement. 1. 2. 3. 4. ( M > P ) v ( P > M ) T T F F T F T T T F T F T T T T T F T F T T F T T T F F

Exercises – 2 Using the tables which define the operators, determine the values of this statement. [(Q > P) ● ( ~ Q R)] ~ (P v R) 1. 2. 3. 4. 5. 6. 7. 8. T T T T F F F F T T F F T T T T T T F F T T F F T T F F T F T F F F F F T T T T T T T T F F F F T T T T T F T F T F T F T F T F F F F F F F F F F F F T F F F T T T F F T T F F T T T F T T T F T F T F T F T F T T F F T T F F