Menu Close

Consider-a-12-letter-word-made-up-of-8-b-s-and-4-a-s-what-is-the-probability-that-randomly-shuffling-its-letters-lets-exactly-two-a-s-come-together-and-two-other-a-s-be-separated-as-in-the-followin




Question Number 134498 by bemath last updated on 04/Mar/21
  Consider a 12-letter word made up of 8 b’s and 4 a’s. what is the probability that randomly shuffling its letters lets exactly two a’s come together and two other a’s be separated (as in the following example: baababbabbbb)?
Consider a 12-letter word made up of 8 b’s and 4 a’s. what is the probability that randomly shuffling its letters lets exactly two a’s come together and two other a’s be separated (as in the following example: baababbabbbb)?
Answered by EDWIN88 last updated on 04/Mar/21
The required probability is equal to( the number  of permutations with 2 a′s together and 2 a′s  separated)divided by the total numbers of  permutations  (•) The permutations with 2 a′s together   and 2 a′s separated can end with b or ba or  baa .  (1)The permutations which end with b can   be formed by combining the character or  string : aab, ab, ab and 5b′s . The number  of these is C_1 ^( 8)  × C_2 ^( 7)  = 168  (2) The permutations which end in baa be  formed by combining the characters or  string : aab, ab 6b′s and the final a .  The number of these is C_( 1) ^( 8)  × C_1 ^( 7)  = 56   (3) The permutations which end in baa can be  formed by combining the characters of string  ab, ab, 6b′s and the final aa.   The number of these is C_2 ^( 8)  = 28  (4)The total number of permutations is   C_4 ^( 12)  = 495    So the probability is ((168+56+28)/(495)) = ((28)/(55))
Therequiredprobabilityisequalto(thenumberofpermutationswith2astogetherand2asseparated)dividedbythetotalnumbersofpermutations()Thepermutationswith2astogetherand2asseparatedcanendwithborbaorbaa.(1)Thepermutationswhichendwithbcanbeformedbycombiningthecharacterorstring:aab,ab,aband5bs.ThenumberoftheseisC18×C27=168(2)Thepermutationswhichendinbaabeformedbycombiningthecharactersorstring:aab,ab6bsandthefinala.ThenumberoftheseisC18×C17=56(3)Thepermutationswhichendinbaacanbeformedbycombiningthecharactersofstringab,ab,6bsandthefinalaa.ThenumberoftheseisC28=28(4)ThetotalnumberofpermutationsisC412=495Sotheprobabilityis168+56+28495=2855
Answered by mr W last updated on 04/Mar/21
□aa⊡a⊡a□  ⊡=one or more b′s  □=zero or more b′s  (1+x+x^2 +...)^2 (x+x^2 +x^3 +...)^2 =x^2 Σ_(k=0) ^∞ C_3 ^(k+3) x^k   coef. of x^8  term is at k=6: C_3 ^(6+3)   number of valid words: C_3 ^(6+3) ×((3!)/(2!))=252  total number of words: ((12!)/(4!8!))=495  p=((C_3 ^(6+3) ×((3!)/(2!)))/((12!)/(4!8!)))=((252)/(495))=((28)/(55))
◻aaaa◻=oneormorebs◻=zeroormorebs(1+x+x2+)2(x+x2+x3+)2=x2k=0C3k+3xkcoef.ofx8termisatk=6:C36+3numberofvalidwords:C36+3×3!2!=252totalnumberofwords:12!4!8!=495p=C36+3×3!2!12!4!8!=252495=2855

Leave a Reply

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