SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 
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
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logicLakshmi R
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical inductionrey castro
 
Rules of inference
Rules of inferenceRules of inference
Rules of inferenceLakshmi R
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logicallyn joy calcaben
 
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
 
Rules of inference
Rules of inferenceRules of inference
Rules of inferenceharman kaur
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematicsRachana Pathak
 
Propositional logic
Propositional logicPropositional logic
Propositional logicMamta Pandey
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functionscoolhanddav
 
Unit I discrete mathematics lecture notes
Unit I  discrete mathematics lecture notesUnit I  discrete mathematics lecture notes
Unit I discrete mathematics lecture notesGIRIM8
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1taimoor iftikhar
 

Was ist angesagt? (20)

CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Truth table
Truth tableTruth table
Truth table
 
Proposition
PropositionProposition
Proposition
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
 
Mathematical induction
Mathematical inductionMathematical induction
Mathematical induction
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
 
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
 
Rules of inference
Rules of inferenceRules of inference
Rules of inference
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Functions in discrete mathematics
Functions in discrete mathematicsFunctions in discrete mathematics
Functions in discrete mathematics
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Discrete math Truth Table
Discrete math Truth TableDiscrete math Truth Table
Discrete math Truth Table
 
PPt on Functions
PPt on FunctionsPPt on Functions
PPt on Functions
 
Unit I discrete mathematics lecture notes
Unit I  discrete mathematics lecture notesUnit I  discrete mathematics lecture notes
Unit I discrete mathematics lecture notes
 
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
 

Ähnlich wie Formal Logic - Lesson 5 - Logical Equivalence

Ähnlich wie 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
 
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
 
Laws in disceret
Laws in disceretLaws in disceret
Laws in disceret
 
Formal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of InferenceFormal Logic - Lesson 7 - Rules of Inference
Formal Logic - Lesson 7 - Rules of Inference
 
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
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Assignement of discrete mathematics
Assignement of discrete mathematicsAssignement of discrete mathematics
Assignement of discrete mathematics
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
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
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 

Kürzlich hochgeladen (20)

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
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
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
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
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 

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