math-set.html


* created: 2025-06-11T11:14
* modified: 2025-10-16T12:55

title

Mathematical Set

description

A set describes a collection of things. These things can be all sorts of stuff like numbers or other sets.

Sets and stuff

The empty set \emptyset

Represents the absents of any elements. M \cap \emptyset \neq M (if M is not empty itself) M \cup \emptyset = M

Operations

Their are a couple operations that are specific to sets which are as follows:

A\cup B: Written as "union of A and B"; these are all elements present in A or B.

A \cap B: Written as "intersection of A and B"; these are all elements that are present in both A and B.

A \subset B: Written as "A is a subset of B"; all elements of A are contained in B.

A \supset B: Written as "A is the super set of B"; A also contains all elements in B.

A \setminus B: Written as "difference between A and B"; all elements that are only in A and not in B.

A^C: Written as "the compliment of A"; all elements that are not in A.

De Morgan's law

De Morgan's laws describe how complement, union, and intersection relate to each other.

  1. (A \cup B)^C = A^C \cap B^C
  2. (A \cap B)^C = A^C \cup B^C