Proof: Two Longest Paths Have a Common Vertex | Graph Theory, Connected Graphs

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 23

  • @AxlProg-re3dz
    @AxlProg-re3dz 7 місяців тому

    Using that last vertex of p and first vertex of q belonging to the path x from P to Q was EXACTLY the little push I needed to finish the demo and you explained it so simply! Thank you!

  • @PunmasterSTP
    @PunmasterSTP 6 місяців тому

    Two longest paths? More like "Terrific playlist, with educational value that's unmatched!" 👍

  • @hsuacria2265
    @hsuacria2265 Рік тому +2

    Could someone explain why can we assume that P and Q are equal in length?

    • @WrathofMath
      @WrathofMath  Рік тому +2

      If P is longer than Q (or vice versa), then Q isn't a longest path.

    • @hsuacria2265
      @hsuacria2265 5 місяців тому

      @@WrathofMath of course, thanks for the reply

  • @atanunayak6637
    @atanunayak6637 Рік тому +2

    Dude you are a cool teacher ❤

    • @WrathofMath
      @WrathofMath  Рік тому

      I do my best - thanks for watching!

  • @dpcwilliams7923
    @dpcwilliams7923 4 роки тому +1

    Very helpful! Thanks! From South Africa!

    • @WrathofMath
      @WrathofMath  4 роки тому

      You're very welcome, David! Thanks for watching!

  • @kumaran2232
    @kumaran2232 Рік тому

    Thank you so much sir

    • @WrathofMath
      @WrathofMath  Рік тому

      My pleasure - thanks for watching!

  • @lennynamolaru7919
    @lennynamolaru7919 4 роки тому

    Very helpful! Thanks !
    Why in the case of a directed graph weakly connected the two longest paths DONT have a common vertex ?

    • @WrathofMath
      @WrathofMath  4 роки тому +2

      Glad it was helpful! And that's a great question, I don't remember if I mentioned directed graphs in the lesson but I don't think I had really thought of how this result does/doesn't apply to them.
      We know immediately that our proof wouldn't work as is for directed graphs, since we discussed traveling in two different directions on a path - which may not be possible in a directed path unless all the edges involved have a similar edge in the opposite direction.
      We then might seek to find a counter example to the result for directed graphs - my first thought, since we're discussing paths, was to consider a path graph. Imagine an undirected path graph, where we can describe the graph as the path (a, b, c, d). So for our example the path has 4 vertices. Now imagine we orient this graph by assigning one direction to each edge, such that vertices alternate having 0 in degree, 0 out degree, 0 indegree, and so on if you wanted to use a longer path graph.
      By this, I mean that we orient the edges in this way: ab becomes (a, b); bc becomes (c, b); and cd becomes (c, d). Then, a has 0 in degree, b has 0 out degree, c has 0 indegree, and d has 0 out degree. Then, the longest directed paths in this graph all have length 1. We can go from a to b for a path of length 1, but since b has 0 out degree we know we cannot extend the path further. Similarly for the paths (c, b) and (c, d). In this case we can point out that (a, b) and (c, d) are both longest directed paths in the graph, and they do not share a common vertex.
      Hope that helps! And if you didn't follow my explanation, try drawing it out!

    • @lennynamolaru7919
      @lennynamolaru7919 4 роки тому +1

      @@WrathofMath Thank you very much for the detailed answer ! It helped me a lot !

  • @MrKingoverall
    @MrKingoverall 4 роки тому +2

    SUBBED.

  • @maha8980
    @maha8980 3 роки тому

    if G is a simple graph with d(v) ≥ k, ∀v ∈ v(G), then G contains a path of length at least k. if k ≥ 2, then g contains a cycle of length k +1.
    Can you explain this barbarity please?

  • @enes-kk6do
    @enes-kk6do 3 роки тому

    thank you

    • @WrathofMath
      @WrathofMath  3 роки тому

      My pleasure, thanks for watching!

  • @fk792
    @fk792 4 роки тому +1

    Anybody knows proof for 3 longest paths in conected graph have common vertex?

    • @bobek6155
      @bobek6155 4 роки тому +2

      The proof should be pretty much the same. Considering you got 3 paths of the same length, you just do it for any 2 of them and according to the proof in the video you get path X which is longer than any of the 3 longest paths previously mentioned. Therefore it also contradicts the 3rd path being the longest.

  • @amani95308
    @amani95308 Рік тому

    Wowww ❤️