document.write( "Question 1197328: Four people form a line at a grocery store. What is the probability that they line up in descending order of age? \n" ); document.write( "
Algebra.Com's Answer #830557 by math_tutor2020(3816)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Answer: 1/24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Explanation:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 4 people for the first slot, then 3 for the next, and so on until we count down to 1
\n" ); document.write( "4,3,2,1
\n" ); document.write( "Multiply out those items
\n" ); document.write( "4*3*2*1 = 24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Many calculators have an exclamation mark button, which represents factorials
\n" ); document.write( "4! = 4*3*2*1 = 24
\n" ); document.write( "4! = 24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This represents the number of ways to line up the four people. Order matters of course.
\n" ); document.write( "Only one way has all four people in the correct order of descending age.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore, we arrive at 1/24 as our answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "---------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "An alternative way to calculate the '24' is to follow these steps, through use of the nPr permutation formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "n P r = (n!)/( (n-r)! )
\n" ); document.write( "4 P 4 = (4!)/( (4-4)! )
\n" ); document.write( "4 P 4 = (4!)/( 0! )
\n" ); document.write( "4 P 4 = (4*3*2*1)/( 1 )
\n" ); document.write( "4 P 4 = 4*3*2*1
\n" ); document.write( "4 P 4 = 24\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Though as you can probably spot, the factorial of 4! = 4*3*2*1 is part of 4P4. Meaning that we're basically following the same pathway as the previous section.
\n" ); document.write( "
\n" ); document.write( "
\n" );