Binary Number System
Binary Decimal Conversion
Octal Decimal Conversion
Hexadecimal Decimal Conversion
Binary Octal Conversion
Binary Hexadecimal Conversion
Binary Coded Decimal
9s and 10s Complement
De Morgan's Theorem
Logical OR Operation
Logical AND Operation
Logical OR Gate
Exclusive OR Gate
Logical AND Gate
Excess 3 code Addition & Subtraction
We are familiar with the term Algebra which is related with general mathematics, but in this article we are dealing with Boolean algebra which is very much different from the original term. As in algebra we are accustomed with the general rules and formulas of basic addition, subtraction, multiplication and division but in case of Boolean algebra the implementation of abstract algebra and mathematical logic are more important. This algebra helps to define the logical operations of digital circuits. So it is a very important function of digital electronics and it helps in smooth running of the system.
History of Boolean Algebra
Now before discussing about the basics of Boolean algebra we should know about its history, who invented it, from where the original idea came. World famous mathematician George Boole invented Boolean algebra in the year 1854 in his book “An Investigation of the Laws of Thought”. Later using this technique Claude Shannon introduced a new type of algebra which is termed as Switching Algebra. There are specific rules and laws of Boolean algebra which are discussed below.
Before going to the laws of Boolean algebra and theorems of Boolean algebra we must know that know that Boolean expression can be stated as :-
i. A constant is a Boolean expression.
ii. A variable is a Boolean expression.
For example is B is a Boolean expression then B is also a Boolean expression. Variables such as BC and BCA + C are also Boolean expressions but A – B is not a Boolean expressions.
This type of expressions is formed by using binary constants, binary variables and basic logical operation symbols. In Boolean algebra an expression given can also be converted into a logic diagram using logical AND gate, OR gate & NOT gate. Basic logical operations are nothing but operations that include AND function i.e. logical multiplication, OR function i.e. logical addition and NOT function i.e. logical inversion.
Laws of Boolean Algebra
There are several laws in Boolean algebra.
As we know that this kind of algebra is a mathematical system consisting of a set of two or more district elements. There are also two binary operators denoted by the symbol bar (-) or prime (‘). These altogether follows the following laws:-
i. Commutative law.
ii. Associative law.
iii. Distributive law.
iv. Absorption laws.
v. Consensus laws.
i) Commutative law :- Using OR operation the Law is given as –
A + B = B + A
By this Law order of the OR operations conducted on the variables makes no differences.
This law using AND operation is –
A.B = B.A
This mean the same as previous the only difference is here the operator is (.). Here the order of the AND operations conducted on the variables makes no difference. This is an important law in Boolean algebra.
ii) Associative law : This law is given as –
A+(B+C) = (A+B)+C
This is for several variables, where the OR operation of the variables result is same though the grouping of the variables. This law is quite same in case of AND operator. It is
A.(B.C) = (A.B).C
Thus according to this law grouping of Boolean expressions do not make any difference during the AND operation of several variables. Though but these laws are also very important.
iii) Distributive law :- Among the laws of Boolean algebra this law is very famous and important too. This law is composed of two operators. AND and OR. The law is
A + BC = (A + B)(A + C)
Here the logic is, AND operation of several variables and then the OR operation of the result with a single variable is equivalent to the AND of the OR of single variable to one of the variable of several variables to make it simple, set BC be the several variables then A will be OR with B. Firstly and again A will be OR with C, then the result of the OR operation will be AND. The proof of this law in Boolean algebra is given below :-
A + BC = A.1 + BC [ Since, A.1 = A]
= A(1 + B) + BC [Since, B+1 = 1]
= A.1 + AB + BC
= A.(1 + C) + AB + BC [Since, A.A = A.1 = A]
= A (A + C) + B (A+C)
A+BC = (A+B)(A+C)
This law can also be for Boolean multiplication.
Such as – A.(B + C) = A.B + A.C
iv) Absorption laws : – In laws of Boolean algebra there are several groups of laws. Absorption laws are such a group of laws. The laws and their respective proves are given below.
i) A+AB = A
Proof. A+AB = A.1 + AB [A.1 = A]
= A(1+B) [Since, 1 + B = 1]
= A.1 = A
ii) A(A+B) = A
Proof. A(A+B) = A.A + A.B
= A+AB [Since, A.A = A]
iii) A+ĀB = A+B
Proof A+ĀB = (A+Ā) [Since, A+BC = (A+B)(A+C) using distributive law.]
= 1 (A+B) [Since, A+Ā = 1]
iv) A.(Ā+B) = AB
Proof A.( Ā+B) = A. Ā+AB
= AB [AĀ = 0]