Determine if a graph exists knowing the degree of its vertices
$begingroup$
Problem: There is a graph on ten vertices whose degrees are $9,8,8,8,6,5,4,4,2,2$
Answer: False.
My attempt: Since we know that $2 | E | = sum _ { v in V } d ( v )$, $$2cdot 28 = 9+8cdot3+6+5+4cdot2+2cdot2$$
Hence $| E | = 28$. Since we don't now more about the graph (it may not be a tree), how can I determine that such graph does not exist?
combinatorics discrete-mathematics graph-theory
$endgroup$
add a comment |
$begingroup$
Problem: There is a graph on ten vertices whose degrees are $9,8,8,8,6,5,4,4,2,2$
Answer: False.
My attempt: Since we know that $2 | E | = sum _ { v in V } d ( v )$, $$2cdot 28 = 9+8cdot3+6+5+4cdot2+2cdot2$$
Hence $| E | = 28$. Since we don't now more about the graph (it may not be a tree), how can I determine that such graph does not exist?
combinatorics discrete-mathematics graph-theory
$endgroup$
1
$begingroup$
Is that a simple graph?
$endgroup$
– greedoid
2 days ago
1
$begingroup$
@greedoid The professor didn't precise but since we only studied simple graph this semester I assume it is.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
$begingroup$
Problem: There is a graph on ten vertices whose degrees are $9,8,8,8,6,5,4,4,2,2$
Answer: False.
My attempt: Since we know that $2 | E | = sum _ { v in V } d ( v )$, $$2cdot 28 = 9+8cdot3+6+5+4cdot2+2cdot2$$
Hence $| E | = 28$. Since we don't now more about the graph (it may not be a tree), how can I determine that such graph does not exist?
combinatorics discrete-mathematics graph-theory
$endgroup$
Problem: There is a graph on ten vertices whose degrees are $9,8,8,8,6,5,4,4,2,2$
Answer: False.
My attempt: Since we know that $2 | E | = sum _ { v in V } d ( v )$, $$2cdot 28 = 9+8cdot3+6+5+4cdot2+2cdot2$$
Hence $| E | = 28$. Since we don't now more about the graph (it may not be a tree), how can I determine that such graph does not exist?
combinatorics discrete-mathematics graph-theory
combinatorics discrete-mathematics graph-theory
edited 2 days ago
greedoid
39.3k114797
39.3k114797
asked 2 days ago
NotAbelianGroupNotAbelianGroup
15511
15511
1
$begingroup$
Is that a simple graph?
$endgroup$
– greedoid
2 days ago
1
$begingroup$
@greedoid The professor didn't precise but since we only studied simple graph this semester I assume it is.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
1
$begingroup$
Is that a simple graph?
$endgroup$
– greedoid
2 days ago
1
$begingroup$
@greedoid The professor didn't precise but since we only studied simple graph this semester I assume it is.
$endgroup$
– NotAbelianGroup
2 days ago
1
1
$begingroup$
Is that a simple graph?
$endgroup$
– greedoid
2 days ago
$begingroup$
Is that a simple graph?
$endgroup$
– greedoid
2 days ago
1
1
$begingroup$
@greedoid The professor didn't precise but since we only studied simple graph this semester I assume it is.
$endgroup$
– NotAbelianGroup
2 days ago
$begingroup$
@greedoid The professor didn't precise but since we only studied simple graph this semester I assume it is.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Suppose it is simple and without loops.
If that one exist then if we delete node with degree $9$ and it edges, we would get a graph:
$$7,7,7,5,4,3,3,1,1$$
now if we delete node of degree $7$ and it edges we get
$$6,6,4,3,2,2,1,0;;;;{rm or} ;;;;geq 6,?,?,?,?,?,0,0$$
Second situation is impossible since at least one node of degree $0$ must be connected with first one with degree at least 6.
So suppose 1. situation is possible, then it is also: $$5,3,2,1,1,0$$
but this is actualy impossible (since at least one node of degree $0$ must be connected with first one with degree at least 5).
So such a graph does not exist.
$endgroup$
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
$begingroup$
The answer is FALSE.
We proceed with the Havel–Hakimi Theorem, which determines whether a degree sequence can represent a simple graph.
Applying this theorem, we note that the original degree sequence is graphical if and only if the degree sequence given by ${7, 7, 7, 5, 4, 3, 3, 2, 1}$ is graphical. We can keep on reiterating to get the following degree lists:
$${6, 6, 4, 3, 2, 2, 1, 0} rightarrow {5, 3, 2, 1, 1, 0, 0} rightarrow {2, 1, 0, 0, 0, -1}$$
But, the last degree list is clearly not graphical: it has an edge with a negative degree! So, the answer is false.
$endgroup$
2
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
1
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
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%2f3082125%2fdetermine-if-a-graph-exists-knowing-the-degree-of-its-vertices%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Suppose it is simple and without loops.
If that one exist then if we delete node with degree $9$ and it edges, we would get a graph:
$$7,7,7,5,4,3,3,1,1$$
now if we delete node of degree $7$ and it edges we get
$$6,6,4,3,2,2,1,0;;;;{rm or} ;;;;geq 6,?,?,?,?,?,0,0$$
Second situation is impossible since at least one node of degree $0$ must be connected with first one with degree at least 6.
So suppose 1. situation is possible, then it is also: $$5,3,2,1,1,0$$
but this is actualy impossible (since at least one node of degree $0$ must be connected with first one with degree at least 5).
So such a graph does not exist.
$endgroup$
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
$begingroup$
Suppose it is simple and without loops.
If that one exist then if we delete node with degree $9$ and it edges, we would get a graph:
$$7,7,7,5,4,3,3,1,1$$
now if we delete node of degree $7$ and it edges we get
$$6,6,4,3,2,2,1,0;;;;{rm or} ;;;;geq 6,?,?,?,?,?,0,0$$
Second situation is impossible since at least one node of degree $0$ must be connected with first one with degree at least 6.
So suppose 1. situation is possible, then it is also: $$5,3,2,1,1,0$$
but this is actualy impossible (since at least one node of degree $0$ must be connected with first one with degree at least 5).
So such a graph does not exist.
$endgroup$
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
$begingroup$
Suppose it is simple and without loops.
If that one exist then if we delete node with degree $9$ and it edges, we would get a graph:
$$7,7,7,5,4,3,3,1,1$$
now if we delete node of degree $7$ and it edges we get
$$6,6,4,3,2,2,1,0;;;;{rm or} ;;;;geq 6,?,?,?,?,?,0,0$$
Second situation is impossible since at least one node of degree $0$ must be connected with first one with degree at least 6.
So suppose 1. situation is possible, then it is also: $$5,3,2,1,1,0$$
but this is actualy impossible (since at least one node of degree $0$ must be connected with first one with degree at least 5).
So such a graph does not exist.
$endgroup$
Suppose it is simple and without loops.
If that one exist then if we delete node with degree $9$ and it edges, we would get a graph:
$$7,7,7,5,4,3,3,1,1$$
now if we delete node of degree $7$ and it edges we get
$$6,6,4,3,2,2,1,0;;;;{rm or} ;;;;geq 6,?,?,?,?,?,0,0$$
Second situation is impossible since at least one node of degree $0$ must be connected with first one with degree at least 6.
So suppose 1. situation is possible, then it is also: $$5,3,2,1,1,0$$
but this is actualy impossible (since at least one node of degree $0$ must be connected with first one with degree at least 5).
So such a graph does not exist.
edited 2 days ago
answered 2 days ago
greedoidgreedoid
39.3k114797
39.3k114797
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
$begingroup$
Perfect thank you very much.
$endgroup$
– NotAbelianGroup
2 days ago
add a comment |
$begingroup$
The answer is FALSE.
We proceed with the Havel–Hakimi Theorem, which determines whether a degree sequence can represent a simple graph.
Applying this theorem, we note that the original degree sequence is graphical if and only if the degree sequence given by ${7, 7, 7, 5, 4, 3, 3, 2, 1}$ is graphical. We can keep on reiterating to get the following degree lists:
$${6, 6, 4, 3, 2, 2, 1, 0} rightarrow {5, 3, 2, 1, 1, 0, 0} rightarrow {2, 1, 0, 0, 0, -1}$$
But, the last degree list is clearly not graphical: it has an edge with a negative degree! So, the answer is false.
$endgroup$
2
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
1
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
add a comment |
$begingroup$
The answer is FALSE.
We proceed with the Havel–Hakimi Theorem, which determines whether a degree sequence can represent a simple graph.
Applying this theorem, we note that the original degree sequence is graphical if and only if the degree sequence given by ${7, 7, 7, 5, 4, 3, 3, 2, 1}$ is graphical. We can keep on reiterating to get the following degree lists:
$${6, 6, 4, 3, 2, 2, 1, 0} rightarrow {5, 3, 2, 1, 1, 0, 0} rightarrow {2, 1, 0, 0, 0, -1}$$
But, the last degree list is clearly not graphical: it has an edge with a negative degree! So, the answer is false.
$endgroup$
2
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
1
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
add a comment |
$begingroup$
The answer is FALSE.
We proceed with the Havel–Hakimi Theorem, which determines whether a degree sequence can represent a simple graph.
Applying this theorem, we note that the original degree sequence is graphical if and only if the degree sequence given by ${7, 7, 7, 5, 4, 3, 3, 2, 1}$ is graphical. We can keep on reiterating to get the following degree lists:
$${6, 6, 4, 3, 2, 2, 1, 0} rightarrow {5, 3, 2, 1, 1, 0, 0} rightarrow {2, 1, 0, 0, 0, -1}$$
But, the last degree list is clearly not graphical: it has an edge with a negative degree! So, the answer is false.
$endgroup$
The answer is FALSE.
We proceed with the Havel–Hakimi Theorem, which determines whether a degree sequence can represent a simple graph.
Applying this theorem, we note that the original degree sequence is graphical if and only if the degree sequence given by ${7, 7, 7, 5, 4, 3, 3, 2, 1}$ is graphical. We can keep on reiterating to get the following degree lists:
$${6, 6, 4, 3, 2, 2, 1, 0} rightarrow {5, 3, 2, 1, 1, 0, 0} rightarrow {2, 1, 0, 0, 0, -1}$$
But, the last degree list is clearly not graphical: it has an edge with a negative degree! So, the answer is false.
edited 2 days ago
answered 2 days ago
Ekesh KumarEkesh Kumar
6146
6146
2
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
1
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
add a comment |
2
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
1
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
2
2
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
$begingroup$
Well, the given answer by the OP is "false" and thereby not false, :)
$endgroup$
– Hagen von Eitzen
2 days ago
1
1
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Are you sure you've applied the algorithm correctly (drop highest number $k$, subtract 1 from the next $k$ numbers, re-sort)? I get ${6,6,4,3,2,2,1,0}, {5,3,2,1,1,0,0}, {2,1,0,0,0,-1}$.
$endgroup$
– Paul Sinclair
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
$begingroup$
Oops, you are right. I just edited my post @PaulSinclair
$endgroup$
– Ekesh Kumar
2 days ago
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.
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%2f3082125%2fdetermine-if-a-graph-exists-knowing-the-degree-of-its-vertices%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
1
$begingroup$
Is that a simple graph?
$endgroup$
– greedoid
2 days ago
1
$begingroup$
@greedoid The professor didn't precise but since we only studied simple graph this semester I assume it is.
$endgroup$
– NotAbelianGroup
2 days ago