SOLUTION: Let S={1,2,3,4,…,n}, and let A and B be two subsets of S such that A ≠ ∅, B ≠ S, and A ⊆ B. Calculate the number of ordered pairs (A,B) for all subsets of the set S

Algebra ->  Complex Numbers Imaginary Numbers Solvers and Lesson -> SOLUTION: Let S={1,2,3,4,…,n}, and let A and B be two subsets of S such that A ≠ ∅, B ≠ S, and A ⊆ B. Calculate the number of ordered pairs (A,B) for all subsets of the set S      Log On


   



Question 1208190: Let S={1,2,3,4,…,n}, and let A and B be two subsets of S such that A ≠ ∅, B ≠ S, and A ⊆ B.
Calculate the number of ordered pairs (A,B) for all subsets of the set S

Answer by ikleyn(52803) About Me  (Show Source):
You can put this solution on YOUR website!
.
Let S={1,2,3,4,…,n}, and let A and B be two subsets of S such that A ≠ ∅, B ≠ S, and A ⊆ B.
Calculate the number of ordered pairs (A,B) for all subsets of the set S.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Set S contains n distinguishable elements.


Let m be an integers number 0 <= m <= n. 

The number of different subsets B in S, consisting of m elements, is C%5Bn%5D%5Em.

    Notice that in this formula, I admit B = S.  This case will be excluded later.


So, for given integer m between 1 and n, we can choose subset B in C%5Bn%5D%5Em different ways.


Let B is one such selected set of m elements.

The number of all different subsets A in B is 2%5Em.

    Notice that in this formula, I admit A = ∅.  This case will be excluded later.



Having this, we conclude that the number of all pairs (A,B), where A is a subset in B, is the sum of products

    sum%28C%5Bn%5D%5Em%2A2%5Em%2C+m=0%2Cn%29.


This sum is REMARCABLE.  It is nothing else as  3%5En.  
Indeed, this sum is a binomial expansion/decomposition of  %281%2B2%29%5En,  which can be folded back

    sum%28C%5Bn%5D%5Em%2A2%5Em%2C+m=0%2Cn%29 = %281%2B2%29%5En = 3%5En.



OK.  It is the major idea and the major breakthrough. At this point, the problem is almost fully solved.  
To fully complete the solution, we only need to exclude all pairs  (A,B),  where B = S  or  A = ∅.


The number of pairs (A,S) is the same as the number of all subsets A in S: it is  2%5En, including subset  (∅,S).


The number of pairs (∅,B) is the same as the number of subsets B in S: it is  2%5En  again, including subset (∅,S).


So, when we exclude the prohibited pairs, we will get

    the number of all pairs under the problem's question is  3%5En - 2%5En - 2%5En + 1 = 3%5En - 2%2A2%5En + 1.


I added 1 to compensate the fact that above I excluded the pair (∅,S) twice.


ANSWER.  The number of all pairs under the problem's question is  3%5En - 2%2A2%5En + 1.

Now the problem is solved completely.

Nice Math Olympiad level problem.