Determining the number of elements in the relative complement of a set

  • Context: Undergrad 
  • Thread starter Thread starter Mingy Jongo
  • Start date Start date
  • Tags Tags
    Elements Relative Set
Mingy Jongo
Messages
5
Reaction score
0
Hello,
I have been very obsessed with a board game called Hex lately. I am trying to calculate the number of completed states (all positions filled in) on a 3x3 board where a certain player wins, given that some positions are already filled. I have attached a diagram illustrating what I am trying to do.

In the diagram are illustrations of a 3x3 Hex board, where pieces are played on the intersections. Each intersection either has a white or black piece on it, or is empty, meaning that it does not matter what color is placed on it.

For set A, the image designates 5 empty intersections that can either be black or white, giving a total of 2^5 elements in the set. Set B is the relative complement of another board with set A, which is equivalent to a set shown that includes 2^4 elements.

My problem is that I am having trouble calculating the number of elements in set C, which is equivalent to the relative complement of the board pictured with the union of sets A and B. It is not equivalent to any single diagram I can think of, so I can not compute it like I did with set B.

Are there any formulas I can use to compute this and further relative complements of unions?
 

Attachments

Physics news on Phys.org
Hey Mingy Jongo and welcome to the forums.

What will probably help you for these kinds of problems is using the definition of A \ X for a general X (including if X = Y OR Z like in your example).

Take a look at this:

http://en.wikipedia.org/wiki/Complement_(set_theory)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
964
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 18 ·
Replies
18
Views
6K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K