CS330: Sets by Stephen Marz

Basic

Introduction
Symbols
Functions

Union
Intersection
Negation
Subscription

Advanced

Multi-Sets

Set Theory Functions: NEGATION

So how do we get rid of symbols in a set? Simple, we negate them.

NEGATION is represented by a backslash or '\'.

If we want to remove symbols a and c from set S and S = {a,b,c,d}, we write this as S\{a,c}. So, S\{a,c} = {b,d}.