PYQ Vault

NDA Maths · Permutation & Combination

Geometric Counting

Counting lines, triangles, quadrilaterals, diagonals, and intersection points from a set of points or lines — combinations with a correction for collinear (degenerate) cases.

Why this matters

Geometric counting is pure combination with one twist: collinear points make no triangle and concurrent/parallel lines lose intersections. Subtract the degenerate cases and these become routine.

Test yourself — a quick 13-question Permutation & Combination recall quiz, instant score.

Concept 1 of 1: Lines, triangles and polygons from points

A line needs 2 points, a triangle 3, a quadrilateral 4 — so the raw counts are nC2, nC3, nC4^nC_2,\,^nC_3,\,^nC_4. The correction: any set of collinear points that 'should' form a figure doesn't, so subtract those degenerate selections.

Definition

From nn points, no three collinear: lines nC2^nC_2, triangles nC3^nC_3, quadrilaterals nC4^nC_4. If kk points are collinear: subtract their degenerate selections — lines nC2−kC2+1^nC_2-^kC_2+1; triangles nC3−kC3^nC_3-^kC_3; quadrilaterals nC4−kC4−kC3⋅n−kC1^nC_4-^kC_4-^kC_3\cdot{}^{n-k}C_1 (a second degenerate class: exactly THREE of the four vertices collinear). Diagonals of an nn-gon: nC2−n=n(n−3)2^nC_2-n=\dfrac{n(n-3)}{2}. Parallelograms from mm and nn parallel lines: mC2⋅nC2^mC_2\cdot{}^nC_2. Max intersection points: nn lines: nC2^nC_2 (each pair meets once). nn circles: 2⋅nC2=n(n−1)2\cdot{}^nC_2=n(n-1) — each pair of circles meets TWICE, so 5 circles give 20 and 10 circles give 90; forgetting the factor 2 is the recorded common error. nn lines and mm circles: nC2+2⋅mC2+2nm^nC_2+2\cdot{}^mC_2+2nm. Triangles from the vertices of a regular nn-gon by shared sides: exactly two sides in common (three consecutive vertices) — nn; exactly one side — n(n−4)n(n-4); no side in common — nC3−n−n(n−4)=n(n−4)(n−5)6^nC_3-n-n(n-4)=\dfrac{n(n-4)(n-5)}{6} (for an octagon: 16).

Geometric counting from points and lines

lines= nC2triangles= nC3diagonals=n(n−3)2parallelograms= mC2⋅nC2\text{lines}=\,^nC_2 \qquad \text{triangles}=\,^nC_3 \qquad \text{diagonals}=\dfrac{n(n-3)}{2} \qquad \text{parallelograms}=\,^mC_2\cdot{}^nC_2
triangles = ⁸C₃ − ³C₃ (drop the collinear triple)

Worked example

How many triangles can be formed from 8 points, of which 3 are collinear?
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2025 · Q35Moderate

Example 1 · Permutation & Combination · Geometric Counting

For the following two (02) items: There are 8 points on a plane out of which 4 points are collinear.
How many triangles can be formed by joining these points?

Collinear points form no triangle — subtract kC3^kC_3

nC3^nC_3 counts triangles only if no three points are collinear. If kk of the points lie on one line, those kC3^kC_3 triples are degenerate (no triangle), so the answer is nC3− kC3^nC_3-\,^kC_3. Likewise the diagonal formula n(n−3)2= nC2−n\dfrac{n(n-3)}{2}=\,^nC_2-n subtracts the nn sides from all nC2^nC_2 point-pairs.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (1)

  • Lines, triangles and polygons from points

    Geometric counting from points and lines

    lines= nC2triangles= nC3diagonals=n(n−3)2parallelograms= mC2⋅nC2\text{lines}=\,^nC_2 \qquad \text{triangles}=\,^nC_3 \qquad \text{diagonals}=\dfrac{n(n-3)}{2} \qquad \text{parallelograms}=\,^mC_2\cdot{}^nC_2

Watch out for (1)

Test yourself on Permutation & Combination

20 past NDA questions from this chapter, timed at 25 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.

Related notes