A cycle in an undirected graph
$begingroup$
A cycle is a simple path of length at least $1$ which begins and ends at the same vertex.
In an undirected graph, a cycle must be of length at least $3$.
Could you explain me why that stands??
discrete-mathematics graph-theory
$endgroup$
add a comment |
$begingroup$
A cycle is a simple path of length at least $1$ which begins and ends at the same vertex.
In an undirected graph, a cycle must be of length at least $3$.
Could you explain me why that stands??
discrete-mathematics graph-theory
$endgroup$
$begingroup$
You must be considering undirected simple graphs: Undirected graphs with no (self) loops or parallel edges.
$endgroup$
– user183763
Nov 19 '14 at 12:03
add a comment |
$begingroup$
A cycle is a simple path of length at least $1$ which begins and ends at the same vertex.
In an undirected graph, a cycle must be of length at least $3$.
Could you explain me why that stands??
discrete-mathematics graph-theory
$endgroup$
A cycle is a simple path of length at least $1$ which begins and ends at the same vertex.
In an undirected graph, a cycle must be of length at least $3$.
Could you explain me why that stands??
discrete-mathematics graph-theory
discrete-mathematics graph-theory
asked Nov 19 '14 at 11:48
Mary StarMary Star
3,02982268
3,02982268
$begingroup$
You must be considering undirected simple graphs: Undirected graphs with no (self) loops or parallel edges.
$endgroup$
– user183763
Nov 19 '14 at 12:03
add a comment |
$begingroup$
You must be considering undirected simple graphs: Undirected graphs with no (self) loops or parallel edges.
$endgroup$
– user183763
Nov 19 '14 at 12:03
$begingroup$
You must be considering undirected simple graphs: Undirected graphs with no (self) loops or parallel edges.
$endgroup$
– user183763
Nov 19 '14 at 12:03
$begingroup$
You must be considering undirected simple graphs: Undirected graphs with no (self) loops or parallel edges.
$endgroup$
– user183763
Nov 19 '14 at 12:03
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
In an undirected simple graph, there are no self loops (which are cycles of length 1) or parallel edges (which are cycles of length 2). Thus all cycles must be of length at least 3.
$endgroup$
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
2
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
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%2f1029073%2fa-cycle-in-an-undirected-graph%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
In an undirected simple graph, there are no self loops (which are cycles of length 1) or parallel edges (which are cycles of length 2). Thus all cycles must be of length at least 3.
$endgroup$
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
2
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
add a comment |
$begingroup$
In an undirected simple graph, there are no self loops (which are cycles of length 1) or parallel edges (which are cycles of length 2). Thus all cycles must be of length at least 3.
$endgroup$
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
2
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
add a comment |
$begingroup$
In an undirected simple graph, there are no self loops (which are cycles of length 1) or parallel edges (which are cycles of length 2). Thus all cycles must be of length at least 3.
$endgroup$
In an undirected simple graph, there are no self loops (which are cycles of length 1) or parallel edges (which are cycles of length 2). Thus all cycles must be of length at least 3.
answered Nov 19 '14 at 12:03
user183763
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
2
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
add a comment |
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
2
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
And a simple path can't use the same edge twice, so $A$-to-$B$-to-$A$ doesn't count as a cycle of length 2.
$endgroup$
– Gerry Myerson
Nov 19 '14 at 12:10
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
$begingroup$
A path is simple if all edges and all vertices on the path, except possibly the first and last vertices, are distinct, right?? Could you explain me further why in an undirected simple graph there is no self loops or parallel edges??
$endgroup$
– Mary Star
Nov 19 '14 at 12:13
2
2
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
$begingroup$
@MaryStar That is what "simple graph" means. Most people assume that when you say "graph" you really mean "simple graph". If parallel edges and self-loops are allowed, it would be called a "multigraph" instead.
$endgroup$
– Arthur
Nov 19 '14 at 12:16
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%2f1029073%2fa-cycle-in-an-undirected-graph%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
$begingroup$
You must be considering undirected simple graphs: Undirected graphs with no (self) loops or parallel edges.
$endgroup$
– user183763
Nov 19 '14 at 12:03