Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE) PDF Download

Introduction

A set of rules or Laws of 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 Algebra.

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

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.

Boolean Algebra is the mathematics we use to analyze digital gates and circuits. We can use these “Laws of Boolean” to both reduce and simplify a complex 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:

A truth table is a simple and useful tool used in Boolean algebra to show how a logical expression behaves for all possible combinations of input values. It lists all the possible input values (usually as 0s and 1s) and shows the corresponding output for each case. The following are the truth tables for NOT, AND, OR, and XOR operations.Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

The fundamental laws of Boolean algebra — namely the commutative law (which allows the rearrangement of terms in addition and multiplication), the associative law (which allows the removal or regrouping of brackets), and the distributive law (which allows expressions to be factored) — function similarly to those in regular algebra.

Although these laws are often shown using one or two variables, they are not limited to that. They can be applied to expressions with any number of variables. These Boolean laws are essential tools for proving Boolean expressions and simplifying complex digital circuits.

Below is a brief overview of the different Boolean laws, where A represents a variable input.

Description of the Laws of Boolean Algebra

1. Annulment Law – 

A term AND‘ed with a “0” equals 0 or OR‘ed with a “1” will equal 1

  • A . 0 = 0   - A variable AND’ed with 0 is always equal to 0
  • A + 1 = 1  -  A variable OR’ed with 1 is always equal to 1

 2. Identity Law – 

A term OR‘ed with a “0” or AND‘ed with a “1” will always equal that term

  • A + 0 = A  - A variable OR’ed with 0 is always equal to the variable
  • A . 1 = A -   A variable AND’ed with 1 is always equal to the variable

3.  Idempotent Law – 

An input that is AND‘ed or OR´ed with itself is equal to that input

  • A + A = A  -  A variable OR’ed with itself is always equal to the variable
  • A . A = A   - A variable AND’ed with itself is always equal to the variable

4.  Complement Law – 

A term AND‘ed with its complement equals “0” and a term OR´ed with its complement equals “1”

  • A . A' = 0  -  A variable AND’ed with its complement is always equal to 0
  • A + A' = 1  -  A variable OR’ed with its complement is always equal to 1

5. Commutative Law – 

The order of application of two separate terms is not important

  • A . B = B . A -   The order in which two variables are AND’ed makes no difference
  • A + B = B + A  -  The order in which two variables are OR’ed makes no difference 

6. Double Negation Law – 

A term that is inverted twice is equal to the original term

( A' )' = A  -   A double complement of a variable is always equal to the variable

7. 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: Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)
(2) Two separate terms NAND‘ed together is the same as the two terms inverted (Complement) and OR‘ed for example: Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

Other algebraic Laws of Boolean not detailed above include:

Boolean Postulates – 

While not Boolean Laws in their own right, these are a set of Mathematical Laws which can be used in the simplification of Boolean Expressions.

  • 0 . 0 = 0    A 0 AND’ed with itself is always equal to 0
  • 1 . 1 = 1    A 1 AND’ed with itself is always equal to 1
  • 1 . 0 = 0    A 1 AND’ed with a 0 is equal to 0
  • 0 + 0 = 0   A 0 OR’ed with itself is always equal to 0
  • 1 + 1 = 1   A 1 OR’ed with itself is always equal to 1
  • 1 + 0 = 1   A 1 OR’ed with a 0 is equal to 1
  • Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)    The Inverse (Complement) of a 1 is always equal to 0
  • Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)    The Inverse (Complement) of a 0 is always equal to 1

1. Distributive Law –  

This law permits the multiplying or factoring out of an expression.

  • A(B + C) = A.B + A.C    (OR Distributive Law)
  • A + (B.C) = (A + B).(A + C)    (AND Distributive Law)

2. Absorptive Law – 

This law enables a reduction in a complicated expression to a simpler one by absorbing like terms.

  • A + (A.B) = (A.1) + (A.B) = A(1 + B) = A  (OR Absorption Law)
  • A(A + B) = (A + 0).(A + B) = A + (0.B) = A  (AND Absorption Law)

3. Associative Law – 

This law allows the removal of brackets from an expression and regrouping of the variables.

  •  A + (B + C) = (A + B) + C = A + B + C    (OR Associate Law)
  • A(B.C) = (A.B)C = A . B . C    (AND Associate Law)

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.

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

Example

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

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

Then the expression:  (A + B)(A + C) can be simplified to A + (B.C) as in the Distributive law.

The document Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Digital Logic.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
53 docs|15 tests

FAQs on Laws of Boolen Algebra - Digital Logic - Computer Science Engineering (CSE)

1. What are truth tables and how are they used in Boolean algebra?
Ans. Truth tables are mathematical tables used to determine the output of a Boolean function for every possible combination of its input values. In Boolean algebra, truth tables help visualize how logical operators (AND, OR, NOT, etc.) work by showing all possible input scenarios and the corresponding output results. They are essential for simplifying logical expressions and verifying the correctness of Boolean functions.
2. What are the basic laws of Boolean algebra?
Ans. The basic laws of Boolean algebra include the Commutative Law, Associative Law, Distributive Law, Identity Law, Null Law, Idempotent Law, Complement Law, and De Morgan's Theorems. These laws govern how Boolean variables interact and can be manipulated to simplify expressions. Understanding these laws is crucial for solving problems in computer science and digital logic design.
3. Can you explain the concept of Boolean postulates?
Ans. Boolean postulates are foundational principles that form the basis of Boolean algebra. They include axioms that define how Boolean variables can be combined and manipulated. Some common postulates include the existence of identity elements (0 for OR and 1 for AND), the complementarity of variables, and the idempotent laws. These postulates are essential for developing more complex Boolean functions and expressions.
4. How can Boolean algebra functions be simplified?
Ans. Boolean algebra functions can be simplified using various methods such as using truth tables, applying Boolean laws and postulates, and utilizing Karnaugh maps for visual simplification. The goal of simplification is to reduce the complexity of the expression while maintaining its functionality, which is particularly important in digital circuit design to minimize the number of gates used.
5. What is the significance of Boolean algebra in computer science engineering?
Ans. Boolean algebra is fundamental in computer science engineering as it underpins the design and operation of digital circuits, computer architecture, and algorithm development. It provides the mathematical framework for analyzing and designing logic circuits, optimizing computational processes, and implementing software algorithms. Understanding Boolean algebra is crucial for students and professionals in the field of computer science and engineering.
Related Searches

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

,

pdf

,

Free

,

mock tests for examination

,

practice quizzes

,

Exam

,

study material

,

Extra Questions

,

video lectures

,

Objective type Questions

,

shortcuts and tricks

,

Sample Paper

,

Summary

,

Previous Year Questions with Solutions

,

past year papers

,

Semester Notes

,

Viva Questions

,

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

,

Important questions

,

MCQs

,

ppt

,

Laws of Boolen Algebra | Digital Logic - Computer Science Engineering (CSE)

;