Consider a 1 0 0 -sided polygon. If you join any 4 of the 1 0 0 vertices of the polygon, you get a quadrilateral.
How many quadrilaterals can be formed without including the sides of the 1 0 0 -sided polygon?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Please be more descriptive in this solution before using stars and bars .It is difficult to make it out what you mean
Log in to reply
Suppose you have to distribute 9 candies to 4 kids such that each kid gets at least 2, you can distribute in 4 ways as 2+ 2+ 2+ 3. or 2+3+2+2 or 2+2+ 3+2 or 3+2+2+2.
This is equivalent to distributing 9-4 = 5 candies to 4 kids such that each gets at least 1. Again 4 ways --- 2+1+1+1 or 1+2+1+1 or 1+1+2+1 or 1+1+1+2...
Still not clear.. what do you mean by 100 gaps?
Log in to reply
In 100-sided polygon, when you erase the sides of the polygon you will get 100 gaps. You are erasing the sides as you don't want those sides as the problem states
Why not 100C4? I still didn't get the repetition.
Log in to reply
You have to exclude points that are adjacent to each other.
I believe this analysis is flawed in more than one way. The solution presumes that the 4 vertices must be taken in the same order as those of the 100gon. But, for instance, the set of vertices {11, 22, 33, 44} yields not one but three distinct quadrilaterals [11, 22, 33, 44], [11, 33, 22, 44] and [11, 22, 44, 33]. Also, we can use one or even two pairs of adjacent vertices, such as {1, 2, 50, 51}. The quadrilateral [1, 50, 2, 51] is a valid solution. Its edges are (1,50), (50,2), (2,51) and (51,1). None of these is an edge of the 100gon. So the set of 4 vertices {1, 2, 50, 51} gives a solution not included in the 3460375. So, my count is: For each of 100 choices of vertex A, there are 97 possible vertex B, as it cannot be adjacent to A. For each of these, there are 96 possible vertex C as it cannot be adjacent to B. But it can be adjacent to A. For the 94 cases where vertex C is not adjacent to vertex A, there are 93 possible vertex D. For the 2 cases where vertex C is adjacent to vertex A, there are 95 possible vertex D. We must eliminate cyclic permutations as quadrilateral ABCD is the same as BCDA: divide by 4 as any of the vertices can be considered as vertex A, and divide by 2 as the quadrilateral ABCD is identical to ADCB. Putting this all together, I get 100 x 97 x (94 x 93 + 2 x 95) /8 I make this 10830050.
Log in to reply
I think the problem should be rewritten to indicate to consider only simple quadrilaterals, because it says "If you join any of the vertices of the polygon, you get a quadrilateral.", so it would seem that the problem is considering non-simple quadrilaterals also.
Indeed all but Chris assume /convex/ quadrilaterals, but it is not explicitly specified.
Couln't we have a more general formula as \frac{n(n-5)(n-6)(n-7)}{24}
I dont understand the 100/4 part, how did you come to know that you are dividing by 4?
First let's count the number of quadrilaterals that can be formed from a single vertex. Let's pick a vertex and name it 1. Once we've defined the first vertex, the others can be named 2,3,..100.
Each formed quadrilateral will be indicated as an ordered quadruple ( 1 , x , y , z ) . We need to count how many of those quadruples that correctly represents a quadrilateral exist, which we can do in the following way: we can establish a 1-1 correspondence from ( 1 , a , b , c ) (with 1 < a < b < c ) to ( 1 , a + 1 , b + 2 , c + 3 ) , where, if c + 3 ≤ 9 9 , the transformed quadruple only has non-adjacent vertexes that form the quadrilaterals we want. So, all we have to do is count in how many ways we can choose the 3 different numbers a , b and c , which range from 2 to 9 6 . This can be done in ( 3 9 5 ) ways.
Now, if we were to draw all the possible quadrilaterals from each vertex, we will have to draw 1 0 0 ⋅ ( 3 9 5 ) quadrilaterals, where we are repeating each quadrilateral 4 times, because it was drawn one time for each of its 4 vertexes. We conclude that the number of quadrilaterals that can be formed is 4 1 ⋅ 1 0 0 ⋅ ( 3 9 5 ) = 3 4 6 0 3 7 5
There are not enough conditions given. Assumptions are that it is a convex polygon. If it is concave, then the solution is not that trivial, because some of the quadrilaterals could be excluded as one or more of polygon's sides may coincide with the quadrilateral's side thus making it practically impossible to solve without computer assistance. Ephraim Lior, 73, NY
WLOG pick a vertex of 100 sided polygon. Leaving aside neighboring two out of remaining 97 any three can be selected but not contiguous ones, in 95C3 ways = 138415. Now there are 100 times such quadrilaterals each having 4 vertices hence multiple counts to be removed by multiplying this combination with (100/4) = 25. Answer: 138415 x 25 = 3460375
Take four number in ascending order a , b , c , d which represent the number of vertices. If we transform it into the couple a , b + 1 , c + 2 , d + 3 we will be almost sure that there is no pair of the closest vertices. So, since we have 1 0 0 vertices we have to be sure that a > = 1 and d + 3 < = 1 0 0 . Therefore, we can choose ( 4 9 7 ) .
However, if we have the pair a = 1 , d = 9 7 than we have an edge between the vertices 1 and 1 0 0 . Therefore we have to exclude all of them. Using the same logic we can see that we can chose from the range b + 1 > = 3 and c + 2 < = 9 8 therfore, b , c ∈ [ 2 ; 9 6 ] and the total number of such quadrilaterals is ( 2 9 5 ) .
The answer is ( 4 9 7 ) − ( 2 9 5 ) = 3 4 6 0 3 7 5
This is a bit of deductive approach, starting from an 8-sided polygon going up. (No polygon with less than 8 sides will give a solution.) I manually counted the solutions for polygons having 8, 9, 10, and 11 sides to infer a general formula for an n-sided polygon. First, pick any vertex, count the solutions, then move to the second adjacent, irrelevant if clockwise or counterclockwise, count, and so on and so forth.
8-sided polygon: 2 solutions: 1 starting from the 1 s t vertex, 1 from the 2 n d (and 0 from the rest.) PS: I'll show the details of these solutions in a note at the end.
9-sided polygon: 9 solutions: 4 from the 1 s t vertex, 4 from the 2 n d , 1 from the 3 r d .
10-sided polygon: 2 5 solutions: 1 0 from the 1 s t vertex, 1 0 from the 2 n d , 4 from the 3 r d , 1 from the 4 t h .
11-sided polygon: 5 5 solutions: 2 0 from the 1 s t vertex, 2 0 from the 2 n d , 1 0 from the 3 r d , 4 from the 4 t h , 1 from the 5 t h t h .
I noticed that the number of polygons for the 1 s t vertex is always the same as that of the 2 n d , and the number decreases afterwards. And these numbers correspond to binomial coefficients: 2 0 = ( 3 6 ) , 1 0 = ( 2 5 ) , 4 = ( 1 4 ) , and all the parameters depend on the number of vertices of the polygon.
Let a = number of solutions
11-sided polygon: a = ( 3 6 ) + ( 3 6 ) + ( 2 5 ) + ( 1 4 ) + ( 0 3 ) = 2 0 + 2 0 + 1 0 + 4 + 1 = 5 5
10-sided polygon: a = ( 2 5 ) + ( 2 5 ) + ( 1 4 ) + ( 0 3 ) = 1 0 + 1 0 + 4 + 1 = 2 5
9-sided polygon: a = ( 1 4 ) + ( 1 4 ) + ( 0 3 ) = 4 + 4 + 1 = 9
8-sided polygon: a = ( 0 3 ) + ( 0 3 ) = 1 + 1 = 2
So if we have an n-sided polygon, we're always starting from: ( n − 8 n − 5 ) ,
Hence, for an n-side polygon, the solution is:
a = ( n − 8 n − 5 ) + ( n − 8 n − 5 ) + ( n − 9 n − 6 ) + ( n − 1 0 n − 7 ) + . . . + ( 3 6 ) + ( 2 5 ) + ( 1 4 ) + ( 0 3 )
Rearranging: a = ( n − 8 n − 5 ) + [ ( 0 3 ) + ( 1 4 ) + ( 2 5 ) + ( 3 6 ) + . . . + ( n − 1 0 n − 7 ) + ( n − 9 n − 6 ) + ( n − 8 n − 5 ) ]
a = ( n − 8 n − 5 ) + ∑ i = 0 n − 8 ( i 3 + i )
And we have that: ∑ i = 0 m ( i i + α ) = ( m m + α + 1 ) (A corollary of the hockey stick identity).
So in our case: ∑ i = 0 n − 8 ( i 3 + i ) = ( n − 8 n − 4 ) .
Finally, the solution for an n-sided polygon: a = ( n − 8 n − 5 ) + ( n − 8 n − 4 )
For n = 100, a = ( 9 2 9 5 ) + ( 9 2 9 6 ) = 3 , 4 6 0 , 3 7 5
Note : For the individual solutions for polygons of 8, 9, 10, and 11 sides, pick a vertex at random and label it "A", then move to an adjacent one labeling it "B", and so and and so forth. The solutions are the following (skipping the one with 11 sides due to size):
8-sided polygon:
A C E G , B D F H
9-sided polygon:
A
C
E
G
,
A
C
E
H
,
A
C
F
H
,
A
D
F
H
B D F H , B D F I , B D G I , B E G I
C E G I
10-sided polygon:
A
C
E
G
,
A
C
E
H
,
A
C
E
I
,
A
C
F
H
,
A
C
F
I
,
A
C
G
I
,
A
D
F
H
,
A
D
F
I
,
A
D
G
I
,
A
E
G
I
B D F H , B D F I , B D F J , B D G I , B D G J , B D H J , B E G I , B E G J , B E H J , B F H J
C E G I , C E G J , C E H J , C F H J
D F H J
Problem Loading...
Note Loading...
Set Loading...
A different approach. Take a vertex of the polygon. We have 1 0 0 gaps around it that we must divide into 4 parts where each part is a length of at least 2 gaps.
This is equivalent to 1 0 0 − 4 = 9 6 gaps that we have to divide into 4 parts with length of each at least 1 gap.
Now we can use the Stars and Bars formula to calculate. So that's ( 3 9 5 ) = 1 3 8 4 1 5 number of quadrilaterals for one vertex.
We must consider for 1 0 0 vertices but when we do that we have to adjust for the quadrilaterals repeated 4 times.
So the final tally is 4 1 0 0 = 2 5
2 5 ∗ 1 3 8 4 1 5 = 3 4 6 0 3 7 5