document.write( "Question 1100362: In a basketball game competition, there are many teams and each team plays with each other once. Find the total number of matches played if there are 3 teams? \n" ); document.write( "
Algebra.Com's Answer #714835 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "If \"n\" teams play each with other and only once, then the total number of matches is \"%28n%2A%28n-1%29%29%2F2\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is easy to understand:  each team plays with (n-1) others.\r\n" );
document.write( "\r\n" );
document.write( "So, it looks like there are n(n-1) matches in all.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "But counting in this way, we count each match twice, for one and for other team.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Therefore, we must divide n*(n-1) by 2 to get the correct answer.  \r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "For 3 teams the answer is \"%283%2A2%29%2F2\" = 3,\r\n" );
document.write( "\r\n" );
document.write( "and the list of matches (combinations of the team A, B and C) is THIS:\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "(A,B), (A,C) and (B,C).\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------
\n" ); document.write( "There are other similar problems of this kind:\r
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "    - the number of handshakes between \"n\" people;\r\n" );
document.write( "\r\n" );
document.write( "    - the number of diagonals of n-sided polygon;\r\n" );
document.write( "\r\n" );
document.write( "    - the number of straight lines in a plane, connecting \"n\" given points\r\n" );
document.write( "          placed in a way that NO 3 points lie in one straight line.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );