INTRODUCTION to GRAPH THEORY - DISCRETE MATHEMATICS

Sdílet
Vložit
  • čas přidán 9. 05. 2024
  • We introduce a bunch of terms in graph theory like edge, vertex, trail, walk, and path.
    #DiscreteMath #Mathematics #GraphTheory
    Support me on Patreon: bit.ly/2EUdAl3
    Visit our website: bit.ly/1zBPlvm
    Subscribe on CZcams: bit.ly/1vWiRxW
    -Playlists-
    Discrete Mathematics 1: • Discrete Math (Sets, L...
    Discrete Mathematics 2: • Discrete Math (Countin...
    -Recommended Textbooks-
    Discrete and Combinatorial Mathematics (Grimaldi): amzn.to/2T0iC53
    Discrete Mathematics (Johnsonbaugh): amzn.to/2Hh7H41
    Discrete Mathematics and Its Applications (Rosen): amzn.to/3lUgrMI
    Book of Proof (Hammack): amzn.to/35eEbVgLike us on Facebook: on. 1vWwDRc
    Submit your questions on Reddit: bit.ly/1GwZZrP
    Introduction to Graph Theory. We cover a lot of definitions today, specifically walks, closed walks, paths, cycles, trails, circuits, adjacency, incidence, isolated vertices, and more.
    Hello, welcome to TheTrevTutor. I'm here to help you learn your college courses in an easy, efficient manner. If you like what you see, feel free to subscribe and follow me for updates. If you have any questions, leave them below. I try to answer as many questions as possible. If something isn't quite clear or needs more explanation, I can easily make additional videos to satisfy your need for knowledge and understanding.

Komentáře • 225

  • @anisivaram9617
    @anisivaram9617 Před 3 lety +274

    I am seeing this video after 5 years (2021) . For my semister exams, you explained very clearly . Thank you man

  • @hats5864
    @hats5864 Před 4 lety +55

    You saved me last year with your tutorials, now it repeats, I was so happy when I saw that you have a course for Graph Theory too. Love you man

  • @bestyoueverhad.2408
    @bestyoueverhad.2408 Před 2 lety +27

    On my final stretch with discrete maths. Thank you sir. for all you have done, God bles!

  • @tolulopevictor4546
    @tolulopevictor4546 Před 4 lety +11

    I'm about to write an online test for a bootcamp, i hope this explains everything i need. But your tutorials so far has been comprehensive especially on Induction

  • @vitalispurity9598
    @vitalispurity9598 Před 5 lety +20

    In just few minutes and I understand this better than my maths teacher..thank you

  • @beccalynn2301
    @beccalynn2301 Před 6 lety +4

    This video saved my butt. I cannot say enough good things about it. I have been staring at my textbook for 3 hours and I didn’t understand most of it. This video made all the difference in the world.

  • @giridharkrcomputerscience2848

    I watched these video's after six years . You tought in a very understandable manner thank you so much.

  • @kanchapagimhara3163
    @kanchapagimhara3163 Před 4 lety +1

    one of the best tutorial I have ever watched on youtube

  • @burakaltas668
    @burakaltas668 Před 8 lety +6

    Everything is perfectly defined.. Thank you so much! Subscribed :D

  • @jackmenirons4989
    @jackmenirons4989 Před 3 lety +51

    Case 1: If there is a minimal walk from x to y with no repeated vertices, then it is a path by definition. We are given that w is an element of an x,y walk. Since there are no repeated vertices in this walk, x,y is also an element of the x-y path.
    Case 2: If there is a walk with repeated vertices, then that walk is not the shortest path (minimal walk) between that x,y pair. We can begin the walk at the repeated vertex to get a shorter walk since that walk will sill include the x,y pair as the start and end points. Then we end up with a walk with no repeated vertices and can apply Case 1.

  • @aayub
    @aayub Před 7 lety +24

    beautifully explained!

  • @proggenius2024
    @proggenius2024 Před rokem +1

    Thank you man. You are such a brilliant teacher!

  • @kattarekha3786
    @kattarekha3786 Před 3 lety +3

    Thank you so much you explained perfectly... I understood it ❤ You helped me a lot

  • @iLeaveYouWithHugs
    @iLeaveYouWithHugs Před 8 lety +3

    Thank you so much for these!

  • @kaizen1496
    @kaizen1496 Před rokem +18

    6:38 Walk
    10:09 Trail & Circuit
    13:23 Path & Cycle
    24:27

  • @desireechamplin7255
    @desireechamplin7255 Před rokem

    Im getting ready to start descrete mathematics next tuesday for university and your videos are very helpful.

  • @prencesschricelgaray8011
    @prencesschricelgaray8011 Před 4 lety +1

    Thank you so much. This is very helpful.😊❤️

  • @alizesavim5688
    @alizesavim5688 Před 3 lety +2

    watching this 6 years later in 2021 and you still saved me with this video. i didnt understand anything when my teacher explained. thank you so much...

    • @alizesavim5688
      @alizesavim5688 Před 2 lety

      lol i totally forgot that i watched this video and now im retaking this course and watching your video again.

  • @quirkyquester
    @quirkyquester Před 6 lety +1

    This is sooo great ! Thank you so much!!!

  • @xiaoraven2885
    @xiaoraven2885 Před 4 lety +6

    Thanks man , read Lecture notes and bamboozled myself . But this helped

  • @Abohafsah
    @Abohafsah Před 4 lety +1

    Thank you so much trevor, You have just unload a big burden off my shoulder. As i saw the first ten minutes i subscribed it. I will have along way with you from now on...
    There still one question that really i cant get the idea on how to solve,
    The questions says:
    In every directed complete graph, prove that the sums of the squares of the in-degrees (overall vertices) is equal to the sum of the squares of the out-degrees (over all vertices).

  • @haukwantung9832
    @haukwantung9832 Před 6 lety +7

    This is quoted from my college's lecture notes: " A cycle (or circuit) is a path of nonzero length from v to v with no repeated edges." (It says cycle and circuit share the same meaning if I don't interpret wrongly.) But from your video, this is the definition of circuit ONLY. (For cycle, it should be with no repeated VERTICES). So, can I treat these two terms as the same or not? Thanks! :) By the way, your videos can really help me catch up all the things I can't understand in the lesson. Really great! :)

  • @nazifataha8868
    @nazifataha8868 Před 4 lety +1

    you are absolutely amazing ! Thank you

  • @themaps7166
    @themaps7166 Před 5 lety

    Very helpful,thank you sir !

  • @evanknowles4780
    @evanknowles4780 Před 3 lety +20

    If you have a repeated vertex vi, you may modify the walk by connecting the first edge touching vi with the last one. If this changes the walk then it becomes a shorter walk. If this does not modify the walk, then the first edge is the same as the last one. We can thus make the walk shorter by removing that edge.

  • @sperera5916
    @sperera5916 Před 7 lety +1

    You are really great! I understand things clearly. I have subscribed you.

  • @sperera5916
    @sperera5916 Před 7 lety +486

    8 isolated vertices disliked this video.

  • @cybervigilante
    @cybervigilante Před 3 lety

    Can you increase the number of possible trails by starting at a different vertex, or does the number always remain the same? I think it's the latter, but I don't have a proof.

  • @youngee9403
    @youngee9403 Před 6 lety

    You sir are a life saver

  • @levyax1964
    @levyax1964 Před 8 měsíci

    For reviewing purpose, and got an A in direcrete math. Thank you so much!

  • @reemhesham5918
    @reemhesham5918 Před 3 lety

    this video helped me so much... thank youu

  • @FarizDarari
    @FarizDarari Před rokem +1

    Simply awesome, thanks!

  • @AbhishekTiwarics
    @AbhishekTiwarics Před 8 lety +4

    For the question asked for all walk there exists a path.....
    for i) point i.e. no repeated vertex then the walk is already a path
    for ii) when we get a vertex again we delete all vertex from the walk since the vertex was first discovered as from a vertex x->x the x itself is the minimal walk and addition of any edge to traverse same vertex will increase the walk length (contradiction as we are talking about minimal walk) ....thus we get a path for every walk(no vertex repeated)
    is above explanation correct...??
    and your videos are really great...:) thank you

  • @mitaanshuagarwal007
    @mitaanshuagarwal007 Před 8 lety

    In the example you solved in the end since we have to prove for a simple graph 2e

  • @moayyadarz2965
    @moayyadarz2965 Před 4 lety

    thank you .. it is a bery good way of explaining such of complex concepts in very simple way

    • @moayyadarz2965
      @moayyadarz2965 Před 4 lety

      but I have a question about the terms what do you exactly mean by saying ********(v choose 2)=(v .(v-1 ) / 2! )
      so my question how do you solve in this way what is the rule that controls the way
      thanks in advanced

  • @kama8213
    @kama8213 Před 4 lety

    Holy shiiiit, maximum thanks to this person!

  • @NewtonCazzaro
    @NewtonCazzaro Před 8 lety +49

    Thank you so much! I wish my professor was clear and direct like you are, but unfortunately he stutters and has a thick accent from Russia. I can't understand him and I am taking this class again (with him because he is the only one teaching it in Las Vegas) and I will need you to learn discrete math.....

    • @Trevtutor
      @Trevtutor  Před 8 lety +24

      +Newton Cazzaro (Brazilian Channel) Accents are just one of the many challenges you must overcome to learn math. I wish I were joking :(

    • @darkdudironaji
      @darkdudironaji Před 4 lety

      I feel you. I'm actually at UNLV right now struggling with this class. Part of it has to do with the Korean accent of my prof.
      Hope these videos helped you enough to get you a passing grade, cause I really need it!

    • @ana-mariagarlau798
      @ana-mariagarlau798 Před 3 lety

      @@darkdudironaji my math prof is native speaker. his issue: he hates his students. he literally sighs once every 2 sentences 🤦‍♀️, it s so depressing

  • @jeandanielyannickchloe8149

    Is there any book (pdf) i can used to work some exercise on graph please?

  • @souritraghosh1054
    @souritraghosh1054 Před 3 lety

    Thank you sir.... Hopefully I will take a good exam tomorrow.

  • @ensaruslu409
    @ensaruslu409 Před 6 lety +1

    really really thx man. u saved my life :D

  • @adristimaulidafauzi4418
    @adristimaulidafauzi4418 Před 3 lety +12

    this literally better than 2 hours wasting my time in class and learn nothing

  • @userDarkForce
    @userDarkForce Před 2 lety +1

    I am watching this today and tomorrow, is my exam

  • @markkennedy9767
    @markkennedy9767 Před 2 lety

    At 18:50 how do loops affect connectivity. If you go between say a and a, is this a path since a is used twice (so a is not connected to itself? Or do we accept cycles (closed paths) here as ways of connecting a to a). Or do we only take paths between vertices where x!=y to deal with this.

  • @withtechguy7552
    @withtechguy7552 Před 3 lety

    Very well explained sir..

  • @LilJollyJoker
    @LilJollyJoker Před 12 dny +1

    Amazing!

  • @mengzhuwang7233
    @mengzhuwang7233 Před 3 lety

    hi for the proof question , if the walk has repeated vertex , it can simply skip the walk around that traingle and get out directly; so clearly there is a shorter walk than the one with repeated vertex. In this case, it contradicts the assumption in saying that w is the shortest walk. Hence, The minimal walk can be path ( no repeated vertex) and thereby , 'there exist x-y path' can be thus proven. Is my thought correct? Thank you!

  • @aspkaushik
    @aspkaushik Před 8 lety

    AWESOME!!!!! well done man. Terse and neat

  • @DanielAlmeida499
    @DanielAlmeida499 Před 3 lety

    great video, thank you!

  • @hchen31
    @hchen31 Před rokem

    Does path have to be the shortest walk? 26:28 Can path be: b -> a -> c -> d (no repeated vertices, but not the shortest walk)? Thank you!

  • @RepeaterCreeper
    @RepeaterCreeper Před 3 lety

    What software is that for drawing? Seems a little more convenient than SmoothDraw

  • @EDROCKSWOO
    @EDROCKSWOO Před 6 lety

    What does it mean for a vertex to have five neighbors. If i draw a vertex with five edges connecting with five other vertices, are those considered neighbors? Also, when I draw five neighborhoods does that satisfy condition two of this problem?
    Draw a graph that has
    2) at least three vertices that are all adjacent to each other, and
    3) a vertex with five neighbors.

  • @NPOCrushader
    @NPOCrushader Před 3 lety +1

    Told my classmates about your channel, and these videos will help us immensely!!

  • @lyn8964
    @lyn8964 Před 2 lety

    thank you very much, from a german uni student :)

  • @ritikyadav3470
    @ritikyadav3470 Před 3 lety

    I understand whole thing clearly .
    Niceeeee......... :)

  • @XDGamingShow
    @XDGamingShow Před 2 lety

    In the first example of the trail, is it acceptible to say that a -> a is just a? Thanks a lot

  • @mariachiinajar
    @mariachiinajar Před 3 lety

    que pasión! crazy mathemagician! ❤️❤️❤️

  • @anchanakrishnangp2086
    @anchanakrishnangp2086 Před 2 lety

    Thank you sir
    Thanks a lot

  • @killssingasuka7819
    @killssingasuka7819 Před 5 lety +1

    For all vertices there is an edge. If there was a single vertex there would be no edge and therefore no graph. This continuous way of looking at graphs is more adaptive than viewing them as static things were two vertices are assigned to an edge. Yet two vertices are necessarily how an edge is defined. This superposition of equally true states is what creates the world.

  • @joshuaomotosho7463
    @joshuaomotosho7463 Před 17 dny

    You are a great tutor
    How did you get e choose v2

  • @deehee1181
    @deehee1181 Před 4 lety

    is it possible for you to go back and forth in a directed graph?

  • @ragn594
    @ragn594 Před 2 lety

    Can I please get an explination as to what the 2 is in the last example/exercise. I don't understand what this 2 does is it the amount of connections that every vertex has? What is the meaning of it?

  • @Collegebook
    @Collegebook Před 5 lety

    Great sir
    #graphDiscrete

  • @fredrickkiroyian1081
    @fredrickkiroyian1081 Před 4 lety

    do u offer revisions exercise?

  • @kenriccrasta8603
    @kenriccrasta8603 Před 2 lety

    can we go back and forth in walks for directed graphs

  • @yavuzkoca8352
    @yavuzkoca8352 Před 8 lety

    Thanks a lot!

  • @jordanschwartz6163
    @jordanschwartz6163 Před 7 měsíci

    To prove that for all x to y walks, there exists an x to y path, we can use a proof by contradiction.
    First, assume that there exists a walk, denoted as w, from x to y that is not a path. This means that w contains repeated vertices or edges, which makes it longer than the shortest possible path from x to y.
    Now, let's consider a minimal walk, denoted as w', from x to y. By definition, w' is the shortest walk from x to y. Since w is not a path, it must be longer than w'.
    Next, we will show that there exists an x to y path that is shorter than w. Consider the subsequence of w' that consists of only the distinct vertices. Since w' is a minimal walk, this subsequence is also a walk from x to y. Moreover, it is a path because it does not contain any repeated vertices.
    Since this subsequence is a path, it is shorter than w because it does not have any repeated vertices or edges. This contradicts our assumption that w is the shortest walk from x to y.
    Therefore, our assumption that there exists a walk that is not a path is false. Hence, for all x to y walks, there exists an x to y path.

  • @kosed7041
    @kosed7041 Před 4 lety

    In the problem where you have to prove they 2e

  • @rymlallaouh2574
    @rymlallaouh2574 Před 2 lety

    Thanks from Algeria ❤️✌️

  • @claxxicmedia6963
    @claxxicmedia6963 Před rokem

    Is it a must I repeat vertices to find Trail

  • @farscamidediniz
    @farscamidediniz Před 5 lety

    Thank you soo much

  • @hisabin
    @hisabin Před 4 lety

    Thank you sir

  • @Legendofmudkip
    @Legendofmudkip Před 8 lety

    My professor taught us that (at 4:52) if there is an arrow going in one direction, then it is an undirected graph. So a to b would be undirected.
    And if there is a set of two arrows going in opposite directions from the same point, then that is a directed graph. So a to c would be a directed graph.

    • @Trevtutor
      @Trevtutor  Před 8 lety +1

      +xdarkness22x If there are arrow heads, it's directed. If there are no arrow heads, it's undirected. This is standard convention. For the sake of your course, it might be a little different.

    • @Legendofmudkip
      @Legendofmudkip Před 8 lety

      TheTrevTutor Eh, my professor is probably teaching us wrong material. It wouldnt be the first time.
      Which is why I am every so grateful for your videos

  • @baldjaebeom4424
    @baldjaebeom4424 Před 2 lety

    i skipped my lectures bc online classes are meh,, thanks for mansplaining this to me xx

  • @mustafamustafammrr
    @mustafamustafammrr Před 7 lety +1

    u r soo good

  • @ace4x3
    @ace4x3 Před 2 lety

    Very clear thank you

  • @chexblu
    @chexblu Před 2 lety

    where can I find hamiltonian?
    awesome video btw, thanks a lot

  • @DOMINANTbeats
    @DOMINANTbeats Před 5 lety

    Proof attempt at 24:00 mark:
    Suppose there does not exist a path in any x-y walk.
    Suppose we have w to be a minimal walk from x to y.
    Easy Case: If there is no repeated vertex, then by definition there is a path.
    Other Case: Assume any of those edges connects x to y must have repeated vertices. Each edge must then go back to a certain vertices more than once, where we note that a minimal walk does not repeat a path. Therefore a contradiction.

  • @kerimgueney
    @kerimgueney Před 3 lety

    Is the trivial walk a circuit?

  • @alperen32
    @alperen32 Před rokem

    seven years and still saving lives.

  • @jerrickmarques8777
    @jerrickmarques8777 Před 5 lety +3

    That's some great mouse control. Your mouse-writing looks better than my handwriting

  • @johndouros3759
    @johndouros3759 Před 3 lety

    Im dreading this so much

  • @SupGhostly
    @SupGhostly Před 8 lety

    hey could you help me with this one plz. how could i prove tha by adding a sinle edge to a tree it can be a cycle

    • @flowerwithamachinegun2692
      @flowerwithamachinegun2692 Před 4 lety

      Take 2 consecutive edges and add another edge so that you get a triangle. The triangle is obviously a cycle and from this you can form even bigger cycles

  • @rhysbroughton8869
    @rhysbroughton8869 Před 2 lety

    you're a hero

  • @gabrielcastillo6907
    @gabrielcastillo6907 Před 7 lety

    Sir in the last exercise. Where did you get the formula v(v-1)/2!

    • @anibalc.ripollr.9643
      @anibalc.ripollr.9643 Před 7 lety +2

      Note that C(V,2)= V! / 2! (V-2)! = V(V-1)(V-2)! / 2 (V-2)!, cancel out the term (V-2)! on the numerator and the denominator and you get V(V-1) / 2

  • @sophiaabssi3173
    @sophiaabssi3173 Před rokem

    Is an isolated vertex a simple path please ?

  • @jumagrivin7818
    @jumagrivin7818 Před 3 lety

    How do I find the degree of each vertex?

  • @rayanalqudsi5486
    @rayanalqudsi5486 Před 5 měsíci

    what a legend

  • @emperor8716
    @emperor8716 Před 4 měsíci

    your other videos have been amazing but this one just confusing. my class uses path/trail and cycle/circuit interchangeably.

  • @ghanemalmazrouie7812
    @ghanemalmazrouie7812 Před 7 lety

    Thank you

  • @luisdfernandez2601
    @luisdfernandez2601 Před 3 lety

    29:20 why do you start with 3 vertices?

  • @dextermorgan1785
    @dextermorgan1785 Před 3 lety

    Can u say that a in 9:01 is adjacent to a?

  • @luisdfernandez2601
    @luisdfernandez2601 Před 3 lety +3

    24:35 "A trail has repeated edges" but trails don't have repeated edges, correct?

    • @oguz-kagan
      @oguz-kagan Před 3 lety

      yes. i didn't understand that part. now both of them are not repeated?

    • @oguz-kagan
      @oguz-kagan Před 3 lety

      ah i get it. in trail you can repeat edge. in path you can't repeat vertex.

  • @antonheimdal8445
    @antonheimdal8445 Před 3 lety

    For the dense people who are having a bit of a difficult time finding the solution to the last problem. Is there any answer somewhere. Step by step explanations on solving these sort of problems, both simple and complicated ones.
    I am feeling frustrated with this topic since I can't seem to get the application of it. I understand why and how but proofing mathematically is something I have struggled in Graph Theory.
    Help someone!

  • @gabrielvillegas2033
    @gabrielvillegas2033 Před 4 lety +3

    @18:00 that is quite the graphic graph

  • @PubicGore
    @PubicGore Před rokem +1

    Here is my proof that for all x-y walks, there exists an x-y path.
    Let G be a graph with vertices v_1, v_2, ..., v_n.
    Pick two arbitrary vertices v_r and v_s with 1

  • @keithramanjooloo7464
    @keithramanjooloo7464 Před 3 lety

    God bless you my g

  • @aaronpaulbarsana1702
    @aaronpaulbarsana1702 Před 3 lety

    thank you :)

  • @ritsu7337
    @ritsu7337 Před 2 lety

    Um, for the last demonstration, I've resolved it as follows :
    We know that E (number of edges) has to be

  • @vizziiiiob
    @vizziiiiob Před rokem

    What should I know before getting into graph theory?

  • @LorddGray
    @LorddGray Před 7 lety +3

    If vertex has a single edge that just goes to itself, is it still "isolated"?

    • @Trevtutor
      @Trevtutor  Před 7 lety +14

      by definition, no, since it doesn't have degree = 0.