1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.

Slides:



Advertisements
Similar presentations
Propositional Equivalences
Advertisements

TRUTH TABLES Section 1.3.
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.
Constructing a Truth Table
Logic & Critical Reasoning
Propositional Equivalences
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Logic Chapter 2. Proposition "Proposition" can be defined as a declarative statement having a specific truth-value, true or false. Examples: 2 is a odd.
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
Discussion #10 1/16 Discussion #10 Logical Equivalences.
CSE 311 Foundations of Computing I Autumn 2011 Lecture 2 More Propositional Logic Application: Circuits Propositional Equivalence.
Propositional Logic 7/16/ Propositional Logic A proposition is a statement that is either true or false. We give propositions names such as p, q,
Truth Tables for Negation, Conjunction, and Disjunction.
3.2 – Truth Tables and Equivalent Statements
Logic ChAPTER 3.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 3.2 Truth Tables for Negation, Conjunction, and Disjunction.
Normal or Canonical Forms Rosen 1.2 (exercises). Logical Operators  - Disjunction  - Conjunction  - Negation  - Implication p  q   p  q  - Exclusive.
Chapter 1 Section 1.4 More on Conditionals. There are three statements that are related to a conditional statement. They are called the converse, inverse.
The Foundations: Logic and Proofs
Section 1-4 Logic Katelyn Donovan MAT 202 Dr. Marinas January 19, 2006.
Course Outline Book: Discrete Mathematics by K. P. Bogart Topics:
Chapter 1 The Logic of Compound Statements. Section 1.1 Logical Form and Logical Equivalence.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
Normal Forms, Tautology and Satisfiability 2/3/121.
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
Discrete Mathematics Lecture1 Miss.Amal Alshardy.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
Tautologies, contradictions, contingencies
Chapter 7 Logic, Sets, and Counting
Conditional Statements
MAIN TOPIC : Statement, Open Sentences, and Truth Values Negation Compound Statement Equivalency, Tautology, Contradiction, and Contingency Converse, Inverse,
MLS 570 Critical Thinking Reading Notes for Fogelin: Propositional Logic Fall Term 2006 North Central College.
Chapter 8 – Symbolic Logic Professor D’Ascoli. Symbolic Logic Because the appraisal of arguments is made difficult by the peculiarities of natural language,
Propositional Logic. Propositions Any statement that is either True (T) or False (F) is a proposition Propositional variables: a variable that can assume.
Lecture 9 Conditional Statements CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
How do I show that two compound propositions are logically equivalent?
Chapter 7 Logic, Sets, and Counting Section 1 Logic.
Section 1.2: Propositional Equivalences In the process of reasoning, we often replace a known statement with an equivalent statement that more closely.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
Logical Form and Logical Equivalence Lecture 1 Section 1.1 Wed, Jan 12, 2005.
Logical Form and Logical Equivalence M Logical Form Example 1 If the syntax is faulty or execution results in division by zero, then the program.
CS203 Discrete Mathematical Structures
Chapter 1: The Foundations: Logic and Proofs
Conditional Statements – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Conditional Statements Reading: Kolman, Section 2.2.
The Foundations: Logic and Proof, Sets, and Foundations PROPOSITIONS A proposition is a declarative sentence that is either True or False, but not the.
Section 1.1. Section Summary Propositions Connectives Negation Conjunction Disjunction Implication; contrapositive, inverse, converse Biconditional Truth.
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
TRUTH TABLES. Introduction The truth value of a statement is the classification as true or false which denoted by T or F. A truth table is a listing of.
Notes - Truth Tables fun, fun, and more fun!!!!. A compound statement is created by combining two or more statements, p and q.
Joan Ridgway. If a proposition is not indeterminate then it is either true (T) or false (F). True and False are complementary events. For two propositions,
Symbolic Logic The Following slide were written using materials from the Book: The Following slide were written using materials from the Book: Discrete.
رياضيات متقطعة لعلوم الحاسب MATH 226. Text books: (Discrete Mathematics and its applications) Kenneth H. Rosen, seventh Edition, 2012, McGraw- Hill.
Section 1.1. Propositions A proposition is a declarative sentence that is either true or false. Examples of propositions: a) The Moon is made of green.
Conditional Statements Lecture 2 Section 1.2 Fri, Jan 20, 2006.
Mathematics for Computing Lecture 2: Computer Logic and Truth Tables Dr Andrew Purkiss-Trew Cancer Research UK
TRUTH TABLES Edited from the original by: Mimi Opkins CECS 100 Fall 2011 Thanks for the ppt.
Spring 2003CMSC Discrete Structures1 Let’s get started with... Logic !
3/6/20161 Let’s get started with... Logic !. 3/6/20162 Logic Crucial for mathematical reasoningCrucial for mathematical reasoning Used for designing electronic.
Logic and Truth Tables Winter 2012 COMP 1380 Discrete Structures I Computing Science Thompson Rivers University.
Chapter 1. Chapter Summary  Propositional Logic  The Language of Propositions (1.1)  Logical Equivalences (1.3)  Predicate Logic  The Language of.
Chapter 1 Logic and proofs
2. The Logic of Compound Statements Summary
The Foundations: Logic and Proofs
Propositional Equivalences
Information Technology Department
Propositional Equivalence (§1.2)
Lecture 2: Propositional Equivalences
Presentation transcript:

1 Section 1.2 Propositional Equivalences

2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and the negation of biconditional are equivalent propositions: pq p  qp  q  (p  q) TT F T F TF T F T FT T F T FF F T F

3 Equivalent propositions Logical equivalence is denoted with the symbol  If p  q is true, then p  q

4 Tautology A compound proposition that is always true, regardless of the truth values that appear in it For example, p  p is a tautology: p pp p  p T F T F T T

5 Contradiction A compound proposition that is always false For example, p   p is a contradiction: p pp p   p T F F F T F

6 Tautology vs. Contradiction The negation of a tautology is a contradiction, and the negation of a contradiction is a tautology Contingency: a compound proposition that is neither a tautology nor a contradiction

7 Determining Logical Equivalence Method 1: use truth table Method 2: use proof by substitution - requires knowledge of logical equivalencies of portions of compound propositions

8 Method 1 example Show that  p  q  p   q pq  p  q  q p  qq TT F F F F TF F T T T FT T T F T FF T F T F

9 Method 1 example Show that  (p  q)   p   q pqp  q  (p  q) pp qq  p  qq TT T F F F F TF F T F T T FT F T T F T FF F T T T T

10 Method 1 example Show that p  (q  r)  (p  q)  (p  r) pqr qrqrp  (q  r)pqpqprpr(p  q)  (p  r) TTT T T T T T TTF T T T F T TFT T T F T T TFF F F F F F FTT T F F F F FTF T F F F F FFT T F F F F FFF F F F F F

11 The limits of truth tables The previous slide illustrates how truth tables become cumbersome when several propositions are involved For a compound proposition containing N propositions, the truth table would require 2 N rows

12 Method 2: using equivalences There are many proven equivalences that can be used to prove further equivalences Some of the most important and useful of these are found in Tables 5, 6 and 7 on page 24 of your text, as well as on the next several slides

13 Identity Laws p  T  p p  F  p In other words, if p is ANDed with another proposition known to be true, or ORed with another proposition known to be false, the truth value of the compound proposition will be the truth value of p

14 Domination Laws p  T  T p  F  F A compound proposition will always be true if it is composed of any proposition p ORed with any proposition known to be true. Conversely, a compound proposition will always be false if it is composed of any proposition p ANDed with a proposition known to be false

15 Idempotent Laws p  p  p p  p  p A compound proposition composed of any proposition p combined with itself via conjunction or disjunction will have the truth value of p

16 Double negation  (  p)  p The negation of a negation is … well, not a negation

17 Commutative Laws p  q  q  p p  q  q  p Ordering doesn’t matter in conjunction and disjunction (just like addition and multiplication)

18 Associative Laws (p  q)  r  p  (q  r) (p  q)  r  p  (q  r) Grouping doesn’t affect outcome when the same operation is involved - this is true for compound propositions composed of 3, 4, 1000 or N propositions

19 Distributive Laws p  (q  r)  (p  q)  (p  r) p  (q  r)  (p  q)  (p  r) OR distributes across AND; AND distributes across OR

20 DeMorgan’s Laws  (p  q)   p   q  (p  q)   p   q The NOT of p AND q is NOT p OR NOT q; the NOT of p OR q is NOT p AND NOT q Like Association, DeMorgan’s Laws apply to N propositions in a compound proposition

21 Two Laws with No Name p   p  T p   p  F A proposition ORed with its negation is always true; a proposition ANDed with its negation is always false

22 A Very Useful (but nameless) Law (p  q)  (  p  q) The implication “if p, then q” is logically equivalent to NOT p ORed with q

23 Method 2: Proof by Substitution Uses known laws of equivalences to prove new equivalences A compound proposition is gradually transformed, through substitution of known equivalences, into a proveable form

24 Example 1: Show that (p  q)  p is a tautology 1. Since (p  q)  (  p  q), change compound proposition to:  (p  q)  p 2. Applying DeMorgan’s first law, which states:  (p  q)   p   q, change compound proposition to:  p   q  p 3. Applying commutative law: p   p   q 4. Since p   p  T, we have T   q 5. And finally, by Domination, any proposition ORed with true must be true - so the compound proposition is a tautology

25 Example 2: Show that  p  q and p   q are logically equivalent 1. Start with definition of biconditional: p  q  p  q  q  p; then the 2 expressions become: (  p  q)  (q   p) and (p   q)  (  q  p) 2. Since p  q   p  q, change expressions to: (  (  p)  q)  (  q   p) and (  p   q)  (  (  q)  p); same as:(p  q)  (  q   p) and (  p   q)  (q  p) 3. Reordering terms, by commutation, we get: (p  q)  (  p   q) and (p  q)  (  p   q) Since the two expressions are now identical, they are clearly equivalent.

26 Section 1.2 Propositional Equivalences - ends -