Lably
Skip to content

Algebra of sets

Identities and relationships involving sets

  • 5 min read
  • 6 chapters

Related on Lably

Through Mathematics, Set theory and Operation (mathematics)

Any set of sets closed under the set-theoretic operations forms a Boolean algebra with the join operator being union, the meet operator being intersection, the complement operator being set complement, the bottom being ⁠∅⁠ and the top being the universe set under consideration.

Fundamentals

A set is a collection of many mathematical objects. Examples of such objects are numbers, symbols, points in space, lines, other geometric shapes, variables, functions, or even other sets. A set is usually denote a upper-case letter and curly braces, as in A={1,2,3,4} and B={a,b,c,x,y,z}.

Union and intersection

The algebra of sets studies the properties and laws of sets algebraically. Foundationally, there are two set-theoretic operations: union (⁠∪⁠) and intersection (⁠∩⁠). A union is a set-theoretic operation that collects all members of two or more sets into a single set. An intersection collects the common elements of two or more sets. For instance, let A={1,2,3,5} and B={2,4,6}. Then A∪B={1,2,3,4,5,6}, A∩B={2}. Analogically, the algebra of sets can be interpreted as the algebra of numbers. Just as arithmetic addition and multiplication are associative and commutative, so are set union and intersection. Similarly for the arithmetic relation "less than or equal" is reflexive, antisymmetric and transitive, so is the set relation of "subset". Several of these identities or "laws" are the following.

Commutative property
  • ⁠A∪B=B∪A⁠
  • ⁠A∩B=B∩A⁠
Associative property
  • ⁠(A∪B)∪C=A∪(B∪C)⁠
  • ⁠(A∩B)∩C=A∩(B∩C)⁠
Distributive property
  • ⁠A∪(B∩C)=(A∪B)∩(A∪C)⁠
  • ⁠A∩(B∪C)=(A∩B)∪(A∩C)⁠

The union and intersection of sets may be seen as analogous to the addition and multiplication of numbers. Like addition and multiplication, the operations of union and intersection are commutative and associative, and intersection distributes over union. However, unlike addition and multiplication, union also distributes over intersection.

Empty set, universe set, and the complement of a set

Two additional pairs of properties involve the special sets called the empty set ⁠∅⁠ and the universe set ⁠U⁠. These sets have no members, and the universe set has all possible members (in a particular context), respectively. A set where the members are not in a set A is the complement; the operator denotes ⁠A∁⁠ or ⁠A′⁠ (read as "A prime"). Equivalently, the complement of a set A∁ is a set that is included in a universe set ⁠U⁠ and not in A; i.e., ⁠A∁=U∖A⁠.

Identity
  • ⁠A∪∅=A⁠
  • ⁠A∩U=A⁠
Complement
  • ⁠A∪A∁=U⁠
  • ⁠A∩A∁=∅⁠

The identity expressions (together with the commutative expressions) say that, just like 0 and 1 for addition and multiplication, ⁠∅⁠ and ⁠U⁠ are the identity elements for union and intersection, respectively.

Unlike addition and multiplication, union and intersection do not have inverse elements. However, the complement laws give the fundamental properties of the somewhat inverse-like unary operation of set complementation.

The preceding five pairs of formulae—the commutative, associative, distributive, identity, and complement formulae—encompass all of set algebra, in the sense that every valid proposition in the algebra of sets can be derived from them.

If the complement formulae are weakened to the rule ⁠(A∁)∁=A⁠, then this is exactly the algebra of propositional linear logic.

Sign in to keep reading

5 more chapters are free with a Lably account.

More in Topics in mathematics