Sets
Set operations
A = {1, 2, 3, 5}
B = {2, 4, 5, 8}
A union B = {1, 2, 3, 5, 4, 8}
A intersection B = {2, 5}
A - B = {1, 3}
B - A = {4, 8}
Symmetric difference = {1, 3, 4, 8}Discrete math, taught interactively
Interactive discrete math for CS students: topics, proof trainer, practice, and browser-native tools.
Calculators
All calculations run in the browser with validated inputs and shareable route URLs.
Sets
A = {1, 2, 3, 5}
B = {2, 4, 5, 8}
A union B = {1, 2, 3, 5, 4, 8}
A intersection B = {2, 5}
A - B = {1, 3}
B - A = {4, 8}
Symmetric difference = {1, 3, 4, 8}