Graph with same number of edges and vertices is a loop?Graph Theory - How can I calculate the number of vertices and edges, if given this exampleCounting number of vertices given a graphProve that every connected undirected graph with n vertices has at least n-1 edges.Eulerian graph with odd/even vertices/edgesProve that every graph has two vertices that are endpoints of the same number of edgesNumber of vertices of a complete graph with $n$ edges40 Vertices And A Connected Graph, Minimum Number Of Edges?A directed complete graph with equal number of incoming and outgoing edgesvertices and edges on a cycleGraph Theory - Number of edges and vertices

PETG layer adhesion

Different circular sectors as new logo of the International System

When and what was the first 3D acceleration device ever released?

What is the difference between nullifying your vote and not going to vote at all?

Placing bypass capacitors after VCC reaches the IC

Should I disclose a colleague's illness (that I should not know about) when others badmouth him

Command to Search for Filenames Exceeding 143 Characters?

Why is this Simple Puzzle impossible to solve?

How did early x86 BIOS programmers manage to program full blown TUIs given very few bytes of ROM/EPROM?

What is the most important source of natural gas? coal, oil or other?

Were pen cap holes designed to prevent death by suffocation if swallowed?

Why does the 6502 have the BIT instruction?

Canon 70D often overexposing or underexposing shots

Full horizontal justification in table

When do characters level up?

Mother abusing my finances

Would the Geas spell work in a dead magic zone once you enter it?

Where is the logic in castrating fighters?

Ticket sales for Queen at the Live Aid

How to convert to standalone document a matrix table

At what point in European history could a government build a printing press given a basic description?

Is there a general effective method to solve Smullyan style Knights and Knaves problems? Is the truth table method the most appropriate one?

When did God say "let all the angels of God worship him" as stated in Hebrews 1:6?

How to capture more stars?



Graph with same number of edges and vertices is a loop?


Graph Theory - How can I calculate the number of vertices and edges, if given this exampleCounting number of vertices given a graphProve that every connected undirected graph with n vertices has at least n-1 edges.Eulerian graph with odd/even vertices/edgesProve that every graph has two vertices that are endpoints of the same number of edgesNumber of vertices of a complete graph with $n$ edges40 Vertices And A Connected Graph, Minimum Number Of Edges?A directed complete graph with equal number of incoming and outgoing edgesvertices and edges on a cycleGraph Theory - Number of edges and vertices













2












$begingroup$


Suppose I have a graph which has the same number of edges as the number of vertices, and suppose also that each vertex has at least two edges coming out of it. Does it follow by these conditions that it is a loop?










share|cite|improve this question









$endgroup$











  • $begingroup$
    Is the graph connected?
    $endgroup$
    – Fabio Somenzi
    8 hours ago















2












$begingroup$


Suppose I have a graph which has the same number of edges as the number of vertices, and suppose also that each vertex has at least two edges coming out of it. Does it follow by these conditions that it is a loop?










share|cite|improve this question









$endgroup$











  • $begingroup$
    Is the graph connected?
    $endgroup$
    – Fabio Somenzi
    8 hours ago













2












2








2





$begingroup$


Suppose I have a graph which has the same number of edges as the number of vertices, and suppose also that each vertex has at least two edges coming out of it. Does it follow by these conditions that it is a loop?










share|cite|improve this question









$endgroup$




Suppose I have a graph which has the same number of edges as the number of vertices, and suppose also that each vertex has at least two edges coming out of it. Does it follow by these conditions that it is a loop?







graph-theory






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 8 hours ago









Johnny T.Johnny T.

6091516




6091516











  • $begingroup$
    Is the graph connected?
    $endgroup$
    – Fabio Somenzi
    8 hours ago
















  • $begingroup$
    Is the graph connected?
    $endgroup$
    – Fabio Somenzi
    8 hours ago















$begingroup$
Is the graph connected?
$endgroup$
– Fabio Somenzi
8 hours ago




$begingroup$
Is the graph connected?
$endgroup$
– Fabio Somenzi
8 hours ago










2 Answers
2






active

oldest

votes


















6












$begingroup$

First, you mean cycle graph, not loop (which is an edge from a vertex to itself).



Second, the answer is "yes", but only if the graph is both finite and connected, and each vertex has exactly two edges coming out of it.



If the graph is not finite, the answer is "no" -- consider the integers, with each integer $n$ connected to both $n-1$ and $n+1$.



If the graph is not connected, the answer is "no", as the graph may be several disjoint cycles.



If a vertex has more than two edges coming out of it, then it need not be a cycle. For example, consider $K_4$, the complete graph on 4 vertices.



Note: if the graph is finite, and the number of vertices equals the number of edges, and each vertex has at least two edges incident to it, then each vertex must have exactly two edges incident to it, by an edge-counting argument.




Here is the edge-counting argument. Consider each edge as split into two half-edges. Each half-edge is incident to just one vertex, and two half-edges combine to form one edge. Now, suppose that each vertex has at least two edges incident to it. By way of contradiction, suppose that some vertex has more than two edges incident to it. Let's go from vertex to vertex counting how many half-edges it has. Each vertex has at least two, and some vertex has MORE than two, so the total number of half-edges is strictly greater than twice the number of vertices. Hence, the number of edges is strictly greater than the number of vertices. But we assumed that they were equal, so we have a contradiction.






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
    $endgroup$
    – Johnny T.
    8 hours ago


















2












$begingroup$

To add to vadim23's answer: It should also be noted that [relaxing away from the condition that every vertex has degree exactly 2] there are connected graphs with precisely the same number of edges as vertices, that is NOT a cycle.



Here is an example: Let $G$ be the graph on $1,2,3,4$ where the edges are $12,23,31,14$ i.e., a 3-cycle plus an additional edge between the 4th vertex and a vertex on the 3-cycle. [Note that $G$ has 4 edges, and 4 vertices. However, vertex 4 has degree 1 and vertex 1 has degree 3.]



Can you generalize this? Can you construct, for general $n$, a graph on $n$ vertices and $n$ edges that is not a cycle?






share|cite|improve this answer











$endgroup$













    Your Answer








    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%2f3240783%2fgraph-with-same-number-of-edges-and-vertices-is-a-loop%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









    6












    $begingroup$

    First, you mean cycle graph, not loop (which is an edge from a vertex to itself).



    Second, the answer is "yes", but only if the graph is both finite and connected, and each vertex has exactly two edges coming out of it.



    If the graph is not finite, the answer is "no" -- consider the integers, with each integer $n$ connected to both $n-1$ and $n+1$.



    If the graph is not connected, the answer is "no", as the graph may be several disjoint cycles.



    If a vertex has more than two edges coming out of it, then it need not be a cycle. For example, consider $K_4$, the complete graph on 4 vertices.



    Note: if the graph is finite, and the number of vertices equals the number of edges, and each vertex has at least two edges incident to it, then each vertex must have exactly two edges incident to it, by an edge-counting argument.




    Here is the edge-counting argument. Consider each edge as split into two half-edges. Each half-edge is incident to just one vertex, and two half-edges combine to form one edge. Now, suppose that each vertex has at least two edges incident to it. By way of contradiction, suppose that some vertex has more than two edges incident to it. Let's go from vertex to vertex counting how many half-edges it has. Each vertex has at least two, and some vertex has MORE than two, so the total number of half-edges is strictly greater than twice the number of vertices. Hence, the number of edges is strictly greater than the number of vertices. But we assumed that they were equal, so we have a contradiction.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
      $endgroup$
      – Johnny T.
      8 hours ago















    6












    $begingroup$

    First, you mean cycle graph, not loop (which is an edge from a vertex to itself).



    Second, the answer is "yes", but only if the graph is both finite and connected, and each vertex has exactly two edges coming out of it.



    If the graph is not finite, the answer is "no" -- consider the integers, with each integer $n$ connected to both $n-1$ and $n+1$.



    If the graph is not connected, the answer is "no", as the graph may be several disjoint cycles.



    If a vertex has more than two edges coming out of it, then it need not be a cycle. For example, consider $K_4$, the complete graph on 4 vertices.



    Note: if the graph is finite, and the number of vertices equals the number of edges, and each vertex has at least two edges incident to it, then each vertex must have exactly two edges incident to it, by an edge-counting argument.




    Here is the edge-counting argument. Consider each edge as split into two half-edges. Each half-edge is incident to just one vertex, and two half-edges combine to form one edge. Now, suppose that each vertex has at least two edges incident to it. By way of contradiction, suppose that some vertex has more than two edges incident to it. Let's go from vertex to vertex counting how many half-edges it has. Each vertex has at least two, and some vertex has MORE than two, so the total number of half-edges is strictly greater than twice the number of vertices. Hence, the number of edges is strictly greater than the number of vertices. But we assumed that they were equal, so we have a contradiction.






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
      $endgroup$
      – Johnny T.
      8 hours ago













    6












    6








    6





    $begingroup$

    First, you mean cycle graph, not loop (which is an edge from a vertex to itself).



    Second, the answer is "yes", but only if the graph is both finite and connected, and each vertex has exactly two edges coming out of it.



    If the graph is not finite, the answer is "no" -- consider the integers, with each integer $n$ connected to both $n-1$ and $n+1$.



    If the graph is not connected, the answer is "no", as the graph may be several disjoint cycles.



    If a vertex has more than two edges coming out of it, then it need not be a cycle. For example, consider $K_4$, the complete graph on 4 vertices.



    Note: if the graph is finite, and the number of vertices equals the number of edges, and each vertex has at least two edges incident to it, then each vertex must have exactly two edges incident to it, by an edge-counting argument.




    Here is the edge-counting argument. Consider each edge as split into two half-edges. Each half-edge is incident to just one vertex, and two half-edges combine to form one edge. Now, suppose that each vertex has at least two edges incident to it. By way of contradiction, suppose that some vertex has more than two edges incident to it. Let's go from vertex to vertex counting how many half-edges it has. Each vertex has at least two, and some vertex has MORE than two, so the total number of half-edges is strictly greater than twice the number of vertices. Hence, the number of edges is strictly greater than the number of vertices. But we assumed that they were equal, so we have a contradiction.






    share|cite|improve this answer











    $endgroup$



    First, you mean cycle graph, not loop (which is an edge from a vertex to itself).



    Second, the answer is "yes", but only if the graph is both finite and connected, and each vertex has exactly two edges coming out of it.



    If the graph is not finite, the answer is "no" -- consider the integers, with each integer $n$ connected to both $n-1$ and $n+1$.



    If the graph is not connected, the answer is "no", as the graph may be several disjoint cycles.



    If a vertex has more than two edges coming out of it, then it need not be a cycle. For example, consider $K_4$, the complete graph on 4 vertices.



    Note: if the graph is finite, and the number of vertices equals the number of edges, and each vertex has at least two edges incident to it, then each vertex must have exactly two edges incident to it, by an edge-counting argument.




    Here is the edge-counting argument. Consider each edge as split into two half-edges. Each half-edge is incident to just one vertex, and two half-edges combine to form one edge. Now, suppose that each vertex has at least two edges incident to it. By way of contradiction, suppose that some vertex has more than two edges incident to it. Let's go from vertex to vertex counting how many half-edges it has. Each vertex has at least two, and some vertex has MORE than two, so the total number of half-edges is strictly greater than twice the number of vertices. Hence, the number of edges is strictly greater than the number of vertices. But we assumed that they were equal, so we have a contradiction.







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited 5 hours ago

























    answered 8 hours ago









    vadim123vadim123

    76.9k899193




    76.9k899193











    • $begingroup$
      Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
      $endgroup$
      – Johnny T.
      8 hours ago
















    • $begingroup$
      Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
      $endgroup$
      – Johnny T.
      8 hours ago















    $begingroup$
    Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
    $endgroup$
    – Johnny T.
    8 hours ago




    $begingroup$
    Could you possibly elaborate on the edge-counting argument part? I would like to know how I can deduce this. Thank you.
    $endgroup$
    – Johnny T.
    8 hours ago











    2












    $begingroup$

    To add to vadim23's answer: It should also be noted that [relaxing away from the condition that every vertex has degree exactly 2] there are connected graphs with precisely the same number of edges as vertices, that is NOT a cycle.



    Here is an example: Let $G$ be the graph on $1,2,3,4$ where the edges are $12,23,31,14$ i.e., a 3-cycle plus an additional edge between the 4th vertex and a vertex on the 3-cycle. [Note that $G$ has 4 edges, and 4 vertices. However, vertex 4 has degree 1 and vertex 1 has degree 3.]



    Can you generalize this? Can you construct, for general $n$, a graph on $n$ vertices and $n$ edges that is not a cycle?






    share|cite|improve this answer











    $endgroup$

















      2












      $begingroup$

      To add to vadim23's answer: It should also be noted that [relaxing away from the condition that every vertex has degree exactly 2] there are connected graphs with precisely the same number of edges as vertices, that is NOT a cycle.



      Here is an example: Let $G$ be the graph on $1,2,3,4$ where the edges are $12,23,31,14$ i.e., a 3-cycle plus an additional edge between the 4th vertex and a vertex on the 3-cycle. [Note that $G$ has 4 edges, and 4 vertices. However, vertex 4 has degree 1 and vertex 1 has degree 3.]



      Can you generalize this? Can you construct, for general $n$, a graph on $n$ vertices and $n$ edges that is not a cycle?






      share|cite|improve this answer











      $endgroup$















        2












        2








        2





        $begingroup$

        To add to vadim23's answer: It should also be noted that [relaxing away from the condition that every vertex has degree exactly 2] there are connected graphs with precisely the same number of edges as vertices, that is NOT a cycle.



        Here is an example: Let $G$ be the graph on $1,2,3,4$ where the edges are $12,23,31,14$ i.e., a 3-cycle plus an additional edge between the 4th vertex and a vertex on the 3-cycle. [Note that $G$ has 4 edges, and 4 vertices. However, vertex 4 has degree 1 and vertex 1 has degree 3.]



        Can you generalize this? Can you construct, for general $n$, a graph on $n$ vertices and $n$ edges that is not a cycle?






        share|cite|improve this answer











        $endgroup$



        To add to vadim23's answer: It should also be noted that [relaxing away from the condition that every vertex has degree exactly 2] there are connected graphs with precisely the same number of edges as vertices, that is NOT a cycle.



        Here is an example: Let $G$ be the graph on $1,2,3,4$ where the edges are $12,23,31,14$ i.e., a 3-cycle plus an additional edge between the 4th vertex and a vertex on the 3-cycle. [Note that $G$ has 4 edges, and 4 vertices. However, vertex 4 has degree 1 and vertex 1 has degree 3.]



        Can you generalize this? Can you construct, for general $n$, a graph on $n$ vertices and $n$ edges that is not a cycle?







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited 8 hours ago

























        answered 8 hours ago









        MikeMike

        5,471614




        5,471614



























            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%2f3240783%2fgraph-with-same-number-of-edges-and-vertices-is-a-loop%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

            Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

            Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

            Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її