Docsity

Boolean Algebra: Converting Expressions to Sum-of-Products and Complete Forms, Slides of Computer Science

Partial preview of the text

Download Boolean Algebra: Converting Expressions to Sum-of-Products and Complete Forms and more Slides Computer Science in PDF only on Docsity!

Boolean Algebra

Standard Forms

Standard Form

  • Like regular algebra, Boolean equations can be expressed as a sum of products. Each product is a term of the equation.
  • Consider the term xyx’z. We define a term to be a Fundamental Product (FP) if it does not repeat any literal. Since our term repeats x, is it not FP.
  • You can always minimize a term to make it FP. xyx’z = xx’yz = 0yz (which law) = 0 (which law?)
  • An expression E is sum-of-products form if it is the sum of one or more FPs, none of which is included in another.
  1. Converting to Sum-of-Products FormUse DeMorgan’s Laws and Involution to move complements inside parenthesis until only variables are complemented.
  2. Use distributive law to transform in to sum of products
  3. Use commutative, idempotent, and complement laws to transform each term into 0 or FP.
  4. Use absorption law to make sum-of-products form.

Example

  • Consider E=((ab)’c)’((a’+c)(b’+c’))’
  • E=((ab)’’+c’)((a’+c)’+(b’+c’)’) – DeMorgan’s Law
  • E=(ab+c’)(ac’+bc) – DeMorgan’s and Involution Laws
  • E=abac’ + abbc +ac’c’ + bcc’ – Distributive Law
  • E=abc’ + abc + ac’ + 0 – Idempotent and Complement
  • E=ac’ + abc – Absorption Law

Complete Sum-of-Products Form

• A complete sum-of-products form is a sum-of-

products form where each term involves all the

variables. (Each term will have the same number

of literals.

• You can add missing variables by multiplying by

1, where 1 is of the form x + x’.

• Theorem: Every non-zero Boolean expression can

be placed in complete sum-of-products form, and

it is unique.

Sources

  • Lipschutz, Discrete Mathematics
  • Mowle, A Systematic Approach to Digital Logic

Design