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

Slides:



Advertisements
Similar presentations
Copyright 2008, Scott Gray1 Propositional Logic 9) Or.
Advertisements

Copyright 2008, Scott Gray1 Propositional Logic 4) If.
Implications Adriano Joaquim de O Cruz ©2002 NCE/UFRJ
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
Chapter 1: The Foundations: Logic and Proofs
0 - 0.
Addition Facts
Chapter 3 Introduction to Logic © 2008 Pearson Addison-Wesley.
TRUTH TABLES The general truth tables for each of the connectives tell you the value of any possible statement for each of the connectives. Negation.
Chapter 21: Truth Tables.
3 Logic The Study of What’s True or False or Somewhere in Between.
Propositional Equivalences
O X Click on Number next to person for a question.
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Week 1.
O X Click on Number next to person for a question.
1 Section 1.5 Rules of Inference. 2 Definitions Theorem: a statement that can be shown to be true Proof: demonstration of truth of theorem –consists of.
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
Chapter 1 The Logic of Compound Statements. Section 1.3 Valid & Invalid Arguments.
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.
SEVENTH EDITION and EXPANDED SEVENTH EDITION
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.
Discussion #9 1/9 Discussion #9 Tautologies and Contradictions.
Rosen 1.6. Approaches to Proofs Membership tables (similar to truth tables) Convert to a problem in propositional logic, prove, then convert back Use.
Chapter 3 Section 5 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Adapted from Discrete Math
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
Propositions and Truth Tables. Proposition: Makes a claim that may be either true or false; it must have the structure of a complete sentence.
Chapter 3 Section 4 – Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
2.5 Verifying Arguments Write arguments symbolically. Determine when arguments are valid or invalid. Recognize form of standard arguments. Recognize common.
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.
CSCI 115 Chapter 2 Logic. CSCI 115 §2.1 Propositions and Logical Operations.
Discrete Mathematics CS 285. Lecture 12 Section 1.1: Logic Axiomatic concepts in math: Equals Opposite Truth and falsehood Statement Objects Collections.
1 Logic Logic is a discipline that studies the principles and methods used in correct reasoning It includes: A formal language for expressing statements.
Valid and Invalid Arguments
Discrete Mathematics. Propositional Logic 10/8/2015 What’s a proposition? PropositionsNot Propositions = 32Bring me coffee! CS173 is Bryan’s favorite.
Section 3.5 Symbolic Arguments
Chapter Three Truth Tables 1. Computing Truth-Values We can use truth tables to determine the truth-value of any compound sentence containing one of.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
Reading: Chapter 4 (44-59) from the text book
Validity and Conditionals There is a relationship between validity of an argument and a corresponding conditional.
Chapter 3: Introduction to Logic. Logic Main goal: use logic to analyze arguments (claims) to see if they are valid or invalid. This is useful for math.
Thinking Mathematically Arguments and Truth Tables.
Chapter 1: The Foundations: Logic and Proofs
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.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 3.4, Slide 1 3 Logic The Study of What’s True or False or Somewhere in Between 3.
Part-2: Propositional Logic By Dr. Syed Noman Hasany.
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.
Lecture 10 Methods of Proof CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Part-2: Propositional Logic By Dr. Syed Noman Hasany.
Symbolic Logic and Rules of Inference. whatislogic.php If Tom is a philosopher, then Tom is poor. Tom is a philosopher.
CT214 – Logical Foundations of Computing Darren Doherty Rm. 311 Dept. of Information Technology NUI Galway
CS104 The Foundations: Logic and Proof 1. 2 What is Discrete Structure?  Discrete Objects  Separated from each other (Opposite of continuous)  e.g.,
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.
2. The Logic of Compound Statements Summary
Evaluating truth tables
Propositional Equivalences
3.5 Symbolic Arguments.
TRUTH TABLES.
6.4 Truth Tables for Arguments
If there is any case in which true premises lead to a false conclusion, the argument is invalid. Therefore this argument is INVALID.
3.5 Symbolic Arguments.
If there is any case in which true premises lead to a false conclusion, the argument is invalid. Therefore this argument is INVALID.
Presentation transcript:

Copyright 2008, Scott Gray1 Propositional Logic 3) Truth Tables

Copyright 2008, Scott Gray 2 Table Definition of NOT ~AA TFTF FTFT

Copyright 2008, Scott Gray 3 Table Definition of OR A v BA B T T F T T F F F TTTFTTTF

Copyright 2008, Scott Gray 4 Table Definition of AND A & BA B T T F T T F F F TFFFTFFF

Copyright 2008, Scott Gray 5 Table Definition of IF A B T T T F F T F F TFTTTFTT This is known as material implication

Copyright 2008, Scott Gray 6 Table Definition of IF & ONLY IF A B T T F T T F F F TFFTTFFT

Copyright 2008, Scott Gray 7 Truth Tables A function (mapping out) of all possible combinations of truth and falsity

Copyright 2008, Scott Gray 8 Truth Table Examples AA TFTFT

Copyright 2008, Scott Gray 9 Truth Table Examples, cont. A B T T F T T F F F FTTFFTTF Do you recognize this operator? It is the exclusive OR (though that isnt the symbol for it!)

Copyright 2008, Scott Gray 10 Operator Usage We can use ~ and v to do & A & BA B T T T F F T F F TFFFTFFF ~(~A v ~B) T FT F FT F F T T F T F Prove: A B = ~A v B Prove: A B = ~(~(~A v B) v ~(~B v A))

Copyright 2008, Scott Gray 11 Further Examples P (~Q v R)P Q R T T T T T F T F T T F F F T T F T F F F T F F F T F T F F F T T T T F T T F F T T T P (~ Q v R) 1 23

Copyright 2008, Scott Gray 12 Some Additional Definitions Tautology = main column is all true Contingent = main column has at least one true and at least one false Contradiction = main column is all false

Copyright 2008, Scott Gray 13 Contradiction Example ~(A B) & B A B T T T F F T F F T F T F F F T F 132

Copyright 2008, Scott Gray 14 A Proof P Q P Q Look of all true premises and a false conclusion, if found, the argument is invalid This argument is valid This argument is known as Modus Ponens P Q T T T F F T F TFTTTFTT P TTFFTTFF Q TFTFTFTF 1 st premise2 nd premiseconclusion

Copyright 2008, Scott Gray 15 Another Proof P v ~Q ~P ~(P Q) P v ~QP Q T T T F F T F T F T F T ~P FFTTFFTT ~(P Q) F T T F F T Is this valid or invalid? This argument is invalid

Copyright 2008, Scott Gray 16 Assignments Review this lesson and ask questions if you dont understand Evaluate the following sentences using truth tables: 1.~P ~(P Q) 2.~(P v Q) (~P & ~Q) 3.(P (Q v ~R)) & ~R

Copyright 2008, Scott Gray 17 Assignments, cont. Prove whether the following are valid or invalid using truth tables: 4.P v Q, ~ Q P 5.~Q v R, ~R Q 6.~(P T), ~R v T ~(P R) 7.~(P v Q), P R ~Q & ~R