A dish contains n strands of cooked spaghetti. Two ends are chosen
\n" );
document.write( "at random and tied together. Two other ends are selected and tied
\n" );
document.write( "together.If this process continues until there are no more loose
\n" );
document.write( "ends,
\n" );
document.write( "a) What is the probability that all n strands form one big loop?
\n" );
document.write( "\r\n" );
document.write( "Choose one particular strand to begin with, call it strand A.\r\n" );
document.write( "Think of it being bent in an arc like this:
\r\n" );
document.write( "Think of the loop being created beginning with strand A and tieing on \r\n" );
document.write( "strands one by one forming a single loop clockwise.\r\n" );
document.write( "\r\n" );
document.write( "Choose one of the remaining n-1 strands as the 2nd strand to \r\n" );
document.write( "tie onto the right end of the 1st strand (strand A) in n-1 ways.\r\n" );
document.write( "Choose which end of that strand to tie onto the right end\r\n" );
document.write( "of the 1st strand in 2 ways.\r\n" );
document.write( "\r\n" );
document.write( "Choose one of the remaining n-2 strands as the 3rd strand to tie \r\n" );
document.write( "onto the end of the 2nd strand in n-2 ways.\r\n" );
document.write( "Choose which end of the 3rd strand to tie onto the untied end\r\n" );
document.write( "of the 2nd strand in 2 ways.\r\n" );
document.write( "\r\n" );
document.write( "Choose one of the remaining n-3 strands as the 4th strand to tie \r\n" );
document.write( "onto the untied end of the 3rd strand in n-3 ways.\r\n" );
document.write( "Choose which end of the 4th strand to tie onto the untied end \r\n" );
document.write( "of the 3rd strand in 2 ways. \r\n" );
document.write( "\r\n" );
document.write( "...\r\n" );
document.write( "\r\n" );
document.write( "Choose one of the remaining 2 strands as the (n-1)st strand to tie \r\n" );
document.write( "onto the right end of the (n-2)nd strand in 2 ways.\r\n" );
document.write( "Choose which end of the (n-1)st strand to tie onto the untied end \r\n" );
document.write( "of the (n-2)nd strand in 2 ways.\r\n" );
document.write( "\r\n" );
document.write( "Choose the 1 remaining strand as the nth strand to tie \r\n" );
document.write( "onto the untied end of the (n-1)st strand in only 1 way.\r\n" );
document.write( "Choose which end of the nth strand to tie onto the untied end \r\n" );
document.write( "of the (n-1)st strand in 2 ways.\r\n" );
document.write( "\r\n" );
document.write( "Finally tie the untied end of the nth strand onto the left end\r\n" );
document.write( "of strand A.\r\n" );
document.write( "\r\n" );
document.write( "So the number of ways that can be done is \r\n" );
document.write( "\r\n" );
document.write( "(n-1)*2*(n-2)*2*(n-3)*2*...*2*2*1*2 = (n-1)!*2^(n-1)\r\n" );
document.write( "\r\n" );
document.write( "This is independent of the particular strand that was chosen\r\n" );
document.write( "for strand A.\r\n" );
document.write( "\r\n" );
document.write( "So the numerator of the desired probability is (n-1)!*2^(n-1)\r\n" );
document.write( " \r\n" );
document.write( "\r\n" );
document.write( "Next we must find the denominator of the probability.\r\n" );
document.write( "This is the hard part.\r\n" );
document.write( "\r\n" );
document.write( "First we find the number of ways he could tie them in a certain\r\n" );
document.write( "order, and then we will \"unorder\" them by dividing by n!.\r\n" );
document.write( "\r\n" );
document.write( "There are 2n ends.\r\n" );
document.write( "\r\n" );
document.write( "We pick the 1st pair of ends to tie together in \r\n" );
document.write( "C(2n,2) =
ways.\r\n" );
document.write( "We pick the 2nd pair of ends to tie together in \r\n" );
document.write( "C((2n-2),2) =
ways.\r\n" );
document.write( "We pick the 3rd pair of ends to tie together in \r\n" );
document.write( "C((2n-4),2) =
.\r\n" );
document.write( "\r\n" );
document.write( "...\r\n" );
document.write( "We pick the (n-1)st pair of ends to tie together in \r\n" );
document.write( "C(4,2) =
.\r\n" );
document.write( "We pick the nth pair of ends to tie together in \r\n" );
document.write( "C(2,2) =
.\r\n" );
document.write( "\r\n" );
document.write( "So the number of orderings of tieings is:\r\n" );
document.write( "\r\n" );
document.write( "







\r\n" );
document.write( " \r\n" );
document.write( "That is equal to \r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "However, any given result of tied ends could have resulted from \r\n" );
document.write( "any of n! sequences of tieings.\r\n" );
document.write( "\r\n" );
document.write( "Therefore we must divide
by
\r\n" );
document.write( "\r\n" );
document.write( "So the denominator of the desired probability is\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "-----\r\n" );
document.write( "\r\n" );
document.write( "So the desired probability of (a) is \r\n" );
document.write( "\r\n" );
document.write( "


\r\n" );
document.write( "\r\n" );
document.write( "Invert and multiply and that can be simplified to \r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "If we multiply top and bottom by n, we get\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "
\n" );
document.write( "b) What is the probability that there will be n loops each
\n" );
document.write( "consisting of one strand?
\n" );
document.write( "\r\n" );
document.write( "That's just 1 way out of the denominator calculated above, or\r\n" );
document.write( "\r\n" );
document.write( "

, or\r\n" );
document.write( "\r\n" );
document.write( "
\r\n" );
document.write( "\r\n" );
document.write( "Edwin
\n" );
document.write( " \n" );
document.write( "