document.write( "Question 1193951: A binary string is an ordered sequences of 0's and 1's (for example, 0100101). Determine the number of binary strings there are consisting of five 0's and three 1's. \r
\n" ); document.write( "\n" ); document.write( "Textbook answer is 56.
\n" ); document.write( "Can someone help me solve this problem? Thanks. \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #826018 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
your solution here will either be 8C5 of 8C3.
\n" ); document.write( "your string is 8 digits long.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "8C5 is the number of ways you can get a string of 5 zeroes out of a string of 8 digits that that has 5 zeroes in it. the value of the other 3 digits is inconsequential since they just fill the spaces that don't contain zeroes.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "8C3 is the number of ways you can get a string of 3 ones out of a string of 8 digits that has 3 ones in it. the value of the other 5 digits is inconsequential since they just fill the spaces that don't contain ones.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a simple example is a string of 3 digits that contains 2 zeroes and 1 one.
\n" ); document.write( "the number of ways of getting 2 zeroes and 1 one would be either 3C2 or 3C1.
\n" ); document.write( "3C2 = 3*2/2 = 3
\n" ); document.write( "3C1 = 3/1 = 3
\n" ); document.write( "there are 3 ways you can get a string of 2 zeroes and 1 one.
\n" ); document.write( "they are:
\n" ); document.write( "001
\n" ); document.write( "010
\n" ); document.write( "100\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula of 8C5 is also shown as C(8,5).
\n" ); document.write( "it is equal to 8! / (5! * 3!) which is equal to (8 * 7 * 6 * 5! / (5! * 3!) which is equal to (8 * 7 * 6 / (3 * 2 * 1) which is equal to 56.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "it is a combination formula, not a permutation formula.
\n" ); document.write( "normally you would use a permutation formula for an ordered set, but in this case, the different sets would be equivalent, as shown below in the simple example.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "assume the 3 digits are a,b,c\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the number of possible permutations are:
\n" ); document.write( "abc
\n" ); document.write( "acb
\n" ); document.write( "bac
\n" ); document.write( "bca
\n" ); document.write( "cab
\n" ); document.write( "cba\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "since a and b are equal to 0 and c is equal to 1, this becomes:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "001
\n" ); document.write( "010
\n" ); document.write( "001
\n" ); document.write( "010
\n" ); document.write( "100
\n" ); document.write( "100\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "3 of the sets are duplicates of the other 3 sets, so the number of possible sets that are different from each other becomes 3.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "3P2 is equal to 3! / 1! = 6
\n" ); document.write( "3C2 is equal to 3! / (1! * 2!) = 3
\n" ); document.write( "3P2 gives you 6 sets where order is important, but since the individual values are not all different, then 3P2 reduces to 3C2.
\n" ); document.write( "that's why the combination formula works in this case, where it wouldn't if the individual values were all different from each other.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "bottom line:
\n" ); document.write( "your answer is either 8C5 or 8C3.
\n" ); document.write( "8C5 is the same as C(8,5)
\n" ); document.write( "3C3 is the same as C(8,3)
\n" ); document.write( "8C5 or C(8,5) is equal to 8! / (5! * 3!)
\n" ); document.write( "8C3 or C(8,3) is equal to 8! / (3! * 5!)
\n" ); document.write( "as you can calculate, they will both give you the same answer as 56.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "let me know if you have any questions.
\n" ); document.write( "theo\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );