Basic Electronics Tutorials
Valid XHTML Web Page
Electronics Tutorial about the Laws of Boolean Algebra
 

The Laws of Boolean

Navigation
Tutorial: 5 of 7

The Laws of Boolean

As well as the logic symbols "0" and "1" being used to represent a digital input or output, we can also use them as constants for a permanently "Open" or "Closed" circuit or contact respectively. Laws or rules for Boolean Algebra expressions have been invented to help reduce the number of logic gates needed to perform a particular logic operation resulting in a list of functions or theorems known commonly as the Laws of Boolean.

Boolean Algebra uses these "Laws of Boolean" to both reduce and simplify a Boolean expression in an attempt to reduce the number of logic gates required. Boolean Algebra is therefore a system of mathematics based on logic that has its own set of rules or laws which are used to define and reduce Boolean expressions. The variables used in Boolean Algebra only have one of two possible values, a logic "0" and a logic "1" but an expression can have an infinite number of variables all labelled individually to represent inputs to the expression, For example, variables A, B, C etc, giving us a logical expression of A + B = C, but each variable can ONLY be a 0 or a 1.

Examples of these individual laws of Boolean, rules and theorems for Boolean Algebra are given in the following table.

Truth Tables for the Laws of Boolean

Boolean
Expression
Description Equivalent
Switching Circuit
Boolean Algebra
Law or Rule
A + 1 = 1A in parallel with closed
= "CLOSED"
universal parallel circuit Annulment
A + 0 = AA in parallel with open
= "A"
universal parallel circuit Identity
A . 1 = AA in series with closed
= "A"
universal series circuit Identity
A . 0 = 0A in series with open
= "OPEN"
universal series circuit Annulment
A + A = AA in parallel with A = "A" indempotent parallel circuit Indempotent
A . A = AA in series with A = "A" indempotent series circuit Indempotent
NOT A = ANOT NOT A
(double negative) = "A"
  Double Negation
A + A = 1A in parallel with not A
= "CLOSED"
complement parallel circuit Complement
A . A = 0A in series with not A
= "OPEN"
complement series circuit Complement
A+B = B+A A in parallel with B =
B in parallel with A
absorption parallel circuit Commutative
A.B = B.A A in series with B =
B in series with A
absorption series circuit Commutative
A+B = A.B invert and replace OR with AND   de Morgan's Theorem
A.B = A+B invert and replace AND with OR   de Morgan's Theorem


The basic Laws of Boolean Algebra that relate to the Commutative Law allowing a change in position for addition and multiplication, the Associative Law allowing the removal of brackets for addition and multiplication, as well as the distributive Law allowing the factoring of an expression, are the same as in ordinary algebra. Each of the Booelen laws above are given with just a single or two variables, but the number of variables defined by a single law is not limited to this as there can be an infinite number of variables as inputs too the expression. The above laws of Boolean can be used to prove any given Boolean expression and for simplifying complicated digital circuits. A brief description of the Laws of Boolean is given below.

Description of the Laws and Theorems

  • Annulment Law - A term ANDŽed with a "0" equals 0 or ORŽed with a "1" will equal 1.
  •  
    1. A . 0 = 0,    A variable AND'ed with 0 is always equal to 0.
    2. A + 1 = 1,    A variable OR'ed with 1 is always equal to 1.
  •  
  • Identity Law - A term ORŽed with a "0" or ANDŽed with a "1" will always equal that term.
  •  
    1. A + 0 = A,   A variable OR'ed with 0 is always equal to the variable.
    2. A . 1 = A,    A variable AND'ed with 1 is always equal to the variable.
  •  
  • Indempotent Law - An input ANDŽed with itself or ORŽed with itself is equal to that input.
  •  
    1. A + A = A,    A variable OR'ed with itself is always equal to the variable.
    2. A . A = A,    A variable AND'ed with itself is always equal to the variable.
  •  
  • Complement Law - A term ANDŽed with its complement equals "0" and a term ORŽed with its complement equals "1".
  •  
    1. A . A = 0,    A variable AND'ed with its complement is always equal to 0.
    2. A + A = 1,    A variable OR'ed with its complement is always equal to 1.
  •  
  • Commutative Law - The order of application of two separate terms is not important.
  •  
    1. A . B = B . A,    The order in which two variables are AND'ed makes no difference.
    2. A + B = B + A,    The order in which two variables are OR'ed makes no difference.
  •  
  • Double Negation Law - A term that is inverted twice is equal to the original term.
  •  
    1. A = A,     A double complement of a variable is always equal to the variable.
  •  
  • de MorganŽs Theorem - There are two "de MorganŽs" rules or theorems,
  •  
  • (1) Two separate terms NORŽed together is the same as the two terms inverted (Complement) and ANDŽed for example, A+B = A. B.
  •  
  • (2) Two separate terms NANDŽed together is the same as the two terms inverted (Complement) and ORŽed for example, A.B = A +B.

Other algebraic laws not detailed above include:

  • Distributive Law - This law permits the multiplying or factoring out of an expression.
  •  
  • Absorptive Law - This law enables a reduction in a complicated expression to a simpler one by absorbing like terms.
  •  
  • Associative Law - This law allows the removal of brackets from an expression and regrouping of the variables.

Boolean Algebra Functions

Using the information above, simple 2-input AND, OR and NOT Gates can be represented by 16 possible functions as shown in the following table.

FunctionDescriptionExpression
1.NULL0
2.IDENTITY1
3.Input AA
4.Input BB
5.NOT AA
6.NOT BB
7.A AND B (AND)A . B
8.A AND NOT BA . B
9.NOT A AND BA . B
10.NOT A AND NOT B (NAND)A . B
11.A OR B (OR)A + B
12.A OR NOT BA + B
13.NOT A OR BA + B
14.NOT OR (NOR)A + B
15.Exclusive-ORA.B + A.B
16.Exclusive-NORA.B + A.B

 

Example No1

Using the above laws, simplify the following expression:  (A + B)(A + C)

Q =(A + B)(A + C) 
 AA + AC + AB + BC- Distributive law
 A + AC + AB + BC- Identity AND law (A.A = A)
 A(1 + C) + AB + BC - Distributive law
 A.1 + AB + BC- Identity OR law (1 + C = 1)
 A(1 + B) + BC- Distributive law
 A.1 + BC- Identity OR law (1 + B = 1)
Q =A + BC- Identity AND law (A.1 = A)

Then the expression:  (A + B)(A + C) can be simplified to A + BC

Goto Page:  1 2 3 4 5 6 7
Do you like our Site?
Help us to Share It
Electronics Tutorials
  

Basic Electronics Tutorials by Wayne Storr.  Last updated:  ,
Copyright © 1999 − 2012, Electronics-Tutorials.ws, All Right Reserved.
| Privacy Policy | Terms of Use | Site Map | Contact Us | Basic Electronics Tutorials |