Analyzing the Setup
Imagine you are standing at the origin of a coordinate plane, looking out into the first quadrant. Two lines, L1 and L2, stretch out from where you stand, creating a V-shape.
L1 climbs steeply with a slope of 2, while L2 takes a more relaxed path with a slope of 21.
Along these lines, points are scattered like stars in a constellation: 12 points on L1 and 9 points on L2. Including the origin itself, we have a total of 22 points.
The Strategy
Total Minus Invalid
When faced with a combinatorial problem like this, the most powerful tool in your arsenal is the 'Total minus Invalid' strategy. Instead of trying to construct every possible triangle, we start by assuming every combination of 3 points forms a triangle.
The total number of ways to select 3 points from 22 is given by the combination formula 22C3.
22C3=3×2×122×21×20=1540
This is our universe of possibilities. However, this universe contains 'imposters': sets of 3 points that are collinear. These points lie on the same line and, therefore, cannot form a triangle.
Identifying the Traps
Look closely at line L1. It hosts the origin O and the 12 points P1,P2,…,P12. That is 13 points in total, all perfectly aligned.
Any selection of 3 points from these 13 will result in a flat line, not a triangle. The number of such invalid selections is:
Similarly, line L2 hosts the origin O and the 9 points Q1,Q2,…,Q9, totaling 10 collinear points. The number of invalid selections here is:
Final Calculation
Now, we simply subtract the invalid cases from our total. The number of valid triangles is 1540−286−120.
Performing the arithmetic, we find:
By recognizing that the collinear points were the only obstacles, we transformed a daunting geometric problem into a clean, logical subtraction.
Remember this approach for your JEE exams: when the direct path is cluttered, look for the complement. You have successfully navigated the geometry of these lines and emerged with the correct count of 1134 triangles.