Vertex Colorings and the Chromatic Number of Graphs | Graph Theory

What is a proper vertex coloring of a graph? We'll be introducing graph colorings with examples and related definitions in today's graph theory video lesson!
A proper coloring (or just: coloring) of a graph, G, is an assignment of colors (or, more generally, labels) to the vertices of G such that adjacent vertices have different colors (or labels). Consider bipartite graphs for example. If we color all vertices in one partite set blue, and all vertices in the other partite set red, we will have a proper coloring of the graph. None of the red vertices will be adjacent since they're all in a partite set, and similarly for the blue vertices. Furthermore, this means all adjacent vertices will belong to different partite sets and thus have different colors.
The minimum number of colors that a graph G can be colored with is called the chromatic number of the graph, and is denoted χ(G) [this is the greek letter chi, pronounced "kai"]. If χ(G)=k, then G is said to be k-chromatic. If G can be colored with k colors (certainly k is greater than or equal to χ(G)) then G is said to be k-colorable.
A coloring of a graph G using k vertices is called a k-coloring, and if k=χ(G) then it is a minimum coloring, as it uses the minimum possible number of colors. Note that in practice, we often use positive integers (1, 2, 3, ...) to denote our colors. This is far easier than coming up with and using arbitrarily large lists of colors.
Note that every graph of order n can be colored with n colors, since if every vertex has a different color then adjacent vertices will necessarily have different colors. Hence, χ(G) is less than or equal to the order of G.
Chromatic Number of Complete Graphs: • Chromatic Number of Co...
◆ Donate on PayPal: www.paypal.me/wrathofmath
◆ Support Wrath of Math on Patreon: / wrathofmathlessons
I hope you find this video helpful, and be sure to ask any questions down in the comments!
********************************************************************
The outro music is by a favorite musician of mine named Vallow, who, upon my request, kindly gave me permission to use his music in my outros. I usually put my own music in the outros, but I love Vallow's music, and wanted to share it with those of you watching. Please check out all of his wonderful work.
Vallow Bandcamp: vallow.bandcamp.com/
Vallow Spotify: open.spotify.com/artist/0fRtu...
Vallow SoundCloud: / benwatts-3
********************************************************************
+WRATH OF MATH+
Follow Wrath of Math on...
● Instagram: / wrathofmathedu
● Facebook: / wrathofmath
● Twitter: / wrathofmathedu
My Music Channel: / seanemusic

Пікірлер: 69

  • @WrathofMath
    @WrathofMath3 жыл бұрын

    Consider supporting me on Patreon to help me make more Graph Theory lessons! www.patreon.com/join/wrathofmathlessons You will also get early access to new videos before they're published! NOTE: At 6:30 I describe what it means for a graph to be "k-colorable". The definition I give is common, but not formal enough to avoid some possible confusion. At 7:47 I say a graph cannot be k-colorable for k greater than its number of vertices, since k colors could not be used in a coloring - there simply aren't enough vertices to accommodate k colors if k is greater than the number of vertices. However, this "upper bound" is not common in the usage of the term "k-colorable". Especially as we move on to discussing chromatic polynomials. Often it may be convenient to say a graph is k-colorable for ANY integer greater than equal to its chromatic number. So while a complete graph on 3 vertices has chromatic number 3, for example, we could say it is k-colorable for any number greater than or equal to 3. Even though we couldn't color it with 10 distinct colors, a set of 10 colors would be sufficient (we just wouldn't use them all), so we may say it is 10-colorable anyways. Always make sure you understand the definitions being used, and I apologize if this causes any confusion!

  • @suprecam9880
    @suprecam98802 жыл бұрын

    Wonderful video man, thank you. Great explanations, thorough but not too dense, you are easy to understand.

  • @WrathofMath

    @WrathofMath

    2 жыл бұрын

    So glad it was helpful, thanks for watching! If you're looking for more graph theory, check out my playlist and let me know if you ever have any questions! kzread.info/head/PLztBpqftvzxXBhbYxoaZJmnZF6AUQr1mH

  • @marcorossettini9232
    @marcorossettini92323 жыл бұрын

    Hi, I'm from Italy and your videos about discrete mathematics are very helpful, thank you!

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    Thanks for watching and I am so glad to hear they have been helpful! Let me know if you ever have any video requests!

  • @marcorossettini9232

    @marcorossettini9232

    3 жыл бұрын

    @@WrathofMath Can you do a video about the inclusion-exclusion principle?

  • @monoman4083
    @monoman40832 жыл бұрын

    good, clear explanation.thanks

  • @satchitnagpal7859
    @satchitnagpal7859 Жыл бұрын

    Can you also give explanation for how to prove that a graph cannot be colored with less that k colors?

  • @Utkarshkharb
    @Utkarshkharb2 жыл бұрын

    Thanks a lot ! So well explained !

  • @WrathofMath

    @WrathofMath

    2 жыл бұрын

    My pleasure, thanks for watching! Let me know if you ever have any video requests, and if you're looking for more graph theory - check out my playlist! kzread.info/head/PLztBpqftvzxXBhbYxoaZJmnZF6AUQr1mH

  • @sanjosekassiels.3830
    @sanjosekassiels.38302 жыл бұрын

    Thank u so much! I finished my activity in 3 min after watching your vid. U the best

  • @WrathofMath

    @WrathofMath

    2 жыл бұрын

    So glad it helped! Thanks for watching and check out my playlist if you're looking for more graph theory! kzread.info/head/PLztBpqftvzxXBhbYxoaZJmnZF6AUQr1mH

  • @Bk_official003
    @Bk_official003 Жыл бұрын

    Thanks a lot you really explained wonderfully so easy to understand.

  • @WrathofMath

    @WrathofMath

    Жыл бұрын

    Awesome, thanks for watching!

  • @jingyiwang5113
    @jingyiwang51136 ай бұрын

    Thank you so much for this wonderful explanation! Graph coloring appears vague to me in lectures. Thanks to your explanation, I have a much clear idea of it and better prepare for my coming discrete mathematics final exam! 🙂

  • @WrathofMath

    @WrathofMath

    6 ай бұрын

    So glad it helped! Good luck on the final!

  • @patriciabalutel1730
    @patriciabalutel17303 жыл бұрын

    Hello! Thank you once again for your amazing videos & explanations! Here I am, struggling with two other Graph Theory problems & I was hoping you could enlighten me 😅 First one: show that a planar graph of order n > 2 ( n = number of vertices) contains no more than 3n - 6 edges. Second one: G is an undirected graph of order n. Show that 𝜒(𝐺)𝜒(𝐺̅) ≤ (𝑛 + 1)^2 / 4. ( 𝜒(𝐺) - the chromatic number of the graph, 𝜒(𝐺̅) - the chromatic number of the complement graph, n - the number of vertices). Thank you in advance, have a lovely day!

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    Thanks for your support, Patricia! I am glad you have found the videos helpful! Here is a proof of the first result: kzread.info/dash/bejne/ZYCNxJWkXavbn9I.html As for the second result, I will add it to my list of things to do! I'd give you a hint here but I don't recognize it at first glance, would have to think about it a bit!

  • @patriciabalutel1730

    @patriciabalutel1730

    3 жыл бұрын

    @@WrathofMath Thank you so, so much! Have a good day!

  • @bytecode5834
    @bytecode58345 ай бұрын

    Thanks for the gift Sean

  • @BEEd-3A-2023
    @BEEd-3A-20233 жыл бұрын

    Thank you for making this

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    You're very welcome, thanks a lot for watching and let me know if you ever have any questions!

  • @vonage_sasb9356
    @vonage_sasb93563 ай бұрын

    Hello, Do any one know answer for "Does there exist a 3-edge colourable graph with 10 vertices and 20 edges ?"

  • @wishmanoor-fo7rp
    @wishmanoor-fo7rp7 ай бұрын

    So well explained Very helpful 😍👍

  • @WrathofMath

    @WrathofMath

    7 ай бұрын

    Glad it was helpful!

  • @noorainkhan6699
    @noorainkhan66993 жыл бұрын

    Tq for explaining it so well❣️❣️🙏

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    My pleasure, thanks for watching!

  • @davideperrone4702
    @davideperrone4702 Жыл бұрын

    hi everybody, is there a video about interval graphs?

  • @SHASHANKRUSTAGII
    @SHASHANKRUSTAGII3 жыл бұрын

    make a video on WAGNER theorem and line graphs also show line graph of a cycle is a cycle

  • @tiwaritejaswo
    @tiwaritejaswo2 жыл бұрын

    Awesome. Thanks a ton.

  • @WrathofMath

    @WrathofMath

    2 жыл бұрын

    My pleasure, thanks for watching and check out my graph theory playlist if you're looking for more! Let me know if you ever have any requests. kzread.info/head/PLztBpqftvzxXBhbYxoaZJmnZF6AUQr1mH

  • @user-ql5ut8rx9o
    @user-ql5ut8rx9o2 жыл бұрын

    Hello, how many chromatic number of (c7) power 2 ????

  • @nadred5396
    @nadred53967 ай бұрын

    Hey shawn, can i ask, what software are you using to do all of this? Is it OBS on a computer, or are you capturing on the ipad itself?

  • @infomaniac8840

    @infomaniac8840

    6 ай бұрын

    Im pretty sure it's all on his iPad which he is screen recording.

  • @meganreader4363
    @meganreader43633 жыл бұрын

    Please could you do a video on how to do this? For each positive integer n prove by induction that a graph G of chromatic number n contains Kn as a subgraph

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    I already responded to your other comment on this topic, but I'm going to comment here as well just for other viewers who may read your comment. The result is not true as stated, a graph of chromatic number n does not have to contain a Kn subgraph. Here is the lesson on the topic: kzread.info/dash/bejne/k6eaysZ_esStgbQ.html

  • @saiparn282
    @saiparn2823 жыл бұрын

    Thank you so much!!!

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    No problem, thank you for watching! Check out my Graph Theory playlist if you're looking for more graph theory lessons, many more to come! kzread.info/head/PLztBpqftvzxXBhbYxoaZJmnZF6AUQr1mH

  • @nainamat6861
    @nainamat68613 жыл бұрын

    THANK YOU!!!😄😊

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    My pleasure! Thank you for watching! 😊

  • @HamsaShehadeh
    @HamsaShehadeh3 жыл бұрын

    how about the point that dont connect to any other point? what should i color it? a different color that no point got it? or same as any point color?

  • @PunmasterSTP

    @PunmasterSTP

    15 күн бұрын

    Generally the idea is to use as few colors as possible, so you'd probably want to use a color you'd already used for another point.

  • @felixcastro229
    @felixcastro2292 жыл бұрын

    Thank you idol!

  • @ZeroTwo00002
    @ZeroTwo000023 ай бұрын

    i think, now im ready to my D.math final exam, ty!

  • @WrathofMath

    @WrathofMath

    3 ай бұрын

    Good luck!

  • @PunmasterSTP

    @PunmasterSTP

    15 күн бұрын

    How'd the final go?

  • @ZeroTwo00002

    @ZeroTwo00002

    14 күн бұрын

    @@PunmasterSTP i got 80 :DD

  • @PunmasterSTP

    @PunmasterSTP

    14 күн бұрын

    @@ZeroTwo00002 Way to go!

  • @soveatinkuntur8167
    @soveatinkuntur81673 жыл бұрын

    can you please make a video about list coloring

  • @steve4684
    @steve4684 Жыл бұрын

    Does someone know the outro song of this video? The musician is called vallow but i can not find the song...

  • @WrathofMath

    @WrathofMath

    Жыл бұрын

    Always happy to get more people into his music! He can be hard to follow because he keeps changing his name. He goes by Crayon Angel now: crayonangel.bandcamp.com/track/hugging-a-ghost-2

  • @Local_Nerd
    @Local_Nerd Жыл бұрын

    Thanks

  • @timmy2210
    @timmy2210 Жыл бұрын

    Thank u!

  • @WrathofMath

    @WrathofMath

    Жыл бұрын

    Glad to help!

  • @closingtheloop2593
    @closingtheloop2593Ай бұрын

    Thank god I found you

  • @gift_tube8646
    @gift_tube86462 жыл бұрын

    Do lecture on how to calculate the chromatic number for a graph

  • @camilomuianga7865

    @camilomuianga7865

    Жыл бұрын

    It would be more interesting!

  • @aishwaryar1998
    @aishwaryar1998 Жыл бұрын

    Could you please do a video on what is math and what are the things we can do with the help of math?

  • @PunmasterSTP

    @PunmasterSTP

    15 күн бұрын

    That's pretty general. Did you have anything more specific in mind?

  • @PunmasterSTP
    @PunmasterSTP15 күн бұрын

    In the words of the great Calvin Harris, "Get some colours on!"

  • @jannreyjoshuagarcia1755
    @jannreyjoshuagarcia1755Ай бұрын

    at time 5:45 i think you can do it with 3 colors

  • @ponnu1500
    @ponnu15002 жыл бұрын

    Please upload a video about edge colouring

  • @WrathofMath

    @WrathofMath

    2 жыл бұрын

    Thanks for watching and for the request! I just recorded the edge coloring lesson, as long as there are no big problems editing - it will be up tomorrow!

  • @ponnu1500

    @ponnu1500

    2 жыл бұрын

    @@WrathofMath thank you for your response

  • @Andy-gp8qy
    @Andy-gp8qy3 жыл бұрын

    👍👍👍👍

  • @WrathofMath

    @WrathofMath

    3 жыл бұрын

    Thanks Andy! Many more videos on chromatic numbers and similar topics are coming, let me know if you ever have any requests!

  • @valquiriasantos8752
    @valquiriasantos87523 жыл бұрын

    Ik1w09

  • @closingtheloop2593
    @closingtheloop2593Ай бұрын

    i see orange red red

  • @kazikmajster5650
    @kazikmajster565018 күн бұрын

    I'm not 5 years old