MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › What are the basic laws of Boolean algebra and how do you simplify logic?
HomeModels
Table of contents

On this page

Electrical & Electronic Basics (600 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

What are the basic laws of Boolean algebra and how do you simplify logic?

Boolean algebra is the math of 0 and 1 behind every gate. This page lists the commutative, associative, distributive and De Morgan laws, and shows how to use them to cut the number of gates by hand.

1. How it works

The commutative and associative laws let you reorder and regroup terms freely; the distributive law A times (B plus C) equals A times B plus A times C is how you expand or factor a sum of products. These three handle most everyday reshaping of a logic expression without redrawing the truth table.

2. Numbers and practice

De Morgan is the key that flips a term: the complement of A and B is not A or not B, and the complement of A or B is not A and not B. Use it to push inverters inward so a NAND-only or NOR-only build stays cheap and the bill of materials drops one part type.

3. Pitfalls and fixes

Before opening a Karnaugh map, simplify by hand: absorb A times B into A, drop redundant terms such as A and B or not A and C or B and C. Hand rules clear most of the fat fast, leaving only the tight part for the map.

4. Quick reference of common Boolean identities

LawExpressionMemory aid
CommutativeA+B=B+A, A·B=B·AOrder free
Associative(A+B)+C=A+(B+C)Group free
DistributiveA·(B+C)=A·B+A·CTimes over plus
De Morgan(A·B)̄=Ā+ B̄Bar splits to plus
AbsorptionA+A·B=AExtra absorbed
RedundancyA·B+Ā·C+B·C=A·B+Ā·CDrop duplicate

5. Notes

Simplification is not showmanship; it buys fewer ICs, less board area and lower power. Memorise the laws before editing live logic rather than redrawing truth tables each time.

6. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Gate symbols per GB/T 4728 and IEC 60617. Always check the device datasheet and the product design file for ratings and derating.

7. Cautions

⚠️ Three common pitfalls:
① Applying De Morgan wrongly:Flip both the operator and each variable or the whole expression inverts
② Skipping absorption by hand:Longer sums mean more ICs, more board area and more power
③ Relying only on truth tables:A small spec change forces a full redraw without law-level shortcuts

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL