Skip to main content

MATH 308 — Lec 01 and Lec 02 — Sets I (Describing, Subsets, Operations)

Math 308 · September 4, 2026

Lecture 1 --- Sets I: Describing Sets, Subsets, and Set Operations MATH 308  Bridge to Advanced Mathematics  Chartrand §1.1--1.4

Goals for today. By the end of this lecture you should be able to:

  • describe a set by roster and by set-builder notation, and use ,\in,\notin,/ correctly;

  • name the standard number systems N,Z,Q,R\mathbb{N},\mathbb{Z},\mathbb{Q},\mathbb{R}N,Z,Q,R and state the cardinality of a finite set;

  • decide when one set is a subset of another and write the power set of a small set;

  • compute unions, intersections, differences, and complements, and read a Venn diagram.

  • read an indexed family {Aα}αI\{A_\alpha\}_{\alpha \in I}{Aα}αI and compute αIAα\bigcup_{\alpha \in I} A_\alphaαIAα and αIAα\bigcap_{\alpha \in I} A_\alphaαIAα

Describing a set (§1.1)

A set is a collection of objects, called its elements (or members). A set is completely determined by which objects belong to it --- not by order or repetition. We write xAx \in AxA for "xxx is an element of AAA" and xAx \notin Ax/A for its negation.

Example 1. Two ways to describe the same set.

  • Roster (list) notation: A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\}A={1,2,3,4,5}.

  • Set-builder notation: A={nN  :  1n5}A = \left\{\, n \in \mathbb{N} \;:\; 1 \le n \le 5 \,\right\}A={nN:1n5}, read "the set of nnn in N\mathbb{N}N such that 1n51 \le n \le 51n5."

Order and repetition do not matter: {1,2,3}={3,1,2}={1,1,2,3}\{1,2,3\} = \{3,1,2\} = \{1,1,2,3\}{1,2,3}={3,1,2}={1,1,2,3}.

Standard number systems.

N={1,2,3,},Z={,2,1,0,1,2,},Q={ab  :  a,bZ, b0},R=the real numbers.\mathbb{N}= \{1,2,3,\dots\}, \quad \mathbb{Z}= \{\dots,-2,-1,0,1,2,\dots\}, \quad \mathbb{Q}= \left\{\, \tfrac{a}{b} \;:\; a,b \in \mathbb{Z},\ b \neq 0 \,\right\}, \quad \mathbb{R}= \text{the real numbers.}N={1,2,3,},Z={,2,1,0,1,2,},Q={ba:a,bZ, b=0},R=the real numbers.

(Whether 0N0 \in \mathbb{N}0N is a convention; in this course N\mathbb{N}N starts at 111.)

Definition 1 (Empty set and cardinality). The empty set ={}\varnothing = \{\,\}={} is the set with no elements. For a finite set AAA, its cardinality A|A|A is the number of elements in AAA. Thus =0|\varnothing| = 0=0 and {1,2,3}=3|\{1,2,3\}| = 3{1,2,3}=3.

Example 2. {xR  :  x2=1}=\left\{\, x \in \mathbb{R} \;:\; x^2 = -1 \,\right\} = \varnothing{xR:x2=1}=, since no real number squares to 1-11. Note the difference between \varnothing and {}\{\varnothing\}{}: the latter has one element (namely \varnothing), so {}=1|\{\varnothing\}| = 1{}=1.

Subsets (§1.2)

Definition 2. AAA is a subset of BBB, written ABA \subseteq BAB, if every element of AAA is also an element of BBB. If ABA \subseteq BAB but ABA \neq BA=B, we call AAA a proper subset and write ABA \subset BAB.

This is our first "for all" statement, and it is the template for nearly every proof this term:

ABfor every x,  xAxB.A \subseteq B \quad\Longleftrightarrow\quad \text{for every } x,\ \ x \in A \Rightarrow x \in B.ABfor every x,  xAxB.

Proposition 1. For every set AAA:  (i) A\varnothing \subseteq AA,  and  (ii) AAA \subseteq AAA.

Proof. (ii) is immediate. For (i), we must show xxAx \in \varnothing \Rightarrow x \in AxxA for every xxx. There is no xxx with xx \in \varnothingx, so the implication is vacuously true. (We will make "vacuously true" precise when we study logic.) ◻

Definition 3 (Set equality). A=BA = BA=B means ABA \subseteq BAB and BAB \subseteq ABA. This "double-containment" is the standard strategy for proving two sets are equal.

Definition 4 (Power set). The power set of AAA, written P(A)\mathcal{P}(A)P(A), is the set of all subsets of AAA:  P(A)={X  :  XA}\mathcal{P}(A) = \left\{\, X \;:\; X \subseteq A \,\right\}P(A)={X:XA}.

Example 3. For A={1,2}A = \{1, 2\}A={1,2},

P(A)={, {1}, {2}, {1,2}},P(A)=4.\mathcal{P}(A) = \bigl\{\, \varnothing,\ \{1\},\ \{2\},\ \{1,2\} \,\bigr\}, \qquad |\mathcal{P}(A)| = 4.P(A)={, {1}, {2}, {1,2}},P(A)=4.

In general, if A=n|A| = nA=n then P(A)=2n|\mathcal{P}(A)| = 2^nP(A)=2n --- a fact we will prove by induction later in the course.

Set operations (§1.3)

Fix sets A,BA, BA,B (thought of as living inside a universal set UUU when we take complements).

Definition 5.

AB={x  :  xA or xB}(union)AB={x  :  xA and xB}(intersection)AB={x  :  xA and xB}(difference)Ac=UA={xU  :  xA}(complement)\begin{aligned} A \cup B &= \left\{\, x \;:\; x \in A \ \text{or}\ x \in B \,\right\} && \text{(union)}\\ A \cap B &= \left\{\, x \;:\; x \in A \ \text{and}\ x \in B \,\right\} && \text{(intersection)}\\ A - B &= \left\{\, x \;:\; x \in A \ \text{and}\ x \notin B \,\right\} && \text{(difference)}\\ A^{c} &= U - A = \left\{\, x \in U \;:\; x \notin A \,\right\} && \text{(complement)}\end{aligned}ABABABAc={x:xA or xB}={x:xA and xB}={x:xA and x/B}=UA={xU:x/A}(union)(intersection)(difference)(complement)

Sets A,BA, BA,B are disjoint if AB=A \cap B = \varnothingAB=.

Notation. The textbook writes A\overline{A}A for the complement of AAA. We will write AcA^{c}Ac instead, and reserve the overline A\overline{\phantom{A}}A for the closure of a set, which you will meet when we study the real numbers.

Example 4. Let A={1,2,3,4}A = \{1,2,3,4\}A={1,2,3,4} and B={3,4,5}B = \{3,4,5\}B={3,4,5} with universe U={1,,6}U = \{1,\dots,6\}U={1,,6}. Then

AB={1,2,3,4,5},AB={3,4},AB={1,2},Ac={5,6}.A \cup B = \{1,2,3,4,5\},\quad A \cap B = \{3,4\},\quad A - B = \{1,2\},\quad A^{c} = \{5,6\}.AB={1,2,3,4,5},AB={3,4},AB={1,2},Ac={5,6}.

figure figure figure figure

The basic set operations, shown by shading (inside the universe UUU).

A first taste of a set identity we will prove carefully once we have logic:

(AB)c=AcBc(one of De Morgan’s laws).(A \cup B)^{c} = A^{c} \cap B^{c} \qquad\text{(one of De Morgan's laws).}(AB)c=AcBc(one of De Morgan’s laws).

Indexed collections of sets (§1.4)

Often we have not two or three sets but a whole family of them, one for each element of an index set III. We write {Aα}αI\{A_\alpha\}_{\alpha \in I}{Aα}αI (read "the sets AαA_\alphaAα, as α\alphaα ranges over III"). Union and intersection extend naturally:

αIAα={x  :  xAα for some αI},αIAα={x  :  xAα for every αI}.\bigcup_{\alpha \in I} A_\alpha = \left\{\, x \;:\; x \in A_\alpha \text{ for \emph{some} } \alpha \in I \,\right\}, \qquad \bigcap_{\alpha \in I} A_\alpha = \left\{\, x \;:\; x \in A_\alpha \text{ for \emph{every} } \alpha \in I \,\right\}.αIAα={x:xAα for some αI},αIAα={x:xAα for every αI}.

Notice the quiet appearance of some and every --- exactly the quantifiers we take up next week.

Example 5. Let An=[0,1n]A_n = [0, \tfrac{1}{n}]An=[0,n1] for each nNn \in \mathbb{N}nN. Every AnA_nAn contains 000, and as nnn grows the intervals shrink toward {0}\{0\}{0}:

nNAn=[0,1],nNAn={0}.\bigcup_{n \in \mathbb{N}} A_n = [0,1], \qquad \bigcap_{n \in \mathbb{N}} A_n = \{0\}.nNAn=[0,1],nNAn={0}.

The intersection is not empty: 000 lies in every AnA_nAn; but no positive number does, since 1n0\tfrac1n \to 0n10.

The nested intervals An=(0,1n) (top to bottom: A1,A2,A3,A4). Only 0 survives every one: An=0.

The nested intervals An=[0,1n]A_n=[0,\tfrac1n]An=[0,n1] (top to bottom: A1,A2,A3,A4A_1,A_2,A_3,A_4A1,A2,A3,A4). Only 000 survives every one: nAn={0}\bigcap_n A_n=\{0\}nAn={0}.

Homework problems

  1. Let R\mathbb{R}R be the set of real numbers and let the symbols <<<, \leq have their conventional meanings.

    1. Show that

      {xR:0x3}{xR:1<x<1}={xR:0x<1}.\{x \in \mathbb{R}: 0 \leq x \leq 3\} \cup \{x \in \mathbb{R}: -1 < x < 1\} = \{x \in \mathbb{R}: 0 \leq x < 1\}.{xR:0x3}{xR:1<x<1}={xR:0x<1}.
    2. List the elements of

      {2,3,4}{xR:x24x+3=0}{xR:1x<3}.\{2, 3, 4\} \cup \{x \in \mathbb{R}: x^2 - 4x + 3 = 0\} \cap \{x \in \mathbb{R}: -1 \leq x < 3\}.{2,3,4}{xR:x24x+3=0}{xR:1x<3}.
    3. Show that

      {xR:2x0}{xR:2<x<4}{xR:0x3}={xR:2<x3}{0}.\{x \in \mathbb{R}: -2 \leq x \leq 0\} \cup \{x \in \mathbb{R}: 2 < x < 4\} \cap \{x \in \mathbb{R}: 0 \leq x \leq 3\} = \{x \in \mathbb{R}: 2 < x \leq 3\} \cup \{0\}.{xR:2x0}{xR:2<x<4}{xR:0x3}={xR:2<x3}{0}.
  2. If AAA is a subset of the set SSS, show that

    1. (AC)C=A(A^C)^C = A(AC)C=A

    2. AA=AA=A=AA \cup A = A \cap A = A \cup \varnothing = AAA=AA=A=A

    3. A=A \cap \varnothing = \varnothingA=

  3. Let AAA, BBB, CCC be subsets of a set SSS. Prove the following statements and illustrate them with Venn diagrams.

    1. (AB)C=ACBC(A \cup B)^C = A^C \cap B^C(AB)C=ACBC

    2. A(BC)=(AB)(AC)A \cap (B \cup C) = (A \cap B) \cup (A \cap C)A(BC)=(AB)(AC)

    3. A(BC)=(AB)(AC)A \cup (B \cap C) = (A \cup B) \cap (A \cup C)A(BC)=(AB)(AC).

  4. If AAA, BBB, CCC are sets, show that

    1. (AB)C=(AC)B(A - B) \cap C = (A \cap C) - B(AB)C=(AC)B

    2. (AB)(AB)=(AB)(BA)(A \cup B) - (A \cap B) = (A - B) \cup (B - A)(AB)(AB)=(AB)(BA)

    3. A(BC)=(AB)(ABC)A - (B - C) = (A - B) \cup (A \cap B \cap C)A(BC)=(AB)(ABC)

    4. (AB)×C=(A×C)(B×C)(A - B) \times C = (A \times C) - (B \times C)(AB)×C=(A×C)(B×C).

  5. Let III be a nonempty set and for each iIi \in IiI let XiX_iXi be a set. Prove that

    1. for any set BBB we have

      BiIXi=iI(BXi)B \cap \bigcup_{i \in I} X_i = \bigcup_{i \in I} (B \cap X_i)BiIXi=iI(BXi)
    2. if each XiX_iXi is a subset of a given set SSS, then

      (iIXi)C=iIXiC.\left(\bigcup_{i \in I} X_i\right)^C = \bigcap_{i \in I} X_i^C.(iIXi)C=iIXiC.

Suggested textbook exercises (Chartrand §1.1--1.3): 1.2, 1.6, 1.14, 1.22, 1.30, 1.36.

Back to Math 308