Fiveable

๐ŸŸฐAlgebraic Logic Unit 2 Review

QR code for Algebraic Logic practice questions

2.3 Boolean functions and normal forms

๐ŸŸฐAlgebraic Logic
Unit 2 Review

2.3 Boolean functions and normal forms

Written by the Fiveable Content Team โ€ข Last updated September 2025
Written by the Fiveable Content Team โ€ข Last updated September 2025
๐ŸŸฐAlgebraic Logic
Unit & Topic Study Guides

Boolean functions form the backbone of digital logic, operating on binary inputs to produce binary outputs. They're represented through truth tables and algebraic expressions, using operators like AND, OR, and NOT to combine variables.

Normal forms, like Disjunctive Normal Form (DNF) and Conjunctive Normal Form (CNF), provide standardized ways to express Boolean functions. These forms can be converted between each other and simplified using algebraic manipulation or Karnaugh maps.

Boolean Functions and Normal Forms

Boolean functions and representations

Boolean functions operate on binary inputs (0 and 1) produce binary outputs. Truth tables list all possible input combinations show corresponding output for each combination. Algebraic expressions use Boolean operators: AND ($\cdot$), OR ($+$), NOT ($\overline{x}$ or $x'$) combine variables and operators to form expressions. Common Boolean functions include AND function: $f(x,y) = x \cdot y$, OR function: $f(x,y) = x + y$, NOT function: $f(x) = \overline{x}$, and XOR function: $f(x,y) = x \oplus y = x\overline{y} + \overline{x}y$

Conversion of normal forms

Disjunctive Normal Form (DNF) represents sum of products as OR of AND terms, each term being a minterm (product of variables or their complements). Conjunctive Normal Form (CNF) represents product of sums as AND of OR terms, each term being a maxterm (sum of variables or their complements). Conversion methods include:

  1. From truth table to DNF: Select rows with output 1
  2. From truth table to CNF: Select rows with output 0
  3. DNF to CNF: Use distributive and De Morgan's laws
  4. CNF to DNF: Use distributive and De Morgan's laws

Simplification of Boolean functions

Algebraic manipulation uses Boolean algebra laws and theorems (commutative, associative, distributive laws) simplifies expressions through factoring and combining terms. Absorption law: $x + xy = x$ and complementation law: $x + \overline{x} = 1$ aid in simplification. Karnaugh maps (K-maps) provide two-dimensional grid representation of truth table where adjacent cells differ by one variable. Grouping adjacent 1s or 0s in groups of 2, 4, 8, or 16 cells leads to simpler expressions. Identifying prime implicants and determining essential prime implicants further simplify Boolean functions

Applications in circuit design

Digital circuit design utilizes logic gates (AND, OR, NOT, NAND, NOR, XOR) to create combinational circuits (adders, multiplexers, decoders) and sequential circuits (flip-flops, registers, counters). Control systems implement decision-making algorithms and state machines. Database queries employ Boolean operators in search conditions. Computer architecture applies Boolean functions in instruction set design and memory addressing. Error detection and correction methods use parity bits and Hamming codes. Cryptography incorporates Boolean functions in encryption algorithms. Artificial intelligence leverages Boolean logic in decision trees and rule-based systems