00:02
We are given families of graphs and we are asked to determine whether the graph family is sparse, dense, or neither.
00:21
So in part a, we're given the family of graphs kn.
00:33
Now we know that kn is a simple graph with n vertices and an edge between two vertices.
00:48
And so it follows by the handshaking theorem that two times the number of edges is going to be sum over the number of edges.
00:58
Of vertices of the degree of a vertices, which is going to be the sum from i equals 1 to n, and the degree of each vertex is going to be n minus 1.
01:17
So this is n times n minus 1.
01:20
So the number of edges is going to be n times n minus 1 over e, mean over 2.
01:28
And therefore it follows that for each n, we have the density of kn, is equal to two times the number of edges.
01:46
So two times n times n minus 1 over 2 over the number of vertices, which is n times number of vertices minus 1, n minus 1.
02:01
And this is simply equal to 1.
02:10
And so therefore, it follows that the limit, as n approaches positive infinity on the density of kn, is simply the limit as n approaches infinity of 1.
02:28
And since 1 is a constant, this is simply 1 again.
02:36
And so we've shown that the limit of the density approaches a positive real number.
02:47
And so it follows that the family of graphs is dense.
03:00
In part b, we are given the family of graphs cn.
03:07
So wheels with n vertices, or cycles with n vertices, i mean.
03:14
We have that the number of vertices is by definition n.
03:17
And we have the number of edges, which we could prove, but as easy to see also, is going to be n.
03:28
And so it follows that the density for this graph, since it's a simple graph, is well defined, and is given by two times the number of edges, which is n, over number of vertices n times the number of vertices minus 1, n, which is 2.
03:46
2 over n minus 1.
03:48
And we see that this expression goes to 0 as n approaches infinity.
04:01
And so it follows that the family cycles is sparse, since the limit is 0.
04:19
In part c, we are given the family of graphs, knn.
04:26
These are complete bipartite graphs with two vertices, two vertex sets each with n vertices.
04:38
So we have v1 has n vertices and v2 has n vertices.
04:44
And of course, v1 and v2 are disjoint.
04:46
So it follows that total number of vertices v is 2n.
04:56
And to find the number of edges, notice that two times the number of edges is equal to the sum overall vertices in v of the degree of v, which is the same as the sum of all vertices in v1, plus the sum of all vertices in v2, the degree of v.
05:30
And notice that if a vertex belongs to v1, since this is a complete bipartite graph, it's going to be linked to n vertices in v2.
05:49
Equal to the sum and there are n vertices in v1, from i equals 1 to n of n plus the sum from i equals 1 to n again of n.
06:04
This is because if you have a vertex in v2, well there's any of these vertices and each vertex is connected to the n vertices in v1.
06:30
And so it follows of the number of edges.
06:33
Well, this is going to be n -sortices.
06:35
Squared plus n squared, which is 2n squared.
06:39
So the number of edges is n squared.
06:44
And so it follows that the density, since this is a simple graph, is well defined for each n, and is given by two times number of edges.
06:56
So 2 times n squared over the number of vertices, 2n, times the number of vertices minus 1, 2n minus 1.
07:10
So we have in the numerator, while we have 2n squared, in the denominator we have 4 n squared minus 2n.
07:22
And if you're pretty familiar with calculus, this is an easy limit, but just to elaborate, if we divide the top and bottom by n squared, we get 2 over 4 minus 2 over n...