document.write( "Question 1191664: There are 7 different large books, 5 equal medium ones and 3 equal small ones. In different ways can they be lined up on a shelf if the same sizes are to be placed together? \n" ); document.write( "
Algebra.Com's Answer #823465 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Let's consider a related problem: we have 3 books labeled S, M and L (for small medium and large) and we want to arrange them.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 3! = 3*2*1 = 6 ways to do this \n" ); document.write( "If small goes first \n" ); document.write( "SML \n" ); document.write( "SLM \n" ); document.write( "Or if medium goes first \n" ); document.write( "MSL \n" ); document.write( "MLS \n" ); document.write( "Or if large goes first \n" ); document.write( "LSM \n" ); document.write( "LMS\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Once we have a particular permutation of L,M,S set up, we'll then consider the sub-permutations for each block. \n" ); document.write( "The L block consists of 7 different large books we'll arrange together. There are 7! = 7*6*5*4*3*2*1 = 5040 ways to arrange just the large books.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For the M block, we have 5! = 5*4*3*2*1 = 120 ways to arrange those medium sized books.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The S block has 3! = 3*2*1 = 6 ways to arrange those books.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To summarize:
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "So we have 6*5040*120*6 = 21,772,800 different ways to arrange the books such that the sizes stick together, and that order matters.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: 21,772,800 \n" ); document.write( "This is a little under 21.8 million \n" ); document.write( " \n" ); document.write( " |