< back to index

Set

Definition

A set is a thing that contains things. They're a pretty fundamental thing in mathematics.

A singleton is a set with exactly one element.

A finite set can be written by listing its elements, e.g. {1,2,3}\{1,2,3\} is the set containing the numbers 1,2,31,2,3.

If xx is an element of a set SS, we write x∈Sx \in S.

If S,TS,T are sets, we say TT is a subset of SS, and write T⊆ST \subseteq S if all elements of TT are in SS; in symbols, (∀x∈T:x∈S)⇔T⊆S(\forall x \in T: x \in S) \iff T \subseteq S.

Two sets S,TS,T are equal if they are each a subset of the other one; in symbols, S=T⇔S⊆TS = T \iff S \subseteq T and T⊆ST \subseteq S

If T⊆ST \subseteq S but S≠TS \ne T, we say TT is a proper subset of TT and write T⊊ST \subsetneq S.

CAVE! Some people use the notation T⊂ST \subset S to say TT is a subset of SS. Some people use the same notation to say that TT is strictly a proper subset of SS. In these notes, when clarity is needed, I use the unambiguous notation shown above; I sometimes use the ⊂\subset notation in cases where it's unambiguous (TODO tidy this up and put an example in an HTML comment) (such as where something's so obviously a proper subset that it feels silly to specify).

These subset and membership symbols can also be written in reverse: ∋⊋⊃⊇\ni \supsetneq \supset \supseteq, e.g. S∋xS \ni x is equivalent to x∈Sx \in S.

Formal construction

Since I haven't studied set theory in much depth, I can't give a formal construction. You have to be very careful when formalising the notion of a set to avoid problems like Russell's paradox(Wikipedia) .

Properties

Given sets S,TS,T, if

Examples

The Green Goose trans Best viewed with Firefox/Floorp/Icecat/Pale Moon/Tor Browser/Zen Browser MathML Now! LaTeX

all these pages adapted with probably insufficient credit from my university's lecture notes