CSCI 2400/SENG 1010
Solutions for Practice Questions Set 1028

  1. Write an enumeration of the members of set {x | x is an integer and x ≥ 0 and x > x2 − 5}.

    {0, 1, 2}

  2. Give an enumeration of the members of each of the following sets.

    1. {1, 3, 5, 6} ∪ {2, 3, 5}

      {1, 2, 3, 5, 6}

    2. {1, 3, 5, 6} ∩ {2, 3, 5, 9}

      {3, 5}

    3. {1, 3, 5, 6} − {2, 3, 5, 9}

      {1, 6}

  3. What is |{2, 2, 3, 3}|? Read the question carefully.

    2

  4. Is it always true that |AB| = |A| + |B|? If so, give an argument for why it is true. If not, give a counterexample.

    No, it is not always true. Suppose A = {1, 2, 3} and B = {1, 2, 3}. Then |A| = 3 and |B| = 3. But AB = {1, 2, 3}, which has cardinality 3.

  5. True or false?

    1. {2, 4, 6} ⊆ {2, 4, 6, 8}

      True
    2. {2, 4, 6} ∈ {2, 4, 6, 8}

      False
    3. SS = { } for every set S

      True
    4. 2 ∈ {2}

      True
    5. { } ∈ { }

      False
    6. { } ⊆ { }

      True
  6. What are sets A and B if AB = {1, 5, 7, 8}, BA = {2, 10} and AB = {3, 6, 9}?

    A = {1, 3, 5, 6, 7, 8, 9}
    B = {2, 3, 6, 9, 10}

  7. Suppose that A, B and C are sets. Can you conclude that A = B if

    1. AC = BC?

      No. Suppose A = {1}, B = {2} and C = {1, 2}. Then AC = {1, 2} and BC = {1, 2}, but AB.
    2. AC = BC?

      No. Suppose A = {1}, B = {2} and C = {3}. Then AC = { } and BC = { }, but AB.
    3. AC = BC and AC = BC?

      Yes.

      For any set S, S = (SC) ∪ (SC). That is, S consists of the members of S that are shared with C together with the members of S that are not shared with C.

      Also SC = (SC) − C, since all members of C are being removed from SC. So S = (SC) ∪ ((SC) − C).

      Suppose AC = BC = R and AC = BC = T. Then

      A = ((AC) ∪ ((AC) − C)
        = (R ∪ (TC)
       
      B = ((BC) ∪ ((BC) − C)
        = (R ∪ (TC)

      So A = B.