A set is an unordered collection of objects called elements. A set contains its elements. Sets can be finite or infinite. Common ways to describe a set include listing elements between curly braces or using a set builder notation. The cardinality of a set refers to the number of elements it contains. Power sets contain all possible subsets of a given set. Cartesian products combine elements of sets into ordered pairs. Common set operations include union, intersection, difference, and testing if sets are disjoint.
Related topics: