How many edges a graph with 500 vertices and 19 components has? The 2019 Stack Overflow...
What is the meaning of the verb "bear" in this context?
Why isn't airport relocation done gradually?
Is there a symbol for a right arrow with a square in the middle?
Right tool to dig six foot holes?
Is an up-to-date browser secure on an out-of-date OS?
How to deal with fear of taking dependencies
A poker game description that does not feel gimmicky
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
Identify boardgame from Big movie
How to support a colleague who finds meetings extremely tiring?
What does ひと匙 mean in this manga and has it been used colloquially?
Why hard-Brexiteers don't insist on a hard border to prevent illegal immigration after Brexit?
Shouldn't "much" here be used instead of "more"?
How to type this arrow in math mode?
Is there any way to tell whether the shot is going to hit you or not?
Can a flute soloist sit?
How technical should a Scrum Master be to effectively remove impediments?
How to notate time signature switching consistently every measure
How come people say “Would of”?
Why didn't the Event Horizon Telescope team mention Sagittarius A*?
Multiply Two Integer Polynomials
What do hard-Brexiteers want with respect to the Irish border?
How to deal with speedster characters?
slides for 30min~1hr skype tenure track application interview
How many edges a graph with 500 vertices and 19 components has?
The 2019 Stack Overflow Developer Survey Results Are InIf a graph with $n$ vertices and $n$ edges there must a cycle?prove that a connected graph with $n$ vertices has at least $n-1$ edgesNumbers of ways $k - 1$ edges to be added to $k$ connected components to make the graph connectedMinimum and maximum number of edges graph with 25 vertices and 6 connected components can haveNumber of connected components in a graph with n vertices and n-k edgesHamiltonian graph and connected componentsA connected graph with n vertices has at least n-1 edgesThe simple graph with $n$ vertices and every vertex has at least 2 edgesProve that a graph on $n$ vertices with $c$ components has at least $n-c$ edges.Minimum number of cycles of a graph with $n$ vertices, $m$ edges and $c$ components.A simple connected graph on 100 vertices has 102 edges. Show that…
$begingroup$
$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?
discrete-mathematics graph-theory
$endgroup$
add a comment |
$begingroup$
$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?
discrete-mathematics graph-theory
$endgroup$
1
$begingroup$
See for example this answer
$endgroup$
– mrf
Mar 21 at 15:32
add a comment |
$begingroup$
$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?
discrete-mathematics graph-theory
$endgroup$
$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?
discrete-mathematics graph-theory
discrete-mathematics graph-theory
asked Mar 21 at 15:22
JackJack
1047
1047
1
$begingroup$
See for example this answer
$endgroup$
– mrf
Mar 21 at 15:32
add a comment |
1
$begingroup$
See for example this answer
$endgroup$
– mrf
Mar 21 at 15:32
1
1
$begingroup$
See for example this answer
$endgroup$
– mrf
Mar 21 at 15:32
$begingroup$
See for example this answer
$endgroup$
– mrf
Mar 21 at 15:32
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Each component is connected and does not contain circuits. Thus, each component is a tree. A tree with $n$ vertices has $n-1$ edges. Thus, the total number of edges is$$sum_{i=1}^{19}(n_i-1)=500-19=481$$where $n_i$ is the number of vertices in the $i^{th}$ component.
$endgroup$
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
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%2f3156954%2fhow-many-edges-a-graph-with-500-vertices-and-19-components-has%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$
Each component is connected and does not contain circuits. Thus, each component is a tree. A tree with $n$ vertices has $n-1$ edges. Thus, the total number of edges is$$sum_{i=1}^{19}(n_i-1)=500-19=481$$where $n_i$ is the number of vertices in the $i^{th}$ component.
$endgroup$
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
add a comment |
$begingroup$
Each component is connected and does not contain circuits. Thus, each component is a tree. A tree with $n$ vertices has $n-1$ edges. Thus, the total number of edges is$$sum_{i=1}^{19}(n_i-1)=500-19=481$$where $n_i$ is the number of vertices in the $i^{th}$ component.
$endgroup$
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
add a comment |
$begingroup$
Each component is connected and does not contain circuits. Thus, each component is a tree. A tree with $n$ vertices has $n-1$ edges. Thus, the total number of edges is$$sum_{i=1}^{19}(n_i-1)=500-19=481$$where $n_i$ is the number of vertices in the $i^{th}$ component.
$endgroup$
Each component is connected and does not contain circuits. Thus, each component is a tree. A tree with $n$ vertices has $n-1$ edges. Thus, the total number of edges is$$sum_{i=1}^{19}(n_i-1)=500-19=481$$where $n_i$ is the number of vertices in the $i^{th}$ component.
answered Mar 21 at 15:46
Shubham JohriShubham Johri
5,558818
5,558818
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
add a comment |
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
The step that I can not understand logically that led me to ask the question is the one that passes from the formula you wrote to 500-19...can you confirm that we need to assume that there are exactly 19 components so even if we don't know the number of vertices of each component they are generally 500 and since we subtract 1 at every iteration at the and we subtract 19 from the total number of vertices?
$endgroup$
– Jack
Mar 21 at 15:56
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
@Jack Yes, only the number of components matters. The $i^{th}$ component has $n_i$ vertices and $n_i-1$ edges, so you need to sum $n_i-1$ over all components. $500-19$ arises from the fact $sum(n_i-1)=sum n_i-sum1$.
$endgroup$
– Shubham Johri
Mar 21 at 16:02
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
$begingroup$
Thank you. All clear now
$endgroup$
– Jack
Mar 21 at 16:04
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%2f3156954%2fhow-many-edges-a-graph-with-500-vertices-and-19-components-has%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$
See for example this answer
$endgroup$
– mrf
Mar 21 at 15:32