This is a combination problem involving the number of matches played selecting 2 teams at a time from a given number of teams.
Let n represent the number of teams. Therefore, using combination, we can write the Combination formula as follows:
nCr = n!/[(n- r)!r!] = n!/[(n-2)!2!]
This should be equal to 153 (the total number of matches played).
Simplifying the above yields:
n(n-1)/2 = 153
n2 - n = 306
n2 - n - 306= 0
Factor the left hand side and rewrite the equation:
(n -18)(n + 17) = 0
n-18 = 0 or n+17 = 0
The solution is 18. Choose only the positive answer.
The number of teams that participated in the tournament is 18.
Explanatory Notes
Since a team cannot play with itself, it will have to play with n-1 teams. Because each team can only play exactly one match, we have to divide by 2 to avoid duplication. Thus, in a problem like this, the expression for the combination is: n(n - 1)/2