Union
From Union
Go to text →
The union of two sets is the set consisting of elements from any of the sets.
- in other words, the union set is composed of elements that exist in at least one of its constituent sets.
- ex. if and , then
Example: Yelp
- The set of Yelp users who like Biz1
- The set of Yelp users who like Biz2
The set is the set of users that liked either Biz1 or Biz2 (or both)
Probability of Union sets
The general probability addition rule for the union of two events states that
- , where is the intersection of the two sets.
The addition rule can be shortened if the sets are disjoint (ie. have no members in common):
can even be extended to more sets if they are all disjoint: