Exercises on sets

  1. Prove that A ∪ (BC) = (AB) ∪ C (associative laws for union of sets)

  2. Prove that (AB) ∩ C = A ∩ (BC) (associative laws for intersections of sets)

  3. Prove that (AB) = A only if BA.

  4. Prove the following distributive properties

    • (AB) ∩C = (AC) ∪ (BC) (distributive of the intersection with regards to union)

    • (AB) ∪C = (AC) ∩ (BC) (distributive of the union with regards to intersection)

  5. Prove De Morgan's laws

    • 𝓒(AB) = 𝓒A ∪ 𝓒B

    • 𝓒(AB) = 𝓒A ∩ 𝓒B

  6. Prove that for any sets A, B, C:

    (AB) U (BA) = (A U B) − (A n B)

Solutions

  1. To prove this identity it necessary to show that any element in the left-hand side is also an element of the right-hand side. We have

    xA ∪ (BC) ⇒ xA or xBCxA or xB or xCxAB or xCx ∈ (AB) ∪ C.

    Analogously by inverting the order of the implications we prove that

    x ∈ (AB) ∪ CxA ∪ (BC)

    it is thus correct to remove parenthesis and write

    ABC = (AB) ∪ C = A ∪ (BC) ■

  2. For the sake of simplicity let

    D = AB and E = BC, then

    D = {x: xA and xB}

    E = {x: xB and xC}

    thus

    (AB) ∩ C = DC = {x: xD and xC} = {x: xA and xB and xC}

    hence the equality. ■

  3. [AB = A] ⇒ [xAB ⇐⇒ xA] ⇒ BA.  ■

  4. We have

    • x ∈ (AB) ∩ Cx ∈ C and xAB ⇒ [xC and [xA or xB]] ⇒ [xC and xA] or [xC and xB] ⇒ x ∈ (CA) ∪ (CB).

    • x ∈ (AB) ∪ CxC and xAB ⇒ [x ∈ C and [xA and xB]] ⇒ [xC and xA] and [xC and xB] ⇒ x ∈ (CA) ∪ (CB). ■□

  5. We have

    • x ∈ 𝓒A ∪ 𝓒Bx ∈ 𝓒A or x ∈ 𝓒BxABx ∈ 𝓒(AB)

    • x ∈ 𝓒A∩ 𝓒Bx ∈ 𝓒A and x ∈ 𝓒BxABx ∈ 𝓒(AB) ■

  6. (AB) U (BA) = {x: xA | xB} U {x: xB | xA} = {x: xA, xB | xA, xB} = (A U B) − (A n B). ■

«Set theory Index Relations »