In order to deal mathematically with the digital circuits, we need to use the Boolean Algebra. It can be defined with the help of the following:
- A set of elements
- A set of operators
- A number of unproved postulates.
Boolean (Binary) Algebra:
It is used to analyze and simplify the digital (logic) circuits. Since it uses only the binary numbers i.e. 0 and 1 it is also called as "Binary Algebra", or "Logical Algebra".
The rules of Boolean Algebra are different from those of the conventional Algebra in the following manner;
- Symbols used in Boolean Algebra (usually letters) do not represent numerical values.
- Arithmetic operations (addition, subtraction, division etc.) are not performed in boolean algebra. Also there are no fractions, negative numbers, square, square root, logarithms, imaginary numbers etc.
- Third and most important point is Boolean Algebra allows only two possible values ("0" to "1") for any variable.
Rules in Boolean algebra: There are some rules to be followed while while using a Boolean Algebra, these are:
- Variable used can have only two values. Binary 1 for HIGH and Binary 0 for LOW.
- Complement of a variable is represented by a overbar (-). Thus complement of variable B is represented as B bar. Thus if A = 0 then Ā = 1 and if A = 1 then Ā = 0.
- ORing of the variables is represented by a plus (+) sign between them. For example ORing of A, B, C is represented as A+B+C.
- Logical ANDing of the two or more variables is represented by writing a dot between them such as A.B.C.D.E. Sometimes the dot may be omitted like ABCDE.
BOOLEAN LAWS
Some basic Logic Gate laws;
OR operation
A + 0 = A
A + 1 = 1
A + A = A
A + Ā = 1
AND operation
A . 0 = 0
A . 1 = A
A . A = A
A + Ā = 1
NOT operation
A = Ā
Commutative Law
A + B = B + A
Associative Law
A + ( B + C ) = ( A + B ) + C
Distributive Law
A . ( B + C ) = A.B + A.C
De Moragan's Theorem
To obtain the inverse of any Boolean function, invert all variable and replace all OR's by AND's and vice versa.
Truth Table to Prove De Morgan's Theorem |
Duality Theorem
Starting with a Boolean relation, we can derive another Boolean relation, called its dual by the following steps;
- Changing each OR sign to an AND sign
- Changing each AND sign to an OR sign
- Complementing all 0's and 1's. Example; dual of A.0 = 0 is written as A+1=1.
Applying duality theorem to A.(B + C) = A.B + A.C by relationship we get;
A+(B.C) = (A+B).(A+C)
Some other Boolean Expressions:
- A . ( B + C ) = A . B + A . C
- A + ( B . C ) = ( A + B )( A + C )
- A + ( A . B ) = A
- A . ( A + B ) = A
- A + Ā B = A + B
- A . ( Ā + B ) = A . B
- A . B + Ā . C = ( A + C ) . ( Ā + B )
- ( A + B ) . (Ā + C ) = ( A . C ) + ( Ā . C )
- ( A . B ) + ( Ā . C ) + ( B . C ) = ( A . B ) + ( Ā . C )
- ( A + B ) . ( Ā + C ) . ( B + C ) = ( A + B ) . ( Ā + C )
Post a Comment