Skip to main content
Mathematics LibreTexts

2.1: Language of Sets

  • Page ID
    52922
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    An art collector might own a collection of paintings, while a music lover might keep a collection of CDs. Any collection of items can form a set.

    Set

    A set is a collection of distinct objects, called elements or members of the set

    A set can be defined by listing the elements of the set, or by describing the contents in set-builder notation, enclosed in curly brackets.

    Example 1

    Some examples of sets defined by listing the elements of the set:

    1. A = {1, 3, 9, 12}
    2. B = {red, orange, yellow, green, blue, indigo, purple}

    Some examples of sets defined by describing the contents in set-builder notation:

    1. C = {x : x is an even number}
    2. D = {y : y is a book written about travel to Chile}

    A set simply specifies the contents; order is not important. The set represented by {1, 2, 3} is the same as the set {3, 1, 2}.

    Set Notation

    Commonly, we will use a variable to represent a set, to make it easier to refer to that set later.

    The symbol \(\in\) means “is an element of”.

    A set that contains no elements, \(\{ \}\), is called the empty set or null set and is notated \(\emptyset\)

    Example 2

    Let \(A=\{1,2,3,4\}\)

    To notate that 2 is element of the set, we'd write \(2 \in A\)

    Well-defined

    A set is well-defined if we are able to tell whether any particular object is an element of the set.

    Example 3

    Which sets are well-defined and which sets are not well-defined?

    1. A = {b : b is a type of tree}
    2. B = {g : g is a tasty food}
    3. C = {z : z is a restaurant in San Francisco}

    Solution

    The sets A and C are well-defined because we know exactly what types of trees there are and restaurants in San Francisco. The set B is not well-defined because there are different ideas of what a tasty food is.

    Universal Set

    The universal set is the set of all elements under consideration in a given discussion denoted by the letter U.

    Example: U = {k : k is a student at Las Positas College}

    Often times we are interested in the number of items in a set. This is called the cardinality of the set.

    Cardinal Number

    The number of elements in a set is the cardinal number of that set.

    The cardinal number of the set \(A\) is often notated as \(n(A)\)

    Example 4

    What is the cardinal number of \(\emptyset\)?

    Solution

    Since this is the empty set, \(n(\emptyset\))=0

    Example 5

    What is the cardinal number of P = {h : h is the English name for the months of the year}?

    Solution

    The cardinal number, \(n(P)\)=12, since there are 12 months in the year


    This page titled 2.1: Language of Sets is shared under a CC BY-SA license and was authored, remixed, and/or curated by David Lippman (The OpenTextBookStore) .

    • Was this article helpful?