Practice Problems

  1. Using the laws of logic, show that the following logical equivalences are true. (^ denotes and, v denotes or, ~ denotes not and = denotes logical equivalence.)
    1. ((p ^ q) v ~p) = (~p v q).
    2. ~(p ^ ~q) = (~p ^ (q v p)).
    3. (~p ^ ~q ^ r) v (~p ^ q ^ r) v (p ^ ~q ^ r) v (p ^ q ^ r) = r.
    4. (~p ^ q ^ ~r) v ~(~p v (~q v r)) = (q ^ ~r).

  2. Draw circuits for each of the expressions on the left hand side above.