3.1 Workshop 1 (Exploration)

3.1.1 Preparatory exercises (30 mins)

Definition (Set).

A collection of objects is called a set.

  1. 1.

    The objects within a set are called its elements.

  2. 2.

    If the element aa belongs to the set SS, we write aSa\in S. If the element aa is not in the set SS, we write aSa\notin S. The symbol \in is read as “is an element of”.

  3. 3.

    Two sets are equal if they contain exactly the same elements.

  4. 4.

    Sets do not contain identical repeated elements.

We can use curly brackets (also called braces) to indicate that we are defining a set. The elements of a set can be any objects. For example, the objects of the set
{Monday,Tuesday,Wednesday}\{\text{Monday},\text{Tuesday},\text{Wednesday}\} are names of days of the week.

Some sets are so common that we give them their own symbol (e.g. \mathbb{N} for the set of natural numbers, \mathbb{Z} for the set of integers, \mathbb{Q} for the set of rational numbers, and \mathbb{R} for the set of real numbers).

Exercise 3.1.

Consider the set {2,{4}}\{2,\{4\}\}. What elements does it consist of? What types of elements does it contain?

Exercise 3.2.

Think of an example of the sets SS and TT that satisfy the following criteria:

  1. 1.

    2,{orange},skipS2,\{\text{orange}\},\text{skip}\in S but 3,ostrichS-3,\text{ostrich}\notin S.

  2. 2.

    {}T\{\}\in T and SS and TT share exactly one element.

Sometimes it is not helpful or possible to list all the objects within a set e.g. when we have infinitely many objects. Instead, we can express the elements of a set in terms of the criteria they must satisfy to be in that set. So if my set SS consists of all elements of a set AA that satisfy a particular criteria, I could write

S={xA:“criteria that x satisfies”}.S=\{x\in A:\text{``criteria that $x$ satisfies''}\}.

For example, the set {x:3|x}\{x\in\mathbb{Z}:3|x\} consists of all integers that are multiples of 3.

This is known as set-builder notation.

Exercise 3.3.

Sort each of the following lists of objects into two sets that do not share any of the same object. What rules could you use? Express your sets in set-builder notation.

  1. (a)

    1,2,3,4,5,6,7,8,91,2,3,4,5,6,7,8,9

  2. (b)

    Apple, Banana, Carrot, Cherry, Lemon, Onion

Exercise 3.4.

Identify at least two different rules of what should (and shouldn’t) be included in the following partial lists. Add two objects to each list that follow each rule you’ve identified and express the sets that these objects belong to in set-builder notation.

  1. (a)

    2,4,8,2,4,8,\ldots

  2. (b)

    2,3,5,2,3,5,\ldots

3.1.2 B2 Exploration Workshop Supplementary Material

Definition (Interval Notation).

Let aa and bb be two real numbers such that a<ba<b. Then

(a,b)\displaystyle(a,b) ={x:a<x<b};\displaystyle=\{x\in\mathbb{R}:a<x<b\};
(a,b]\displaystyle(a,b] ={x:a<xb};\displaystyle=\{x\in\mathbb{R}:a<x\leq b\};
[a,b)\displaystyle[a,b) ={x:ax<b};\displaystyle=\{x\in\mathbb{R}:a\leq x<b\};
[a,b]\displaystyle[a,b] ={x:axb}.\displaystyle=\{x\in\mathbb{R}:a\leq x\leq b\}.
Definition (Subset).

We call AA a subset of BB if every element in the set AA also belongs to the set BB. We then write ABA\subseteq B.

Definition (Power Set).

The power set 𝒫(A)\mathcal{P}(A) of a set AA is the set of all subsets of AA.

Definition (Universal Set).

If a set BB consists of elements from the set AA, we call AA the universal set for BB.

Definition (Set difference and Complement).

Let ABA\subseteq B. Then the set difference of AA and BB is BA={xB:xA}.B\setminus A=\{x\in B:x\notin A\}.

Let 𝒰\mathcal{U} be the universal set of BB. Then the complement of BB is Bc=𝒰BB^{c}=\mathcal{U}\setminus B.

Definition (Union and Intersection).

Let A1,A2,,AnA_{1},A_{2},\cdots,A_{n} be nn sets.

The union of A1A_{1} and A2A_{2} (written as A1A2A_{1}\cup A_{2}) is the set of elements that are elements of A1A_{1} or elements of A2A_{2}. i.e.

A1A2={x:xA1 or xA2}.A_{1}\cup A_{2}=\{x:x\in A_{1}\text{ or }x\in A_{2}\}.

To take the union of all nn sets A1,A2,,AnA_{1},A_{2},\cdots,A_{n}, we can write i=1nAi.\displaystyle\bigcup_{i=1}^{n}A_{i}.

The intersection of A1A_{1} and A2A_{2} (written as A1A2A_{1}\cap A_{2}) is the set of elements that are elements of A1A_{1} and elements of A2A_{2}. i.e.

A1A2={x:xA1 and xA2}.A_{1}\cap A_{2}=\{x:x\in A_{1}\text{ and }x\in A_{2}\}.

The intersection of all nn sets A1,A2,,AnA_{1},A_{2},\cdots,A_{n} is written i=1nAi.\displaystyle\bigcap_{i=1}^{n}A_{i}.

An introduction to a standard deck of cards (French-suited)

Refer to caption
Figure 3.1: Standard deck of cards

A standard deck of (French-suited) cards consists of 13 black spade cards, 13 black club cards, 13 red heart cards and 13 red diamond cards. We say this deck has 4 suits: spades, clubs, hearts and diamonds. Each suit of 13 cards consists of 10 numbered cards (one card for each number in the list 1,2,,91,2,\ldots,9 - we call the card for number 1 an “ace”) and 3 royal cards - one jack, one queen and one king.

Definition (Cardinality).

Let AA and BB be two sets. If every element of AA corresponds uniquely to an element of BB and vice versa, we say AA and BB have the same cardinality and write |A|=|B||A|=|B|.

If AA is a finite set of nn elements, we write |A|=n|A|=n.

Definition (Cartesian Product of two sets).

The Cartesian Product of two sets AA and BB is

A×B={(a,b):aA,bB}.A\times B=\{(a,b):a\in A,b\in B\}.

3.1.3 Workshop Tasks

Task 3.5 (5 mins).

(Warm Up) In preparatory exercise 1.2, what examples of sets SS and TT did you come up with that satisfy the following criteria?

  1. 1.

    2,{orange},skipS2,\{\text{orange}\},\text{skip}\in S but 3,ostrichS-3,\text{ostrich}\notin S.

  2. 2.

    {}T\{\}\in T and SS and TT share exactly one element.

Compare your examples with the rest of your group.

Task 3.6 (10 mins).

Set-builder Notation

  1. 1.

    Compare the sets you wrote in set-builder notation in prep exercises 1.3 and 1.4 with your group. Did you split the lists of objects differently in Exercise 1.3? Did you find the same rules in Exercise 1.4?

  2. 2.

    Write the following sets in set-builder notation:

    1. (a)

      The set \mathbb{Q} of rational numbers.

    2. (b)

      The set of all prime numbers.

  3. 3.

    For each of the following sets, find one object that belongs to the set and one object that does not.

    1. (a)

      {x:x|15}\{x\in\mathbb{N}:x|15\}

    2. (b)

      {y:y=0.h1hjd1d2dk¯ for some k, some integer j0,d1,,dk{0,1,,9}}\{y\in\mathbb{R}:y=0.h_{1}\ldots h_{j}\overline{d_{1}d_{2}\ldots d_{k}}\text{ % for some }k\in\mathbb{N}\text{, some integer }j\geqslant 0,d_{1},\ldots,d_{k}% \in\{0,1,\ldots,9\}\}

  4. 4.

    EXTENSION: The nnth triangle number TnT_{n} is defined to be the number of identical objects that can be arranged in an equilateral triangle with nn objects along its base. For example, T1=1T_{1}=1 and T2=3T_{2}=3.

    Write out the set of triangle numbers in set builder notation.

Task 3.7 (10 mins).

Subsets

  1. 1.

    Consider the following four intervals:

    Write them in both set builder and interval notation.

  2. 2.

    Arrange ,,\mathbb{N},\mathbb{Q},\mathbb{R} and \mathbb{Z} into a chain of subsets. Find an element of each set which is not an element of any of its subsets.

    Can you represent these sets as a picture?

  3. 3.

    For every set A∅︀A\neq\emptyset, what is the minimum number of elements that 𝒫(A)\mathcal{P}(A) contains?

  4. 4.

    EXTENSION: Consider the set S={A:AA}S=\{A:A\notin A\}. Is {S}S\{S\}\subseteq S? [See Russell’s Paradox.]

Refer to caption
Figure 3.2: Standard deck of cards
Task 3.8 (15 mins).

Consider a standard deck DD of cards (see the supplementary material if you are not familiar with this) and let

R\displaystyle R ={xD:x is a red card};\displaystyle=\{x\in D:x\text{ is a red card}\};
\displaystyle\heartsuit ={xD:x is a heart card};\displaystyle=\{x\in D:x\text{ is a heart card}\};
Q\displaystyle Q ={xD:x is a Queen card}.\displaystyle=\{x\in D:x\text{ is a Queen card}\}.

In your groups, describe which cards belong to each of the following sets.

  1. (a)

    Q\heartsuit\cap Q.

  2. (b)

    QRQ\cup R.

  3. (c)

    The universal set.

  4. (d)

    RR\setminus\heartsuit.

  5. (e)

    QcQ^{c}.

Are any of these sets subsets of each other? Are there any pairs of sets that don’t share any elements? How many cards belong to each of these sets?

Task 3.9 (15 mins).

Consider a standard deck DD of cards and let

R\displaystyle R ={xD:x is a red card};\displaystyle=\{x\in D:x\text{ is a red card}\};
\displaystyle\heartsuit ={xD:x is a heart card};\displaystyle=\{x\in D:x\text{ is a heart card}\};
Q\displaystyle Q ={xD:x is a Queen card}.\displaystyle=\{x\in D:x\text{ is a Queen card}\}.
  1. 1.

    Can you spot any relationship between the number of cards in QQ, RR, QRQ\cup R and QRQ\cap R? Is this relationship true for any sets? Make a conjecture and try to prove it. Are there any other patterns you notice?

  2. 2.

    EXTENSION: What if we deal with three sets Q,RQ,R and \heartsuit? What relationship is there between the cardinality of these sets, the cardinality their union QRQ\cup R\cup\heartsuit and the cardinality of their intersection QRQ\cap R\cap\heartsuit? Try and prove any claims you make.

Definition (Cartesian Product of two sets).

The Cartesian Product of two sets AA and BB is

A×B={(a,b):aA,bB}.A\times B=\{(a,b):a\in A,b\in B\}.
Task 3.10 (10 mins).

Cartesian Product Consider a standard deck DD of cards and let

R\displaystyle R ={xD:x is a red card};\displaystyle=\{x\in D:x\text{ is a red card}\};
\displaystyle\heartsuit ={xD:x is a heart card};\displaystyle=\{x\in D:x\text{ is a heart card}\};
Q\displaystyle Q ={xD:x is a Queen card}.\displaystyle=\{x\in D:x\text{ is a Queen card}\}.
  1. 1.

    Express the set Q×Q\times\heartsuit. What type of elements make up these sets? How many elements are in this set? How many decks of cards do you need to represent this set?

  2. 2.

    Identify two sets XX and YY such that |X×Y|=|D||X\times Y|=|D| and every element of X×YX\times Y represents a unique card in DD.

  3. 3.

    Are the sets (𝒫(Q)×R)×(\mathcal{P}(Q)\times R)\times\heartsuit and 𝒫(Q)×(R×)\mathcal{P}(Q)\times(R\times\heartsuit) equal? Why or why not?

  4. 4.

    EXTENSION: The Cartesian Product uses ×\times and is a type of product. In what ways is it similar to multiplication? How is it different? Do you know of any other operations where the output is a different type of object to the inputs?