SlideShare a Scribd company logo
1 of 12
Download to read offline
Chapter 3
Boolean
Logic
New
syllabus
2022-23
Visit : python.mykvs.in for regular updates
Boolean Logic
Visit : python.mykvs.in for regular updates
What does a Computer
Understands
Computers do not understand natural
languages nor programming languages.
They only understand the language of
bits. A bit is the most basic unit in
computer machine language. All
instructions that the computer
executes and the data that it processes
is made up of a group of bits. Bits are
represented in many forms either
through electrical voltage, current
pulses, or by the state of an electronic
flip-flop circuit in form of 0 or 1.
1 Bit = Binary Digit(0 or 1)
8 Bits = 1 Byte
1024 Bytes = 1 KB (Kilo Byte)
1024 KB = 1 MB (Mega Byte)
1024 MB = 1 GB(Giga Byte)
1024 GB = 1 TB(Terra Byte)
1024 TB = 1 PB(Peta Byte)
1024 PB = 1 EB(Exa Byte)
1024 EB = 1 ZB(Zetta Byte)
1024 ZB = 1 YB (Yotta Byte)
1024 YB = 1 (Bronto Byte)
1024 Brontobyte = 1 (Geop Byte)
Visit : python.mykvs.in for regular updates
Boolean Logic
Because of computer understands machine
language(0/1) which is binary value so every
operation is done with the help of these binary value
by the computer.
George Boole, Boolean logic is a form of algebra in
which all values are reduced to either 1 or 1.
To understand boolean logic properly we have to
understand Boolean logic rule,Truth table and logic
gates
Boolean Logic
Visit : python.mykvs.in for regular updates
Boolean Logic
rules
Boolean Algebra is
the mathematics we
use to analyse digital
gates and circuits.
We can use these
“Laws of Boolean” to
both reduce and
simplify a complex
Boolean expression
in an attempt to
reduce the number
Boolean
Expression
Boolean Algebra Law or Rule
A + 1 = 1 Annulment
A + 0 = A Identity
A . 1 = A Identity
A . 0 = 0 Annulment
A + A = A Idempotent
A . A = A Idempotent
NOT A = A Double Negation
A + A = 1 Complement
A . A = 0 Complement
A+B = B+A Commutative
A.B = B.A Commutative
A+B = A.B de Morgan’s Theorem
A.B = A+B de Morgan’s Theorem
Boolean Logic
Visit : python.mykvs.in for regular updates
Boolean Expression
A Boolean expression is a logical statement that is
either TRUE or FALSE .
A Boolean expression can consist of Boolean data, such as the following:
* BOOLEAN values (YES and NO, and their synonyms, ON and OFF, and
TRUE and FALSE)
* BOOLEAN variables or formulas
* Functions that yield BOOLEAN results
• BOOLEAN values calculated by comparison operators. E.g.
1. $F(x, y, z) = x' y' z' + x y' z + x y z' + x y z
2. $F' (x, y, z) = x' y z + x' y' z + x' y z' + x y' z‘
3. $F(x, y, z) = (x + y + z) . (x+y+z') . (x+y'+z) . (x'+y+z)
Boolean Logic
Visit : python.mykvs.in for regular updates
De Morgan’s Law
The complement of the union of two sets is equal to
the intersection of their complements and the
complement of the intersection of two sets is equal to
the union of their complements. These are called De
Morgan’s laws.
For any two finite sets A and B
(i) (A U B)' = A' ∩ B' (which is a De Morgan's law of union).
OR
(A+B)’=A’.B’
(ii) (A ∩ B)' = A' U B' (which is a De Morgan's law of intersection).
OR
(A . B)’=A’+B’
Boolean Logic
Visit : python.mykvs.in for regular updates
Proof of De Morgan’s law: (A U B)' = A' ∩ B‘
Let P = (A U B)' and Q = A' ∩ B'
Let x be an arbitrary element of P then x ∈ P ⇒ x ∈ (A U B)'
⇒ x ∉ (A U B)
⇒ x ∉ A and x ∉ B
⇒ x ∈ A' and x ∈ B'
⇒ x ∈ A' ∩ B'
⇒ x ∈ Q
Therefore, P ⊂ Q …………….. (i)
Again, let y be an arbitrary element of Q then y ∈ Q ⇒ y ∈ A' ∩ B'
⇒ y ∈ A' and y ∈ B'
⇒ y ∉ A and y ∉ B
⇒ y ∉ (A U B)
⇒ y ∈ (A U B)'
⇒ y ∈ P
Therefore, Q ⊂ P …………….. (ii)
Now combine (i) and (ii) we get; P = Q i.e. (A U B)' = A' ∩ B'
Boolean Logic
Visit : python.mykvs.in for regular updates
Proof of De Morgan’s law: (A ∩ B)' = A' U B'
Let M = (A ∩ B)' and N = A' U B'
Let x be an arbitrary element of M then x ∈ M ⇒ x ∈ (A ∩ B)'
⇒ x ∉ (A ∩ B)
⇒ x ∉ A or x ∉ B
⇒ x ∈ A' or x ∈ B'
⇒ x ∈ A' U B'
⇒ x ∈ N
Therefore, M ⊂ N …………….. (i)
Again, let y be an arbitrary element of N then y ∈ N ⇒ y ∈ A' U B'
⇒ y ∈ A' or y ∈ B'
⇒ y ∉ A or y ∉ B
⇒ y ∉ (A ∩ B)
⇒ y ∈ (A ∩ B)'
⇒ y ∈ M
Therefore, N ⊂ M …………….. (ii)
Now combine (i) and (ii) we get; M = N i.e. (A ∩ B)' = A' U B'
Boolean Logic
Visit : python.mykvs.in for regular updates
Truth table
A truth table is a mathematical table used in logic.
e.g.
Boolean Logic
Visit : python.mykvs.in for regular updates
Logic Gates
Logic gate is an idealized or physical device implementing a
Boolean function.These are used to construct logic circuit.
Boolean Logic
Visit : python.mykvs.in for regular updates
Logic circuit
Construct a truth tables for following circuits of logic gates
Construct the logic circuit of following
1. C + BC:
2. AB+BC(B+C)
Boolean Logic
Visit : python.mykvs.in for regular updates
Universal gates are the logic gates which are capable
of implementing any Boolean function without
requiring any other type of gate.
Types of Universal Gates-
In digital electronics, there are only two universal
gates which are-
1. NAND Gate
2. NOR Gate
Boolean Logic

More Related Content

Similar to boolean logic3.pdf

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.mshoaib15
 
Introduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptIntroduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptSanjay446332
 
Lec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignLec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignVajira Thambawita
 
Boolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theoremBoolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theorembalafet
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheetSuvrat Mishra
 
Switching theory and logic design.
Switching theory and logic design.Switching theory and logic design.
Switching theory and logic design.Anto Jose Moyalan
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesImran Waris
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxUnit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxKartikkalaspurkar1
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptnaresh414857
 

Similar to boolean logic3.pdf (20)

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
Boolean expression org.
Boolean expression org.Boolean expression org.
Boolean expression org.
 
Introduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.pptIntroduction-to-Boolean-Algebra.ppt
Introduction-to-Boolean-Algebra.ppt
 
DLD Chapter-2.pdf
DLD Chapter-2.pdfDLD Chapter-2.pdf
DLD Chapter-2.pdf
 
Lec 03 - Combinational Logic Design
Lec 03 - Combinational Logic DesignLec 03 - Combinational Logic Design
Lec 03 - Combinational Logic Design
 
Boolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theoremBoolean Algebra logic and De Morgan theorem
Boolean Algebra logic and De Morgan theorem
 
sop_pos(DE).pptx
sop_pos(DE).pptxsop_pos(DE).pptx
sop_pos(DE).pptx
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Probability cheatsheet
Probability cheatsheetProbability cheatsheet
Probability cheatsheet
 
Switching theory and logic design.
Switching theory and logic design.Switching theory and logic design.
Switching theory and logic design.
 
Digital Electronics
Digital ElectronicsDigital Electronics
Digital Electronics
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
Math task 3
Math task 3Math task 3
Math task 3
 
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptxUnit_2_Boolean_algebra_and_Karnaugh_maps.pptx
Unit_2_Boolean_algebra_and_Karnaugh_maps.pptx
 
Unit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.pptUnit-1 Part-2-v1.ppt
Unit-1 Part-2-v1.ppt
 

Recently uploaded

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
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
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
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
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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 ...
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
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
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 

boolean logic3.pdf

  • 1. Chapter 3 Boolean Logic New syllabus 2022-23 Visit : python.mykvs.in for regular updates
  • 2. Boolean Logic Visit : python.mykvs.in for regular updates What does a Computer Understands Computers do not understand natural languages nor programming languages. They only understand the language of bits. A bit is the most basic unit in computer machine language. All instructions that the computer executes and the data that it processes is made up of a group of bits. Bits are represented in many forms either through electrical voltage, current pulses, or by the state of an electronic flip-flop circuit in form of 0 or 1. 1 Bit = Binary Digit(0 or 1) 8 Bits = 1 Byte 1024 Bytes = 1 KB (Kilo Byte) 1024 KB = 1 MB (Mega Byte) 1024 MB = 1 GB(Giga Byte) 1024 GB = 1 TB(Terra Byte) 1024 TB = 1 PB(Peta Byte) 1024 PB = 1 EB(Exa Byte) 1024 EB = 1 ZB(Zetta Byte) 1024 ZB = 1 YB (Yotta Byte) 1024 YB = 1 (Bronto Byte) 1024 Brontobyte = 1 (Geop Byte)
  • 3. Visit : python.mykvs.in for regular updates Boolean Logic Because of computer understands machine language(0/1) which is binary value so every operation is done with the help of these binary value by the computer. George Boole, Boolean logic is a form of algebra in which all values are reduced to either 1 or 1. To understand boolean logic properly we have to understand Boolean logic rule,Truth table and logic gates Boolean Logic
  • 4. Visit : python.mykvs.in for regular updates Boolean Logic rules Boolean Algebra is the mathematics we use to analyse digital gates and circuits. We can use these “Laws of Boolean” to both reduce and simplify a complex Boolean expression in an attempt to reduce the number Boolean Expression Boolean Algebra Law or Rule A + 1 = 1 Annulment A + 0 = A Identity A . 1 = A Identity A . 0 = 0 Annulment A + A = A Idempotent A . A = A Idempotent NOT A = A Double Negation A + A = 1 Complement A . A = 0 Complement A+B = B+A Commutative A.B = B.A Commutative A+B = A.B de Morgan’s Theorem A.B = A+B de Morgan’s Theorem Boolean Logic
  • 5. Visit : python.mykvs.in for regular updates Boolean Expression A Boolean expression is a logical statement that is either TRUE or FALSE . A Boolean expression can consist of Boolean data, such as the following: * BOOLEAN values (YES and NO, and their synonyms, ON and OFF, and TRUE and FALSE) * BOOLEAN variables or formulas * Functions that yield BOOLEAN results • BOOLEAN values calculated by comparison operators. E.g. 1. $F(x, y, z) = x' y' z' + x y' z + x y z' + x y z 2. $F' (x, y, z) = x' y z + x' y' z + x' y z' + x y' z‘ 3. $F(x, y, z) = (x + y + z) . (x+y+z') . (x+y'+z) . (x'+y+z) Boolean Logic
  • 6. Visit : python.mykvs.in for regular updates De Morgan’s Law The complement of the union of two sets is equal to the intersection of their complements and the complement of the intersection of two sets is equal to the union of their complements. These are called De Morgan’s laws. For any two finite sets A and B (i) (A U B)' = A' ∩ B' (which is a De Morgan's law of union). OR (A+B)’=A’.B’ (ii) (A ∩ B)' = A' U B' (which is a De Morgan's law of intersection). OR (A . B)’=A’+B’ Boolean Logic
  • 7. Visit : python.mykvs.in for regular updates Proof of De Morgan’s law: (A U B)' = A' ∩ B‘ Let P = (A U B)' and Q = A' ∩ B' Let x be an arbitrary element of P then x ∈ P ⇒ x ∈ (A U B)' ⇒ x ∉ (A U B) ⇒ x ∉ A and x ∉ B ⇒ x ∈ A' and x ∈ B' ⇒ x ∈ A' ∩ B' ⇒ x ∈ Q Therefore, P ⊂ Q …………….. (i) Again, let y be an arbitrary element of Q then y ∈ Q ⇒ y ∈ A' ∩ B' ⇒ y ∈ A' and y ∈ B' ⇒ y ∉ A and y ∉ B ⇒ y ∉ (A U B) ⇒ y ∈ (A U B)' ⇒ y ∈ P Therefore, Q ⊂ P …………….. (ii) Now combine (i) and (ii) we get; P = Q i.e. (A U B)' = A' ∩ B' Boolean Logic
  • 8. Visit : python.mykvs.in for regular updates Proof of De Morgan’s law: (A ∩ B)' = A' U B' Let M = (A ∩ B)' and N = A' U B' Let x be an arbitrary element of M then x ∈ M ⇒ x ∈ (A ∩ B)' ⇒ x ∉ (A ∩ B) ⇒ x ∉ A or x ∉ B ⇒ x ∈ A' or x ∈ B' ⇒ x ∈ A' U B' ⇒ x ∈ N Therefore, M ⊂ N …………….. (i) Again, let y be an arbitrary element of N then y ∈ N ⇒ y ∈ A' U B' ⇒ y ∈ A' or y ∈ B' ⇒ y ∉ A or y ∉ B ⇒ y ∉ (A ∩ B) ⇒ y ∈ (A ∩ B)' ⇒ y ∈ M Therefore, N ⊂ M …………….. (ii) Now combine (i) and (ii) we get; M = N i.e. (A ∩ B)' = A' U B' Boolean Logic
  • 9. Visit : python.mykvs.in for regular updates Truth table A truth table is a mathematical table used in logic. e.g. Boolean Logic
  • 10. Visit : python.mykvs.in for regular updates Logic Gates Logic gate is an idealized or physical device implementing a Boolean function.These are used to construct logic circuit. Boolean Logic
  • 11. Visit : python.mykvs.in for regular updates Logic circuit Construct a truth tables for following circuits of logic gates Construct the logic circuit of following 1. C + BC: 2. AB+BC(B+C) Boolean Logic
  • 12. Visit : python.mykvs.in for regular updates Universal gates are the logic gates which are capable of implementing any Boolean function without requiring any other type of gate. Types of Universal Gates- In digital electronics, there are only two universal gates which are- 1. NAND Gate 2. NOR Gate Boolean Logic