Question
Question: If 7 points out of 12 are in the same straight line, then the number of triangles formed is (a) 1...
If 7 points out of 12 are in the same straight line, then the number of triangles formed is
(a) 19
(b) 185
(c) 201
(d) None of these
Solution
Hint: Here, we have to apply the formula for combination,nCr=r!(n−r)!n!. 3 points are required for a triangle but not all 3 in the same line. To get the number of triangles we have to subtract 7C3 ways from the total possible 12C3 ways.
Complete step-by-step solution -
Here, the total number of points is given as 12.
It is also given that 7 points are in the same straight line.
Now, we have to find the total number of triangles formed from the given conditions.
We know that a triangle can be formed by joining 3 points but not all 3 in the same line.
So from the total of 12 points, 3 points can be selected in 12C3 ways.
But in the question we have 7 points in the straight line, so these 7 points can’t be joined together to form a triangle.
i.e. the number of triangles formed by 7 points are 7C3.
But we have to avoid the 7C3possible ways from 12C3 total possible ways, since 7 points are in the straight line.
Therefore, the total number of triangles formed = 12C3−7C3
We know by combinations that nCr=r!(n−r)!n!.
Therefore by the above formula, we can write:
12C3=3!(12−3)!12!12C3=3! 9!12! ..... (1)
We know that,
12!=1×2×3×4×5×6×7×8×9×10×11×129!=1×2×3×4×5×6×7×8×93!=1×2×3
Now, by substituting all these values in equation (1) we get,
12C3=1×2×3×1×2×3×4×5×6×7×8×91×2×3×4×5×6×7×8×9×10×11×12
Next, by cancellation we obtain:
12C3=10×11×212C3=220 ..... (2)
Similarly, we can write:
7C3=3!(7−3)!7!7C3=3! 4!7! ..... (3)
We know that,
7!=1×2×3×4×5×6×74!=1×2×3×43!=1×2×3
Now, by substituting all these values in equation (3) we get,
7C3=1×2×3×1×2×3×41×2×3×4×5×6×7
Next, by cancellation we obtain:
7C3=5×77C3=35 ..... (4)
From equation (2) and equation (3) we can write:
12C3−7C3−220−3512C3−7C3=185
Therefore, the number of triangles can be formed = 185
Hence, the correct answer for this question is option (b)
Note: Here out of 12 points 7 are in the straight line, therefore, it cannot be joined to form a triangle. i.e. while finding the number of triangles we have to subtract 7C3 ways from total 12C3 ways. Otherwise you will get a wrong answer.