Question
Mathematics Question on Coplanarity of Two Lines
p points are chosen on each of the three coplanar lines. The maximum number of triangles formed with vertices at these points is
A
p3+3p2
B
21(p3+p)
C
2p2(5p−3)
D
p2(4p−3)
Answer
p2(4p−3)
Explanation
Solution
Total number of points in a plane is 3p.
∴ Maximum number of triangles
=3pC3−3⋅pC3
[Here, we subtract those triangles which points are in a line]
=(3p−3)!3!(3p)!−3⋅(p−3)!3!p!
=3×23p(3p−1)(3p−2)−3×23×p(p−1)(p−2)
=2p[9p2−9p+2−(p2−3p+2)]
=p2(4p−3)