A convex quadrilateral has 2 diagonals. A convex pentagon has 5 diagonals. A convex hexagon has 9 diagonals.
How many diagonals does a convex decagon (10 sides) have?
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.
As mentioned in the comments, this idea extends to 3D objects, although only regular polyhedrons follow the exact same pattern. (Note that a diagonal in three dimensions includes line segments that coincide with faces; they just can't coincide with already existing edges.)
Consider a cube. There are 8 vertices. Each vertex is connected to 3 other vertices (so the degree of the polyhedron is 3), so trying to draw a diagonal to any of those points will instead be along an edge. Vertices also can't make diagonals to themselves. This gives a total of 2 8 ( 8 − 4 ) = 1 6 diagonals.
What does the formula look like in general?
Exactly how I calculated it.
I think this formula isn't useful for calculating the no. of diagonals inside a 3D object. Do you know some sort of formula for 3D objects?
@Brian Charlesworth @Calvin Lin @Marta Reece @Zandra Vinegar
Log in to reply
You can use the exact same idea. For a given vertex, how many faces does it lie on? How many vertices lie on those faces? Those vertices would not lead to diagonals.
Log in to reply
. Yeah , there isn't a universal formula for 3D objects. We will have unique formula for different objects.
Thanks for your response
I think you mean, how many edges does a vertex lie on, not how many faces. If we used faces for a cube, we would get only 4 diagonals (the interior ones) and would miss the face diagonals.
It does work, I'ts only that it depends on the number of vertices connected to each vertex. If all the vertices had exactly 3 other vertex connected to it the formula would be 2 n 2 − 4 n like a tetrahedron. for something like a cube made of faces it would be 2 n 2 − 7 n . In the 2D case we knew for a fact the number of invalid connections for each vertex was the same which is n − 2 because we constructed those shapes in a single closed loop.
Log in to reply
I edited my comment shortly after posting. Can you re-read it just in case?
In the case of a cube, for a given vertex, it lies on 3 faces, and there are 7 distinct vertices (including itself) that lie on those faces. Hence, there are 2 8 × ( 8 − 1 ) diagonals in a vertex.
Of course, this process can get complicated for the non-Platonic solids.
Log in to reply
@Calvin Lin – In the ChallengeMaster example, for a cube, there are 16 total diagonals, because a given vertex shares an edge with 3 other vertices (and an edge cannot be a diagonal), and a vertex cannot have a diagonal to itself, so each vertex has 4 diagonals, and 8(4)/2 = 16. Twelve of those diagonals are face diagonals and four are interior diagonals. Your formula yields 28 diagonals, because you are allowing diagonals to coincide with edges, which was explicitly forbidden in the ChallengeMaster example.
In general, if a regular polyhedron has n vertices and each vertex shares an edge with p-1 other vertices, then there will be n (n-p) / 2 diagonals. Each vertex has (n- (p-1) -1) = n - p diagonals.
Yeah , there isn't a universal formula for 3D objects. We will have unique formula for different objects.
Thanks for your response!
Diagonals on a cube can be split into two categories: face diagonals and space diagonals. We might want to count these separately, or to count them as one and the same.
In higher-dimensional polytopes, there are further categories of diagonal. I hereby coin the term " n -diagonal", meaning a line that connects two vertices of an n -face (i.e. an n -dimensional component of the shape, which may be the whole figure if it is n -dimensional), but does not connect two vertices of an n − 1 -face. So a cube has twelve 2-diagonals and four 3-diagonals.
Relevant wiki: Combinations without Repetition - Intermediate
Number of ways of choosing any two vertices to make a diagonal ( 2 n ) and there are n cases where we chose two adjacent vertices, therefore, the number of diagonals is ( 2 n ) − n .
Relevant wiki: Combinations without Repetition - Intermediate
We need to connect two vertices for a line. For a n -sided convex polygon, there are ( 2 n ) lines. Out of these lines there are n sides of the polygon which are not the diagonals. Therefore, the number of diagonals is given by:
n d = ( 2 n ) − n = 2 n ( n − 1 ) − n = 2 n ( n − 3 )
For n = 1 0 , we have n d = 2 1 0 ( 1 0 − 3 ) = 3 5
Notation: ( N M ) = N ! ( M − N ) ! M ! denotes the binomial coefficient .
What does the initial bracket containing the "n" above the "2" denote, I've seen things like this before in maths but I don't understand what it is and why it's used.
Log in to reply
It is n! divided by (n-r)! r! . r in this case is 2.
I have added a note. You can check the reference for more information.
Which formula will work for finding the no. Of diagonals in 3D objects?
If we start off with 10 vertices, we know the first vertex chosen won't create a diagonal either with itself or the 2 adjacent vertices. So the first vertex makes 7 diagonals. The second vertex makes 7 vertices as well, because it didn't link with the first. Then it's just a process of subtracting the number of diagonals each vertex would make from the diagonals that already exist. If you add the vertices together you get; 7 +7 + 6 + 5 + 4 + 3 +2 +1+0+0 diagonals. The last two vertices are already all connected up by the time you get round the decagon, so they make no new diagonals. This is equal to 35 total diagonals.
Number of Sides Multiply by Number of Diagonals
4 x 0.5 = 2
5 x 1.0 = 5
6 x 1.5 = 9
7 x 2.0 = 14
8 x 2.5 = 20
9 x 3.0 = 27
10 x 3.5 = 35
. x . = .
. x . = .
. x . = .
20 x 8.5 = 170
The formula for the number of diagonals is:
2 n ( n − 3 )
where n is the number of sides of the shape. When you substitute in n, you get:
2 1 0 ( 1 0 − 3 ) = 2 1 0 ( 7 ) = 2 7 0 = 35
You might want to memorize the formula because it works for every polygon
I've found that the sum of the number of sides and number of diagonals is equal to a number in the triangular number sequence( 1,3,6,10,15,21,28,36,45,.. based on the 2 n ( n + 1 ) rule).Line: 1 sides +0 diagonals=1:Triangle:3 sides + 0 diagonals= 3,Square:4 +2 =6;convex pentagon:5+5=10;convex hexagon:6+9=15......convex decagon:10+x=45 ==> x= 35
Just use this video formula, it works for a polygon with a millions sides : 0.5*S(S-3) I had to drive this equation, so I'm sure it works (: (Too bored to type it all. Wish we could attach a photo here)
You can do this question without using a formula if you consider the pattern:
convex quadrilateral- 2 diagonals
convex pentagon- 5 diagonals
convex hexagon- 9 diagonals
convex heptagon- 14 diagonals
convex octagon- 20 diagonals
convex nonagon- 27 diagonals
convex decagon- 35 diagonals
Consider the vertices without lines connecting them, and connect each vertex to every other. From the first vertex, you can draw a line to every vertex except itself: the number of lines is now n − 1 . From the second vertex, you can draw a line to every vertex except the first (as that line already exists): the number of new lines is n − 2 . For vertex 3, the number of new lines is n − 3 and so on. The last vertex will have no new lines. The sum of lines is therefore
∑ i = 1 n − 1 i
Subtract from this the lines that make up the polygon, and you have the general case:
( ∑ i = 1 n − 1 i ) − n
The formula for No.of Diagonals in a convex polygon is n L a T e X
i dont know how right this is but.. i used A as how many sides there are and B as how many diagonals from one corner can be drawn.
So: (AB)/2
This is a fun different way to think of it. If you include the sides of the shapes as well, a square has 6, Pentagon has 10 and hexagon has 15. These are a nice sequence of triangular numbers. Aha! Proof-wise straight forward in that the set from each vertex shares increasing amounts of lines as you go, thus getting triangular.. Adjusting to this specific problem you just get the corresponding triangular number and subtract the number of sides. Bingo!
Plotting number of sides vs. number of diagonals and finding the best fitting curve yields a parabolic function of y = 0.5x^2 - 1.5x. The number of diagonals for an n-sided polygon can then be determined by plugging in n for x.
You can proceed iteratively, from the initial knowledge that the square has 2 diagonals. How many new diagonals would appear if we added one side, i.e. turned the square into a pentagon? Just take one side, say the one that joins vertices A and B, and put a new vertex C in the middle. We have to add new diagonals to join C to all the other vertices, except A and B of course, plus the new diagonal that joins A and B (they are no longer neighbors). So, in general, for a polygon of n sides, if we move to n+1 we have to add n-2+1=n-1 diagonals. This yields the following sequence:
4 sides => 2 diagonals
5 sides => 2+(4-1)=5 diagonals
6 sides => 5+(5-1)=9 diagonals
7 sides => 9+(6-1)=14 diagonals
8 sides => 14+(7-1)=20 diagonals
9 sides => 20+(8-1)=27 diagonals
10 sides => 27+(9-1)=35 diagonals
… and so on
nC2-n where n is the number of sides
It's a simple combination problem, the diagonal can be drawn between 2 points and there are 10 points in total, but the diagonal can't be drawn between adjacent points, so we have to account for that, hence the solution is nC2 - n, so answer for decagon is 45-10
We claim that the number of diagonals in an n-gon is given by 2 n − 3 .
We see that each vertex can be joined to any vertex except itself and its two adjacent vertices which means we exclude 1 + 2 = 3 vertices. Therefore each of n vertices can be joined to ( n − 3 ) vertices. Therefore we have 2 n ( n − 3 ) diagonals, not forgetting that we need to divide by 2 to avoid double counting.
Alternatively, if we just consider the different conbinations of vertices, we have 2 n ( n − 1 ) combinations. But we need to discount the set of consecutive vertices, of which we have n such elements. Then the number of diagonals is 2 n ( n − 1 ) − n = 2 n ( n − 1 − 2 ) = 2 n ( n − 3 ) .
Then for a 10-gon, we have 2 1 0 ( 1 0 − 3 ) = 5 ( 7 ) = 3 5 diagonals.
If you observe each of the given polygons you will see that every vertex has the same diagonals with every other vertex. So you calculate how many diagonals one vertex has and then multiply that by the number of the vertexes the given polygon has.
I worked this out in reverse, I looked at a single vertex and calculated how many diagonals comes from a single vertex, in the convex decagon (10 sides), there are 7 diagonals that are possible form a single vertex (as Andy Hayes mentions n-3 to arrive at this number). I manually went around each vertex and calculated how many diagonals were present but discounting the ones already counted. I came to see that:
This resulted in a formula that seems to hold true. Work out how many diagonals (d) are possible from a single vertex and apply the following:
d! + d
This is nice! As a sixth grader, I solved this problem this way too!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Interesting solution. Could you please explain how this code works?
A point can make a diagonal with any point except it neighbours and itself. But diagonals can go in opposite directions. So (n(n-3))/2 is the formula. So 10×7/2=35.
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Rule of Product Problem Solving
Each vertex has the same number of diagonals coming from it. Looking at a single vertex, diagonals are drawn to each vertex -- except you can't draw a diagonal to either of the two adjacent vertices, and you can't draw a diagonal to itself. So if the polygon has n vertices ( n sides), then the number of diagonals coming from a single vertex is n − 3 . Now multiply that by the number of vertices and you get n ( n − 3 ) , except this method counts each diagonal twice. So the number of diagonals of an n -gon is:
2 n ( n − 3 ) .
For a decagon, the number of diagonals is 2 1 0 ( 7 ) = 3 5 .