Definition
Sets are an unordered collection of objects.
When we say we mean in/belongs to .
Roster Method
When you list out every object, similar to a literal sports roster.
i.e.:
>
Set Builder
"" is referred to as the predicate.
Notation
If we say ” is a subset of ” or that ” is a superset of ,” we are saying
Theorem
for every set
Proof:
let be a set.
- We need to show that . In other words, for an arbitrary , if , we must show that . However, is the empty set is false. Vacuously, if is true,
- We need to show that . We need to show that for every element in if , is always true. is always true.
Definitions of Sets
Natural Numbers
: The set of natural numbers is defined to be
Note that exists in this set. This is debated heavily, but for the purposes of this class, we assume it is a natural number.
Integers
: The set of integer numbers is defined to be
Rationals
: The set of rational numbers is defined to be
Real
Empty Set/Null Set
Is simply or
Singleton Set
A set with exactly one element.
: singleton (we are saying that we have a Set with a null set within it)
U: Universal
Refers to all the elements that are in the currently referenced scope.
Ordered -tuple
: is an ordered collection of objects.
Note that there are parentheses instead of curly brackets. When this is the case, order does matter.
as long as
a_1=b_1 \\ a_2=b_2 \\ \vdots \\ a_n=b_n \end{align}$$ If $n=2$, then we have an **ordered pair.** ### Union $$A\cup{B}$$ is defined as $$x\in A \vee x\in B$$ ### Intersection $$A\cap B$$ is defined as $$x\in A\wedge x\in B$$ ### Difference $$ A - B $$ is defined as $$x\in A \wedge \neg x\in B$$ ### Complement $$\overline{A}\; \text{or}\; A^\complement $$ is defined as $$x\in U\wedge \neg x\in A$$ Complement of $B$ with respect to $A$ is the difference ### Set Identities ### Cardinality of Combined Sets (Principle of Inclusion-Exclusion) $|A\cup B| = |A| + |B| - |A\cap B|$ $|A\cup B\cup C| = |A|+|B|+|C|-|A\cap B| - |B\cap C| - |C\cap A| + |A\cap B\cap C|$ $$|A\cup B\cup C\cup D| = |A|+|B|+|C|+|D|-|A\cap B| - |B\cap C| - |C\cap D| - |C\cap D| - |A\cap B| - |A\cap C| + |A\cap B\cap C| + |A\cap C\cap D|+|B\cap C\cap D|+|A\cap B\cap D|-|A\cap B\cap C\cap D|$$ $A_1\cup A_2$ $\bigcup\limits_{i=1}^{n}A_i$ ## Functions ### Increasing/Decreasing Functions if $x<y$ then $f(x)\leq f(y)$ this is increasing $f(x)<f(y)$ this is strictly increasing if $x>y$ then $f(x)\geq f(y)$ this is decreasing if $x>y$ then $f(x)>f(y)$ this is strictly decreasingLink to original