Concept 07 / 09Permutations and Combinations
Counting in Geometry and Shortest Lattice Paths
Counting lines, triangles and diagonals from points with and without collinear sets, intersections of lines and circles, rectangles and squares on a grid, and the number of shortest paths on a lattice as a combination.
Many JEE counting problems are geometric. Each reduces to choosing points or lines, with corrections for collinearity or parallelism.
Points and lines. With points, no three collinear: the number of lines is (each line is fixed by points), and the number of triangles is . If of the points are collinear (and otherwise no three are collinear), those points give only one line instead of , and give no triangles. So
lines and triangles .
Polygons. A convex polygon with vertices has diagonals (all segments minus the sides). If no three diagonals are concurrent inside, the number of interior intersection points of diagonals is : each set of vertices forms a convex quadrilateral whose two diagonals cross exactly once. Triangles formed by the vertices: . Triangles with no side in common with the polygon: , obtained by subtracting triangles with two polygon sides ( of them) and with exactly one polygon side ().
Intersections. lines in general position (no two parallel, no three concurrent) meet in points and divide the plane into regions. circles, each pair meeting in two points and no three through a point, meet in points. lines and circles in general position meet in at most points.
Parallelograms and rectangles. If one family of parallel lines crosses another family of parallel lines, every parallelogram is formed by choosing lines from each family: . On an grid of unit squares (with vertical and horizontal lines), the number of rectangles is . The number of squares on an board is (count by side length: there are squares of side ). An chessboard has squares and rectangles.
Shortest lattice paths. To go from to moving only one unit right (R) or up (U) at a time, every shortest path uses exactly R-steps and U-steps in some order. So the number of paths is the number of arrangements of R's and U's:
.
The figure shows one of the paths from to . Paths through a particular point : multiply the counts from the start to and from to the end. Paths avoiding a point or a blocked segment: subtract the paths through it. In three dimensions, paths from to number .
Key Takeaways:
- points, collinear: lines ; triangles .
- Diagonals of an -gon: ; interior intersections of diagonals: .
- general lines: intersection points, regions.
- Parallelograms from and parallel lines: .
- Squares on an board: ; rectangles: .
- Shortest lattice paths to : .
- Pitfall: counting triangles from collinear points, which are degenerate.
Brain-Teaser 1: There are points in a plane, of which exactly are collinear. How many distinct lines and triangles do they determine? How many quadrilaterals (no three vertices collinear)?
Solution: Lines: . Triangles: . For quadrilaterals, choose points with at most from the collinear set: none of the : ; one: ; two: . Total . (Here a quadrilateral is taken to be fixed by its vertices, as is usual in such questions.) Organising by how many points come from the special collinear set avoids every degenerate case.
Brain-Teaser 2: How many shortest paths go from to that pass through ? That avoid ?
Solution: All paths: . Through : from the start to and from to , giving . Avoiding it: . The multiplication principle applies at the checkpoint because the two halves of the path are chosen independently.
Brain-Teaser 3: How many triangles can be formed from the vertices of a regular -gon? How many of them are right-angled? How many share no side with the polygon?
Solution: All triangles: . A triangle inscribed in a circle is right-angled iff one side is a diameter. The -gon has diameters, and each can be completed with any of the other vertices: right triangles. Triangles with no side in common: . Check: triangles with two polygon sides number (three consecutive vertices), and with exactly one side number ; . The circle geometry (Thales' theorem) converts 'right-angled' into 'contains a diameter', which is easy to count.
Practice this concept
Free · no account required · instant solutions