Logic & Set Theory
Calculate the union (∪) and intersection (∩) of two sets. Enter your sets using comma-separated values to find their combined elements and common elements.
Enter elements separated by commas (numbers or text)
Enter elements separated by commas (numbers or text)
Try these common set operation examples
Simple union and intersection of number sets
A: {1, 2, 3, 4}
B: {3, 4, 5, 6}
Finding overlap between prime and even numbers
A: {2, 3, 5, 7, 11}
B: {2, 4, 6, 8, 10}
Union and intersection of alphabet letters
A: {a, b, c, d}
B: {c, d, e, f}
Sets containing both numbers and text
A: {1, a, 2, b}
B: {2, b, 3, c}