AI ALIGNMENT FORUM
AF

Wikitags

Relative complement

Edited by M Yass last updated 3rd Oct 2016
Requires: Set

The relative complement of two sets A and B, denoted A∖B, is the set of elements that are in A while not in B.

illustration of the output of a relative complement

Formally stated, where C=A∖B

x∈C↔(x∈A∧x∉B)

That is, Iff x is in the relative complement C, then x is in A and x is not in B.

For example,

  • {1,2,3}∖{2}={1,3}
  • {1,2,3}∖{9}={1,2,3}
  • {1,2}∖{1,2,3,4}={}

If we name the set U as the set of all things, then we can define the Absolute complement of the set A, A∁, as U∖A

Parents:
Operations in Set theory
Discussion0
Discussion0