LOGICAL EQUIVALENCES - DISCRETE MATHEMATICS.

Slides:



Advertisements
Similar presentations
Logic: The foundation of reasoning
Advertisements

Propositional Equivalences
Discrete Mathematics Math 6A
TRUTH TABLES Section 1.3.
Propositional Equivalences
Tutorial 1: Logic Peter Poon. Self Introduction You can call me Peter Office: SHB117 Office hour:
Logic ChAPTER 3 1. Truth Tables and Validity of Arguments
Propositional Equivalences. L32 Agenda Tautologies Logical Equivalences.
Propositions and Connectives Conditionals and Bi-conditionals Quantifiers.
Boolean Algebra Computer Science AND (today is Monday) AND (it is raining) (today is Monday) AND (it is not raining) (today is Friday) AND (it is.
1 Section 1.2 Propositional Equivalences. 2 Equivalent Propositions Have the same truth table Can be used interchangeably For example, exclusive or and.
1 Math 306 Foundations of Mathematics I Math 306 Foundations of Mathematics I Goals of this class Introduction to important mathematical concepts Development.
EE1J2 – Discrete Maths Lecture 5
Discussion #10 1/16 Discussion #10 Logical Equivalences.
Phil 120 week 1 About this course. Introducing the language SL. Basic syntax. Semantic definitions of the connectives in terms of their truth conditions.
Homework 3.
Truth Tables for Negation, Conjunction, and Disjunction.
TRUTH TABLES. Introduction Statements have truth values They are either true or false but not both Statements may be simple or compound Compound statements.
Normal or Canonical Forms Rosen 1.2 (exercises). Logical Operators  - Disjunction  - Conjunction  - Negation  - Implication p  q   p  q  - Exclusive.
Chapter 1, Part I: Propositional Logic With Question/Answer Animations.
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
Discrete Maths 2. Propositional Logic Objective
CSE 20 DISCRETE MATH Prof. Shachar Lovett Clicker frequency: CA.
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.
Discrete Mathematics. Propositional Logic 10/8/2015 What’s a proposition? PropositionsNot Propositions = 32Bring me coffee! CS173 is Bryan’s favorite.
Propositional Equivalences
Chapter 5 – Logic CSNB 143 Discrete Mathematical Structures.
Logical Form and Logical Equivalence Lecture 2 Section 1.1 Fri, Jan 19, 2007.
1 Boolean Logic CS 202, Spring 2007 Epp, sections 1.1 and 1.2 Aaron Bloomfield.
Module Code MA1032N: Logic Lecture for Week Autumn.
CSNB143 – Discrete Structure LOGIC. Learning Outcomes Student should be able to know what is it means by statement. Students should be able to identify.
3.3: Truth Tables. Types of Statements Negation: ~p Conjunction: p ˄ q (p and q) Disjunction: p V q (p or q, or both) Conditional: p → q (if p, then q)
Boolean Algebra. Logical Statements A proposition that may or may not be true:  Today is Monday  Today is Sunday  It is raining.
Chapter 7 Logic, Sets, and Counting
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.
Warmup Answer the following True/False questions in your head: I have brown hair AND I am wearing glasses I am male OR I am wearing sneakers I am NOT male.
How do I show that two compound propositions are logically equivalent?
Chapter 7 Logic, Sets, and Counting Section 1 Logic.
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.
Boolean Algebra Monday/Wednesday 7th Week. Logical Statements Today is Friday AND it is sunny. Today is Friday AND it is rainy. Today is Monday OR it.
CS203 Discrete Mathematical Structures
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.
Boolean Logic.
Simplifying Boolean Expressions. Boolean Operators (T/F) xyx AND y FFF FTF TFF TTT xyx OR y FFF FTT TFT TTT xyx XOR y FFF FTT TFT TTF xNOT x FT TF.
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.
Statement Forms and Material Equivalence Kareem Khalifa Department of Philosophy Middlebury College.
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,
CSci 2011 Recap ^Propositional operation summary not andorconditionalBi-conditional pq ppqqpqpqpqpqpqpqpqpq TTFFTTTT TFFTFTFF FTTFFTTF FFTTFFTT.
Slot machines A healthy way to learn about connectives!
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.
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.
Assign Yourself and Do Now Thursday, January 10, 2013.
Chapter 1 Logic and proofs
The Foundations: Logic and Proofs
Logical Equivalence of Propositions
Discrete Mathematics Lecture # 2.
Propositional Equivalences
Information Technology Department
Propositional Equivalence (§1.2)
CSS 342 Data Structures, Algorithms, and Discrete Mathematics I
Presentation transcript:

LOGICAL EQUIVALENCES FORHAD AHMED KHAN DISCRETE MATHEMATICS

LOGICAL EQUIVALENCES Definition: The compound propositions p and q are said to be logically equivalent if p ↔ q is a Tautology. Compound propositions that have the same truth values in all possible cases are called logically equivalent. Logical Equivalence is denoted by ≡ or  Example p ^T ≡ p  p ^T ≡ p pT p ^T TTT FTF p ^T is equivalent to p. In this example, p ^T is equivalent to p. Lets try to understand with truth table. Let p be the proposition. There are two possible truth values for this proposition, True or False. Here, T means True. So all of it’s cases will be True. Now for p ^T, all possible truth values depends on p. So, p is equivalent to p ^T.

Most Common and Famous Logical Equivalences LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) 3

1. Identity Laws a) p ^ T ≡ p pT p ^T TTT FTF b) p v F ≡ p pF p v T TFT FFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) 4

5 2. Domination Laws a) p v T ≡ T pT p v T TTT FTT b) p ^ F ≡ F pF p ^ T TFF FFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

6 3. Idempotent Laws a) p v p ≡ p pp p v p TTT FFF b) p ^ p ≡ p pp p ^ p TTT FFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

7 4. Double Negation Law a) ┐(┐p) ≡ p p┐p┐(┐p) TFT FTF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

8 5. Commutative Laws - a a) p v q ≡ q v p pq p v q q v p TTTT TFTT FTTT FFFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

9 5. Commutative Laws - b b) p ^ q ≡ q ^ p pq p ^ q q ^ p TTTT TFFF FTFF FFFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

10 6. Associative Laws - a a) (p v q) v r ≡ p v ( q v r) a) (p v q) v r ≡ p v ( q v r) pqr p v q q v p (p v q) v r p v ( q v r) TTTTTTT TTFTTTT TFTTTTT TFFTTTT FTTTTTT FTFTTTT FFTFFTT FFFFFFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

11 6. Associative Laws - b b) (p ^ q) ^ r ≡ p ^ ( q ^ r) b) (p ^ q) ^ r ≡ p ^ ( q ^ r) pqr p ^ q q ^ p (p ^ q) ^ r p ^ ( q ^ r) TTTTTTT TTFTTFF TFTFFFF TFFFFFF FTTFFFF FTFFFFF FFTFFFF FFFFFFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

12 7. Distributive Laws - a a) p v ( q ^ r) ≡ (p v q) ^ (p v r) a) p v ( q ^ r) ≡ (p v q) ^ (p v r) pqr p v q p v r q ^ r p v ( q ^ r) (p v q) ^ (p v r) TTTTTTTT TTFTTFTT TFTTTFTT TFFTTFTT FTTTTTTT FTFTFFFF FFTFTFFF FFFFFFFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

13 7. Distributive Laws - b b) p ^ ( q v r) ≡ (p ^ q) v (p ^ r) b) p ^ ( q v r) ≡ (p ^ q) v (p ^ r) pqr p ^ q p ^ r q v r p ^ ( q v r) (p ^ q) v (p ^ r) TTTTTTTT TTFTFTTT TFTFTTTT TFFFFFFF FTTFFTFF FTFFFTFF FFTFFTFF FFFFFFFF LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS )

14 8. De Morgan’s Laws - a a) ┐(p ^ q) ≡ ┐p v ┐q a) ┐(p ^ q) ≡ ┐p v ┐q LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) pq┐p┐q (p ^ q) ┐(p ^ q) ┐p v ┐q TTFFTFF TFFTFTT FTTFFTT FFTTFTT

15 8. De Morgan’s Laws - b b) ┐(p v q) ≡ ┐p ^ ┐q b) ┐(p v q) ≡ ┐p ^ ┐q LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) pq┐p┐q (p v q) ┐(p v q) ┐p ^ ┐q TTFFTFF TFFTTFF FTTFTFF FFTTFTT

16 9. Absorption Laws - a a) p v (p ^ q) ≡ p a) p v (p ^ q) ≡ p LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) pq (p ^ q) p v (p ^ q) TTTT TFFT FTFF FFFF

17 9. Absorption Laws - b b) p ^ (p v q) ≡ p b) p ^ (p v q) ≡ p LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) pq (p v q) p ^ (p v q) TTTT TFTT FTTF FFFF

Absorption Laws - a a) p v ┐p ≡ T a) p v ┐p ≡ T LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) p┐p p v ┐p T TFTT FTTT

Absorption Laws - b b) p ^ ┐p ≡ F b) p ^ ┐p ≡ F LOGICAL EQUIVALENCES ( DISCRETE MATHEMATICS ) p┐p p ^ ┐p F TFFF FTFF

THANK YOU! FORHAD AHMED KHAN