Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Technology >> Industrial Technology

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Let us begin our exploration of Boolean algebra by adding numbers together:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

 

The first three sums make perfect sense to anyone familiar with elementary addition. The last sum, however, is often the source of confusion in digital electronics because it appears to contradict the ordinary rules of arithmetic.

It does contradict the rules for real‑number addition, but not for Boolean values. In Boolean algebra every quantity can only be 0 or 1; there is no “2”. Thus, when we evaluate 1 + 1, the result cannot be 0, so it must be 1.

Whether we add two terms or many, the pattern remains the same:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

 

OR Gate

Notice that the two‑term sums in the first set of equations match the truth table for an OR gate. Boolean addition therefore corresponds to the logical OR operation, which is also represented by parallel switch contacts:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

 

There is no subtraction in Boolean mathematics because subtraction requires negative numbers, which do not exist in this domain. Likewise, division is excluded as it is essentially compounded subtraction.

 

AND Gate

Boolean multiplication follows the same rules as real‑number multiplication: any value multiplied by 0 is 0, and any value multiplied by 1 remains unchanged:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

 

This set of equations mirrors the truth table for an AND gate. Therefore, Boolean multiplication maps directly to the logical AND operation, which is also illustrated by series switch contacts:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

 

Like conventional algebra, Boolean algebra uses letters to represent variables, but they are always uppercase. Because a Boolean variable can only be 0 or 1, it has a complement – the opposite value. For example, if A = 0, then the complement of A is 1.

Complementation is indicated by a bar above the variable, as shown below:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

NOT Gate

In notation, the complement of A is written as Aʹ or A̅. The bar symbol is more common than the prime symbol, which also appears in calculus.

Complementation is represented in circuitry by a NOT gate or a normally‑closed relay contact:

 

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

Boolean Arithmetic: Adding, Multiplying, and Complementing in Digital Logic

 

These definitions establish the basic rules of Boolean arithmetic: addition is OR, multiplication is AND, and complementation is NOT. Subtraction and division are not defined.

We will now explore Boolean identities in the next section.

 

REVIEW:

 

RELATED WORKSHEETS:


Industrial Technology

  1. Arithmetic Properties: Associative, Commutative & Distributive Explained
  2. Understanding Boolean Algebra: From Logic Foundations to Digital Circuits
  3. Key Boolean Algebraic Identities: A Comprehensive Overview
  4. Core Boolean Algebra Laws: Commutative, Associative, and Distributive Properties
  5. Essential Boolean Simplification Rules for Logic Circuit Design
  6. Choosing the Right Tool for Logic Simplification: Karnaugh Maps, Boolean Algebra, and CAD
  7. Understanding Boolean Relationships Using Venn Diagrams
  8. Mastering Multiplication and Division with Scientific Notation
  9. Mastering Complex Number Arithmetic: Essential Operations & Techniques
  10. Mastering Algebraic Equations in MATLAB: Solve, Simplify & Factor