Out of 18 points in a plane, no three are in the same straight line except five points which are collinear. How many (i) straight lines (ii) triangles can be formed by joining them ?
There are 18 points in a plane out of which 5 points are collinear
Then number of straight lines joining these points are
⇒nC2−(pC2−1)
⇒nC2−pC2−1 (where n = 18 p = 5)
⇒18C2−5C2+1
⇒18×172−5×42+1
⇒144
Number of triangle =13C3
=13!3!10!=13×12×113×2
=13×2×11
=13×22=806