document.write( "Question 1191176: 3. In how many ways can 9 different books be arranged on a shelf so that
\n" );
document.write( "(a) 3 of the books are always together,
\n" );
document.write( "(b) 3 of the books are never all 3 together?\r
\n" );
document.write( "\n" );
document.write( "Show full solution, thank you! \n" );
document.write( "
Algebra.Com's Answer #823006 by math_tutor2020(3816)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Part (a)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We have 9 books which I'll call \n" ); document.write( "book a, book b, book c, ..., book h, book i \n" ); document.write( "Let's say we want books a through c to always stick together in any particular order.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We can pull books a,b,c out of the group on a temporary basis for now. Replace them with book j. \n" ); document.write( "The position of book j will represent books a,b,c in any order. \n" ); document.write( "The 9 books drop to 9-3 = 6 after taking books a,b,c out, but then the count bumps up to 6+1 = 7 after adding book j.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Arrange the 7 books and you should find there are 7! = 7*6*5*4*3*2*1 = 5040 permutations. The order matters. \n" ); document.write( "You can alternatively use the nPr formula with n = 7 and r = 7.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "That 5040 describes sequences involving book j. Wherever you see book j, replace it with some permutation of a,b,c. \n" ); document.write( "For example, if we had the sequence \n" ); document.write( "j,d,e,f,g,h,i \n" ); document.write( "then it could represent any of the following 6 items
\n" ); document.write( "There are 6 ways to arrange any group of 3 items where order matters.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "As another example, the sequence here \n" ); document.write( "g,h,i,j,d,e,f \n" ); document.write( "could represent any of the following
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: 30,240\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "----------------------------------------------------------- \n" ); document.write( "Part (b)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 9! = 9*8*7*6*5*4*3*2*1 = 362,880 different ways to arrange all of the books regardless if 3 particular books stick together or not.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We found earlier there are 30,240 ways to arrange the books so that 3 stick together.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Subtract those two values to get \n" ); document.write( "362,880 - 30,240 = 332,640 \n" ); document.write( "which represents the number of ways to have the 3 books separated in some fashion. Either they are all isolated from one another, or we only have 2 of them together (but not all 3 together).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This works because those 3 books are either always together, or split apart in some way. The two events are complementary of one another.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: 332,640\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " \n" ); document.write( " |