Courses / Philosophy I
Logic

Set Theory: Membership and Operations

Philosophy I 348 words Free to read

Collections, Taken Seriously

A set is a collection of distinct objects, its members. Everything follows from two decisions: a set is fixed entirely by which objects belong to it, the axiom of extensionality, and it has no order and no repetition. So {1,2}\{1, 2\}, {2,1}\{2, 1\} and {1,2,2}\{1, 2, 2\} are all the same set.

Sets are specified by listing, {1,2,3}\{1, 2, 3\}, or by a condition, {x:x is even}\{x : x \text{ is even}\}. The empty set \emptyset has no members and is unique, since any two memberless sets have the same members and are therefore identical.

Two relations are constantly confused. Membership aAa \in A holds between an object and a set. Inclusion ABA \subseteq B holds between two sets, when every member of AA is also a member of BB. They are different relations, and {1}{{1}}\{1\} \in \{\{1\}\} while {1}{1,2}\{1\} \subseteq \{1, 2\}.

The operations combine sets:

OperationNotationMembers
UnionABA \cup Bin AA, or in BB, or both
IntersectionABA \cap Bin both
DifferenceABA \setminus Bin AA but not BB
ComplementAcA^{c}in the universe but not AA

The parallel with logic is exact and not a coincidence: union behaves like disjunction, intersection like conjunction, complement like negation. De Morgan's laws hold in both, in the same form.

Counting gives the inclusion-exclusion principle:

AB=A+BAB|A \cup B| = |A| + |B| - |A \cap B|

The subtraction is the whole content: adding the two sizes counts the overlap twice, so it must be removed once. For 30 students taking logic, 25 taking ethics and 10 taking both, the total is 30+2510=4530 + 25 - 10 = 45, not 55.

Common pitfall: confusing \in with \subseteq. The empty set is a subset of every set — vacuously, since it has no member that could fail to belong — but it is a member only of sets that explicitly contain it. {1}\emptyset \subseteq \{1\} is true; {1}\emptyset \in \{1\} is false.
Set Theory: Membership and Operations

Practise this lesson

Try the questions below, free, answers included. The full set, with its interactive scenes, is in the Tryals app.

11practice questions
2interactive scenes

Logic