The set difference operator is denoted using the minus symbol . Typically, we write a difference like this:
This means the difference of the sets and . For example, if and then the difference is .
The cup symbol is used in mathematics to represent the union operation for two sets. The union operator returns a set containing the elements from both sets.
The cap symbol is used in mathematics to represent the intersection operation for two sets.