Line L1 of slope 2 and line L2 of slope 21 intersect at the origin O. In the first quadrant, P1,P2,…,P12 are 12 points on line L1 and Q1,…,Q9 are 9 points on line L2. Then the total number of triangles that can be formed having vertices at three of the 22 points O,P1,…,P12,Q1,…,Q9 is:
Solutions · 1
Official solution
Points on L1 (with O) total 13 collinear points; points on L2 (with O) total 10 collinear points. A triangle needs one point from each of two different lines (plus possibly O), or points not all collinear.
Valid triangles: (2 points from P's, 1 point from Q's) + (1 point from P's, 2 points from Q's) + (1 point from P's, 1 from Q's, and O):
\[\binom{12}{2}\binom{9}{1} + \binom{12}{1}\binom{9}{2} + \binom{12}{1}\binom{9}{1}\binom{1}{1} = 594+432+108 = 1134\]