Set
Basically, a set is an unordered collection of different things called elements. Sets are defined only by what elements they contain. A capital letter is commonly used to symbolize a set.
Roster notation
To define a set in roster notation, list its elements between curly brackets, separated by commas. This is the clearest way to write a set.
The elements can be written in any order, and repeating an element will not change the set.
For a set with many elements, listing out all the elements can be exhausting. However, as long as the elements follow an obvious pattern, you can use ellipses to quickly write it in roster notation:
Here, the set \(E\) can be assumed to contain all positive even integers up to \(100.\)
Set-builder notation
Alternatively, you can define a set in set-builder notation, in which elements are taken from some larger set and have to meet some specified membership condition.
Here, \(S\) is the larger set from which elements are obtained, and \(P(x)\) is the proposition that must be true for an element \(x\) to be a part of the set \(A.\) This is read as "all \(x\) in \(S\) such that \(P(x).\)"
Cardinality
The cardinality of a finite set is the number of unique elements it contains. The empty set is the only set whose cardinality is \(0.\)
The cardinality of a set \(S\) is represented by \(|S|.\)
Sign specification
Sometimes, you may encounter sets written as \(T^{+}\) or \(T^{-}.\) The superscript \(+\) and \(-\) are meant to indicate the positive and negative elements of a set, respectively. So, \(T^{+}\) is the set containing only the positive elements of \(T.\) Similarly, you may use a superscript \(\geq 0\) or \(\leq 0\) for non-negative and non-positive, such as in \(T^{\geq 0}\) or \(T^{\leq 0}.\)
Venn diagrams
A Venn diagram is a popular way of visualizing sets and their relations. First, the universal set \(U\) is drawn as a large rectangle, which will contain all the sets. Then, each set is drawn as an oval-like shape (although they could be any shape) that encloses all their elements. Sets can be seen to intersect when they have elements in common.