filmov
tv
Number of Edges in a Complete Graph (Using Combinations) | Graph Theory, Combinatorics
Показать описание
How many edges are in a complete graph? This is also called the size of a complete graph. We'll be answering this question in today's video graph theory lesson, the first lesson on a whiteboard!
Remember that a complete graph K_n is a graph with n vertices and edges joining every pair of vertices. So, to count the edges in a complete graph we need to count the total number of ways we can select two vertices, because every pair will be joined by an edge!
How many ways can we select two vertices from a collection of n vertices? Since order doesn't matter, the answer is a binomial coefficient, n choose 2. This is equal to n! / ( 2!*(n-2)! ).
SOLUTION TO PRACTICE PROBLEM:
The graph K_5 has (5*(5-1))/2 = 5*4/2 = 10 edges.
The graph K_7 has (7*(7-1))/2 = 7*6/2 = 21 edges.
If you're taking a course in Graph Theory, or preparing to, you may be interested in the textbook that introduced me to Graph Theory: “A First Course in Graph Theory“ by Gary Chartrand and Ping Zhang. It’s a wonderful text! You can purchase this book through my Amazon affiliate link below! Using the affiliate link costs you nothing extra, and helps me continue to work on Wrath of Math!
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.
********************************************************************
+WRATH OF MATH+
Follow Wrath of Math on...
Remember that a complete graph K_n is a graph with n vertices and edges joining every pair of vertices. So, to count the edges in a complete graph we need to count the total number of ways we can select two vertices, because every pair will be joined by an edge!
How many ways can we select two vertices from a collection of n vertices? Since order doesn't matter, the answer is a binomial coefficient, n choose 2. This is equal to n! / ( 2!*(n-2)! ).
SOLUTION TO PRACTICE PROBLEM:
The graph K_5 has (5*(5-1))/2 = 5*4/2 = 10 edges.
The graph K_7 has (7*(7-1))/2 = 7*6/2 = 21 edges.
If you're taking a course in Graph Theory, or preparing to, you may be interested in the textbook that introduced me to Graph Theory: “A First Course in Graph Theory“ by Gary Chartrand and Ping Zhang. It’s a wonderful text! You can purchase this book through my Amazon affiliate link below! Using the affiliate link costs you nothing extra, and helps me continue to work on Wrath of Math!
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.
********************************************************************
+WRATH OF MATH+
Follow Wrath of Math on...
Комментарии