Set Theory Calculator
Perform set operations including union, intersection, difference, complement, and more.
Define Sets
|A| = 5
|B| = 5
|U| = 10
Set Properties
A β B (A subset of B):No
B β A (B subset of A):No
A = B (Equal sets):No
Disjoint (A β© B = β
):No
Set Operations
A βͺ B (Union):
{1, 2, 3, 4, 5, 6, 7}
A β© B (Intersection):
{3, 4, 5}
Differences
A - B (A minus B):
{1, 2}
B - A (B minus A):
{6, 7}
A Ξ B (Symmetric Difference):
{1, 2, 6, 7}
Complements
A' (Complement of A):
{6, 7, 8, 9, 10}
B' (Complement of B):
{1, 2, 8, 9, 10}
Set Theory Formulas
Basic Operations
- Union: A βͺ B = {x : x β A or x β B}
- Intersection: A β© B = {x : x β A and x β B}
- Difference: A - B = {x : x β A and x β B}
- Complement: A' = {x : x β U and x β A}
Cardinality Formulas
- |A βͺ B| = |A| + |B| - |A β© B|
- |A - B| = |A| - |A β© B|
- |A Ξ B| = |A| + |B| - 2|A β© B|