In mathematics, a set is a collection of distinct objects, considered as an object in its own right. For example, the numbers 2, 4, and 6 can be considered as elements of a set. Sets are usually denoted by curly braces \(\{ \}\) and the elements inside are listed, separated by commas. For instance, the set containing 1, 2, and 3 is written as \(\{1, 2, 3\}\).
Sets can represent a variety of things. Some sets are finite, containing a specific number of elements. Others are infinite, with an infinite number of elements. Set theory is fundamental to mathematics because it forms the building blocks for more complex concepts.
When working with sets, we may perform operations such as union (\(\cup\)), intersection (\(\cap\)), and difference (\( - \)).
- Union (\(\cup\)): Combines all elements from both sets.
- Intersection (\(\cap\)): Contains only elements common to both sets.
- Difference (\( - \)): Elements in one set but not in the other.
Let's move on to a practical example involving sets.