- Foundation
- About 12 min
- 5 practice questions
Pairs in daily life: handshakes, matches, lines and diagonals
Use the pair-counting idea for handshakes, tournaments, lines through points and polygon diagonals, and see how points lying in a line change the count.
If something looks wrong, please tell us.
The method of choosing two ends for a segment works whenever the question asks about pairs. Handshakes, matches in a league and the lines drawn through marked points are all the same problem in different clothes. Recognising this lets you count in seconds instead of listing. In this lesson we meet four of these situations and one special case.
The pair formula once more
If there are n things and you choose two of them, the number of pairs is n times (n minus 1), divided by 2. Each of the n things pairs with n minus 1 others, and each pair is counted twice.
| n | 3 | 4 | 5 | 6 | 7 | 8 | 10 |
|---|---|---|---|---|---|---|---|
| Pairs | 3 | 6 | 10 | 15 | 21 | 28 | 45 |
Four everyday situations
- Handshakes: n people each shake hands once with everyone else. The number of handshakes is the number of pairs.
- Matches: n teams play each other once (a round robin). The number of matches is the number of pairs.
- Lines through points: n points, no three in a straight line. Each pair of points fixes one line, so the number of lines is the number of pairs.
- Diagonals of a polygon: a polygon with n corners has n(n - 1)/2 pairs of corners. Of these pairs, n are sides. The rest are diagonals, so the number of diagonals is n(n - 1)/2 minus n, which is n(n - 3)/2.
| Polygon | Corners | Pairs | Sides | Diagonals |
|---|---|---|---|---|
| Quadrilateral | 4 | 6 | 4 | 2 |
| Pentagon | 5 | 10 | 5 | 5 |
| Hexagon | 6 | 15 | 6 | 9 |
| Octagon | 8 | 28 | 8 | 20 |
Choosing three points
A triangle needs three corners. If n points are marked and no three lie on a line, the number of triangles is n times (n minus 1) times (n minus 2), divided by 6. We divide by 6 because the same three points can be listed in 6 different orders. For 5 points this is 5 times 4 times 3 divided by 6, which is 10.
Pairs of n things: n(n - 1)/2. Diagonals of an n-sided polygon: n(n - 3)/2. Triangles from n points, none three in a line: n(n - 1)(n - 2)/6.
Worked examples
Example 1. In a club of 8 members, each pair plays one game of carrom. Games: 8 times 7 divided by 2 is 28.
Example 2. How many diagonals does a hexagon have? Pairs of corners: 15. Subtract the 6 sides: 15 minus 6 is 9. The formula gives the same: 6 times 3 divided by 2 is 9.
Example 3. Six points are marked and no three lie on a line. Lines through pairs: 6 times 5 divided by 2 is 15. Triangles: 6 times 5 times 4 divided by 6 is 20.
Example 4 (points in a line). Five points are marked, and three of them, A, B and C, lie on one straight line. The other two, D and E, are off that line. The ten pairs would give ten lines, but the three pairs AB, AC and BC all give the same line. So there are 10 minus 3 plus 1, which is 8 lines. The three points A, B and C cannot form a triangle, so the triangles number 10 minus 1, which is 9.
Key takeaways
- Handshakes, matches and lines through points are all pairs.
- Diagonals are pairs of corners minus the sides.
- Points lying on one line reduce the number of lines and triangles.
- Check a small case by listing before trusting a formula.
Check your understanding
-
1. At a meeting, 10 people shake hands once with each other. How many handshakes are there?
- 45
- 20
- 90
- 100
Show answer
Answer: A. Pairs: 10 times 9 divided by 2 is 45.
-
2. How many diagonals does an octagon have?
- 16
- 20
- 24
- 28
Show answer
Answer: B. 8 times 5 divided by 2 is 20. Equivalently, 28 pairs of corners minus the 8 sides.
-
3. Seven points are marked, and no three lie on a line. How many straight lines can be drawn through pairs of them?
- 35
- 14
- 21
- 42
Show answer
Answer: C. Pairs: 7 times 6 divided by 2 is 21.
-
4. Six points are marked, and no three lie on a line. How many triangles can be formed with them as corners?
- 120
- 15
- 30
- 20
Show answer
Answer: D. 6 times 5 times 4 divided by 6 is 20.
-
5. Five points are marked, and three of them lie on one line. The other two do not. How many different lines pass through at least two of the points?
- 9
- 7
- 8
- 10
Show answer
Answer: C. Ten pairs would give ten lines, but the three pairs among the collinear points give one line. So 10 minus 3 plus 1 is 8.
Sign in to keep track of the lessons you finish.