Solveeit Logo

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

Explanation

Solution

Hint: Here, we have to apply the formula for combination,nCr=n!r!(nr)!{}^{n}{{C}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}. 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{}^{7}{{C}_{3}} ways from the total possible 12C3{}^{12}{{C}_{3}} 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{}^{12}{{C}_{3}} 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{}^{7}{{C}_{3}}.
But we have to avoid the 7C3{}^{7}{{C}_{3}}possible ways from 12C3{}^{12}{{C}_{3}} total possible ways, since 7 points are in the straight line.
Therefore, the total number of triangles formed = 12C37C3{}^{12}{{C}_{3}}-{}^{7}{{C}_{3}}
We know by combinations that nCr=n!r!(nr)!{}^{n}{{C}_{r}}=\dfrac{n!}{r!\left( n-r \right)!}.
Therefore by the above formula, we can write:
12C3=12!3!(123)! 12C3=12!3! 9! ..... (1) \begin{aligned} & {}^{12}{{C}_{3}}=\dfrac{12!}{3!(12-3)!} \\\ & {}^{12}{{C}_{3}}=\dfrac{12!}{3!\text{ }9!}\text{ }.....\text{ (1)} \\\ \end{aligned}
We know that,
12!=1×2×3×4×5×6×7×8×9×10×11×12 9!=1×2×3×4×5×6×7×8×9 3!=1×2×3 \begin{aligned} & 12!=1\times 2\times 3\times 4\times 5\times 6\times 7\times 8\times 9\times 10\times 11\times 12 \\\ & 9!=1\times 2\times 3\times 4\times 5\times 6\times 7\times 8\times 9 \\\ & 3!=1\times 2\times 3 \\\ \end{aligned}
Now, by substituting all these values in equation (1) we get,
12C3=1×2×3×4×5×6×7×8×9×10×11×121×2×3×1×2×3×4×5×6×7×8×9{}^{12}{{C}_{3}}=\dfrac{1\times 2\times 3\times 4\times 5\times 6\times 7\times 8\times 9\times 10\times 11\times 12}{1\times 2\times 3\times 1\times 2\times 3\times 4\times 5\times 6\times 7\times 8\times 9}
Next, by cancellation we obtain:
12C3=10×11×2 12C3=220 ..... (2) \begin{aligned} & {}^{12}{{C}_{3}}=10\times 11\times 2 \\\ & {}^{12}{{C}_{3}}=220\text{ }.....\text{ (2)} \\\ \end{aligned}
Similarly, we can write:
7C3=7!3!(73)! 7C3=7!3! 4! ..... (3) \begin{aligned} & {}^{7}{{C}_{3}}=\dfrac{7!}{3!(7-3)!} \\\ & {}^{7}{{C}_{3}}=\dfrac{7!}{3!\text{ 4}!}\text{ }.....\text{ (3)} \\\ \end{aligned}
We know that,
7!=1×2×3×4×5×6×7 4!=1×2×3×4 3!=1×2×3 \begin{aligned} & 7!=1\times 2\times 3\times 4\times 5\times 6\times 7 \\\ & 4!=1\times 2\times 3\times 4 \\\ & 3!=1\times 2\times 3 \\\ \end{aligned}
Now, by substituting all these values in equation (3) we get,
7C3=1×2×3×4×5×6×71×2×3×1×2×3×4{}^{7}{{C}_{3}}=\dfrac{1\times 2\times 3\times 4\times 5\times 6\times 7}{1\times 2\times 3\times 1\times 2\times 3\times 4}
Next, by cancellation we obtain:
7C3=5×7 7C3=35 ..... (4) \begin{aligned} & {}^{7}{{C}_{3}}=5\times 7 \\\ & {}^{7}{{C}_{3}}=35\text{ }.....\text{ (4)} \\\ \end{aligned}
From equation (2) and equation (3) we can write:
12C37C322035 12C37C3=185 \begin{aligned} & {}^{12}{{C}_{3}}-{}^{7}{{C}_{3}}-220-35 \\\ & {}^{12}{{C}_{3}}-{}^{7}{{C}_{3}}=185 \\\ \end{aligned}
Therefore, the number of triangles can be formed = 185185
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{}^{7}{{C}_{3}} ways from total 12C3{}^{12}{{C}_{3}} ways. Otherwise you will get a wrong answer.