document.write( "Question 1192101: In a volleyball game, each team must play with all the other teams. How many games will there be? \n" ); document.write( "
Algebra.Com's Answer #824002 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
i believe it will be a combination formula that allows you to find the answer to this.
\n" ); document.write( "the formula is c(n,x).
\n" ); document.write( "n is the number of teams
\n" ); document.write( "x is the number of 2 team games.
\n" ); document.write( "c(n,x) = n! / (x! * (n-x)!)
\n" ); document.write( "the following excerpt from excel shows you how many games need to be played.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "n	x	c(n,x)\r\n" );
document.write( "2	2	1\r\n" );
document.write( "3	2	3\r\n" );
document.write( "4	2	6\r\n" );
document.write( "5	2	10\r\n" );
document.write( "6	2	15\r\n" );
document.write( "

\n" ); document.write( "i'll use A, B, C, ..... to identify each team.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when n = 2 and x = 2, you get 1 game that needs to be played.
\n" ); document.write( "that game is played between A and B, which will be shown as the set AB.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when n = 3, 3 games need to be played.
\n" ); document.write( "they will be between:
\n" ); document.write( "AB
\n" ); document.write( "AC
\n" ); document.write( "BC\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "what this means is:
\n" ); document.write( "A plays with B
\n" ); document.write( "B plays with C
\n" ); document.write( "B plays with C\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you look at it from the point of the team playing the other teams, you get:
\n" ); document.write( "A plays with B and C
\n" ); document.write( "B plays with A and C
\n" ); document.write( "C plays with A and B\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when A plays with B, B is automatically playing with A.
\n" ); document.write( "that's AB and BA equals the same game.
\n" ); document.write( "that's what the combination formula does.
\n" ); document.write( "it tells you how many sets of 2 you can get from a set of n when order doesn't matter.
\n" ); document.write( "order doesn't matter means that AB and BA are the same set.
\n" ); document.write( "if order matters, then AB and BA would be different sets.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "when n = 4, the number of games that have to be played so each team plays with each other team would be (4,2) = 6.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "that works out to be:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "AB
\n" ); document.write( "AC
\n" ); document.write( "AD
\n" ); document.write( "BC
\n" ); document.write( "BD
\n" ); document.write( "CD\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "if you look at it from the standpoint of A, A plays with B, C, and D.
\n" ); document.write( "if you look at it from the standpoint of B, B plays with A. C, and D.
\n" ); document.write( "if you look at it from the standpoint of C, C plays with A, B, and D.
\n" ); document.write( "if you look at it from the standpoint of D, D plays with A, B, and C.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "every team has played with every other team exactly 1 time.
\n" ); document.write( "this occurs in 4 games.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the formula used is the combination formula.
\n" ); document.write( "it tells you how many sets of x you can get from a set of n when order doesn't matter.
\n" ); document.write( "when x = 2, then it's telling you how many sets of 2 you can get from a set of n when order doesn't matter.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "once again, order doesn't matter means that AB and BA are considered part of the same set and are only shown as either AB or BA, but not both.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "to show you the difference i will do C(4,2) and P(4,2).
\n" ); document.write( "C(n,x) formula is n! / (x! * (n-x)!)
\n" ); document.write( "P(n,x) formula is n! / (n-x)!)
\n" ); document.write( "C(4,2) = 6
\n" ); document.write( "P(4,2) = 12
\n" ); document.write( "the number of combinations of sets of 2 from 4 are:
\n" ); document.write( "AB
\n" ); document.write( "AC
\n" ); document.write( "AD
\n" ); document.write( "BC
\n" ); document.write( "BD
\n" ); document.write( "CD
\n" ); document.write( "that's a total of 6.
\n" ); document.write( "the number of permutations of sets of 2 from 4 are:
\n" ); document.write( "AB, BA
\n" ); document.write( "AC, CA
\n" ); document.write( "AD. DA
\n" ); document.write( "BC, CB
\n" ); document.write( "BD, DB
\n" ); document.write( "CD, DC
\n" ); document.write( "that's 12.
\n" ); document.write( "where AB and BA were considered part of the same set in C(4,2), AB and BA were considered part of different sets in P(4,2).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "with the combination formula, order doesn't matter.
\n" ); document.write( "with the permutation formula, order does matter.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the number of games that must be played where each team plays each other team uses the combination formula.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "here's a reference that might help you to understand the difference.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://www.mathsisfun.com/combinatorics/combinations-permutations.html\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "note that the combination and permutation formulas assume selections without replacement.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "note also that:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "C(n,x) = P(n,x) / x!
\n" ); document.write( "P(n,x) = C(n,x) * x!\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );