Set Operations Calculator
Calculate union, intersection, difference, symmetric difference, and Cartesian-product size for two finite sets.
Calculate
What this calculator teaches
Sets are collections of distinct elements. Set operations are the foundation of discrete mathematics, database logic, probability, and computer science.
This calculator treats repeated items as one set element and trims extra spaces.
Formula & Symbols
| Concept | Formula | Meaning |
|---|---|---|
| Union | A ∪ B | Everything in A or B. |
| Intersection | A ∩ B | Only elements in both A and B. |
| Difference | A − B | Elements in A that are not in B. |
| Symmetric difference | A △ B | Elements in exactly one set. |
Step-by-Step Examples
- A = {1,2,3,4}.
- B = {3,4,5,6}.
- Union combines all unique elements.
- Intersection keeps only shared elements.
Where students use this
Common Mistakes to Avoid
Sets contain distinct elements, so duplicates do not change the set.
Union means OR; intersection means AND.
{1,2} and {2,1} are the same set.
Frequently Asked Questions
Related Math Calculators
Formula Explorer connections
Interpretation: This relationship converts, summarizes or checks numerical quantities using standard arithmetic and measurement rules. Assumption: Use consistent units, preserve enough significant digits, and round only the final result unless the method states otherwise.