Sub topic 11
Counting Lines, Triangles and Diagonals
Prerequisites and the Main Idea
Assume you can evaluate combinations such as \(\binom{n}{r}\). In geometry-counting questions, the main task is usually to choose objects, not arrange them. Therefore, combinations are often the correct tool.
A pair of distinct points determines one line if no three points are collinear. A set of three non-collinear points determines one triangle.
| Quantity | Selection | Count |
|---|---|---|
| Lines through \(n\) points, no three collinear | Choose 2 points | \(\binom{n}{2}\) |
| Triangles from \(n\) points, no three collinear | Choose 3 points | \(\binom{n}{3}\) |
| Diagonals of an \(n\)-gon | All pairs minus sides | \(\binom{n}{2}-n\) |
Counting Lines
If \(n\) points are given and no three lie on the same straight line, every pair produces a different line:
\[ \text{Number of lines}=\binom{n}{2} =\frac{n(n-1)}{2}. \]
For 8 points, the number of lines is
\[ \binom{8}{2}=\frac{8\cdot7}{2}=28. \]
The condition “no three collinear” matters. If three points lie on one line, choosing those three points creates three pairs but only one distinct line. The overcount must then be removed.
For example, suppose 6 points are given, with 3 points on one common line and all other triples non-collinear. The unrestricted pair count is
\[ \binom{6}{2}=15. \]
The three collinear points contribute \(\binom{3}{2}=3\) pairs, but they represent only 1 line. Subtract the extra \(3-1=2\):
\[ 15-2=13\text{ lines}. \]
Counting Triangles
If \(n\) points are positioned so that no three are collinear, any three points form a triangle:
\[ \text{Number of triangles}=\binom{n}{3}. \]
For 7 points,
\[ \binom{7}{3}=\frac{7\cdot6\cdot5}{3\cdot2\cdot1}=35. \]
If some points are collinear, triples on the same line do not form triangles. If \(k\) points lie on one line, subtract
\[ \binom{k}{3} \]
from the total, provided there is no overlap between different collinear groups.
For 8 points, with 4 points on one line and no other collinear triples,
\[ \binom{8}{3}-\binom{4}{3}=56-4=52. \]
Diagonals of a Polygon
A polygon with \(n\) vertices has \(\binom{n}{2}\) segments joining pairs of vertices. Exactly \(n\) of these are sides. The remaining segments are diagonals:
\[ \text{Diagonals}=\binom{n}{2}-n =\frac{n(n-3)}{2}. \]
For a decagon,
\[ \frac{10(10-3)}{2}=35. \]
Equivalently, from each vertex we can draw diagonals to \(n-3\) other vertices. This gives \(n(n-3)\), but every diagonal is counted twice, so divide by 2.
Exercise
Seven vertices form a convex polygon. How many triangles can be formed using its vertices, and how many diagonals does it have?
Show answer
Triangles: \(\binom{7}{3}=35\). Diagonals: \(\binom{7}{2}-7=21-7=14\).