Menu Close

What-is-the-number-of-ordered-pairs-A-B-where-A-and-B-are-subsets-of-1-2-5-such-that-neither-A-B-nor-B-A-




Question Number 19982 by Tinkutara last updated on 19/Aug/17
What is the number of ordered pairs  (A, B) where A and B are subsets of  {1, 2, ..., 5} such that neither A ⊆ B  nor B ⊆ A?
Whatisthenumberoforderedpairs(A,B)whereAandBaresubsetsof{1,2,,5}suchthatneitherABnorBA?
Commented by mrW1 last updated on 22/Aug/17
I got the answer 570, but I was  uncertain.  C_1 ^5 ×(C_1 ^4 +C_2 ^4 +C_3 ^4 +C_4 ^4 )  +C_2 ^5 ×(C_1 ^3 +C_2 ^3 +C_3 ^3 )×[1+2(C_1 ^1 )]  +C_3 ^5 ×(C_1 ^2 +C_2 ^2 )×[1+2(C_1 ^2 +C_2 ^2 )]  +C_4 ^5 ×(C_1 ^1 )×[1+2(C_1 ^3 +C_2 ^3 +C_3 ^3 )]  =570
Igottheanswer570,butIwasuncertain.C15×(C14+C24+C34+C44)+C25×(C13+C23+C33)×[1+2(C11)]+C35×(C12+C22)×[1+2(C12+C22)]+C45×(C11)×[1+2(C13+C23+C33)]=570
Answered by Tinkutara last updated on 21/Aug/17
Using a similar method to below, we  can derive a more general form for the  number of ordered pairs (A, B) where  A, B are subsets of {1, 2, 3, ..., n} such  that neither A ⊆ B and B ⊆ A.  Suppose that ∣A∣ = x where 0 ≤ x ≤ 5.  There are^5 C_x  ways to choose the  elements of set {1, 2, 3, 4, 5} that belong  to A.  Furthermore, when picking the elements  of B, there are 2^5  options without any  restrictions. However, 2^x  of these subsets  fall under the condition B ⊆ A and 2^(5−x)   fall under the condition A ⊆ B.  However, these two cases double count  the case where A = B. Thus, the total  number of ways to pick our pair (A, B)  when we have ∣A∣ = x are  ^5 C_x ∙(2^5  − 2^x  − 2^(5−x)  + 1).  However, since x can range from 0 to 5  our desired answer is the sum  Σ_(x=0) ^5 ^5 C_x  ∙ (2^5  − 2^x  − 2^(5−x)  + 1) = 570.
Usingasimilarmethodtobelow,wecanderiveamoregeneralformforthenumberoforderedpairs(A,B)whereA,Baresubsetsof{1,2,3,,n}suchthatneitherABandBA.SupposethatA=xwhere0x5.Thereare5Cxwaystochoosetheelementsofset{1,2,3,4,5}thatbelongtoA.Furthermore,whenpickingtheelementsofB,thereare25optionswithoutanyrestrictions.However,2xofthesesubsetsfallundertheconditionBAand25xfallundertheconditionAB.However,thesetwocasesdoublecountthecasewhereA=B.Thus,thetotalnumberofwaystopickourpair(A,B)whenwehaveA=xare5Cx(252x25x+1).However,sincexcanrangefrom0to5ourdesiredansweristhesum5x=05Cx(252x25x+1)=570.

Leave a Reply

Your email address will not be published. Required fields are marked *