Review on my method for $Number$ $of$ $diagonals$ in a regular $n$-gon is $frac12n(n-3)$
I have an assignment on permutations and combinations topics. In that there is a question-
The number of interior angles of a regular polygon is $150^circ$ each. The number of diagonals of the polygon is _____.
Attempt
I don't know about any thing about the P&C method for diagonals. So I found the side as per the formula $$(n-2)(360^circ)=(theta)n$$ where $n$ is the number of side and $theta$ as interior angle.
But the main problem came to be the diagonal part because I was not able to understand the logic given on platforms like MSE itself. (Maybe it is due to language problem because I am still learning English language.)
But I tried to count the polygon diagonal one by one to generate some pattern which may be useful. So I observed this-
In quads, if we start making diagonals then for first it will be $1$, then again $1$ and $0$ and $0$.
In pents, the similar process gave $2$ then again $2$ then $1$ and then $0$, and $0$.
In hexes, $3$ then $3$ then $2$ then $1$ then $0$ and again $0$.
Also, I observed that for the last two vertices it came to be $0$ always.
So observing this I first did in same way for hepts and after doing this I checked the answers for above cases in that formula $$frac{n(n-3)}{2}$$. (Though I didn't understand how it was formed. And to my surprise, it came to be same. I even checked for $12, 13, 50, 40 ldots$ It all gave the same value as that formula.
Now my doubt is What I observed is right but how? Also I wrote it in terms of $$2(n-3)+(n-4)+...+1$$ to give $$frac{n(n-3)}{2}$$.
combinatorics geometry discrete-mathematics proof-verification combinations
add a comment |
I have an assignment on permutations and combinations topics. In that there is a question-
The number of interior angles of a regular polygon is $150^circ$ each. The number of diagonals of the polygon is _____.
Attempt
I don't know about any thing about the P&C method for diagonals. So I found the side as per the formula $$(n-2)(360^circ)=(theta)n$$ where $n$ is the number of side and $theta$ as interior angle.
But the main problem came to be the diagonal part because I was not able to understand the logic given on platforms like MSE itself. (Maybe it is due to language problem because I am still learning English language.)
But I tried to count the polygon diagonal one by one to generate some pattern which may be useful. So I observed this-
In quads, if we start making diagonals then for first it will be $1$, then again $1$ and $0$ and $0$.
In pents, the similar process gave $2$ then again $2$ then $1$ and then $0$, and $0$.
In hexes, $3$ then $3$ then $2$ then $1$ then $0$ and again $0$.
Also, I observed that for the last two vertices it came to be $0$ always.
So observing this I first did in same way for hepts and after doing this I checked the answers for above cases in that formula $$frac{n(n-3)}{2}$$. (Though I didn't understand how it was formed. And to my surprise, it came to be same. I even checked for $12, 13, 50, 40 ldots$ It all gave the same value as that formula.
Now my doubt is What I observed is right but how? Also I wrote it in terms of $$2(n-3)+(n-4)+...+1$$ to give $$frac{n(n-3)}{2}$$.
combinatorics geometry discrete-mathematics proof-verification combinations
add a comment |
I have an assignment on permutations and combinations topics. In that there is a question-
The number of interior angles of a regular polygon is $150^circ$ each. The number of diagonals of the polygon is _____.
Attempt
I don't know about any thing about the P&C method for diagonals. So I found the side as per the formula $$(n-2)(360^circ)=(theta)n$$ where $n$ is the number of side and $theta$ as interior angle.
But the main problem came to be the diagonal part because I was not able to understand the logic given on platforms like MSE itself. (Maybe it is due to language problem because I am still learning English language.)
But I tried to count the polygon diagonal one by one to generate some pattern which may be useful. So I observed this-
In quads, if we start making diagonals then for first it will be $1$, then again $1$ and $0$ and $0$.
In pents, the similar process gave $2$ then again $2$ then $1$ and then $0$, and $0$.
In hexes, $3$ then $3$ then $2$ then $1$ then $0$ and again $0$.
Also, I observed that for the last two vertices it came to be $0$ always.
So observing this I first did in same way for hepts and after doing this I checked the answers for above cases in that formula $$frac{n(n-3)}{2}$$. (Though I didn't understand how it was formed. And to my surprise, it came to be same. I even checked for $12, 13, 50, 40 ldots$ It all gave the same value as that formula.
Now my doubt is What I observed is right but how? Also I wrote it in terms of $$2(n-3)+(n-4)+...+1$$ to give $$frac{n(n-3)}{2}$$.
combinatorics geometry discrete-mathematics proof-verification combinations
I have an assignment on permutations and combinations topics. In that there is a question-
The number of interior angles of a regular polygon is $150^circ$ each. The number of diagonals of the polygon is _____.
Attempt
I don't know about any thing about the P&C method for diagonals. So I found the side as per the formula $$(n-2)(360^circ)=(theta)n$$ where $n$ is the number of side and $theta$ as interior angle.
But the main problem came to be the diagonal part because I was not able to understand the logic given on platforms like MSE itself. (Maybe it is due to language problem because I am still learning English language.)
But I tried to count the polygon diagonal one by one to generate some pattern which may be useful. So I observed this-
In quads, if we start making diagonals then for first it will be $1$, then again $1$ and $0$ and $0$.
In pents, the similar process gave $2$ then again $2$ then $1$ and then $0$, and $0$.
In hexes, $3$ then $3$ then $2$ then $1$ then $0$ and again $0$.
Also, I observed that for the last two vertices it came to be $0$ always.
So observing this I first did in same way for hepts and after doing this I checked the answers for above cases in that formula $$frac{n(n-3)}{2}$$. (Though I didn't understand how it was formed. And to my surprise, it came to be same. I even checked for $12, 13, 50, 40 ldots$ It all gave the same value as that formula.
Now my doubt is What I observed is right but how? Also I wrote it in terms of $$2(n-3)+(n-4)+...+1$$ to give $$frac{n(n-3)}{2}$$.
combinatorics geometry discrete-mathematics proof-verification combinations
combinatorics geometry discrete-mathematics proof-verification combinations
edited Dec 17 '18 at 4:53
asked Dec 10 '18 at 16:58
jayant98
476115
476115
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
You can use inclusion-exclusion principle. Let $A_1A_2...A_n$ be the $n$-gon. $A_1$ can connect with $n-1$ vertices, $A_2$ can connect with $n-2$ vertices (note connection with $A_1$ was already considered) and so on $A_{n-1}$ can connect with only $1$ vertex $A_n$. Hence:
$$(n-1)+(n-2)+cdots +1=frac{n(n-1)}{2}.$$
Now to find the number of diagonals, we must exclude the lines between the neighboring vertices, which is $n$:
$$frac{n(n-1)}{2}-n=frac{n(n-3)}{2},$$
which is pretty much the same as mlerma54's answer.
add a comment |
The number of line segments determined by $n$ points in the plane is $n$ choose 2, i.e., $binom{n}{2} = frac{n(n-1)}{2}$. But in a polygon, $n$ of those segments will be sides, so subtract it to get the number of diagonals: $frac{n(n-1)}{2} - n = frac{n(n-3)}{2}$.
add a comment |
The classic formula for the number of diagonals of an $n$ sided polygon is $frac {n(n-3)}2$ as you say. The way to see it is you have $n$ choices for the first end of a diagonal, then $n-3$ choices for the other end because you can't use the original vertex or a neighboring one, but have counted each diagonal twice so divide by $2$.
You can write your sum $$2(n-3)+(n-4)+(n-5)+ldots+1=2(n-3)+sum_{i=1}^{n-4}i\=2(n-3)+frac 12(n-4)(n-3)\=frac 12(n-3)(4+(n-4))\=frac 12n(n-3)$$
add a comment |
You can also use the Handshake Lemma from graph theory. Let $G(V,E)$ be a graph on $n$ vertices, where the vertices form a regular $n$-gon and the edges are the diagonals of the $n$-gon. Then, prove that each vertex of $G$ has degree $n-3$. By the Handshake Lemma, $G$ has
$$|E|=frac{1}{2},sum_{vin V},deg(v)=frac{1}{2},n,(n-3)=frac{n(n-3)}{2}$$ edges.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3034176%2freview-on-my-method-for-number-of-diagonals-in-a-regular-n-gon-is-frac%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use inclusion-exclusion principle. Let $A_1A_2...A_n$ be the $n$-gon. $A_1$ can connect with $n-1$ vertices, $A_2$ can connect with $n-2$ vertices (note connection with $A_1$ was already considered) and so on $A_{n-1}$ can connect with only $1$ vertex $A_n$. Hence:
$$(n-1)+(n-2)+cdots +1=frac{n(n-1)}{2}.$$
Now to find the number of diagonals, we must exclude the lines between the neighboring vertices, which is $n$:
$$frac{n(n-1)}{2}-n=frac{n(n-3)}{2},$$
which is pretty much the same as mlerma54's answer.
add a comment |
You can use inclusion-exclusion principle. Let $A_1A_2...A_n$ be the $n$-gon. $A_1$ can connect with $n-1$ vertices, $A_2$ can connect with $n-2$ vertices (note connection with $A_1$ was already considered) and so on $A_{n-1}$ can connect with only $1$ vertex $A_n$. Hence:
$$(n-1)+(n-2)+cdots +1=frac{n(n-1)}{2}.$$
Now to find the number of diagonals, we must exclude the lines between the neighboring vertices, which is $n$:
$$frac{n(n-1)}{2}-n=frac{n(n-3)}{2},$$
which is pretty much the same as mlerma54's answer.
add a comment |
You can use inclusion-exclusion principle. Let $A_1A_2...A_n$ be the $n$-gon. $A_1$ can connect with $n-1$ vertices, $A_2$ can connect with $n-2$ vertices (note connection with $A_1$ was already considered) and so on $A_{n-1}$ can connect with only $1$ vertex $A_n$. Hence:
$$(n-1)+(n-2)+cdots +1=frac{n(n-1)}{2}.$$
Now to find the number of diagonals, we must exclude the lines between the neighboring vertices, which is $n$:
$$frac{n(n-1)}{2}-n=frac{n(n-3)}{2},$$
which is pretty much the same as mlerma54's answer.
You can use inclusion-exclusion principle. Let $A_1A_2...A_n$ be the $n$-gon. $A_1$ can connect with $n-1$ vertices, $A_2$ can connect with $n-2$ vertices (note connection with $A_1$ was already considered) and so on $A_{n-1}$ can connect with only $1$ vertex $A_n$. Hence:
$$(n-1)+(n-2)+cdots +1=frac{n(n-1)}{2}.$$
Now to find the number of diagonals, we must exclude the lines between the neighboring vertices, which is $n$:
$$frac{n(n-1)}{2}-n=frac{n(n-3)}{2},$$
which is pretty much the same as mlerma54's answer.
answered Dec 10 '18 at 17:40
farruhota
19.4k2736
19.4k2736
add a comment |
add a comment |
The number of line segments determined by $n$ points in the plane is $n$ choose 2, i.e., $binom{n}{2} = frac{n(n-1)}{2}$. But in a polygon, $n$ of those segments will be sides, so subtract it to get the number of diagonals: $frac{n(n-1)}{2} - n = frac{n(n-3)}{2}$.
add a comment |
The number of line segments determined by $n$ points in the plane is $n$ choose 2, i.e., $binom{n}{2} = frac{n(n-1)}{2}$. But in a polygon, $n$ of those segments will be sides, so subtract it to get the number of diagonals: $frac{n(n-1)}{2} - n = frac{n(n-3)}{2}$.
add a comment |
The number of line segments determined by $n$ points in the plane is $n$ choose 2, i.e., $binom{n}{2} = frac{n(n-1)}{2}$. But in a polygon, $n$ of those segments will be sides, so subtract it to get the number of diagonals: $frac{n(n-1)}{2} - n = frac{n(n-3)}{2}$.
The number of line segments determined by $n$ points in the plane is $n$ choose 2, i.e., $binom{n}{2} = frac{n(n-1)}{2}$. But in a polygon, $n$ of those segments will be sides, so subtract it to get the number of diagonals: $frac{n(n-1)}{2} - n = frac{n(n-3)}{2}$.
answered Dec 10 '18 at 17:09
mlerma54
1,162138
1,162138
add a comment |
add a comment |
The classic formula for the number of diagonals of an $n$ sided polygon is $frac {n(n-3)}2$ as you say. The way to see it is you have $n$ choices for the first end of a diagonal, then $n-3$ choices for the other end because you can't use the original vertex or a neighboring one, but have counted each diagonal twice so divide by $2$.
You can write your sum $$2(n-3)+(n-4)+(n-5)+ldots+1=2(n-3)+sum_{i=1}^{n-4}i\=2(n-3)+frac 12(n-4)(n-3)\=frac 12(n-3)(4+(n-4))\=frac 12n(n-3)$$
add a comment |
The classic formula for the number of diagonals of an $n$ sided polygon is $frac {n(n-3)}2$ as you say. The way to see it is you have $n$ choices for the first end of a diagonal, then $n-3$ choices for the other end because you can't use the original vertex or a neighboring one, but have counted each diagonal twice so divide by $2$.
You can write your sum $$2(n-3)+(n-4)+(n-5)+ldots+1=2(n-3)+sum_{i=1}^{n-4}i\=2(n-3)+frac 12(n-4)(n-3)\=frac 12(n-3)(4+(n-4))\=frac 12n(n-3)$$
add a comment |
The classic formula for the number of diagonals of an $n$ sided polygon is $frac {n(n-3)}2$ as you say. The way to see it is you have $n$ choices for the first end of a diagonal, then $n-3$ choices for the other end because you can't use the original vertex or a neighboring one, but have counted each diagonal twice so divide by $2$.
You can write your sum $$2(n-3)+(n-4)+(n-5)+ldots+1=2(n-3)+sum_{i=1}^{n-4}i\=2(n-3)+frac 12(n-4)(n-3)\=frac 12(n-3)(4+(n-4))\=frac 12n(n-3)$$
The classic formula for the number of diagonals of an $n$ sided polygon is $frac {n(n-3)}2$ as you say. The way to see it is you have $n$ choices for the first end of a diagonal, then $n-3$ choices for the other end because you can't use the original vertex or a neighboring one, but have counted each diagonal twice so divide by $2$.
You can write your sum $$2(n-3)+(n-4)+(n-5)+ldots+1=2(n-3)+sum_{i=1}^{n-4}i\=2(n-3)+frac 12(n-4)(n-3)\=frac 12(n-3)(4+(n-4))\=frac 12n(n-3)$$
answered Dec 10 '18 at 17:08
Ross Millikan
292k23197371
292k23197371
add a comment |
add a comment |
You can also use the Handshake Lemma from graph theory. Let $G(V,E)$ be a graph on $n$ vertices, where the vertices form a regular $n$-gon and the edges are the diagonals of the $n$-gon. Then, prove that each vertex of $G$ has degree $n-3$. By the Handshake Lemma, $G$ has
$$|E|=frac{1}{2},sum_{vin V},deg(v)=frac{1}{2},n,(n-3)=frac{n(n-3)}{2}$$ edges.
add a comment |
You can also use the Handshake Lemma from graph theory. Let $G(V,E)$ be a graph on $n$ vertices, where the vertices form a regular $n$-gon and the edges are the diagonals of the $n$-gon. Then, prove that each vertex of $G$ has degree $n-3$. By the Handshake Lemma, $G$ has
$$|E|=frac{1}{2},sum_{vin V},deg(v)=frac{1}{2},n,(n-3)=frac{n(n-3)}{2}$$ edges.
add a comment |
You can also use the Handshake Lemma from graph theory. Let $G(V,E)$ be a graph on $n$ vertices, where the vertices form a regular $n$-gon and the edges are the diagonals of the $n$-gon. Then, prove that each vertex of $G$ has degree $n-3$. By the Handshake Lemma, $G$ has
$$|E|=frac{1}{2},sum_{vin V},deg(v)=frac{1}{2},n,(n-3)=frac{n(n-3)}{2}$$ edges.
You can also use the Handshake Lemma from graph theory. Let $G(V,E)$ be a graph on $n$ vertices, where the vertices form a regular $n$-gon and the edges are the diagonals of the $n$-gon. Then, prove that each vertex of $G$ has degree $n-3$. By the Handshake Lemma, $G$ has
$$|E|=frac{1}{2},sum_{vin V},deg(v)=frac{1}{2},n,(n-3)=frac{n(n-3)}{2}$$ edges.
edited Dec 11 '18 at 12:25
answered Dec 11 '18 at 12:01
Batominovski
33.8k33292
33.8k33292
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3034176%2freview-on-my-method-for-number-of-diagonals-in-a-regular-n-gon-is-frac%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown