Prove that a sum of degrees in a path between two vertices is smaller than $3n$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
6
down vote

favorite
1












Let $G$ be a simple graph with $n$ vertices. Let $P$ be the shortest path between any two vertices. Prove that: $$sum_vin Pdeg(v)leq 3n$$



Let the sum of degrees be bigger than $3n$. If so, there is a vertex on a path that has degree bigger than $frac3np$, where $p$ is the size of a path. And we know that a vertex in a path can't have more than $2$ neighbors on a path, so its degree is smaller or equal $n-p+2$. Unfortunately those two don't make contradiction.



I think at least two non adjacent vertices (with $dist(x,y)>2$) on a path should have a common neighbor outside the path. This would make a contradiction with the path being the shortest. But I don't know how to show that.










share|cite|improve this question



















  • 2




    What have you done to think about this problem? Have you tried anything? Worked out any examples? Etc.?
    – 4-ier
    Aug 30 at 8:00










  • I tried to make a proof by contradiction. So... let the sum of degrees be bigger than 3n. If so, there is a vertex on a path that has degree bigger than 3n/p, where p is the size of a path. And we know that a vertex in a path can't have more than 2 neighboors on a path, so its degree is smaller than n-p+2. Unfortunately those two didn't make contradiction.
    – Gaha
    Aug 30 at 8:09










  • @Gaha: include your attempt in the original post
    – Berci
    Aug 30 at 8:18














up vote
6
down vote

favorite
1












Let $G$ be a simple graph with $n$ vertices. Let $P$ be the shortest path between any two vertices. Prove that: $$sum_vin Pdeg(v)leq 3n$$



Let the sum of degrees be bigger than $3n$. If so, there is a vertex on a path that has degree bigger than $frac3np$, where $p$ is the size of a path. And we know that a vertex in a path can't have more than $2$ neighbors on a path, so its degree is smaller or equal $n-p+2$. Unfortunately those two don't make contradiction.



I think at least two non adjacent vertices (with $dist(x,y)>2$) on a path should have a common neighbor outside the path. This would make a contradiction with the path being the shortest. But I don't know how to show that.










share|cite|improve this question



















  • 2




    What have you done to think about this problem? Have you tried anything? Worked out any examples? Etc.?
    – 4-ier
    Aug 30 at 8:00










  • I tried to make a proof by contradiction. So... let the sum of degrees be bigger than 3n. If so, there is a vertex on a path that has degree bigger than 3n/p, where p is the size of a path. And we know that a vertex in a path can't have more than 2 neighboors on a path, so its degree is smaller than n-p+2. Unfortunately those two didn't make contradiction.
    – Gaha
    Aug 30 at 8:09










  • @Gaha: include your attempt in the original post
    – Berci
    Aug 30 at 8:18












up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





Let $G$ be a simple graph with $n$ vertices. Let $P$ be the shortest path between any two vertices. Prove that: $$sum_vin Pdeg(v)leq 3n$$



Let the sum of degrees be bigger than $3n$. If so, there is a vertex on a path that has degree bigger than $frac3np$, where $p$ is the size of a path. And we know that a vertex in a path can't have more than $2$ neighbors on a path, so its degree is smaller or equal $n-p+2$. Unfortunately those two don't make contradiction.



I think at least two non adjacent vertices (with $dist(x,y)>2$) on a path should have a common neighbor outside the path. This would make a contradiction with the path being the shortest. But I don't know how to show that.










share|cite|improve this question















Let $G$ be a simple graph with $n$ vertices. Let $P$ be the shortest path between any two vertices. Prove that: $$sum_vin Pdeg(v)leq 3n$$



Let the sum of degrees be bigger than $3n$. If so, there is a vertex on a path that has degree bigger than $frac3np$, where $p$ is the size of a path. And we know that a vertex in a path can't have more than $2$ neighbors on a path, so its degree is smaller or equal $n-p+2$. Unfortunately those two don't make contradiction.



I think at least two non adjacent vertices (with $dist(x,y)>2$) on a path should have a common neighbor outside the path. This would make a contradiction with the path being the shortest. But I don't know how to show that.







graph-theory






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 30 at 9:03









greedoid

28k93776




28k93776










asked Aug 30 at 7:59









Gaha

487




487







  • 2




    What have you done to think about this problem? Have you tried anything? Worked out any examples? Etc.?
    – 4-ier
    Aug 30 at 8:00










  • I tried to make a proof by contradiction. So... let the sum of degrees be bigger than 3n. If so, there is a vertex on a path that has degree bigger than 3n/p, where p is the size of a path. And we know that a vertex in a path can't have more than 2 neighboors on a path, so its degree is smaller than n-p+2. Unfortunately those two didn't make contradiction.
    – Gaha
    Aug 30 at 8:09










  • @Gaha: include your attempt in the original post
    – Berci
    Aug 30 at 8:18












  • 2




    What have you done to think about this problem? Have you tried anything? Worked out any examples? Etc.?
    – 4-ier
    Aug 30 at 8:00










  • I tried to make a proof by contradiction. So... let the sum of degrees be bigger than 3n. If so, there is a vertex on a path that has degree bigger than 3n/p, where p is the size of a path. And we know that a vertex in a path can't have more than 2 neighboors on a path, so its degree is smaller than n-p+2. Unfortunately those two didn't make contradiction.
    – Gaha
    Aug 30 at 8:09










  • @Gaha: include your attempt in the original post
    – Berci
    Aug 30 at 8:18







2




2




What have you done to think about this problem? Have you tried anything? Worked out any examples? Etc.?
– 4-ier
Aug 30 at 8:00




What have you done to think about this problem? Have you tried anything? Worked out any examples? Etc.?
– 4-ier
Aug 30 at 8:00












I tried to make a proof by contradiction. So... let the sum of degrees be bigger than 3n. If so, there is a vertex on a path that has degree bigger than 3n/p, where p is the size of a path. And we know that a vertex in a path can't have more than 2 neighboors on a path, so its degree is smaller than n-p+2. Unfortunately those two didn't make contradiction.
– Gaha
Aug 30 at 8:09




I tried to make a proof by contradiction. So... let the sum of degrees be bigger than 3n. If so, there is a vertex on a path that has degree bigger than 3n/p, where p is the size of a path. And we know that a vertex in a path can't have more than 2 neighboors on a path, so its degree is smaller than n-p+2. Unfortunately those two didn't make contradiction.
– Gaha
Aug 30 at 8:09












@Gaha: include your attempt in the original post
– Berci
Aug 30 at 8:18




@Gaha: include your attempt in the original post
– Berci
Aug 30 at 8:18










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Hint: Consider a vertex $v notin P$, at most how many vertices in $P$ that are adjacent to $v$? From that, in $sum_u in Pdeg u$, at most how many times a vertex $v notin P$ (or $v in P$) is counted?






share|cite|improve this answer



























    up vote
    1
    down vote













    Hint. Let $v_0,v_1,v_2,dots,v_n$ be a path of minimum length from $v_0$ to $v_n.$ Can you show that $deg v_0+deg v_3+deg v_6+cdots+deg v_lfloor n/3rfloorle n?$






    share|cite|improve this answer




















      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',
      convertImagesToLinks: true,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      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%2f2899253%2fprove-that-a-sum-of-degrees-in-a-path-between-two-vertices-is-smaller-than-3n%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote



      accepted










      Hint: Consider a vertex $v notin P$, at most how many vertices in $P$ that are adjacent to $v$? From that, in $sum_u in Pdeg u$, at most how many times a vertex $v notin P$ (or $v in P$) is counted?






      share|cite|improve this answer
























        up vote
        1
        down vote



        accepted










        Hint: Consider a vertex $v notin P$, at most how many vertices in $P$ that are adjacent to $v$? From that, in $sum_u in Pdeg u$, at most how many times a vertex $v notin P$ (or $v in P$) is counted?






        share|cite|improve this answer






















          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Hint: Consider a vertex $v notin P$, at most how many vertices in $P$ that are adjacent to $v$? From that, in $sum_u in Pdeg u$, at most how many times a vertex $v notin P$ (or $v in P$) is counted?






          share|cite|improve this answer












          Hint: Consider a vertex $v notin P$, at most how many vertices in $P$ that are adjacent to $v$? From that, in $sum_u in Pdeg u$, at most how many times a vertex $v notin P$ (or $v in P$) is counted?







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 30 at 9:03









          Tengu

          2,4791920




          2,4791920




















              up vote
              1
              down vote













              Hint. Let $v_0,v_1,v_2,dots,v_n$ be a path of minimum length from $v_0$ to $v_n.$ Can you show that $deg v_0+deg v_3+deg v_6+cdots+deg v_lfloor n/3rfloorle n?$






              share|cite|improve this answer
























                up vote
                1
                down vote













                Hint. Let $v_0,v_1,v_2,dots,v_n$ be a path of minimum length from $v_0$ to $v_n.$ Can you show that $deg v_0+deg v_3+deg v_6+cdots+deg v_lfloor n/3rfloorle n?$






                share|cite|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  Hint. Let $v_0,v_1,v_2,dots,v_n$ be a path of minimum length from $v_0$ to $v_n.$ Can you show that $deg v_0+deg v_3+deg v_6+cdots+deg v_lfloor n/3rfloorle n?$






                  share|cite|improve this answer












                  Hint. Let $v_0,v_1,v_2,dots,v_n$ be a path of minimum length from $v_0$ to $v_n.$ Can you show that $deg v_0+deg v_3+deg v_6+cdots+deg v_lfloor n/3rfloorle n?$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Aug 30 at 9:11









                  bof

                  46.7k349113




                  46.7k349113



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2899253%2fprove-that-a-sum-of-degrees-in-a-path-between-two-vertices-is-smaller-than-3n%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      這個網誌中的熱門文章

                      How to combine Bézier curves to a surface?

                      Mutual Information Always Non-negative

                      Why am i infinitely getting the same tweet with the Twitter Search API?