SlideShare a Scribd company logo
1 of 87
Download to read offline
z
FORMAL LOGIC
Discrete Structures I
FOR-IAN V. SANDOVAL
z
Lesson 6
SWITCHING CIRCUITS
z
LEARNING OBJECTIVES
❑ Apply mathematical logic to switching circuits
z
SWITCHING CIRCUITS
❑ collection of wires and switches connecting two terminals, X
and Y
❑ A switch may be either open (O or 1) or closed (C or 0)
❑ An open switch will not permit the current to flow while a
closed switch will permit current to flow
X Y
Single Wire
X p Y
Open Switch (O) , p
X p Y
Closed Switch (O) , p
X p q Y
Series Switch: p ^ q Parallel Switch: p v q
X
p
q
Y
z
SWITCHING CIRCUITS
❑ Two switches are complementary if one switch is open and
the other is closed, and vice versa
❑ Two switches are equivalent if they have the same electrical
properties concerning the flow and non-flow of current
z
TRUTH TABLE FOR SWITCHING CIRCUITS
p q p ^ q p v q p q Series
Circuit
Parallel
Circuit
T T T T C C C C
T F F T or C O O C
F T F T O C O C
F F F F O O O O
z
SWITCHING CIRCUITS
❑ Construct the switching circuits equivalent in each of the
following compound statements by applying the laws of
logical equivalence.
1. [(p ^ r) v (q ^ r)] v ~q
z
SWITCHING CIRCUITS
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
SWITCHING CIRCUITS
1. [(p ^ r) v (q ^ r)] v ~q
[(p ^ r) v (q ^ r)] v ~q ≡ ~q v r
Commutative Law
z
SWITCHING CIRCUITS
[(p ^ r) v (q ^ r)] v ~q
X
p r
Y
z
SWITCHING CIRCUITS
[(p ^ r) v (q ^ r)] v ~q
X
p r
Yq r
z
SWITCHING CIRCUITS
[(p ^ r) v (q ^ r)] v ~q
X
p r
Yq r
z
SWITCHING CIRCUITS
[(p ^ r) v (q ^ r)] v ~q
X
p r
q r
~q
Y
z
SWITCHING CIRCUITS
[(p ^ r) v (q ^ r)] v ~q
X
p r
q r
~q
Y
z
SWITCHING CIRCUITS
~q v r
X
~q
Y
Simplified compound statement of [(p ^ r) v (q ^ r)] v ~q
z
SWITCHING CIRCUITS
~q v r
X
~q
Y
r
Simplified compound statement of [(p ^ r) v (q ^ r)] v ~q
z
SWITCHING CIRCUITS
~q v r
X
~q
Y
r
Simplified compound statement of [(p ^ r) v (q ^ r)] v ~q
z
Group Enrichment Exercises
❑ Construct the switching circuits equivalent in each of the
following compound statements by applying the laws of
logical equivalence.
1. [p v (~p v q) v (p v ~q)] ^ ~q
2. ~(p → q) ^ (p ↔ q)
z
Group Enrichment Exercises
1. [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
1. [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
X
[p v (~p v q) v (p v ~q)] ^ ~q
z
Group Enrichment Exercises
X
p
[p v (~p v q) v (p v ~q)] ^ ~q
z
Group Enrichment Exercises
X
p
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
z
Group Enrichment Exercises
X
p
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
z
Group Enrichment Exercises
X
p
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
z
GROUP ENRICHMENT EXERCISES
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
Group Enrichment Exercises
~q
X ~q Y
Simplified compound statement of [p v (~p v q) v (p v ~q)] ^ ~q
z
Group Enrichment Exercises
2. ~(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
2. ~(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
2. ~(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
Group Enrichment Exercises
(p ^ ~q) ^ (p v ~q) ^ (~p v q)
X
Applying the Laws of Equivalence to
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q)
p ~q
z
Group Enrichment Exercises
(p ^ ~q) ^ (p v ~q) ^ (~p v q)
X
Applying the Laws of Equivalence to
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q)
p ~q
p
~q
z
Group Enrichment Exercises
(p ^ ~q) ^ (p v ~q) ^ (~p v q)
X
Applying the Laws of Equivalence to
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q)
p ~q
p
~q
z
Group Enrichment Exercises
(p ^ ~q) ^ (p v ~q) ^ (~p v q)
X
Applying the Laws of Equivalence to
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q)
p ~q
p
~q
~p
q
z
Group Enrichment Exercises
(p ^ ~q) ^ (p v ~q) ^ (~p v q)
X
Applying the Laws of Equivalence to
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q)
p ~q
p
~q
~p
q
z
Group Enrichment Exercises
(p ^ ~q) ^ (p v ~q) ^ (~p v q)
X
Applying the Laws of Equivalence to
~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q)
p ~q
p
~q
~p
q
Y
z
SWITCHING CIRCUITS
• A number of different patterns of open and closed switches
that will allow the current to flow from X and Y.
• In example, using the group enrichment exercises no. 1
• The several patterns are illustrated in the following slides.
z
SWITCHING CIRCUITS
• Case 1: When p = T or closed and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 1: When p = T or closed and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 1: When p = T or closed and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 1: When p = T or closed and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 1: When p = T or closed and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 2: When p = T or closed and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 3: When p = F or open and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 3: When p = F or open and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 3: When p = F or open and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 3: When p = F or open and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 3: When p = F or open and q = T or closed
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 4: When p = F or open and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 4: When p = F or open and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 4: When p = F or open and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 4: When p = F or open and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 4: When p = F or open and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
SWITCHING CIRCUITS
• Case 4: When p = F or open and q = F or open
X
p
Y
[p v (~p v q) v (p v ~q)] ^ ~q
~p
q
p
~q
~q
z
Group Reinforcement Activity
Construct the switching circuits in each of the following
equivalent compound statements..
1. (p v q) ^ r ^ q
2. [(p v q) ^ r] ^ q
3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
z
Group Reinforcement Activity
1. (p v q) ^ r ^ q
X
p
q
(p v q) ^ r ^ q
z
Group Reinforcement Activity
1. (p v q) ^ r ^ q
X
p
q
(p v q) ^ r ^ q
r
z
Group Reinforcement Activity
1. (p v q) ^ r ^ q
X
p
q
(p v q) ^ r ^ q
r q Y
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 1: When p = T or closed, q = T or closed and
r = T or closed
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 1: When p = T or closed, q = T or closed and
r = T or closed
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 1: When p = T or closed, q = T or closed and
r = T or closed
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 1: When p = T or closed, q = T or closed and
r = T or closed
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 1: When p = T or closed, q = T or closed and
r = T or closed
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 2: When p = T or closed, q = T or closed and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 2: When p = T or closed, q = T or closed and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 2: When p = T or closed, q = T or closed and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 2: When p = T or closed, q = T or closed and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 3: When p = T or closed, q = F or open and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 4: When p = F or open, q = F or open and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 5: When p = F or open, q = T or closed and
r = F or open
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 6: When p = F or open, q = T or closed and
r = T or closed
z
Group Reinforcement Activity
X
p
q
(p v q) ^ r ^ q
r q Y
Case 7: When p = F or open, q = F or open and
r = T or closed
z
Group Reinforcement Activity
2. [(p v q) ^ r] ^ q
X
p
q
[(p v q) ^ r] ^ q
z
Group Reinforcement Activity
2. [(p v q) ^ r] ^ q
X
p
q
[(p v q) ^ r] ^ q
r
z
Group Reinforcement Activity
2. [(p v q) ^ r] ^ q
X
p
q
[(p v q) ^ r] ^ q
r q Y
z
Group Reinforcement Activity
Show the different patterns that will allow the current to flow
from X to Y.
X
p
q
[(p v q) ^ r] ^ q
r q Y
z
Group Reinforcement Activity
3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
X
p
v
~s
(p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
z
Group Reinforcement Activity
3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
X
p
v
~s
p
q
r
(p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
z
Group Reinforcement Activity
3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
X
p
v
~s
p
q
r
p
~q
s
Y
(p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
z
Group Reinforcement Activity
Show the different patterns that will allow the current to flow
from X to Y.
X
p
v
~s
p
q
r
p
~q
s
Y
(p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
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

Computational logic First Order Logic_part2
Computational logic First Order Logic_part2Computational logic First Order Logic_part2
Computational logic First Order Logic_part2banujahir1
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1blaircomp2003
 
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and ProofsDiscrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and ProofsAmr Rashed
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.rSyed Umair
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEnszakir
 
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Amr Rashed
 
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
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proofAbdur Rehman
 
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
 
Discrete Mathematical Structures - Fundamentals of Logic - Principle of duality
Discrete Mathematical Structures - Fundamentals of Logic - Principle of dualityDiscrete Mathematical Structures - Fundamentals of Logic - Principle of duality
Discrete Mathematical Structures - Fundamentals of Logic - Principle of dualityLakshmi R
 
4 1 probability and discrete probability distributions
4 1 probability and discrete    probability distributions4 1 probability and discrete    probability distributions
4 1 probability and discrete probability distributionsLama K Banna
 
Well-Ordering Principle
Well-Ordering Principle Well-Ordering Principle
Well-Ordering Principle Yassirdino
 
t6 polar coordinates
t6 polar coordinatest6 polar coordinates
t6 polar coordinatesmath260
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
Predicates and Quantifiers
Predicates and Quantifiers Predicates and Quantifiers
Predicates and Quantifiers Istiak Ahmed
 

What's hot (20)

Computational logic First Order Logic_part2
Computational logic First Order Logic_part2Computational logic First Order Logic_part2
Computational logic First Order Logic_part2
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and ProofsDiscrete Math Chapter 1 :The Foundations: Logic and Proofs
Discrete Math Chapter 1 :The Foundations: Logic and Proofs
 
Mathematical Logic
Mathematical LogicMathematical Logic
Mathematical Logic
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVEChapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
Chapter-3: DIRECT PROOF AND PROOF BY CONTRAPOSITIVE
 
Ring homomorphism
Ring homomorphismRing homomorphism
Ring homomorphism
 
Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1Discrete Structure Mathematics lecture 1
Discrete Structure Mathematics lecture 1
 
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
 
Method of direct proof
Method of direct proofMethod of direct proof
Method of direct proof
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Discrete Mathematical Structures - Fundamentals of Logic - Principle of duality
Discrete Mathematical Structures - Fundamentals of Logic - Principle of dualityDiscrete Mathematical Structures - Fundamentals of Logic - Principle of duality
Discrete Mathematical Structures - Fundamentals of Logic - Principle of duality
 
4 1 probability and discrete probability distributions
4 1 probability and discrete    probability distributions4 1 probability and discrete    probability distributions
4 1 probability and discrete probability distributions
 
Well-Ordering Principle
Well-Ordering Principle Well-Ordering Principle
Well-Ordering Principle
 
t6 polar coordinates
t6 polar coordinatest6 polar coordinates
t6 polar coordinates
 
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
 
Notes on quadrants
Notes on quadrantsNotes on quadrants
Notes on quadrants
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Permutations
PermutationsPermutations
Permutations
 
Predicates and Quantifiers
Predicates and Quantifiers Predicates and Quantifiers
Predicates and Quantifiers
 

Similar to Formal Logic - Lesson 6 - Switching Circuits

Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logicLakshmi R
 
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
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematicsM.Saber
 
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
 
Lecture-3-and-4.pdf
Lecture-3-and-4.pdfLecture-3-and-4.pdf
Lecture-3-and-4.pdfssuserc478ac
 
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
 
NAND and NOR connectives
NAND and NOR connectivesNAND and NOR connectives
NAND and NOR connectivesLakshmi R
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptxDakshBaveja
 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]DIwakar Rajput
 
M4 logic-midterm-153
M4 logic-midterm-153M4 logic-midterm-153
M4 logic-midterm-153RawichW
 
RChain - Understanding Distributed Calculi
RChain - Understanding Distributed CalculiRChain - Understanding Distributed Calculi
RChain - Understanding Distributed CalculiPawel Szulc
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceasimnawaz54
 

Similar to Formal Logic - Lesson 6 - Switching Circuits (20)

Logical equivalence, laws of logic
Logical equivalence, laws of logicLogical equivalence, laws of logic
Logical equivalence, laws of logic
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
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
 
Lecture-3-and-4.pdf
Lecture-3-and-4.pdfLecture-3-and-4.pdf
Lecture-3-and-4.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
 
Chap05
Chap05Chap05
Chap05
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
NAND and NOR connectives
NAND and NOR connectivesNAND and NOR connectives
NAND and NOR connectives
 
4. symbolic logic
4. symbolic logic4. symbolic logic
4. symbolic logic
 
DS Lecture 2.ppt
DS Lecture 2.pptDS Lecture 2.ppt
DS Lecture 2.ppt
 
UNIT-III-PPT.pptx
UNIT-III-PPT.pptxUNIT-III-PPT.pptx
UNIT-III-PPT.pptx
 
UGC NET Computer Science & Application book.pdf [Sample]
UGC NET Computer Science & Application book.pdf  [Sample]UGC NET Computer Science & Application book.pdf  [Sample]
UGC NET Computer Science & Application book.pdf [Sample]
 
M4 logic-midterm-153
M4 logic-midterm-153M4 logic-midterm-153
M4 logic-midterm-153
 
RChain - Understanding Distributed Calculi
RChain - Understanding Distributed CalculiRChain - Understanding Distributed Calculi
RChain - Understanding Distributed Calculi
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
 
Lecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inferenceLecture 3 qualtifed rules of inference
Lecture 3 qualtifed rules of inference
 

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

Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
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
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
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
 
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
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
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
 

Recently uploaded (20)

Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
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
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
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
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).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
 
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...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
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
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
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
 

Formal Logic - Lesson 6 - Switching Circuits

  • 1. z FORMAL LOGIC Discrete Structures I FOR-IAN V. SANDOVAL
  • 3. z LEARNING OBJECTIVES ❑ Apply mathematical logic to switching circuits
  • 4. z SWITCHING CIRCUITS ❑ collection of wires and switches connecting two terminals, X and Y ❑ A switch may be either open (O or 1) or closed (C or 0) ❑ An open switch will not permit the current to flow while a closed switch will permit current to flow X Y Single Wire X p Y Open Switch (O) , p X p Y Closed Switch (O) , p X p q Y Series Switch: p ^ q Parallel Switch: p v q X p q Y
  • 5. z SWITCHING CIRCUITS ❑ Two switches are complementary if one switch is open and the other is closed, and vice versa ❑ Two switches are equivalent if they have the same electrical properties concerning the flow and non-flow of current
  • 6. z TRUTH TABLE FOR SWITCHING CIRCUITS p q p ^ q p v q p q Series Circuit Parallel Circuit T T T T C C C C T F F T or C O O C F T F T O C O C F F F F O O O O
  • 7. z SWITCHING CIRCUITS ❑ Construct the switching circuits equivalent in each of the following compound statements by applying the laws of logical equivalence. 1. [(p ^ r) v (q ^ r)] v ~q
  • 8. z SWITCHING CIRCUITS 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
  • 9. z SWITCHING CIRCUITS 1. [(p ^ r) v (q ^ r)] v ~q [(p ^ r) v (q ^ r)] v ~q ≡ ~q v r Commutative Law
  • 10. z SWITCHING CIRCUITS [(p ^ r) v (q ^ r)] v ~q X p r Y
  • 11. z SWITCHING CIRCUITS [(p ^ r) v (q ^ r)] v ~q X p r Yq r
  • 12. z SWITCHING CIRCUITS [(p ^ r) v (q ^ r)] v ~q X p r Yq r
  • 13. z SWITCHING CIRCUITS [(p ^ r) v (q ^ r)] v ~q X p r q r ~q Y
  • 14. z SWITCHING CIRCUITS [(p ^ r) v (q ^ r)] v ~q X p r q r ~q Y
  • 15. z SWITCHING CIRCUITS ~q v r X ~q Y Simplified compound statement of [(p ^ r) v (q ^ r)] v ~q
  • 16. z SWITCHING CIRCUITS ~q v r X ~q Y r Simplified compound statement of [(p ^ r) v (q ^ r)] v ~q
  • 17. z SWITCHING CIRCUITS ~q v r X ~q Y r Simplified compound statement of [(p ^ r) v (q ^ r)] v ~q
  • 18. z Group Enrichment Exercises ❑ Construct the switching circuits equivalent in each of the following compound statements by applying the laws of logical equivalence. 1. [p v (~p v q) v (p v ~q)] ^ ~q 2. ~(p → q) ^ (p ↔ q)
  • 19. z Group Enrichment Exercises 1. [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
  • 20. z GROUP ENRICHMENT EXERCISES 1. [p v (~p v q) v (p v ~q)] ^ ~q [p v (~p v q) v (p v ~q)] ^ ~q ≡ ~q Identity Law
  • 21. z Group Enrichment Exercises X [p v (~p v q) v (p v ~q)] ^ ~q
  • 22. z Group Enrichment Exercises X p [p v (~p v q) v (p v ~q)] ^ ~q
  • 23. z Group Enrichment Exercises X p [p v (~p v q) v (p v ~q)] ^ ~q ~p q
  • 24. z Group Enrichment Exercises X p [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q
  • 25. z Group Enrichment Exercises X p [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q
  • 26. z GROUP ENRICHMENT EXERCISES X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 27. z Group Enrichment Exercises ~q X ~q Y Simplified compound statement of [p v (~p v q) v (p v ~q)] ^ ~q
  • 28. z Group Enrichment Exercises 2. ~(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
  • 29. z Group Enrichment Exercises 2. ~(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
  • 30. z Group Enrichment Exercises 2. ~(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
  • 31. z Group Enrichment Exercises (p ^ ~q) ^ (p v ~q) ^ (~p v q) X Applying the Laws of Equivalence to ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q) p ~q
  • 32. z Group Enrichment Exercises (p ^ ~q) ^ (p v ~q) ^ (~p v q) X Applying the Laws of Equivalence to ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q) p ~q p ~q
  • 33. z Group Enrichment Exercises (p ^ ~q) ^ (p v ~q) ^ (~p v q) X Applying the Laws of Equivalence to ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q) p ~q p ~q
  • 34. z Group Enrichment Exercises (p ^ ~q) ^ (p v ~q) ^ (~p v q) X Applying the Laws of Equivalence to ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q) p ~q p ~q ~p q
  • 35. z Group Enrichment Exercises (p ^ ~q) ^ (p v ~q) ^ (~p v q) X Applying the Laws of Equivalence to ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q) p ~q p ~q ~p q
  • 36. z Group Enrichment Exercises (p ^ ~q) ^ (p v ~q) ^ (~p v q) X Applying the Laws of Equivalence to ~(p → q) ^ (p ↔ q) ≡ (p ^ ~q) ^ (~p v q) ^ (p v ~q) p ~q p ~q ~p q Y
  • 37. z SWITCHING CIRCUITS • A number of different patterns of open and closed switches that will allow the current to flow from X and Y. • In example, using the group enrichment exercises no. 1 • The several patterns are illustrated in the following slides.
  • 38. z SWITCHING CIRCUITS • Case 1: When p = T or closed and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 39. z SWITCHING CIRCUITS • Case 1: When p = T or closed and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 40. z SWITCHING CIRCUITS • Case 1: When p = T or closed and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 41. z SWITCHING CIRCUITS • Case 1: When p = T or closed and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 42. z SWITCHING CIRCUITS • Case 1: When p = T or closed and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 43. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 44. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 45. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 46. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 47. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 48. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 49. z SWITCHING CIRCUITS • Case 2: When p = T or closed and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 50. z SWITCHING CIRCUITS • Case 3: When p = F or open and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 51. z SWITCHING CIRCUITS • Case 3: When p = F or open and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 52. z SWITCHING CIRCUITS • Case 3: When p = F or open and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 53. z SWITCHING CIRCUITS • Case 3: When p = F or open and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 54. z SWITCHING CIRCUITS • Case 3: When p = F or open and q = T or closed X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 55. z SWITCHING CIRCUITS • Case 4: When p = F or open and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 56. z SWITCHING CIRCUITS • Case 4: When p = F or open and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 57. z SWITCHING CIRCUITS • Case 4: When p = F or open and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 58. z SWITCHING CIRCUITS • Case 4: When p = F or open and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 59. z SWITCHING CIRCUITS • Case 4: When p = F or open and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 60. z SWITCHING CIRCUITS • Case 4: When p = F or open and q = F or open X p Y [p v (~p v q) v (p v ~q)] ^ ~q ~p q p ~q ~q
  • 61. z Group Reinforcement Activity Construct the switching circuits in each of the following equivalent compound statements.. 1. (p v q) ^ r ^ q 2. [(p v q) ^ r] ^ q 3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
  • 62. z Group Reinforcement Activity 1. (p v q) ^ r ^ q X p q (p v q) ^ r ^ q
  • 63. z Group Reinforcement Activity 1. (p v q) ^ r ^ q X p q (p v q) ^ r ^ q r
  • 64. z Group Reinforcement Activity 1. (p v q) ^ r ^ q X p q (p v q) ^ r ^ q r q Y
  • 65. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 1: When p = T or closed, q = T or closed and r = T or closed
  • 66. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 1: When p = T or closed, q = T or closed and r = T or closed
  • 67. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 1: When p = T or closed, q = T or closed and r = T or closed
  • 68. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 1: When p = T or closed, q = T or closed and r = T or closed
  • 69. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 1: When p = T or closed, q = T or closed and r = T or closed
  • 70. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 2: When p = T or closed, q = T or closed and r = F or open
  • 71. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 2: When p = T or closed, q = T or closed and r = F or open
  • 72. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 2: When p = T or closed, q = T or closed and r = F or open
  • 73. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 2: When p = T or closed, q = T or closed and r = F or open
  • 74. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 3: When p = T or closed, q = F or open and r = F or open
  • 75. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 4: When p = F or open, q = F or open and r = F or open
  • 76. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 5: When p = F or open, q = T or closed and r = F or open
  • 77. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 6: When p = F or open, q = T or closed and r = T or closed
  • 78. z Group Reinforcement Activity X p q (p v q) ^ r ^ q r q Y Case 7: When p = F or open, q = F or open and r = T or closed
  • 79. z Group Reinforcement Activity 2. [(p v q) ^ r] ^ q X p q [(p v q) ^ r] ^ q
  • 80. z Group Reinforcement Activity 2. [(p v q) ^ r] ^ q X p q [(p v q) ^ r] ^ q r
  • 81. z Group Reinforcement Activity 2. [(p v q) ^ r] ^ q X p q [(p v q) ^ r] ^ q r q Y
  • 82. z Group Reinforcement Activity Show the different patterns that will allow the current to flow from X to Y. X p q [(p v q) ^ r] ^ q r q Y
  • 83. z Group Reinforcement Activity 3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s) X p v ~s (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
  • 84. z Group Reinforcement Activity 3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s) X p v ~s p q r (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
  • 85. z Group Reinforcement Activity 3. (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s) X p v ~s p q r p ~q s Y (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
  • 86. z Group Reinforcement Activity Show the different patterns that will allow the current to flow from X to Y. X p v ~s p q r p ~q s Y (p v r v ~s) ^ (p v q v r) ^ (p v ~q v s)
  • 87. 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