A set is said to be closed under an operation if and only if the operation performed on the elements of the set produces an element that is also in the set. If the operation produces even one element outside of the set, the set is not closed under that operation. The applet shows some example sets and whether they are closed or not under mathematical operations.