document.write( "Question 621807: Let n>4.\r
\n" ); document.write( "\n" ); document.write( "In how many ways can we choose 4 vertices of a convex n-gon so as to form a convex quadrilateral, such that at least 2 sides of the quadrilateral are sides of the n-gon?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #391011 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
Label the vertices .\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We have two cases:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Case 1: Three of the four sides of the quadrilateral are sides of the n-gon.\r
\n" ); document.write( "\n" ); document.write( "Case 2: Exactly two of the four sides are sides on the n-gon.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Case 1 is pretty easy to count; all four vertices have to be consecutive. Hence we can have quadrilaterals , , ..., , n quadrilaterals.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Case 2 is a little trickier. The n-gon obviously has n-sides, so the solution is to choose two sides on the n-gon that are not consecutive. This can occur in\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( " ways (we must divide by 2 because we are counting each pair of sides twice).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hence the total number of ways to choose four vertices in this manner is , which happens to be .
\n" ); document.write( "
\n" );