document.write( "Question 611286: I'm really confused about permutations, and especially this problem!
\n" ); document.write( "\"Flags of 6 countries are to be displayed in a row. The flags of two countries, A and B, must be next to each other.
\n" ); document.write( "a) In how many ways can this be done if the flag of country A must be to the left of the flag of country B?
\n" ); document.write( "(The answer key says 120, but I don't understand how)
\n" ); document.write( "b) In how many orders can the flags be displayed if the 2 flags can be in either order?
\n" ); document.write( "(The answer key says 240 but I don't understand how)\"
\n" ); document.write( "Thank you so much!
\n" ); document.write( "

Algebra.Com's Answer #384887 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
Note: I'm assuming that all 6 flags are different and that order matters.\r
\n" ); document.write( "\n" ); document.write( "a)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since A and B must be next to each other AND A must be to the left of B, this means that we can effectively \"combine\" the two flags to make a third flag (say AB). This is not a single flag, but because the two can't be separated or ordered differently, we can group the two like this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So we have the 5 flags: AB, C, D, E, F\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Where AB is considered one flag.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "From here, there are 5! = 5*4*3*2*1 = 120 different ways to order these five flags.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This is a lot like part A, but now we consider the case that we're dealing with the \"flag\" BA\". This will double the number in part a) to give you 2*120 = 240 \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let me know if this makes sense. Thanks.
\n" ); document.write( "
\n" ); document.write( "
\n" );