## Handshaking Theory in Discrete mathematicsWe can also call the handshaking theory as the Sum of degree theorem or Handshaking Lemma. The handshaking theory states that the sum of degree of all the vertices for a graph will be double the number of edges contained by that graph. The symbolic representation of handshaking theory is described as follows:
'd' is used to indicate the degree of the vertex. 'v' is used to indicate the vertex. 'e' is used to indicate the edges. ## Handshaking Theorem:There are some conclusions in the handshaking theorem, which must be drawn, which are described as follows: In any graph: - There must be even numbers for the sum of degree of all the vertices.
- If there are odd degrees for all the vertices, then the sum of degree of these vertices must always remain even.
- If there are some vertices that have an odd degree, then the number of these vertices will be even.
## Examples of Handshaking theoryThere are various examples of handshaking theory, and some of the examples are described as follows:
Degree of each vertex = 24 Number of edges = 24 Now we will assume the number of vertices = n With the help of Handshaking theorem, we have the following things: Sum of a degree of all Vertices = 2 * Number of edges Now we will put the given values into the above handshaking formula: n*4 = 2*24 n = 2*6 n = 12 Thus, in graph G, the number of vertices = 12.
Number of Degree 4 vertices = 3 Number of edges = 21 All other vertices have degree 2 Now we will assume the number of vertices = n With the help of Handshaking theorem, we have the following things: Sum of degree of all Vertices = 2 * Number of edges Now we will put the given values into the above handshaking formula: 3*4 + (n-3) * 2 = 2*21 12+2n-6 = 42 2n = 42 - 6 2n = 36 n = 18 Thus, in graph G, the total number of vertices = 18.
Number of edges = 35 Number of Degree 5 vertices = 4 Number of degree 4 vertices = 5 Number of degree 3 vertices = 4 Now we will assume the number of degree 2 vertices = n With the help of Handshaking theorem, we have the following things: Sum of degree of all Vertices = 2 * Number of edges Now we will put the given values into the above handshaking formula: 4*5 + 5*4 + 4*3 + n*2 = 2*35 20 + 20 + 12 + 2n = 70 52+2n = 70 2n = 70-52 2n = 18 n = 9 Thus, in graph G, number of degree 2 vertices = 9.
- 15
- 20
- 8
- 10
Number of edges = 24 Degree of each vertex = k Now we will assume the number of vertices = n With the help of Handshaking theorem, we have the following things: Sum of degree of all Vertices = 2 * Number of edges Now we will put the given values into the above handshaking formula: N*k = 2*24 K = 48/n It is mandatory that a whole number is contained by the degree of any vertex. So we can use only those types of values of n in the above equation that provides us a whole value of k. Now, we will check the above given options by putting them in the place of n one by one like this: - For n = 15, we will get k = 3.2, which is not a whole number.
- For n = 20, we will get k = 2.4, which is not a whole number.
- For n = 8, we will get k = 6, which is a whole number, and it is allowed.
- For n = 10, we will get k = 4.8, which is not a whole number.
Thus, the correct option is option C. |