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…












0












$begingroup$


$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    See for example this answer
    $endgroup$
    – mrf
    Mar 21 at 15:32
















0












$begingroup$


$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?










share|cite|improve this question









$endgroup$








  • 1




    $begingroup$
    See for example this answer
    $endgroup$
    – mrf
    Mar 21 at 15:32














0












0








0





$begingroup$


$G$ is a graph with no cycles, 500 vertices, and 19 connected components. How many edges it has?
any help/hint?










share|cite|improve this question









$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






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Mar 21 at 15:22









JackJack

1047




1047








  • 1




    $begingroup$
    See for example this answer
    $endgroup$
    – mrf
    Mar 21 at 15:32














  • 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










1 Answer
1






active

oldest

votes


















2












$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.






share|cite|improve this answer









$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












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
});


}
});














draft saved

draft discarded


















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









2












$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.






share|cite|improve this answer









$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
















2












$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.






share|cite|improve this answer









$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














2












2








2





$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.






share|cite|improve this answer









$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.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










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


















  • $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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Nidaros erkebispedøme

Birsay

Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?