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

Control Synthesis by Sum of Squares Optimization
Control Synthesis by Sum of Squares OptimizationControl Synthesis by Sum of Squares Optimization
Control Synthesis by Sum of Squares OptimizationBehzad Samadi
 
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
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Ikhtiar Khan Sohan
 
Valid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptxValid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptxLuisSalenga1
 
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
 
Formal Logic: Teaching Practice
Formal Logic: Teaching PracticeFormal Logic: Teaching Practice
Formal Logic: Teaching PracticeIvan Ruchkin
 
CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategyallyn joy calcaben
 
Domain Modeling in a Functional World
Domain Modeling in a Functional WorldDomain Modeling in a Functional World
Domain Modeling in a Functional WorldDebasish Ghosh
 
Philosophy,logic and its kind,inductive and deductive reasoning ppt
Philosophy,logic and its kind,inductive and deductive reasoning pptPhilosophy,logic and its kind,inductive and deductive reasoning ppt
Philosophy,logic and its kind,inductive and deductive reasoning pptUmer Niazi
 
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
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)D Nayanathara
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.rSyed Umair
 
Group abstract algebra
Group  abstract algebraGroup  abstract algebra
Group abstract algebraNaliniSPatil
 

What's hot (20)

Logic&proof
Logic&proofLogic&proof
Logic&proof
 
Control Synthesis by Sum of Squares Optimization
Control Synthesis by Sum of Squares OptimizationControl Synthesis by Sum of Squares Optimization
Control Synthesis by Sum of Squares Optimization
 
Pandas
PandasPandas
Pandas
 
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
 
L1 fuzzy sets & basic operations
L1 fuzzy sets & basic operationsL1 fuzzy sets & basic operations
L1 fuzzy sets & basic operations
 
Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)Discrete Math Presentation(Rules of Inference)
Discrete Math Presentation(Rules of Inference)
 
Valid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptxValid and Invalid Arguments.pptx
Valid and Invalid Arguments.pptx
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
Formal Logic: Teaching Practice
Formal Logic: Teaching PracticeFormal Logic: Teaching Practice
Formal Logic: Teaching Practice
 
CMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and StrategyCMSC 56 | Lecture 5: Proofs Methods and Strategy
CMSC 56 | Lecture 5: Proofs Methods and Strategy
 
Roll's theorem
Roll's theoremRoll's theorem
Roll's theorem
 
Domain Modeling in a Functional World
Domain Modeling in a Functional WorldDomain Modeling in a Functional World
Domain Modeling in a Functional World
 
Relations
RelationsRelations
Relations
 
Philosophy,logic and its kind,inductive and deductive reasoning ppt
Philosophy,logic and its kind,inductive and deductive reasoning pptPhilosophy,logic and its kind,inductive and deductive reasoning ppt
Philosophy,logic and its kind,inductive and deductive reasoning ppt
 
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
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
CQL Under the Hood
CQL Under the HoodCQL Under the Hood
CQL Under the Hood
 
Group abstract algebra
Group  abstract algebraGroup  abstract algebra
Group abstract algebra
 

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
 
Logic and proof
Logic and proofLogic and proof
Logic and proofSuresh Ram
 
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
 
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
 
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
 

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
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
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]
 
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
 
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
 

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

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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
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
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 

Recently uploaded (20)

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
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
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...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

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