ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalGE-167Handshaking Lemma Coro…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    GE-167

    Discrete Structures

    Progress0 / 67 done
    Topics67
    1Propositional and Predicate Logic
    2Logical Operators3Translations Between Symbolic Expressions and Formal English Expression4Logical Equivalences
    5Quantifiers6Nested Quantification7Equivalences in Predicate Logic8Translations Between Symbolic Forms and Formal English
    9Proof Methods and Strategies10Direct Proof11Proof by Contraposition12Proof by Induction13Proof by Implication14Existence Proof15Uniqueness Proofs16Trivial Proofs17Vacuous Proofs
    18Notations and Set Operations19Venn Diagrams20Countable and Uncountable Sets
    21Equivalence Relations and Partitions22Partial Orderings23Recurrence Relations51Reflexive, Symmetric, Transitive, and Antisymmetric52Equivalence Relations and Equivalence Classes53Partial Orders
    24Injective, Surjective, Bijective25Special Types of Functions26Function Composition27Inverse Functions28Recursive Functions29Compositions
    30Sequences and Series
    31Inclusion and Exclusion Principle32Pigeonhole Principle33Permutations and Combinations46Product Rule and Sum Rule47Principle of Inclusion-Exclusion48Binomial Coefficients49Pascal's Identity and Pascal’s Triangle50Binomial Theorem
    34Division Theorem35Modular Arithmetic36LCM and GCD37Euclidean and Extended Euclidean Method38Finding Solutions to Congruence
    39Fundamental Theorem of Arithmetic40Characterizations of Primes41Mersenne Primes
    42Weak Induction43Strong Induction
    44Formulation of Recurrences45Closed Formulas
    54Terminologies55Elements of Graph Theory56Planar Graphs57Graph Coloring58Euler Graph59Hamiltonian Path60Rooted Trees61Graph Traversals62Handshaking Lemma and Corollary63Special Families of Graphs64Graph Isomorphism65Planarity in Graphs66Eulerian and Hamiltonian Graphs67Trees in Graph Theory
    7 min read
    Topic 62 of 67
    Topic Study Note Illustration
    62

    Handshaking Lemma and Corollary

    The Handshaking Lemma is a fundamental result in graph theory that relates the degree of the vertices in a graph to the number of edges. It provides...

    Handshaking Lemma and Corollary

    The Handshaking Lemma is a fundamental result in graph theory that relates the degree of the vertices in a graph to the number of edges. It provides insights into the structure of a graph and is often used in combinatorial proofs.


    1. Handshaking Lemma (Theorem)

    The Handshaking Lemma states that in any undirected graph, the sum of the degrees of all the vertices is twice the number of edges.

    Formal Statement:

    For a graph G=(V,E)G = (V, E)G=(V,E), where VVV is the set of vertices and EEE is the set of edges:

    ∑v∈Vdeg(v)=2∣E∣\sum_{v \in V} \text{deg}(v) = 2|E|v∈V∑​deg(v)=2∣E∣

    Where:

    • deg(v)\text{deg}(v)deg(v) is the degree of vertex vvv, which is the number of edges incident to vvv.
    • ∣E∣|E|∣E∣ is the total number of edges in the graph.

    Explanation:

    Each edge in an undirected graph connects two vertices and contributes 1 to the degree of both of those vertices. Therefore, for each edge, it "adds" 1 to the degree of two vertices. This means that the sum of the degrees of all vertices counts each edge twice. Thus, the total degree of all vertices is twice the number of edges.


    2. Proof of the Handshaking Lemma

    To prove the Handshaking Lemma, consider the following steps:

    1. Counting the edges: Each edge in the graph connects two vertices, and so each edge is counted once for each of the two vertices it connects.
    2. Degree of vertices: The degree of a vertex vvv, deg(v)\text{deg}(v)deg(v), is the number of edges incident to vvv. When we sum the degrees of all vertices, we are counting the total number of edge incidences across the graph (i.e., how many times an edge is incident to a vertex).
    3. Counting twice: Since each edge is counted twice—once for each of its two endpoints—the sum of the degrees of all vertices is twice the number of edges.

    Thus, we can conclude that:

    ∑v∈Vdeg(v)=2∣E∣\sum_{v \in V} \text{deg}(v) = 2|E|v∈V∑​deg(v)=2∣E∣

    3. Corollary of the Handshaking Lemma

    From the Handshaking Lemma, we can derive some important corollaries:

    Corollary 1: The number of vertices with odd degree is even.

    Statement: In any undirected graph, the number of vertices with an odd degree is always even.

    Proof:

    • The Handshaking Lemma states that the sum of all vertex degrees is even (since it is twice the number of edges).
    • If there are an odd number of vertices with odd degrees, then the sum of their degrees would be odd, which would contradict the Handshaking Lemma.
    • Therefore, the number of vertices with odd degree must be even.

    Example: In a graph, if there are 3 vertices with an odd degree, the total degree sum would be odd, which is not possible since the sum must be even. Hence, there must always be an even number of vertices with an odd degree.


    Corollary 2: A graph with no edges has all vertex degrees equal to zero.

    Statement: In a graph with no edges, every vertex has degree 0.

    Proof:

    • If a graph has no edges, then there are no connections between vertices.
    • Thus, each vertex is isolated, meaning that it has 0 edges incident to it.
    • The sum of degrees of all vertices in the graph is zero, which satisfies the Handshaking Lemma (since the number of edges ∣E∣=0|E| = 0∣E∣=0, the sum of degrees is 2×0=02 \times 0 = 02×0=0).

    4. Practical Implications and Applications of the Handshaking Lemma

    The Handshaking Lemma provides insight into the structure and properties of a graph. It has applications in several areas:

    1. Degree Constraints: The lemma gives us a quick way to check whether certain degree conditions can be satisfied in a graph. For example, in a graph where each vertex has degree 3, the total number of vertices must be even (since the sum of degrees will be 3n3n3n, which must be even).

    2. Network Design: In the design of communication or transportation networks (where vertices represent stations and edges represent direct connections), the lemma helps analyze the number of connections required.

    3. Graph Coloring and Matching: The lemma can also play a role in algorithms related to graph coloring or matching, as it offers a basic understanding of how edges and vertices are connected in a graph.


    5. Example of the Handshaking Lemma

    Consider a simple undirected graph:

        A --- B
        |     |
        C --- D
    
    • Vertices: A,B,C,DA, B, C, DA,B,C,D
    • Edges: {(A,B),(A,C),(B,D),(C,D)}\{ (A, B), (A, C), (B, D), (C, D) \}{(A,B),(A,C),(B,D),(C,D)}

    The degrees of the vertices are:

    • deg(A)=2\text{deg}(A) = 2deg(A)=2
    • deg(B)=2\text{deg}(B) = 2deg(B)=2
    • deg(C)=2\text{deg}(C) = 2deg(C)=2
    • deg(D)=2\text{deg}(D) = 2deg(D)=2

    Sum of degrees:

    deg(A)+deg(B)+deg(C)+deg(D)=2+2+2+2=8\text{deg}(A) + \text{deg}(B) + \text{deg}(C) + \text{deg}(D) = 2 + 2 + 2 + 2 = 8deg(A)+deg(B)+deg(C)+deg(D)=2+2+2+2=8

    Number of edges:

    ∣E∣=4|E| = 4∣E∣=4

    According to the Handshaking Lemma:

    ∑v∈Vdeg(v)=2∣E∣=2×4=8\sum_{v \in V} \text{deg}(v) = 2|E| = 2 \times 4 = 8v∈V∑​deg(v)=2∣E∣=2×4=8

    This verifies the Handshaking Lemma.


    Summary

    • Handshaking Lemma: The sum of the degrees of all vertices in an undirected graph is equal to twice the number of edges.
    • Corollary 1: The number of vertices with odd degree in any undirected graph is always even.
    • Corollary 2: A graph with no edges has all vertex degrees equal to zero.
    • The Handshaking Lemma is useful for understanding basic properties of graphs, especially in terms of vertex degrees and edge connections. It also plays a crucial role in proofs and algorithmic applications related to graphs.
    ← Previous topic 61
    Graph Traversals
    Next topic 63 →
    Special Families of Graphs

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    7mremaining
    1.3kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Discrete Structures