Boolean algbra
Boolean algbra
Boolean Algebra
1
Boolean Algebra
2
Axiom of Boolean Algebra
P.2(b)+P.5(a)+P.4(b)
+P.2(b)+P5(a)
P.2(b)+P.5(a)+P.4(b)+
P.5(b)+P2(a)
3
Contd… Boolean Algebra
4
Axiom of Boolean Algebra
P.2(b)+P.5(a)+P.4(b)
+P.2(b)+P5(a)
P.2(b)+P.5(a)+P.4(b)+
P.5(b)+P2(a) 5
Contd… Boolean Algebra
• Our second group of Boolean identities should be
familiar to you from your study of algebra:
6
Contd… Boolean Algebra
7
Contd…
Some more simplification theorems:
8
Contd…
Simplification Examples - 1:
9
Contd
…
Simplification Examples - 2:
10
Complement of a function
• Generalization of DeMorgan’s theorem for any number of variables:
Complement of a function:
11
Contd…
• Example – complement of the function
12
Simple gates
13
Contd…
NAND and NOR Gates
Gates can have multiple inputs and more than one output.
14
• Combinations of gates implement Boolean functions.
15
• Each appearance of a variable or its compliment in an expression –
referred as a literal.
16
Truth Table
• Specifies the values of a Boolean expression for every possible
combination of values of the variables in the expression.
17
Contd…
• Truth Table for
18
Contd…
• Truth Table for
• Two expressions are equal , if they have the same value for every
possible combinations of the input variables A, B and C.
19
Contd…
• Truth Table for
20
Canonical and Standard form
21
Contd…
22
Minterm
A product term containing all n variables of the function in either
true or completed form is called the minterm
Each Minterm is obtained by an AND operation of the variable in
their true form or complemented form
Variable value 1 when true or uncomplemented
0 when complemented
23
Canonical Sum of Product Expression
When a Boolean function is expressed as logical sum of all the
minterms from the rows of truth table, for which the value of the
function is 1
24
Example
Obtain canonical sum of product form of function F(A,B)=A+B
F(A,B)=A+B
25
Example
Obtain canonical sum of product form of function F(A,B,C)=A+BC
26
Maxterm
A sum term containing all n variables of the function In either true
or completed form is called the maxterm
Each Minterm is obtained by an OR operation of the variable in
their true form or complemented form
Variable value 0 when true or uncomplemented
1 when complemented
27
Canonical Prodcut of Sum Expression
When a Boolean function is expressed as logical product of all the
maxterms from the rows of truth table, for which the value of the
function is 0
28
Example
29
Example
30
Deriving SOP from truth table
31
Deriving POS from truth table
32
Example
33