JEE Main 2025 Mathematics question — Counting in geometry
Let p be the number of all triangles that can be formed by joining the vertices of a regular polygon P of n sides and q be the number of all quadrilaterals that can be formed by joining the vertices of P. If p+q=126, then the eccentricity of the ellipse 16x2+ny2=1 is :
SOLUTION
The number of triangles that can be formed from the vertices of a regular n-gon is the number of ways of choosing any 3 vertices: p=nC3=6n(n−1)(n−2)
The number of quadrilaterals is the number of ways of choosing any 4 vertices: q=nC4=24n(n−1)(n−2)(n−3)
We are told that p+q=126
Substituting the expressions for p and q: 6n(n−1)(n−2)+24n(n−1)(n−2)(n−3)=126
Multiply every term by 24 to clear denominators: 4n(n−1)(n−2)+n(n−1)(n−2)(n−3)=3024
Factor out n(n−1)(n−2): n(n−1)(n−2)[4+(n−3)]=3024
Simplify the bracket: n(n−1)(n−2)(n+1)=3024
Try successive integer values of n≥4 until the product equals 3024. Case 6:6⋅5⋅4⋅7=840<3024 Case 7:7⋅6⋅5⋅8=1680<3024 Case 8:8⋅7⋅6⋅9=3024 — match found.
Hence n=8.
The ellipse given is 16x2+ny2=1⟹16x2+8y2=1
because n=8.
For an ellipse a2x2+b2y2=1 with a2>b2, the eccentricity is e=1−a2b2
Here a2=16,b2=8, so e=1−168=21=21
Therefore the required eccentricity is 21, which corresponds to Option D.