Skip to main content
Logo image

Applied Discrete Structures

Section 4.2 Laws of Set Theory

Subsection 4.2.1 Tables of Laws

The following basic set laws can be derived using either the Basic Definition or the Set-Membership approach and can be illustrated by Venn diagrams.
Table 4.2.1. Basic Laws of Set Theory
Commutative Laws
(1) AB=BA (1) AB=BA
Associative Laws
(2) A(BC)=(AB)C (2) A(BC)=(AB)C
Distributive Laws
(3) A(BC)=(AB)(AC) (3) A(BC)=(AB)(AC)
Identity Laws
(4) A=A=A (4) AU=UA=A
Complement Laws
(5) AAc=U (5) AAc=
Idempotent Laws
(6) AA=A (6) AA=A
Null Laws
(7) AU=U (7) A=
Absorption Laws
(8) A(AB)=A (8) A(AB)=A
DeMorgan’s Laws
(9) (AB)c=AcBc (9) (AB)c=AcBc
Involution Law
(10) (Ac)c=A
It is quite clear that most of these laws resemble or, in fact, are analogues of laws in basic algebra and the algebra of propositions.

Subsection 4.2.2 Proof Using Previously Proven Theorems

Once a few basic laws or theorems have been established, we frequently use them to prove additional theorems. This method of proof is usually more efficient than that of proof by Definition. To illustrate, let us prove the following Corollary to the Distributive Law. The term "corollary" is used for theorems that can be proven with relative ease from previously proven theorems.

Proof.

(AB)(ABc)=A(BBc)Why?=AUWhy?=AWhy?.

Subsection 4.2.3 Proof Using the Indirect Method/Contradiction

The procedure one most frequently uses to prove a theorem in mathematics is the Direct Method, as illustrated in Theorem 4.1.7 and Theorem 4.1.8. Occasionally there are situations where this method is not applicable. Consider the following:

Proof.

Commentary: The usual and first approach would be to assume AB and BC= is true and to attempt to prove AC= is true. To do this you would need to show that nothing is contained in the set AC. Think about how you would show that something doesn’t exist. It is very difficult to do directly.
The Indirect Method is much easier: If we assume the conclusion is false and we obtain a contradiction --- then the theorem must be true. This approach is on sound logical footing since it is exactly the same method of indirect proof that we discussed in Subsection 3.5.3.
Assume AB and BC=, and AC. To prove that this cannot occur, let xAC.
xACxA and xCxB and xCxBC.
But this contradicts the second premise. Hence, the theorem is proven.

Exercises 4.2.4 Exercises

In the exercises that follow it is most important that you outline the logical procedures or methods you use.

1.

  1. Prove the associative law for intersection (Law 2) with a Venn diagram.
  2. Prove DeMorgan’s Law (Law 9) with a membership table.
  3. Prove the Idempotent Law (Law 6) using basic definitions.
Answer.
  1. ABAcBcAB(AB)cAcBc0011011011010010011001100100
    The last two columns are the same so the two sets must be equal.
  2. xAA(xA)(xA)by the definition of xA by the idempotent law of logic
    Therefore, AAA.
    xA(xA)(xA) by conjunctive additionxAA
    Therefore, AAA and so we have AA=A.

2.

  1. Prove the Absorption Law (Law 8) with a membership table.
  2. Prove the Involution Law (Law 10) using basic definitions.

3.

Prove the following using the set theory laws, as well as any other theorems proved so far.
  1. A(BA)=AB
  2. AB=BcAc
  3. AB,ACBC
  4. A(BC)=(AB)(AC)
  5. A(BC)=(AB)(AC)
Answer.
For all parts of this exercise, a reason should be supplied for each step. We have supplied reasons only for part a and left them out of the other parts to give you further practice.
  1. A(BA)=A(BAc) by Exercise 1 of Section 4.1=(AB)(AAc) by the distributive law=(AB)U by the null law=(AB) by the identity law .
  2. AB=ABc=BcA=Bc(Ac)c=BcAc.
  3. Select any element, xAC. One such element exists since AC is not empty.
    xAC xAxCxBxCxBCBC.
    Therefore,
  4. A(BC)=A(BCc)=(ABAc)(ABCc)=(AB)(AcCc)=(AB)(AC)c=(AB)(AC).
  5. A(BC)=A(BC)c=A(BcCc)=(ABc)(ACc)=(AB)(AC).

4.

Use previously proven theorems to prove the following.
  1. A(BC)c=(ABc)(ACc)
  2. A(B(AB)c)=
  3. (AB)Bc=ABc
  4. A(BC)=(AB)(CA).

5. Hierarchy of Set Operations.

The rules that determine the order of evaluation in a set expression that involves more than one operation are similar to the rules for logic. In the absence of parentheses, complementations are done first, intersections second, and unions third. Parentheses are used to override this order. If the same operation appears two or more consecutive times, evaluate from left to right. In what order are the following expressions performed?
  1. ABcC.
  2. ABCB.
  3. ABCc
Answer.
  1. A((Bc)C)
  2. (AB)(CB)
  3. (AB)(Cc)

6.

There are several ways that we can use to format the proofs in this chapter. One that should be familiar to you from Chapter 3 is illustrated with the following alternate proof of part (a) in Theorem 4.1.7:
Table 4.2.4. An alternate format for the proof of Theorem 4.1.7
(1) xA(BC) Premise
(2) (xA)(xBC) (1), definition of intersection
(3) (xA)((xB)(xC)) (2), definition of union
(4) (xA)(xB)(xA)(xC) (3), distribute over
(5) (xAB)(xAC) (4), definition of intersection
(6) x(AB)(AC) (5), definition of union
Prove part (b) of Theorem 4.1.8 and Theorem 4.2.3 using this format.
You have attempted 1 of 1 activities on this page.