Using Boolean Algebra to Solve Logic Problems

By

John W. Williams

Notation

Statements in the propositional calculus can be expressed in Boolean notation using the following guide:



Infix

Polish

Boolean

Np

Apq

Kpq

Cpq

Epq


Method

  1. Translate the premises and the conclusion into Boolean notation.

  2. Multiply the product of all the premises by the negation (complement) of the conclusion, and reduce this product to disjunctive normal form.

  3. If the above product vanishes, then the argument is valid; otherwise, each nonzero term in the disjunctive normal form represents a counterexample to the argument.



Explanation

Denoting premises byand conclusion by c, an argument has the form . The argument is valid if and only if this implication is a tautology:



.



Equivalently, the argument is valid if and only if its negation is a contradiction:



.



Essential knowledge

These fundamental laws and theorems of Boolean Algebra allow for the transformation of any proposition into disjunctive normal form. The short name (in brackets) can be used when a law is invoked to justify a step in a proof.



Commutation (Com)

Association (Assoc)



Distribution (Dist)

Tautology (Taut)



Absorption (Absn)

Complementation (Comp)



De Morgan (DM)

Disjoint Partition (DP)



One

Zero