Union and intersection of sets

Union of sets

Given two sets A and B, the union of A and B it is AB={xU | xA or xB}

imagen

The union of A and B, is the set of elements x of U such that x belongs to A, or x belongs to B.

The union operation is associative, commutative and has an identity element:

  • Commutative: AB=BA

  • Associative: (AB)C=A(BC)

  • Identity element: A=A=A

The union of two sets introduced above can be extended to multiple sets. Thus, the union of a finite number of sets is given by "successive unions": A1An=((A1A2))An)

Because of the associative property, any order of "matches" to make the union leads to the same result. The union of sets can also be generalized to define the union of an infinite number of sets Ak. In this case, it is defined by: kAk={xU | k : xAk

Intersection of sets

Given two sets A and B, we define their intersection as AB={xU | xA and xB}

imagen

The intersection of A and B, is the set of elements x of U, such that, x belongs to A, and x belongs to B.

The intersection operation is commutative, associative and it has identity and inverse element:

  • Commutative: AB=BA

  • Associative: (AB)C=A(BC)

  • Identity element: A=A=

  • Inverse element: AAc=AcA=, where Ac represents the concept "complement".

Below we can see some properties that are satisfied between the intersections and unions.

A(BC)=(AB)(AC)

(BC)A=(BA)(CA) (distributive property regarding the union)

A(AB)=A=A(AB) (absorption law)

The intersection of two sets can be extended to any number of sets. A1An=((A1A2))An)

Due to the associative property, any order of "matches" to make the intersection leads to the same result. The sets of intersection can also be generalized to define the intersection of an infinite number of sets Ak. In this case it is defined as: kAk={xU | k : xAk}

Finally, two sets are called disjoint if their intersection is zero.