Difference of Set

Calculator to calculate the difference of two sets


This function returns the difference of two sets of numbers. The difference set contains the numbers that are only contained in the first set, and not in the second set.

To calculate, enter the two sets of numbers. The individual numbers are separated by semicolons or spaces. Then click on the 'Calculate' button.


Difference set calculator

 1st set
 2nd set
Result

Differenzmenge
Difference of Sets is \(\{1, 2, 3\}\)

Difference set example


The difference set \(\displaystyle A \setminus B\) consists of the elements that are in A but not in B. In other words, the elements contained in \(B\) are removed (subtracted) from \(A\).

The difference of \(\{1, 2, 3, 4, 5\}\) and \(\{4, 5, 6, 7, 8, 9\}\) is \(\{1,2,3 \}\), because \(1,2,3\) is only contained in \(A\).


Set theory functions

Complement
Difference
Intersection
Symmetric Difference
Union

Is this page helpful?            
Thank you for your feedback!

Sorry about that

How can we improve it?