Skip to main content
Logo image

Elementary Linear Algebra: For University of Lethbridge Math 1410

Section 1.1 Some Basic Set Theory Notions

Definition 1.1.1. Set.

A set is a well-defined collection of objects which are called the “elements” of the set. Here, “well-defined” means that it is possible to determine if something belongs to the collection or not, without prejudice.
For example, the collection of letters that make up the word “pronghorns” is well-defined and is a set, but the collection of the worst math teachers in the world is not well-defined, and so is not a set. In general, there are three ways to describe sets.

Key Idea 1.1.2. Ways to Describe Sets.

  1. The Verbal Method: Use a sentence to define a set.
  2. The Roster Method: Begin with a left brace “{”, list each element of the set only once and then end with a right brace “}”.
  3. The Set-Builder Method: A combination of the verbal and roster methods using a “dummy variable” such as \(x\text{.}\)
For example, let \(S\) be the set described verbally as the set of letters that make up the word “pronghorns”. A roster description of \(S\) would be \(\left\{ p, r, o, n, g, h, s \right\}\text{.}\) Note that we listed “r”, “o”, and “n” only once, even though they appear twice in “pronghorns.” Also, the order of the elements doesn’t matter, so \(\left\{ o, n, p, r, g, s, h \right\}\) is also a roster description of \(S\text{.}\) A set-builder description of \(S\) is:
\begin{equation*} \{ x \, | \, x \text{ is a letter in the word ``pronghorns''}\}\text{.} \end{equation*}
The way to read this is: “The set of elements \(x\) such that \(x\) is a letter in the word ‘pronghorns.’” We define to sets to be equal if they have exactly the same elements, and denote this using the familiar equals sign “\(=\)”. Thus, we may write \(S = \left\{ p, r, o, n, g, h, s \right\}\) or \(S = \{ x \, | \, x \text{ is a letter in the word ``pronghorns''.}\}\text{.}\) Clearly \(r\) is an element of \(S\) and \(q\) is not an element \(S\text{.}\) We express these sentiments mathematically by writing \(r \in S\) and \(q \notin S\text{.}\)
More precisely, we have the following.

Definition 1.1.3. Notation for set inclusion.

Let \(A\) be a set.
  • If \(x\) is an element of \(A\) then we write \(x \in A\text{,}\) which is read “\(x\) is in \(A\)”.
  • If \(x\) is not an element of \(A\) then we write \(x \notin A\text{,}\) which is read “\(x\) is not in \(A\)”.
Now let’s consider the set
\begin{equation*} C = \{ x \, | \, x \text{ is a consonant in the word ``pronghorns'}\}\text{.} \end{equation*}
A roster description of \(C\) is \(C = \{ p, r, n, g, h, s\}\text{.}\) Note that by construction, every element of \(C\) is also in \(S\text{.}\) We express this relationship by stating that the set \(C\) is a subset of the set \(S\text{,}\) which is written in symbols as \(C \subseteq S\text{.}\) The more formal definition is given below.

Definition 1.1.4. Subset.

Given sets \(A\) and \(B\text{,}\) we say that the set \(A\) is a subset of the set \(B\) and write “\(A \subseteq B\)” if every element in \(A\) is also an element of \(B\text{.}\)
Note that in our example above \(C \subseteq S\text{,}\) but not vice-versa, since \(o \in S\) but \(o \notin C\text{.}\) Additionally, the set of vowels \(V = \{ a, e, i, o, u\}\text{,}\) while it does have an element in common with \(S\text{,}\) is not a subset of \(S\text{.}\) (As an added note, \(S\) is not a subset of \(V\text{,}\) either.) We could, however, build a set which contains both \(S\) and \(V\) as subsets by gathering all of the elements in both \(S\) and \(V\) together into a single set, say \(U = \{ p, r, o, n, g, h, s, a, e, i, u\}\text{.}\) Then \(S \subseteq U\) and \(V \subseteq U\text{.}\) The set \(U\) we have built is called the union of the sets \(S\) and \(V\) and is denoted \(S \cup V\text{.}\) Furthermore, \(S\) and \(V\) aren’t completely different sets since they both contain the letter “o.” (Since the word “different” could be ambiguous, mathematicians use the word disjoint to refer to two sets that have no elements in common.) The intersection of two sets is the set of elements (if any) the two sets have in common. In this case, the intersection of \(S\) and \(V\) is \(\{ o\}\text{,}\) written \(S \cap V = \{ o \}\text{.}\) We formalize these ideas below.

Definition 1.1.5. Intersection and Union.

Suppose \(A\) and \(B\) are sets.
  • The intersection of \(A\) and \(B\) is \(A \cap B = \{ x \, | \, x \in A \, \text{and} \,\, x \in B \}\text{.}\)
  • The union of \(A\) and \(B\) is \(A \cup B = \{ x \, | \, x \in A \, \text{or} \,\, x \in B \, \, \text{(or both)} \}\text{.}\)
The key words in Definition 1.1.5 to focus on are the conjunctions: “intersection” corresponds to “and” meaning the elements have to be in both sets to be in the intersection, whereas “union” corresponds to “or” meaning the elements have to be in one set, or the other set (or both). In other words, to belong to the union of two sets an element must belong to at least one of them.
Returning to the sets \(C\) and \(V\) above, \(C \cup V = \{ p, r, n, g, h, s, a, e, i, o, u\}\text{.}\) When it comes to their intersection, however, we run into a bit of notational awkwardness since \(C\) and \(V\) have no elements in common. While we could write \(C \cap V = \{ \}\text{,}\) this sort of thing happens often enough that we give the set with no elements a name.

Definition 1.1.6. Empty set.

The Empty Set \(\emptyset\) is the set which contains no elements. That is,
\begin{equation*} \emptyset=\{ \}=\{x\,|\, x \neq x\}\text{.} \end{equation*}
As promised, the empty set is the set containing no elements since no matter what “\(x\)” is, “\(x = x\text{.}\)” Like the number “\(0\text{,}\)” the empty set plays a vital role in mathematics. We introduce it here more as a symbol of convenience as opposed to a contrivance.
Using this new bit of notation, we have for the sets \(C\) and \(V\) above that \(C \cap V = \emptyset\text{.}\) A nice way to visualize relationships between sets and set operations is to draw a Venn Diagram
 2 
en.wikipedia.org/wiki/Venn_diagram
. A Venn Diagram for the sets \(S\text{,}\) \(C\) and \(V\) is drawn in Figure 1.1.7.
Venn diagram consisting of three circles. S and V overlap, and C is inside S.
Figure 1.1.7. A Venn diagram for \(C\text{,}\) \(S\text{,}\) and \(V\)
In Figure 1.1.7 we have three circles – one for each of the sets \(C\text{,}\) \(S\) and \(V\text{.}\) We visualize the area enclosed by each of these circles as the elements of each set. Here, we’ve spelled out the elements for definitiveness. Notice that the circle representing the set \(C\) is completely inside the circle representing \(S\text{.}\) This is a geometric way of showing that \(C \subseteq S\text{.}\) Also, notice that the circles representing \(S\) and \(V\) overlap on the letter “o”. This common region is how we visualize \(S \cap V\text{.}\) Notice that since \(C \cap V = \emptyset\text{,}\) the circles which represent \(C\) and \(V\) have no overlap whatsoever.
All of these circles lie in a rectangle labelled \(U\) (for “universal” set). A universal set contains all of the elements under discussion, so it could always be taken as the union of all of the sets in question, or an even larger set. In this case, we could take \(U = S \cup V\) or \(U\) as the set of letters in the entire alphabet. The usual triptych of Venn Diagrams indicating generic sets \(A\) and \(B\) along with \(A \cap B\) and \(A \cup B\) is given in Figure 1.1.8.
(The reader may well wonder if there is an ultimate universal set which contains everything. The short answer is “no”. Our definition of a set turns out to be overly simplistic, but correcting this takes us well beyond the confines of this course. If you want the longer answer, you can begin by reading about Russell’s Paradox
 3 
en.wikipedia.org/wiki/Russell's_paradox
on Wikipedia.)
Venn diagram showing sets A and B as overlapping circles
Venn diagram showing intersection of A and B, with overlap shaded
Venn diagram showing union of A and B, with both circle shaded
Figure 1.1.8. Venn diagrams for intersection and union
In the next section, we will review the algebraic properties of the real number system. Other properties of the real numbers (such as the order property that allows us to picture the set of real numbers as a “number line”) are essential to Calculus, but not that important for Linear Algebra, so we will leave it to other courses to handle the discussion of these topics.