Laws of Boolean Algebra ...
 

The most obvious way to simplify Boolean expressions is to manipulate them in the same way as normal algebraic expressions are manipulated.

 

 

Commutative Laws

 

The commutative law of addition for two variables is algebraically expressed as


A + B = B + A

 

The commutative law of multiplication for two variables is expressed as

 

AB = BA

 

In summary, the order in which the variables are ORed or ANDed make no difference.

 

Associative Laws

 

The associative law of addition of three variables is expressed as

 

A + (B + C) = (A + B) + C

 

The associative law of multiplication of three variables is expressed as

 

A(BC) = (AB)C

 

In summary, ORing or ANDing a grouping of variables produces the same result regardless of the grouping of the variables.

 

Distributive Law

 

The distributive law of three variables is expressed as follows:

 

A (B+C) = AB + AC

 

This law states that ORing several variables and ANDing the result is equivalent of ANDing the single variable with each of the variables in the grouping, then ORing the result.

By combining the laws of Boolean algebra and our knowledge of logic gates we form several useful rules that may be used in manipulating and simplifying Boolean algebra expressions.



Rules 1-9, as listed in the table , are the core precepts from which rules 10-12 are derived. Note that in each case, A, B, or C can either represent a single variable of a combination of variables.







 











































Rule Number


Boolean Expression


1



2



3



4



5



6



7



8



9



10



11



12



   Table 1-10 Rules of Boolean Algebra


All these rules, in particular rules 1-9, are easily verified using truth tables.


Let us examine two methods by which we can prove the relationships of rules 10-12. First we use the laws and rules of Boolean algebra. Second we employ the use of truth tables.


Method 1:




















A + AB = A (1+B) distributive law

          = A .1

rule 2
          =A rule 4


 







Method 2:































A


B


AB


A + AB


0


0


0


0


0


1


0


0


1


0


0


1


1


1


1


1


            Table illustrating A+AB=A


As the shaded columns are equal then the rule has be shown to be correct.


Similarly for Rule 12, we can apply the same two methods to prove the relationship.








Method 1:


































(A + B)(A+C) = AA +AC + BA + BC distributive law
= A + AC + BA + BC rule 7
= A (1 + C) + BA + BC distributive law
= A.1 +BA + BC

rule 2

= A + BA + BC rule 4
= A (1 + B) + BC distributive law
= A.1 + BC rule 2
= A + BC

rule 4








Method 2:























































































A


B


C


A + B


A+C


(A + B)(A+C)


BC


A + BC


0


0


0


0


0


0


0


0


0


0


1


0


1


0


0


0


0


1


0


1


0


0


0


0


0


1


1


1


1


1


1


1


1


0


0


1


1


1


0


1


1


0


1


1


1


1


0


1


1


1


0


1


1


1


0


1


1


1


1


1


1


1


1


1


      Table illustrating (A + B)(A+C) = A+BC


Again, as the shaded columns are equal then the rule has be shown to be correct