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

CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logicallyn joy calcaben
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicIT Engineering Department
 
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 Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics LectureGenie Rose Santos
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1 Ali Usman
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relationsnszakir
 
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
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiersblaircomp2003
 
Propositional logic by shawan
Propositional logic by shawanPropositional logic by shawan
Propositional logic by shawanTouhidul Shawan
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)D Nayanathara
 
Translating English to Propositional Logic
Translating English to Propositional LogicTranslating English to Propositional Logic
Translating English to Propositional LogicJanet Stemwedel
 
Lec 02 logical eq (Discrete Mathematics)
Lec 02   logical eq (Discrete Mathematics)Lec 02   logical eq (Discrete Mathematics)
Lec 02 logical eq (Discrete Mathematics)Naosher Md. Zakariyar
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid argumentsAbdur Rehman
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statementsguestd166eb5
 

What's hot (20)

CMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional LogicCMSC 56 | Lecture 1: Propositional Logic
CMSC 56 | Lecture 1: Propositional Logic
 
Discrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional LogicDiscrete Math Lecture 01: Propositional Logic
Discrete Math Lecture 01: Propositional Logic
 
CMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional EquivalencesCMSC 56 | Lecture 2: Propositional Equivalences
CMSC 56 | Lecture 2: Propositional Equivalences
 
Logic&proof
Logic&proofLogic&proof
Logic&proof
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
 
Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
 
LECTURE 2: PROPOSITIONAL EQUIVALENCES
LECTURE 2: PROPOSITIONAL EQUIVALENCESLECTURE 2: PROPOSITIONAL EQUIVALENCES
LECTURE 2: PROPOSITIONAL EQUIVALENCES
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Properties of relations
Properties of relationsProperties of relations
Properties of relations
 
Chapter 2: Relations
Chapter 2: RelationsChapter 2: Relations
Chapter 2: Relations
 
CMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & QuantifiersCMSC 56 | Lecture 3: Predicates & Quantifiers
CMSC 56 | Lecture 3: Predicates & Quantifiers
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
Predicates and Quantifiers
Predicates and QuantifiersPredicates and Quantifiers
Predicates and Quantifiers
 
Propositional logic by shawan
Propositional logic by shawanPropositional logic by shawan
Propositional logic by shawan
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 
Translating English to Propositional Logic
Translating English to Propositional LogicTranslating English to Propositional Logic
Translating English to Propositional Logic
 
Lec 02 logical eq (Discrete Mathematics)
Lec 02   logical eq (Discrete Mathematics)Lec 02   logical eq (Discrete Mathematics)
Lec 02 logical eq (Discrete Mathematics)
 
Discrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of ProofDiscrete Math Lecture 03: Methods of Proof
Discrete Math Lecture 03: Methods of Proof
 
Valid & invalid arguments
Valid & invalid argumentsValid & invalid arguments
Valid & invalid arguments
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 

Similar to Formal Logic - Lesson 6 - Switching Circuits

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
 
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)

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

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
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
 
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
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 

Recently uploaded (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
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
 
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
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
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.
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
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...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 

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