Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

If A and B are two different nonempty sets, how many distinct sets can be formed with these sets using as many unions,intersections,complements and parentheses as desired.

Four sets are fundamental:$A$,$B$,$A \cup B$,$A \cap B$.

Other sets are $A \cup B'$,$A' \cup B$,$A \cap B'$,$A' \cap B$,$A' \cup B'$,$A' \cap B'$. Any other sets are possible.

share|improve this question
    
You could look at cartesian products and power sets. –  PEV Jan 17 '11 at 15:27
    
@Trevor:Sorry,cartesian products and power sets are not allowed. –  Vinod Jan 17 '11 at 15:30
1  
To get a clear answer, you have to assume that A and B are not just distinct but also "as independent as possible" in some sense. Otherwise, it could be the case that A = {1} and B = {1,2}, and you only get 8 possible sets. –  Rahul Jan 17 '11 at 16:02
add comment

1 Answer 1

up vote 5 down vote accepted

$16$. The corresponding Venn diagram has four parts, and you can get any combination of those four parts.

share|improve this answer
    
@Yuan:Is there a formula for that.Is it 2^(2^n) where n is the number of distinct sets. –  Vinod Jan 17 '11 at 15:33
    
@Vinod: yes, that sounds about right. –  Qiaochu Yuan Jan 17 '11 at 15:47
    
@Vinod $2^{2^n - 1}$ to be accurate. –  Sergey Filkin Apr 8 '12 at 8:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.