Procedure
Triangles from points: choose any three, then remove the ones on a line
Quantitative Aptitude • Permutations and Combinations
Statement
Three points make a triangle exactly when they do not all lie on one straight line. So count all the ways to choose 3 of the points, then subtract every choice of 3 that lies on one line. If a line holds of the points, it spoils choices; a line holding only 2 points spoils none.
How to use it
- 1Count the points on each straight line in the figure, such as each side of a shape.
- 2Total triangles = minus for each line holding points.
- 3For lines between points (not triangles), the same idea works with .
Worked example
5 points are marked on a line and 2 more points off it. How many triangles have their corners among these 7 points?
Step-by-step
- 1All choices of 3: .
- 2Choices with all 3 on the line: .
Why: These three corners lie flat on one line, so they make no triangle.
- 3.
Answer
25 triangles.
Watch out
Three points on the edges of a square, or of any shape with no dents, lie on one line only when all three are on the same side; points spread over different sides still make a triangle. Subtracting for a side that holds only 2 points is a common slip.
Builds on
Also known as
triangles from given points, collinear points, non-collinear triples