SlideShare a Scribd company logo
1 of 37
Download to read offline
z
FORMAL LOGIC
Discrete Structures I
FOR-IAN V. SANDOVAL
z
Lesson 5
LOGICAL EQUIVALENCE
z
LEARNING OBJECTIVES
❑ Determine if the logical expression is logically equivalent
z
LOGICAL EQUIVALENT
❑ Two statements are said to be logically equivalent (or
equivalent ) if they have the same truth value for every row
of the truth table, that is if x ↔ y is a tautology.
❑ Symbolically, x ≡ y.
❑ i.e.
❑ Show that p ^ (q v r ) and (p ^ q) v (p ^ r ) are equal.
z
LOGICAL EQUIVALENT
p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ 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
z
LOGICAL EQUIVALENT
p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r )
T T T T
T T F T
T F T T
T F F F
F T T T
F T F T
F F T T
F F F F
z
LOGICAL EQUIVALENT
p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r )
T T T T T
T T F T T
T F T T T
T F F F F
F T T T F
F T F T F
F F T T F
F F F F F
z
LOGICAL EQUIVALENT
p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r )
T T T T T T
T T F T T T
T F T T T F
T F F F F F
F T T T F F
F T F T F F
F F T T F F
F F F F F F
z
LOGICAL EQUIVALENT
p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r )
T T T T T T T
T T F T T T F
T F T T T F T
T F F F F F F
F T T T F F F
F T F T F F F
F F T T F F F
F F F F F F F
z
LOGICAL EQUIVALENT
p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r )
T T T T T T T T
T T F T T T F T
T F T T T F T T
T F F F F F F F
F T T T F F F F
F T F T F F F F
F F T T F F F F
F F F F F F F F
z
LOGICAL EQUIVALENT
❑ Enrichment Exercise
Determine whether the following compound
statements are logically equivalent using truth tables.
1. p →q and ~q →~p
2. p ↔ q and (p →q) ^ (q →p)
z
LOGICAL EQUIVALENT
1. p →q and ~q →~p
p q p →q ~q ~p ~q →~p
T T T
T F F
F T T
F F T
z
LOGICAL EQUIVALENT
1. p →q and ~q →~p
p q p →q ~q ~p ~q →~p
T T T F
T F F T
F T T F
F F T T
z
LOGICAL EQUIVALENT
1. p →q and ~q →~p
p q p →q ~q ~p ~q →~p
T T T F F
T F F T F
F T T F T
F F T T T
z
LOGICAL EQUIVALENT
1. p →q and ~q →~p
p q p →q ~q ~p ~q →~p
T T T F F T
T F F T F F
F T T F T T
F F T T T T
z
LOGICAL EQUIVALENT
2. p ↔ q and (p →q) ^ (q →p)
p q p ↔ q p →q q →p (p →q) ^ (q →p)
T T T
T F F
F T F
F F T
z
LOGICAL EQUIVALENT
2. p ↔ q and (p →q) ^ (q →p)
p q p ↔ q p →q q →p (p →q) ^ (q →p)
T T T T
T F F F
F T F T
F F T T
z
LOGICAL EQUIVALENT
2. p ↔ q and (p →q) ^ (q →p)
p q p ↔ q p →q q →p (p →q) ^ (q →p)
T T T T T
T F F F T
F T F T F
F F T T T
z
LOGICAL EQUIVALENT
2. p ↔ q and (p →q) ^ (q →p)
p q p ↔ q p →q q →p (p →q) ^ (q →p)
T T T T T T
T F F F T F
F T F T F F
F F T T T T
z
LAWS OF LOGICAL EQUIVALENCE
❑ Let p, q, and r stands for any statements.
❑ Let T indicates tautology and F indicates contradiction.
Laws Logical Equivalence
Commutative p ^ q ≡ q ^ p
p v q ≡ q v p
Associative p ^ (q ^ r) ≡ (p ^ q) ^ r
p v (q v r) ≡ (p v q) v r
Distributive p ^ (q v r) ≡ (p ^ q) v (p ^ r)
p v (q ^ r) ≡ (p v q) ^ (p v r)
Identity p ^ T ≡ p
p v F ≡ p
Inverse p ^ ~p ≡ F
p v ~p ≡ T
z
LAWS OF LOGICAL EQUIVALENCE
❑ Let p, q, and r stands for any statements.
❑ Let T indicates tautology and F indicates contradiction.
Laws Logical Equivalence
Double Negation ~(~p) ≡ p
Idempotent p ^ p ≡ p
p v p ≡ p
De Morgan’s ~(p ^ q) ≡ ~p v ~q
~(p v q) ≡ ~p ^ ~q
Universal Bound p ^ F ≡ F
p v T ≡ T
Absorption p ^ (p v q) ≡ p
p v (p ^ q) ≡ p
z
LAWS OF LOGICAL EQUIVALENCE
❑ Additional logical equivalences are as follows.
Laws Logical Equivalence
Exportation Law (p ^ q) → r ≡ p → (q → r)
Contrapositive p → q ≡ ~q → ~p
Reducto Ad Absurdum p → q ≡ (p ^ ~q) → F
Equivalence p ↔ q ≡ (p → q) ^ ( q → p)
p ↔ q ≡ (~p v q) ^ ( p v ~q)
Implication p → q ≡ ~p v q
z
LOGICAL EQUIVALENT EXAMPLE
❑ Simplify the following compound statements using the laws
of equivalence.
1. [p v (~p ^ q)] v (p v ~q)
2. [q v (~p ^ q) v (p v ~q)] ^ ~q
z
LOGICAL EQUIVALENT EXAMPLE
1. [p v (~p ^ q)] v (p v ~q)
[p v (~p ^ q)] v (p v ~q) ≡[p v (~p ^ q)] v (p v ~q) ≡ [(p v ~p) ^ (p v q)] v (p v ~q)
Distributive Law
[p v (~p ^ q)] v (p v ~q) ≡ [(p v ~p) ^ (p v q)] v (p v ~q)
Distributive Law
[p v (~p ^ q)] v (p v ~q) ≡ [T ^ (p v q)] v (p v ~q)
Inverse Law
[p v (~p ^ q)] v (p v ~q) ≡ (p v q) v (p v ~q)
Identity Law
[p v (~p ^ q)] v (p v ~q) ≡ (p v q) v (p v ~q)
Identity Law
[p v (~p ^ q)] v (p v ~q) ≡ p v (q v ~q)
Distributive Law
[p v (~p ^ q)] v (p v ~q) ≡ p v (q v ~q)
Distributive Law
[p v (~p ^ q)] v (p v ~q) ≡ p v T
Inverse Law
[p v (~p ^ q)] v (p v ~q) ≡ T
Universal Bound Law
z
LOGICAL EQUIVALENT EXAMPLE
2. [q v (p v ~q) v (~ p v ~q)] ^ ~q
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [q v (~q v p) v (~ p v ~q)] ^ ~q
Commutative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [q v (~q v p) v (~ p v ~q)] ^ ~q
Commutative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p v (~ p v ~q)] ^ ~q
Associative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p v (~ p v ~q)] ^ ~q
Associative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v p v (~ p v ~q)] ^ ~q
Inverse Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v p v (~ p v ~q)] ^ ~q
Inverse Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(T v p) v (~ p v ~q)] ^ ~q
Associative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(p v T) v (~ p v ~q)] ^ ~q
Commutative Law
z
LOGICAL EQUIVALENT EXAMPLE
2. [q v (p v ~q) v (~ p v ~q)] ^ ~q
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q
Universal Bound Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(~ p v ~q) v T] ^ ~q
Commutative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ T ^ ~q
Universal Bound Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ T ^ ~q
Universal Bound Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ ~q ^ T
Commutative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ ~q
Identity Law
z
LOGICAL EQUIVALENT EXAMPLE
2. [q v (p v ~q) v (~ p v ~q)] ^ ~q
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [q v (~q v p) v (~ p v ~q)] ^ ~q
Commutative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p) v (~ p v ~q)] ^ ~q
Associative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p) v (~ p v ~q)] ^ ~q
Inverse Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(T v p) v (~ p v ~q)] ^ ~q
Associative Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v p v (~ p v ~q)] ^ ~q
Inverse Law
z
LOGICAL EQUIVALENT EXAMPLE
2. [q v (p v ~q) v (~ p v ~q)] ^ ~q
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q
Universal Bound Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ ~q
Identity Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q
Universal Bound Law
[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ T ^ ~q
Universal Bound Law
z
Group Enrichment Exercises
❑ Simplify the following compound statements using the laws
of equivalence.
1. [(p ^ r) v (q ^ r)] v ~q
2. [p v (~p v q) v (p v ~q)] ^ ~q
3. ~(p → q) ^ (p ↔ q)
z
Group Enrichment Exercises
1. [(p ^ r) v (q ^ r)] v ~q
[(p ^ r) v (q ^ r)] v ~q ≡
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) v ~q] ^ (r v ~q)
Distributive Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v (q v ~q)] ^ (r v ~q)
Associative Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) ^ r] v ~q
Distributive Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) ^ r] v ~q
Distributive Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) v ~q] ^ (r v ~q)
Distributive Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v (q v ~q)] ^ (r v ~q)
Associative Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v T)] ^ (r v ~q)
Inverse Law
[(p ^ r) v (q ^ r)] v ~q ≡ [(p v T)] ^ (r v ~q)
Inverse Law
[(p ^ r) v (q ^ r)] v ~q ≡ T ^ (r v ~q)
Universal Bound Law
[(p ^ r) v (q ^ r)] v ~q ≡ r v ~q
Identity Law
[(p ^ r) v (q ^ r)] v ~q ≡ r v ~q
Identity Law
z
Group Enrichment Exercises
1. [(p ^ r) v (q ^ r)] v ~q
[(p ^ r) v (q ^ r)] v ~q ≡ ~q v r
Commutative Law
z
Group Enrichment Exercises
2. [p v (~p v q) v (p v ~q)] ^ ~q
[p v (~p v q) v (p v ~q)] ^ ~q ≡[p v (~p v q) v (p v ~q)] ^ ~q ≡[p v (~p v q) v (p v ~q)] ^ ~q ≡ [(p v ~p) v q v (p v ~q)] ^ ~q
Associative Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [(p v ~p) v q v (p v ~q)] ^ ~q
Associative Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v q v (p v ~q)] ^ ~q
Inverse Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v q v (p v ~q)] ^ ~q
Inverse Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [(T v q) v (p v ~q)] ^ ~q
Associative Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [(q v T) v (p v ~q)] ^ ~q
Commutative Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v (p v ~q)] ^ ~q
Universal Bound Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v (p v ~q)] ^ ~q
Universal Bound Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ [(p v ~q) v T] ^ ~q
Commutative Law
[p v (~p v q) v (p v ~q)] ^ ~q ≡ T ^ ~q
Universal Bound Law
z
Group Enrichment Exercises
2. [p v (~p v q) v (p v ~q)] ^ ~q
[p v (~p v q) v (p v ~q)] ^ ~q ≡ ~q
Identity Law
z
Group Enrichment Exercises
3. ~(p → q) ^ (p ↔ q)
~(p → q) ^ (p ↔ q) ≡~(p → q) ^ (p ↔ q) ≡~(p → q) ^ (p ↔ q) ≡ ~(~p v q) ^ (p ↔ q)
Implication Law
~(p → q) ^ (p ↔ q) ≡ ~(~p v q) ^ (p ↔ q)
Implication Law
~(p → q) ^ (p ↔ q) ≡ [~(~p) ^ ~q)] ^ (p ↔ q)
De Morgan’s Law
~(p → q) ^ (p ↔ q) ≡ [~(~p) ^ ~q)] ^ (p ↔ q)
De Morgan’s Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p ↔ q)
Double Negation Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p ↔ q)
Double Negation Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ [(~p v q) ^ (p v ~q)]
Equivalence Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p v ~q) ^ (~p v q)
Commutative Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p v ~q) ^ (~p v q)
Commutative Law
~(p → q) ^ (p ↔ q) ≡ [(p ^ ~q) ^ (p v ~q)] ^ (~p v q)
Commutative Law
~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (p v ~q)]} ^ (~p v q)
Associative Law
~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (p v ~q)]} ^ (~p v q)
Associative Law
z
Group Enrichment Exercises
3. ~(p → q) ^ (p ↔ q)
~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (~q v p)]} ^ (~p v q)
Commutative Law
~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (~q v p)]} ^ (~p v q)
Commutative Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q)
Absorption Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q)
Absorption Law
~(p → q) ^ (p ↔ q) ≡ p ^ [~q ^ (~p v q)]
Associative Law
~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v (~q ^ q)]
Distributive Law
~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v (~q ^ q)]
Distributive Law
~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v (q ^ ~q)]
Commutative Law
~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v F]
Inverse Law
~(p → q) ^ (p ↔ q) ≡ p ^ (~q ^ ~p)
Identity Law
~(p → q) ^ (p ↔ q) ≡ p ^ (~q ^ ~p)
Identity Law
~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v F]
Inverse Law
z
Group Enrichment Exercises
3. ~(p → q) ^ (p ↔ q)
~(p → q) ^ (p ↔ q) ≡ p ^ (~p ^ ~q )
Commutative Law
~(p → q) ^ (p ↔ q) ≡ p ^ (~p ^ ~q )
Commutative Law
~(p → q) ^ (p ↔ q) ≡ (p ^ ~p) ^ ~q
Associate Law
~(p → q) ^ (p ↔ q) ≡ F ^ ~q
Inverse Law
~(p → q) ^ (p ↔ q) ≡ ~q ^ F
Commutative Law
~(p → q) ^ (p ↔ q) ≡ F
Universal Bound Law
z
• Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science
University of Colorado.
• Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1-
propositions-in-discrete-mathematics
• Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html
REFERENCES

More Related Content

What's hot

Counting, mathematical induction and discrete probability
Counting, mathematical induction and discrete probabilityCounting, mathematical induction and discrete probability
Counting, mathematical induction and discrete probabilitySURBHI SAROHA
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Ikhtiar Khan Sohan
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relationsnszakir
 
Fundamentals of logic 1
Fundamentals of logic   1Fundamentals of logic   1
Fundamentals of logic 1Lakshmi R
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inferenceraksharao
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiersallyn joy calcaben
 
Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematicsRachana Pathak
 
Truth tables
Truth tablesTruth tables
Truth tableswalkerlj
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical InductionEdelyn Cagas
 
Mathematical Logic Part 2
Mathematical Logic Part 2Mathematical Logic Part 2
Mathematical Logic Part 2blaircomp2003
 
mathematical induction
mathematical inductionmathematical induction
mathematical inductionankush_kumar
 
Rabin Carp String Matching algorithm
Rabin Carp String Matching  algorithmRabin Carp String Matching  algorithm
Rabin Carp String Matching algorithmsabiya sabiya
 
5.1 anti derivatives
5.1 anti derivatives5.1 anti derivatives
5.1 anti derivativesmath265
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logicgiki67
 

What's hot (20)

Counting, mathematical induction and discrete probability
Counting, mathematical induction and discrete probabilityCounting, mathematical induction and discrete probability
Counting, mathematical induction and discrete probability
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
Fundamentals of logic 1
Fundamentals of logic   1Fundamentals of logic   1
Fundamentals of logic 1
 
Unit 1 rules of inference
Unit 1  rules of inferenceUnit 1  rules of inference
Unit 1 rules of inference
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematics
 
Quantifier
QuantifierQuantifier
Quantifier
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Eulers totient
Eulers totientEulers totient
Eulers totient
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
Mathematical Induction
Mathematical InductionMathematical Induction
Mathematical Induction
 
Mathematical Logic Part 2
Mathematical Logic Part 2Mathematical Logic Part 2
Mathematical Logic Part 2
 
NP completeness
NP completenessNP completeness
NP completeness
 
mathematical induction
mathematical inductionmathematical induction
mathematical induction
 
Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
 
Rabin Carp String Matching algorithm
Rabin Carp String Matching  algorithmRabin Carp String Matching  algorithm
Rabin Carp String Matching algorithm
 
5.1 anti derivatives
5.1 anti derivatives5.1 anti derivatives
5.1 anti derivatives
 
Predicate Logic
Predicate LogicPredicate Logic
Predicate Logic
 

Similar to Formal Logic - Lesson 5 - Logical Equivalence

CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalencesallyn joy calcaben
 
Discreate Truth tables and laws of logic
Discreate Truth tables and laws of logicDiscreate Truth tables and laws of logic
Discreate Truth tables and laws of logicZenLooper
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer scienceBindhuBhargaviTalasi
 
Solucion taller lógica proposicional
Solucion taller lógica proposicionalSolucion taller lógica proposicional
Solucion taller lógica proposicionalSabogal Hermes
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematicsM.Saber
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
Lecture-3-and-4.pdf
Lecture-3-and-4.pdfLecture-3-and-4.pdf
Lecture-3-and-4.pdfssuserc478ac
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.rSyed Umair
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyLaguna State Polytechnic University
 
NAND and NOR connectives
NAND and NOR connectivesNAND and NOR connectives
NAND and NOR connectivesLakshmi R
 
Exercise 1
Exercise 1Exercise 1
Exercise 1Amr Nady
 
M4 logic-midterm-153
M4 logic-midterm-153M4 logic-midterm-153
M4 logic-midterm-153RawichW
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematicsSyed Umair
 

Similar to Formal Logic - Lesson 5 - Logical Equivalence (20)

Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
Discreate Truth tables and laws of logic
Discreate Truth tables and laws of logicDiscreate Truth tables and laws of logic
Discreate Truth tables and laws of logic
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
 
Solucion taller lógica proposicional
Solucion taller lógica proposicionalSolucion taller lógica proposicional
Solucion taller lógica proposicional
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Lecture-3-and-4.pdf
Lecture-3-and-4.pdfLecture-3-and-4.pdf
Lecture-3-and-4.pdf
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and ContingencyFormal Logic - Lesson 4 - Tautology, Contradiction and Contingency
Formal Logic - Lesson 4 - Tautology, Contradiction and Contingency
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
 
4. symbolic logic
4. symbolic logic4. symbolic logic
4. symbolic logic
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
 
Truth table analysis
Truth table analysisTruth table analysis
Truth table analysis
 
NAND and NOR connectives
NAND and NOR connectivesNAND and NOR connectives
NAND and NOR connectives
 
Exercise 1
Exercise 1Exercise 1
Exercise 1
 
M4 logic-midterm-153
M4 logic-midterm-153M4 logic-midterm-153
M4 logic-midterm-153
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematics
 

More from Laguna State Polytechnic University

Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemLaguna State Polytechnic University
 

More from Laguna State Polytechnic University (20)

Number Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number TheoryNumber Theory - Lesson 1 - Introduction to Number Theory
Number Theory - Lesson 1 - Introduction to Number Theory
 
Formal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and QuantifiersFormal Logic - Lesson 8 - Predicates and Quantifiers
Formal Logic - Lesson 8 - Predicates and Quantifiers
 
Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)Machine Learning Algorithms (Part 1)
Machine Learning Algorithms (Part 1)
 
Artificial Intelligence Algorithms
Artificial Intelligence AlgorithmsArtificial Intelligence Algorithms
Artificial Intelligence Algorithms
 
Formal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical ConnectivesFormal Logic - Lesson 2 - Logical Connectives
Formal Logic - Lesson 2 - Logical Connectives
 
Formal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to LogicFormal Logic - Lesson 1 - Introduction to Logic
Formal Logic - Lesson 1 - Introduction to Logic
 
Ethical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on ComputingEthical Issues and Relevant Laws on Computing
Ethical Issues and Relevant Laws on Computing
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Number Systems Basic Concepts
Number Systems Basic ConceptsNumber Systems Basic Concepts
Number Systems Basic Concepts
 
Exploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information SystemExploring the Difference Between Information Technology and Information System
Exploring the Difference Between Information Technology and Information System
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 
Introduction to Computing Logic Formulation
Introduction to Computing Logic FormulationIntroduction to Computing Logic Formulation
Introduction to Computing Logic Formulation
 
Oasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing TruismsOasis of Sparkling and Refreshing Truisms
Oasis of Sparkling and Refreshing Truisms
 
My Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation TrackMy Teacher Got IT v2.0 - Software Installation Track
My Teacher Got IT v2.0 - Software Installation Track
 
A Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information TechnologyA Case Study on Issues and Violations on Information Technology
A Case Study on Issues and Violations on Information Technology
 
Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool Centralized Learning and Assessment Tool
Centralized Learning and Assessment Tool
 
E-commerce Security and Payment
E-commerce Security and PaymentE-commerce Security and Payment
E-commerce Security and Payment
 
Software Measurement and Maintenance: Software Project Failure
Software Measurement and Maintenance: Software Project FailureSoftware Measurement and Maintenance: Software Project Failure
Software Measurement and Maintenance: Software Project Failure
 
Building E-commerce Presence
Building E-commerce PresenceBuilding E-commerce Presence
Building E-commerce Presence
 

Recently uploaded

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 

Formal Logic - Lesson 5 - Logical Equivalence

  • 1. z FORMAL LOGIC Discrete Structures I FOR-IAN V. SANDOVAL
  • 3. z LEARNING OBJECTIVES ❑ Determine if the logical expression is logically equivalent
  • 4. z LOGICAL EQUIVALENT ❑ Two statements are said to be logically equivalent (or equivalent ) if they have the same truth value for every row of the truth table, that is if x ↔ y is a tautology. ❑ Symbolically, x ≡ y. ❑ i.e. ❑ Show that p ^ (q v r ) and (p ^ q) v (p ^ r ) are equal.
  • 5. z LOGICAL EQUIVALENT p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ 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
  • 6. z LOGICAL EQUIVALENT p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r ) T T T T T T F T T F T T T F F F F T T T F T F T F F T T F F F F
  • 7. z LOGICAL EQUIVALENT p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r ) T T T T T T T F T T T F T T T T F F F F F T T T F F T F T F F F T T F F F F F F
  • 8. z LOGICAL EQUIVALENT p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r ) T T T T T T T T F T T T T F T T T F T F F F F F F T T T F F F T F T F F F F T T F F F F F F F F
  • 9. z LOGICAL EQUIVALENT p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r ) T T T T T T T T T F T T T F T F T T T F T T F F F F F F F T T T F F F F T F T F F F F F T T F F F F F F F F F F
  • 10. z LOGICAL EQUIVALENT p q r q v r p ^ (q v r ) p ^ q p ^ r (p ^ q) v (p ^ r ) T T T T T T T T T T F T T T F T T F T T T F T T T F F F F F F F F T T T F F F F F T F T F F F F F F T T F F F F F F F F F F F F
  • 11. z LOGICAL EQUIVALENT ❑ Enrichment Exercise Determine whether the following compound statements are logically equivalent using truth tables. 1. p →q and ~q →~p 2. p ↔ q and (p →q) ^ (q →p)
  • 12. z LOGICAL EQUIVALENT 1. p →q and ~q →~p p q p →q ~q ~p ~q →~p T T T T F F F T T F F T
  • 13. z LOGICAL EQUIVALENT 1. p →q and ~q →~p p q p →q ~q ~p ~q →~p T T T F T F F T F T T F F F T T
  • 14. z LOGICAL EQUIVALENT 1. p →q and ~q →~p p q p →q ~q ~p ~q →~p T T T F F T F F T F F T T F T F F T T T
  • 15. z LOGICAL EQUIVALENT 1. p →q and ~q →~p p q p →q ~q ~p ~q →~p T T T F F T T F F T F F F T T F T T F F T T T T
  • 16. z LOGICAL EQUIVALENT 2. p ↔ q and (p →q) ^ (q →p) p q p ↔ q p →q q →p (p →q) ^ (q →p) T T T T F F F T F F F T
  • 17. z LOGICAL EQUIVALENT 2. p ↔ q and (p →q) ^ (q →p) p q p ↔ q p →q q →p (p →q) ^ (q →p) T T T T T F F F F T F T F F T T
  • 18. z LOGICAL EQUIVALENT 2. p ↔ q and (p →q) ^ (q →p) p q p ↔ q p →q q →p (p →q) ^ (q →p) T T T T T T F F F T F T F T F F F T T T
  • 19. z LOGICAL EQUIVALENT 2. p ↔ q and (p →q) ^ (q →p) p q p ↔ q p →q q →p (p →q) ^ (q →p) T T T T T T T F F F T F F T F T F F F F T T T T
  • 20. z LAWS OF LOGICAL EQUIVALENCE ❑ Let p, q, and r stands for any statements. ❑ Let T indicates tautology and F indicates contradiction. Laws Logical Equivalence Commutative p ^ q ≡ q ^ p p v q ≡ q v p Associative p ^ (q ^ r) ≡ (p ^ q) ^ r p v (q v r) ≡ (p v q) v r Distributive p ^ (q v r) ≡ (p ^ q) v (p ^ r) p v (q ^ r) ≡ (p v q) ^ (p v r) Identity p ^ T ≡ p p v F ≡ p Inverse p ^ ~p ≡ F p v ~p ≡ T
  • 21. z LAWS OF LOGICAL EQUIVALENCE ❑ Let p, q, and r stands for any statements. ❑ Let T indicates tautology and F indicates contradiction. Laws Logical Equivalence Double Negation ~(~p) ≡ p Idempotent p ^ p ≡ p p v p ≡ p De Morgan’s ~(p ^ q) ≡ ~p v ~q ~(p v q) ≡ ~p ^ ~q Universal Bound p ^ F ≡ F p v T ≡ T Absorption p ^ (p v q) ≡ p p v (p ^ q) ≡ p
  • 22. z LAWS OF LOGICAL EQUIVALENCE ❑ Additional logical equivalences are as follows. Laws Logical Equivalence Exportation Law (p ^ q) → r ≡ p → (q → r) Contrapositive p → q ≡ ~q → ~p Reducto Ad Absurdum p → q ≡ (p ^ ~q) → F Equivalence p ↔ q ≡ (p → q) ^ ( q → p) p ↔ q ≡ (~p v q) ^ ( p v ~q) Implication p → q ≡ ~p v q
  • 23. z LOGICAL EQUIVALENT EXAMPLE ❑ Simplify the following compound statements using the laws of equivalence. 1. [p v (~p ^ q)] v (p v ~q) 2. [q v (~p ^ q) v (p v ~q)] ^ ~q
  • 24. z LOGICAL EQUIVALENT EXAMPLE 1. [p v (~p ^ q)] v (p v ~q) [p v (~p ^ q)] v (p v ~q) ≡[p v (~p ^ q)] v (p v ~q) ≡ [(p v ~p) ^ (p v q)] v (p v ~q) Distributive Law [p v (~p ^ q)] v (p v ~q) ≡ [(p v ~p) ^ (p v q)] v (p v ~q) Distributive Law [p v (~p ^ q)] v (p v ~q) ≡ [T ^ (p v q)] v (p v ~q) Inverse Law [p v (~p ^ q)] v (p v ~q) ≡ (p v q) v (p v ~q) Identity Law [p v (~p ^ q)] v (p v ~q) ≡ (p v q) v (p v ~q) Identity Law [p v (~p ^ q)] v (p v ~q) ≡ p v (q v ~q) Distributive Law [p v (~p ^ q)] v (p v ~q) ≡ p v (q v ~q) Distributive Law [p v (~p ^ q)] v (p v ~q) ≡ p v T Inverse Law [p v (~p ^ q)] v (p v ~q) ≡ T Universal Bound Law
  • 25. z LOGICAL EQUIVALENT EXAMPLE 2. [q v (p v ~q) v (~ p v ~q)] ^ ~q [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡[q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [q v (~q v p) v (~ p v ~q)] ^ ~q Commutative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [q v (~q v p) v (~ p v ~q)] ^ ~q Commutative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p v (~ p v ~q)] ^ ~q Associative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p v (~ p v ~q)] ^ ~q Associative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v p v (~ p v ~q)] ^ ~q Inverse Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v p v (~ p v ~q)] ^ ~q Inverse Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(T v p) v (~ p v ~q)] ^ ~q Associative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(p v T) v (~ p v ~q)] ^ ~q Commutative Law
  • 26. z LOGICAL EQUIVALENT EXAMPLE 2. [q v (p v ~q) v (~ p v ~q)] ^ ~q [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q Universal Bound Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(~ p v ~q) v T] ^ ~q Commutative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ T ^ ~q Universal Bound Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ T ^ ~q Universal Bound Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ ~q ^ T Commutative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ ~q Identity Law
  • 27. z LOGICAL EQUIVALENT EXAMPLE 2. [q v (p v ~q) v (~ p v ~q)] ^ ~q [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [q v (~q v p) v (~ p v ~q)] ^ ~q Commutative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p) v (~ p v ~q)] ^ ~q Associative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(q v ~q) v p) v (~ p v ~q)] ^ ~q Inverse Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [(T v p) v (~ p v ~q)] ^ ~q Associative Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v p v (~ p v ~q)] ^ ~q Inverse Law
  • 28. z LOGICAL EQUIVALENT EXAMPLE 2. [q v (p v ~q) v (~ p v ~q)] ^ ~q [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q Universal Bound Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ ~q Identity Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ [T v (~ p v ~q)] ^ ~q Universal Bound Law [q v (p v ~q) v (~ p v ~q)] ^ ~q ≡ T ^ ~q Universal Bound Law
  • 29. z Group Enrichment Exercises ❑ Simplify the following compound statements using the laws of equivalence. 1. [(p ^ r) v (q ^ r)] v ~q 2. [p v (~p v q) v (p v ~q)] ^ ~q 3. ~(p → q) ^ (p ↔ q)
  • 30. z Group Enrichment Exercises 1. [(p ^ r) v (q ^ r)] v ~q [(p ^ r) v (q ^ r)] v ~q ≡ [(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) v ~q] ^ (r v ~q) Distributive Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v (q v ~q)] ^ (r v ~q) Associative Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) ^ r] v ~q Distributive Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) ^ r] v ~q Distributive Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v q) v ~q] ^ (r v ~q) Distributive Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v (q v ~q)] ^ (r v ~q) Associative Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v T)] ^ (r v ~q) Inverse Law [(p ^ r) v (q ^ r)] v ~q ≡ [(p v T)] ^ (r v ~q) Inverse Law [(p ^ r) v (q ^ r)] v ~q ≡ T ^ (r v ~q) Universal Bound Law [(p ^ r) v (q ^ r)] v ~q ≡ r v ~q Identity Law [(p ^ r) v (q ^ r)] v ~q ≡ r v ~q Identity Law
  • 31. z Group Enrichment Exercises 1. [(p ^ r) v (q ^ r)] v ~q [(p ^ r) v (q ^ r)] v ~q ≡ ~q v r Commutative Law
  • 32. z Group Enrichment Exercises 2. [p v (~p v q) v (p v ~q)] ^ ~q [p v (~p v q) v (p v ~q)] ^ ~q ≡[p v (~p v q) v (p v ~q)] ^ ~q ≡[p v (~p v q) v (p v ~q)] ^ ~q ≡ [(p v ~p) v q v (p v ~q)] ^ ~q Associative Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [(p v ~p) v q v (p v ~q)] ^ ~q Associative Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v q v (p v ~q)] ^ ~q Inverse Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v q v (p v ~q)] ^ ~q Inverse Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [(T v q) v (p v ~q)] ^ ~q Associative Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [(q v T) v (p v ~q)] ^ ~q Commutative Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v (p v ~q)] ^ ~q Universal Bound Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [T v (p v ~q)] ^ ~q Universal Bound Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ [(p v ~q) v T] ^ ~q Commutative Law [p v (~p v q) v (p v ~q)] ^ ~q ≡ T ^ ~q Universal Bound Law
  • 33. z Group Enrichment Exercises 2. [p v (~p v q) v (p v ~q)] ^ ~q [p v (~p v q) v (p v ~q)] ^ ~q ≡ ~q Identity Law
  • 34. z Group Enrichment Exercises 3. ~(p → q) ^ (p ↔ q) ~(p → q) ^ (p ↔ q) ≡~(p → q) ^ (p ↔ q) ≡~(p → q) ^ (p ↔ q) ≡ ~(~p v q) ^ (p ↔ q) Implication Law ~(p → q) ^ (p ↔ q) ≡ ~(~p v q) ^ (p ↔ q) Implication Law ~(p → q) ^ (p ↔ q) ≡ [~(~p) ^ ~q)] ^ (p ↔ q) De Morgan’s Law ~(p → q) ^ (p ↔ q) ≡ [~(~p) ^ ~q)] ^ (p ↔ q) De Morgan’s Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p ↔ q) Double Negation Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p ↔ q) Double Negation Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ [(~p v q) ^ (p v ~q)] Equivalence Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p v ~q) ^ (~p v q) Commutative Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (p v ~q) ^ (~p v q) Commutative Law ~(p → q) ^ (p ↔ q) ≡ [(p ^ ~q) ^ (p v ~q)] ^ (~p v q) Commutative Law ~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (p v ~q)]} ^ (~p v q) Associative Law ~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (p v ~q)]} ^ (~p v q) Associative Law
  • 35. z Group Enrichment Exercises 3. ~(p → q) ^ (p ↔ q) ~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (~q v p)]} ^ (~p v q) Commutative Law ~(p → q) ^ (p ↔ q) ≡ {(p ^ [~q ^ (~q v p)]} ^ (~p v q) Commutative Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) Absorption Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) Absorption Law ~(p → q) ^ (p ↔ q) ≡ p ^ [~q ^ (~p v q)] Associative Law ~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v (~q ^ q)] Distributive Law ~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v (~q ^ q)] Distributive Law ~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v (q ^ ~q)] Commutative Law ~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v F] Inverse Law ~(p → q) ^ (p ↔ q) ≡ p ^ (~q ^ ~p) Identity Law ~(p → q) ^ (p ↔ q) ≡ p ^ (~q ^ ~p) Identity Law ~(p → q) ^ (p ↔ q) ≡ p ^ [(~q ^ ~p) v F] Inverse Law
  • 36. z Group Enrichment Exercises 3. ~(p → q) ^ (p ↔ q) ~(p → q) ^ (p ↔ q) ≡ p ^ (~p ^ ~q ) Commutative Law ~(p → q) ^ (p ↔ q) ≡ p ^ (~p ^ ~q ) Commutative Law ~(p → q) ^ (p ↔ q) ≡ (p ^ ~p) ^ ~q Associate Law ~(p → q) ^ (p ↔ q) ≡ F ^ ~q Inverse Law ~(p → q) ^ (p ↔ q) ≡ ~q ^ F Commutative Law ~(p → q) ^ (p ↔ q) ≡ F Universal Bound Law
  • 37. z • Levin, O. (2019). Discrete Mathematics: An Open Introduction 3rd Edition. Colorado: School of Mathematics Science University of Colorado. • Aslam, A. (2016). Proposition in Discrete Mathematics retrieved from https://www.slideshare.net/AdilAslam4/chapter-1- propositions-in-discrete-mathematics • Operator Precedence retrieved from http://intrologic.stanford.edu/glossary/operator_precedence.html REFERENCES