lecture 10

1. Introduction to graph theory and basic notation

This section establishes the foundational concepts of graph theory, distinguishing mathematical graphs from visual data representations, and formally defines the structure of graphs using set notation, including vertices, edges, and embeddings.

1.1 Distinguishing mathematical graphs from visual representations

In the context of Discrete Mathematics, the term "graph" refers specifically to a mathematical structure used to depict binary relations, not the visual diagrams typically encountered in statistics, such as bar charts, histograms, or scatterplots of functions. These visual data graphs are merely one way of graphically representing data, whereas mathematical graphs model interconnected entities.

Visual representations of datasets often include plots of functions or scatterplots, which illustrate relationships between variables or data points in a coordinate system.

Two examples of visual representations of datasets: plots of functions and a scatterplot.

Mathematically, a graph conceptually consists of "points" (entities) and their connecting "links" (relationships). This abstract structure is fundamental across numerous disciplines, including modeling real-world situations, developing computer science applications, and studying discrete mathematical structures. Real-world applications modeled by graphs include shipping routes, social networks, telecommunications topologies, citation networks, and biological interaction networks 6 5.

The basic abstract concept of a graph is illustrated by entities (nodes) connected by links (edges).

A conceptual diagram illustrating a graph structure composed of interconnected 'points' (nodes/vertices) and 'links' (edges).

This structural representation, consisting of points and lines, is the core focus of graph theory.

Conceptual illustration of a graph showing interconnected 'points' (nodes) and their connecting 'links' (edges).

1.2 Formal definition and basic notation for undirected graphs

A finite graph GG is formally defined as a pair G=⟨V,E⟩G = \langle V, E \rangle 9, 10, 11, consisting of two components:

  1. Vertex Set (VV): A non-empty, finite set V≠∅V \neq \emptyset, called the vertex set of GG. Any element v∈Vv \in V is called a node or vertex.
  2. Edge Set (EE): A set EE composed of two-element subsets of VV. These subsets are the edges of GG.

The order of the graph GG is the number of vertices, denoted by ∣V∣|V|. The size of the graph GG is the number of edges, denoted by ∣E∣|E| 15. The notations V(G)V(G) and E(G)E(G) are used to denote the vertex and edge sets of GG, respectively .

An edge ee connecting vertices uu and vv is written as e={u,v}e = \{u, v\}, with the constraint that u≠vu \neq v for standard graphs described here (though later definitions allow u=vu=v for loops). The vertices uu and vv are incident with the edge ee, and uu and vv are adjacent in GG. For convenience, e=uve = uv may be used if the context is clear .

Tip: When dealing with a (p,q)(p, q)-graph, pp denotes the order (∣V∣|V|) and qq denotes the size (∣E∣|E|), such that G=⟨V,E⟩G = \langle V, E \rangle where ∣V∣=p|V|=p and ∣E∣=q|E|=q .

A specific example of a graph GG can be defined by listing its vertices and edges:

A concrete example of a graph illustrating vertices (nodes) and edges (connections) with their corresponding set definitions.

A graph GG defined as the pair ⟨V,E⟩\langle V, E \rangle clearly separates the set of entities from the set of relationships connecting them.

Basic notations for defining a finite graph G as a pair of a vertex set V and an edge set E.

Alternatively, the set notation G={V,E}G = \{V, E\} where each edge ee is {u,v}\{u, v\} is also used 10.

1.3 Graph embeddings and drawings

The graph embedding (or drawing) refers to a visualization of the abstract graph structure in a geometric space, typically Rm\mathbb{R}^m, most commonly R2\mathbb{R}^2 . An embedding maps each vertex to a point and each edge to a curve connecting the points corresponding to its incident vertices.

The graphical representation aids in understanding graph-theoretic properties, though different drawings can represent the exact same underlying graph structure. For example, if V={p,q,r,s,t,u}V = \{p, q, r, s, t, u\} and E={{p,q},{p,s},{q,r},{q,t},{s,u}}E = \{\{p, q\}, \{p, s\}, \{q, r\}, \{q, t\}, \{s, u\}\}, the following two diagrams represent the identical graph GG, simply drawn differently in R2\mathbb{R}^2:

Two different planar drawings (diagrams) of the same graph G, illustrating the concept of graph embeddings.

1.4 Vertex degrees and the Handshaking Theorem

The degree of a vertex vv, denoted deg⁡G(v)\deg_G(v), is the count of edges incident with it . Several specific vertex types are defined based on their degree:

  • An isolated vertex has deg⁡(v)=0\deg(v) = 0.
  • A pendant vertex has deg⁡(v)=1\deg(v) = 1.

Crucially, for counting degrees:

  • A loop (an edge connecting a vertex to itself) is counted twice towards the degree of that vertex.
  • Parallel edges (multiple edges connecting the same pair of vertices) contribute separately to the degree count 14.

The sum of the degrees of all vertices in a graph is equal to twice the number of edges, a result known as the Handshaking Theorem (attributed to Euler): ∑v∈Vdeg⁡(v)=2×∣E∣\sum_{v \in V} \deg(v) = 2 \times |E|

Example: In the provided example, ∑deg⁡(v)=14\sum \deg(v) = 14, which equals 2×∣E∣2 \times |E| (where ∣E∣=7|E|=7) 14.

1.5 Directed graphs (Digraphs) and related concepts

A directed graph (digraph) DD is defined as D=⟨V,E⟩D = \langle V, E \rangle, where EE is a set of directed edges (or arcs), which are ordered pairs of vertices in VV 18 8.

In digraphs, degrees are directional:

  • Out-degree (deg⁡D+(v)\deg^+_D(v)): The number of arcs having vv as their initial vertex.
  • In-degree (deg⁡D−(v)\deg^-_D(v)): The number of arcs having vv as their terminal vertex.

A diagram illustrating a directed graph (digraph) D with vertices labeled 0, 1, 2 and edges labeled e0 through e5.

The Handshaking Theorem is reloaded for digraphs: the sum of all out-degrees equals the sum of all in-degrees, and both sums equal the total number of arcs ∣E(D)∣|E(D)| 19.

∑v∈V(D)deg⁡D+(v)=∑v∈V(D)deg⁡D−(v)=∣E(D)∣\sum_{v \in V(D)} \deg^+_D(v) = \sum_{v \in V(D)} \deg^-_D(v) = |E(D)|

Two related definitions involve converting between graphs and digraphs:

  1. Underlying Graph: Given a digraph D=⟨V,E⟩D = \langle V, E \rangle, its underlying graph G=⟨V,E′⟩G = \langle V, E' \rangle is formed by taking the same vertex set VV and ignoring the orientation of all arcs in EE to form undirected edges E′E' 21.
  2. Orientation: Given an undirected graph G=⟨V,E⟩G = \langle V, E \rangle, an orientation is a digraph D=⟨V,E′⟩D = \langle V, E' \rangle created by assigning a direction (an arc uv⃗\vec{uv} or vu⃗\vec{vu}) to every edge {u,v}∈E(G)\{u, v\} \in E(G) 21 20.

1.6 Multi-graphs, loops, and degree sequences

Graphs can be generalized to include structures that violate the strict definition of a simple graph:

  • Loop: An edge connecting a vertex to itself, written as {v,v}\{v, v\} 23. A graph containing a loop is a loop graph.
  • Parallel Edges: Multiple edges connecting the same pair of distinct vertices are called parallel edges.
  • Multi-graph: A graph whose edge set is a multi-set, allowing for parallel edges between the same two nodes 23 22.

Definition Summary for Advanced Graph Types:

  • A (p, q)-graph has order pp and size qq .
  • The Degree Sequence is the sequence mapping to the graph’s node degrees.
  • An n-Regular Graph is one where every node has the same degree nn. Its degree sequence consists of nn repeated ∣V∣|V| times 16, 17 15.

In the context of degrees, the rule that a loop is counted twice is essential for maintaining consistency with the Handshaking Theorem when analyzing loop graphs or multi-graphs 14 13.

2. Classification of graphs, vertex degrees, and digraphs

This section outlines the fundamental classifications of graphs based on structural properties like the presence of loops or parallel edges, establishes the definition of graph isomorphism, and introduces the basics of directed graphs (digraphs) and associated concepts like vertex degrees.

2.1 Classification of Graphs

Graphs are classified based on the allowance of loops (edges connecting a vertex to itself) and parallel edges (multiple edges between the same pair of vertices).

Key graph classifications include:

  • Null Graph: A graph G=⟨V,E⟩G = \langle V, E \rangle is null if it has no vertices, meaning V=∅V = \emptyset 24.
  • Trivial Graph: A graph is trivial if it contains exactly one vertex, i.e., ∣V∣=1|V| = 1 25.
  • Empty Graph: A graph is empty if it contains no edges, i.e., E=∅E = \emptyset 26.
  • Simple Graph: A graph is simple if it contains neither parallel edges nor loops.
    • Unless explicitly stated otherwise, a graph G=⟨V,E⟩G = \langle V, E \rangle is conventionally assumed to be a simple graph.
  • Pseudograph: A graph that permits both parallel edges and loops.

Tip: When working with graph problems, always clarify the graph type (simple, multigraph, pseudograph) and whether it is directed, as convention often defaults to simple, undirected graphs.

The presence of loops and parallel edges dictates the specific classification:

  • Graphs allowing loops or parallel edges are not simple 27.
  • Multigraphs allow multiple edges connecting the same pair of nodes.
  • Pseudographs allow both loops and multiple edges.

Example: A graph containing vertices {p,q,r,s,t,u}\{p, q, r, s, t, u\} with a self-edge (loop) on vertex tt and parallel edges between qq and rr is an example of a pseudograph, not a simple graph 28. An example of a graph illustrating various features like multiple edges between vertices and a loop on vertex t.

A graph GG is defined by its vertex set VV and edge set EE, denoted as G=⟨V,E⟩G = \langle V, E \rangle.

  • The order of the graph is the number of vertices: ∣V(G)∣|V(G)|.
  • The size of the graph is the number of edges: ∣E(G)∣|E(G)| 29.

2.2 Graph Isomorphism

Graph isomorphism addresses whether two graphs possess the exact same underlying structure, irrespective of how they are geometrically drawn or labeled 30.

Formal Definition: Two graphs G1=⟨V1,E1⟩G_1 = \langle V_1, E_1 \rangle and G2=⟨V2,E2⟩G_2 = \langle V_2, E_2 \rangle are isomorphic, denoted G1≅G2G_1 \cong G_2, if and only if there exists a bijection f:V1→V2f: V_1 \rightarrow V_2 that is adjacent-preserving.

The condition for adjacency preservation is stated as: For all u,v∈V1u, v \in V_1, the edge {u,v}∈E1\{u, v\} \in E_1 if and only if {f(u),f(v)}∈E2\{f(u), f(v)\} \in E_2. If no such bijection exists, the graphs are non-isomorphic (G1≇G2G_1 \not\cong G_2) 31.

Tip: When proving isomorphism, providing the colorings or drawings is insufficient; the complete proof requires explicitly defining the structure-preserving bijective mapping ff between the vertex sets.

Isomorphism means the structural relations are identical. For example, a complete graph K5K_5 can be drawn as a pentagram, which is isomorphic to its drawing as a regular pentagon C5C_5 32.

Example: Two structurally identical graphs, G1G_1 and G2G_2, are shown to be isomorphic via a mapping ff that preserves the connectivity between vertices 34. This diagram illustrates graph isomorphism by showing two structurally identical graphs, G1 (left) and G2 (right), along with the bijective mapping f between their vertices.

Coloring can be used as a demonstration aid, but the rigorous requirement is the bijective mapping 36. Two colored graphs, G and H, are shown to be isomorphic, indicated by the notation H ≅ G.

2.3 Planarity (Brief Mention)

A graph is deemed planar if it can be drawn in the plane (R2\mathbb{R}^2) without any edges crossing (a planar representation). If a graph drawing in R2\mathbb{R}^2 contains crossings, the graph itself may still be planar if an alternative drawing without crossings exists 38. A drawing of a graphGinR2with crossings.

2.4 Directed Graphs (Digraphs)

The concept of graphs extends to directed graphs (digraphs). While the source material focuses on definitions related to loops and parallel edges in general graphs, it notes that a simple directed graph must adhere to stricter conditions than its undirected counterpart.

  • Simple Directed Graph: A directed graph that contains no loops and no edges sharing the same starting and ending points (i.e., no multiple directed edges between the same ordered pair of vertices).

The concept of vertex degree, central to undirected graphs, is adapted for digraphs through the use of in-degree and out-degree, although the specific definitions and the Handshaking Theorem for digraphs are not detailed in the provided pages, the distinction is introduced 40.

Note on Degrees: For an undirected graph, the degree of a vertex vv, denoted deg⁡(v)\deg(v), is the number of edges incident to it. For digraphs, this is split into the in-degree (number of incoming arcs) and the out-degree (number of outgoing arcs) [Implied by context of graph terminology, covered later in detail.

3. Connectedness, paths, components, and cut elements

This section defines fundamental concepts related to connectivity in graphs, including various types of walks, the definitions of connected graphs and their components, and identifies critical elements that affect connectivity, such as cut vertices and bridges.

3.1 Examples of Special Simple Graphs

Several classes of special simple graphs are defined based on their structure, including complete, path, cycle, wheel, bipartite, and star graphs.

Complete Graphs (KnK_n)

A simple graph G=⟨V,E⟩G = \langle V, E \rangle is complete if it contains every possible edge between all vertices. The complete graph with n≥1n \geq 1 nodes is denoted by KnK_n42.

Tip: For KnK_n, every vertex has degree n−1n-1, and the total number of edges is n(n−1)2\frac{n(n-1)}{2} 41.

An illustration of a complete graph K_5, where every pair of distinct vertices is connected by a unique edge.

A visual representation of the complete graph K5, showing 5 vertices where every pair of distinct vertices is connected by a unique edge.

Path Graphs (PnP_n)

A simple graph G=⟨V,E⟩G = \langle V, E \rangle is a path if V={v1,v2,…,vn}V = \{v_1, v_2, \dots, v_n\} and E={{v1,v2},{v2,v3},…,{vn−1,vn}}E = \{\{v_1, v_2\}, \{v_2, v_3\}, \dots, \{v_{n-1}, v_n\}\}, where n≥2n \geq 2. The path graph with nn nodes is denoted by PnP_n.

Example: PnP_n consists of two pendant nodes (degree 1) and n−2n-2 nodes of degree 2 43.

Examples of path graphs P_n for n=2 through n=6, illustrating the structure of a simple graph where vertices are connected sequentially.

Cycle Graphs (CnC_n)

A simple graph G=⟨V,E⟩G = \langle V, E \rangle is a cycle if V={v1,v2,…,vn}V = \{v_1, v_2, \dots, v_n\} and E={{v1,v2},{v2,v3},…,{vn−1,vn},{vn,v1}}E = \{\{v_1, v_2\}, \{v_2, v_3\}, \dots, \{v_{n-1}, v_n\}, \{v_n, v_1\}\}, where n≥3n \geq 3. The cycle graph with nn nodes is denoted by CnC_n45.

Tip: In CnC_n, the number of nodes equals the number of edges, and every vertex has a degree of exactly 2 44.

Examples of cycle graphs (C_n) with n=3, 4, 5, and 6 nodes.

Examples of cycle graphs C_n for n=3, 4, 5, and 6, illustrating the structure of a simple graph where every vertex has a degree of two.

Wheel Graphs (WnW_n)

A wheel graph WnW_n on n≥3n \geq 3 vertices has n+1n+1 vertices {v1,v2,…,vn,vn+1}\{v_1, v_2, \dots, v_n, v_{n+1}\}, where {v1,…,vn}\{v_1, \dots, v_n\} form a cycle CnC_n, and the (n+1)(n+1)-th vertex (the hub) is connected by an edge to every vertex in CnC_n.

Example: W3W_3 is equivalent to the complete graph K4K_4 46.

Examples of wheel graphs W_n for n=3, 4, 5, 	ext{{ and }} 6.

Bipartite Graphs

A simple graph G=⟨V,E⟩G = \langle V, E \rangle is bipartite if V(G)V(G) can be partitioned into two disjoint sets V1V_1 and V2V_2 such that for every edge uv∈Euv \in E, u∈V1u \in V_1 and v∈V2v \in V_2. The pair ⟨V1,V2⟩\langle V_1, V_2 \rangle is called a bipartition48.

Fact: Cycle graphs with an even number of vertices, such as C6C_6, are bipartite 47.

Illustration showing that the cycle graph C6 is bipartite by presenting its structure and an equivalent bipartite graph representation.

This diagram illustrates that the cycle graph C6 is bipartite by showing its partition into two sets of vertices, V1 and V2, and the corresponding edges.

Complete Bipartite Graphs (Kn,mK_{n,m})

A complete bipartite graph Kn,mK_{n,m} is a bipartite graph with two subsets V1V_1 and V2V_2 containing nn and mm vertices, respectively. An edge e=uv∈E(Kn,m)e = uv \in E(K_{n,m}) exists if and only if u∈V1u \in V_1 and v∈V2v \in V_250.

Example: In Kn,mK_{n,m}, vertices in V1V_1 all have degree mm, and vertices in V2V_2 all have degree nn 49.

Examples of complete bipartite graphs K_{{n,m}} illustrating the structure where vertices are partitioned into two sets with edges only existing between sets.

Examples of complete bipartite graphs K(n,m) illustrating the structure with different numbers of vertices in the two partitions.

Star Graphs (SnS_n)

The star graph of order nn, denoted by SnS_n, is the complete bipartite graph K1,n−1K_{1, n-1} 51 52.

3.2 Types of Walks and Paths

Connectivity is fundamentally defined through sequences of edges and vertices, classified based on repetition constraints.

Walks, Trails, Circuits, and Paths

The terminology for sequences connecting vertices is highly specific54:

  • Walk: A sequence of edges (or nodes) from an initial vertex uu to a terminal vertex vv.
    • A walk (x0=u,x1,x2,…,xn=v)(x_0=u, x_1, x_2, \dots, x_n=v) has length nn (number of edges ei={xi−1,xi}e_i = \{x_{i-1}, x_i\}).
    • If u=vu=v, the walk is closed.
    • In simple graphs, listing vertices uniquely determines the walk.
    • Example of a walk of length 5: (p,q,t,t,t,q)(p, q, t, t, t, q) or edges (pq,qr,rq,qt,tt)(pq, qr, rq, qt, tt) 55.
  • Trail: A u−vu-v walk with no repeated edges.
    • A closed trail is called a circuit.
  • Path: A u−vu-v trail with no repeated vertices.
    • A closed path is called a cycle 53.
    • A path visits nodes at most once, except possibly the initial and terminal vertices if they are the same.
    • A loop is a cycle of length 1 58.

Query: Does every u−vu-v walk contain a u−vu-v trail 56 57?

3.3 Graph Connectedness and Components

The overall connectivity of a graph is determined by whether paths exist between all pairs of vertices.

Connection and Connected Graphs

  • Connection of Nodes: Two nodes uu and vv in GG are connected if there exists a u−vu-v walk in GG.
  • Connected Graph: A graph GG is connected if every two (distinct) nodes u,v∈V(G)u, v \in V(G) are connected60.
  • If GG is not connected, it is called disconnected.
  • By convention, the trivial graph (single vertex) is considered connected 59.

Connected Components

The structure of disconnected graphs is analyzed using components62:

  • Component of a Graph G=⟨V,E⟩G = \langle V, E \rangle: A connected, maximal subgraph of GG.
  • Remarks on Components:
    • Connected components are subgraphs where all vertices within that subgraph are connected to each other.
    • Maximality means the component cannot be extended by adding more vertices or edges from GG while remaining a connected subgraph.
    • Every isolated vertex forms its own component (a trivial subgraph).
    • GG is connected if and only if it contains exactly one component (which is GG itself).

Example: If a graph drawing shows two separate clusters of vertices with no edges between them, it has at least two distinct components 61.

4. Special simple graphs, graph operations, and trees (part 1)

This section summarizes key concepts related to specific simple graph structures, graph modification operations (deletion, union, join), and introduces the foundational properties of trees, along with related connectivity concepts like bridges and cut vertices.

4.1 Cut vertices and bridges

A graph's connectivity can be analyzed by examining how its components change upon removal of specific elements.

Definitions related to connectivity elements:

  • Cut Vertex (Articulation Point): A vertex vv in a graph GG is a cut vertex if its removal, resulting in the subgraph G−vG - v, increases the number of connected components in the graph.
  • Bridge (Cut Edge): An edge ee in a graph GG is a bridge if its removal, resulting in the subgraph G−eG - e, increases the number of connected components in the graph 64 65.

The concept of increasing connected components is illustrated by considering the removal of a vertex or an edge. For instance, removing a vertex might split a graph into multiple pieces, identifying that vertex as an articulation point.

Illustrations showing the effect of removing a node (cut vertex) or an edge (bridge) from a graph G on its connectivity.

4.2 Eulerian trails and circuits

Eulerian concepts deal with traversing every edge of a graph exactly once.

Definitions for edge traversal:

  1. An Eulerian trail in a graph GG is a simple trail containing every edge of GG.
  2. An Eulerian circuit in a graph GG is a simple circuit containing every edge of GG.

These concepts originated historically with the famous Königsberg's bridge problem, which asked if it was possible to cross all seven bridges exactly once and return to the start. Euler's solution, which concluded it was impossible, is considered the first theorem of graph theory. This type of problem relates to whether an Eulerian path or circuit exists in the corresponding graph representation 69 70.

A diagram illustrating the seven bridges connecting the four landmasses (A, B, C, D) in the historical Königsberg bridge problem.

A diagram illustrating the seven bridges of Königsberg connecting four landmasses (A, B, C, D).

The general problem often presented in motivational contexts involves determining if a drawing can be traced continuously without lifting the pencil or retracing lines, which directly translates to finding an Eulerian path or circuit in the graph representing the figure 72 73.

A line drawing of an envelope shape with diagonals drawn inside, used to illustrate a problem in graph theory regarding continuous drawing without lifting the pencil or retracing its parts.

A graph structure with five labeled vertices (n1 to n5) connected by edges, illustrating a problem related to continuous drawing.

Euler's Theorem for Connected Graphs: A non-trivial connected graph (with at least two vertices) contains:

  1. An Eulerian circuit if and only if every vertex has an even degree.
  2. An Eulerian trail (but no Eulerian circuits) if and only if it has exactly two vertices of an odd degree. The odd-degree vertices must serve as the initial and terminal points of that trail.

The existence of these paths is contingent upon the parity of the degrees of the vertices in the graph 75 76.

Three example graphs (G1, G2, G3) illustrating the existence of Eulerian trails and circuits.

4.3 Hamiltonian cycles

Hamiltonian concepts focus on traversing every vertex of a graph exactly once.

Definitions for vertex traversal:

  1. A Hamiltonian path is a simple path in a graph that passes through every vertex exactly once.
  2. A Hamiltonian cycle (or Hamiltonian circuit, according to the provided definition) is a simple circuit in a graph that passes through every vertex exactly once.

Note: The text explicitly states that a Hamiltonian circuit, based on this definition, is equivalent to a Hamiltonian cycle.

Unlike Eulerian problems, determining the existence of Hamiltonian paths or cycles is significantly more complex (NP-complete in general). Historical context includes Hamilton’s famous "Voyage Round the World" Puzzle involving the dodecahedron 78 79.

Three example graphs (G_1, G_2, G_3) illustrating the existence of Eulerian trails and circuits based on their structure.

4.4 Operations on graphs: Subgraphs and Deletion

Graph operations allow for the creation of new graphs from existing ones, often involving induced subgraphs.

Subgraph Definitions (Formal): Let G1=⟨V1,E1⟩G_1 = \langle V_1, E_1 \rangle and G2=⟨V2,E2⟩G_2 = \langle V_2, E_2 \rangle be two graphs.

  • G2G_2 is a subgraph of G1G_1 if V2⊆V1V_2 \subseteq V_1 and E2⊆E1E_2 \subseteq E_1.
  • G2G_2 is a spanning subgraph of G1G_1 if G2G_2 is a subgraph with V2=V1V_2 = V_1 (i.e., contains all vertices of G1G_1).
  • G2G_2 is a vertex induced subgraph of G1G_1 if V2⊆V1V_2 \subseteq V_1, and E2E_2 contains only those edges whose end vertices are both in V2V_2.
  • G2G_2 is an edge induced subgraph of G1G_1 if E2⊆E1E_2 \subseteq E_1, and V2V_2 contains only the end vertices of the edges in E2E_2.
  • A clique of GG is a subgraph of GG that is a complete graph 80.

Tip: The informal definitions clarify that a subgraph is any subset of nodes plus any subset of edges. A vertex induced subgraph requires all connecting edges between the chosen vertices to be included 81.

Graph Deletion Operations: For a graph G=⟨V,E⟩G = \langle V, E \rangle:

  • Deletion of vertices: If v∈Vv \in V and ∣V∣≥2|V| \geq 2, then G−vG - v is the subgraph induced by the vertex set V−{v}V - \{v\}. Similarly, G−SVG - S_V, where SV⊂VS_V \subset V, is induced by V−SVV - S_V.
  • Deletion of edges: If e∈Ee \in E, then G−eG - e is the subgraph induced by the edge set E−{e}E - \{e\}. Similarly, G−SEG - S_E, where SE⊆ES_E \subseteq E, is induced by E−SEE - S_E.

Complement of a Simple Graph: The complement of a simple graph G=⟨V,E⟩G = \langle V, E \rangle is the simple graph Gˉ=⟨V,Eˉ⟩\bar{G} = \langle V, \bar{E} \rangle, where an edge e∈Eˉe \in \bar{E} if and only if e∉Ee \notin E (i.e., Eˉ\bar{E} contains exactly the edges that are not in EE).

A graph GG is self-complementary if GG is isomorphic to its complement, denoted G∼=GˉG \sim= \bar{G}.

  • Example: The complete graph KnK_n is the empty graph on nn nodes (which only has edges if n=1n=1 or n=0n=0, depending on context, but generally is contrasted with Kˉn\bar{K}_n, the empty graph, which is the complement of KnK_n). A concrete example provided is that C5C_5 (the cycle graph on 5 vertices) is self-complementary, meaning C5∼=C5‾C_5 \sim= \overline{C_5} 82.

5. Special simple graphs, graph operations, and trees (part 2)

This section summarizes key operations performed on graphs, definitions related to graph structure modifications like subdivisions and homeomorphisms, and the fundamental properties and theorems characterizing trees.

5.1 Operations on graphs

Graph operations define how existing graphs can be combined or reduced to form new graphs. These operations are crucial for constructing complex structures from simpler components.

5.1.1 Deletion Operations

Deletion involves removing specified vertices or edges from a graph G=⟨V,E⟩G = \langle V, E \rangle to induce a subgraph.

  • Vertex Deletion: If v∈Vv \in V and ∣V∣≥2|V| \geq 2, the graph G−vG - v is the subgraph induced by the vertex set V−{v}V - \{v\}. More generally, G−SVG - S_V, where SV⊂VS_V \subset V, is the subgraph induced by V−SVV - S_V.
  • Edge Deletion: If e∈Ee \in E, the graph G−eG - e is the subgraph induced by the edge set E−{e}E - \{e\}. Similarly, G−SEG - S_E, where SE⊆ES_E \subseteq E, is the subgraph induced by E−SEE - S_E.

5.1.2 Complement Graph

The complement of a simple graph G=⟨V,E⟩G = \langle V, E \rangle is denoted Gˉ=⟨V,Eˉ⟩\bar{G} = \langle V, \bar{E} \rangle, where an edge e∈Eˉe \in \bar{E} if and only if e∉Ee \notin E. In essence, Gˉ\bar{G} contains all possible edges that are missing from GG.

  • A graph GG is self-complementary if G≅GˉG \cong \bar{G}.

    Example: The complete graph KnK_n is the empty graph with nn nodes (if n>1n>1, assuming KnK_n is the graph with nn vertices and no edges based on context, although typically KnK_n is complete), and the cycle graph C5C_5 is self-complementary (C5≅C5ˉC_5 \cong \bar{C_5}) 83.

5.1.3 Union and Join of Distinct Graphs

For two distinct graphs G1=⟨V1,E1⟩G_1 = \langle V_1, E_1 \rangle and G2=⟨V2,E2⟩G_2 = \langle V_2, E_2 \rangle where V1∩V2=∅V_1 \cap V_2 = \emptyset:

  • Disjoint Union: The disjoint union G=G1∪G2G = G_1 \cup G_2 is defined as G=⟨V1∪V2,E1∪E2⟩G = \langle V_1 \cup V_2, E_1 \cup E_2 \rangle.
    • If GG consists of n≥2n \geq 2 disjoint copies of a graph HH, it is denoted G=nHG = nH. For example, C4≅2P2C_4 \cong 2P_2.
    • The adjacency matrix A(G1∪G2)A(G_1 \cup G_2) is a block diagonal matrix formed by A(G1)A(G_1) and A(G2)A(G_2): A(G1∪G2)=[A(G1)00A(G2)]A(G_1 \cup G_2) = \begin{bmatrix} A(G_1) & 0 \\ 0 & A(G_2) \end{bmatrix}.

The adjacency matrix for the disjoint union of two graphs G1 and G2 is a block diagonal matrix.

The adjacency matrix for the disjoint union of two graphs, G1 and G2, is represented as a block diagonal matrix.

  • Join: The join G=G1+G2G = G_1 + G_2 is defined as G=⟨V1∪V2,E⟩G = \langle V_1 \cup V_2, E \rangle, where E=E1∪E2∪{uv∣u∈V1 and v∈V2}E = E_1 \cup E_2 \cup \{uv \mid u \in V_1 \text{ and } v \in V_2 \}.
    • The join is equivalent to taking the disjoint union and then adding an edge between every vertex in G1G_1 and every vertex in G2G_2.
    • Examples include Km,n≅Km+KnK_{m,n} \cong K_m + K_n and the wheel graph Wn≅Cn+⟨{v},∅⟩W_n \cong C_n + \langle \{v\}, \emptyset \rangle 86.

5.2 Subdivision, Contraction, and Homeomorphism

These concepts describe structural equivalences between graphs based on operations that preserve path structures, often involving internal vertices of degree 2.

  • Subdivision: A graph formed by replacing one or more edges with paths consisting of one or more edges (by inserting vertices of degree 2 along the original edges). An elementary subdivision adds exactly one new vertex of degree 2 to subdivide a single edge.
  • Edge Contraction: The reverse operation of subdivision. It involves removing an edge ee passing through a vertex of degree 2 and simultaneously merging the two nodes incident to that edge.
  • Homeomorphism: Two graphs are homeomorphic if one can be obtained from the other through a sequence of elementary subdivisions or contractions. Homeomorphism is an equivalence relation on graphs.

    Tip: Homeomorphism generally cannot alter the count of vertices with degrees other than 2 (when considering the operations strictly as described).

Examples of three graphs (G1, G2, G3) that are homeomorphic to each other, illustrating the concept of graph homeomorphism.

Example: All path graphs PiP_i for i≥2i \geq 2 are homeomorphic to each other 88.

5.3 Trees and Fundamental Theorems

Trees are fundamental structures in graph theory, defined by their lack of cycles and their connectivity properties.

5.3.1 Definitions

  • Acyclic Graph: A graph that contains no cycles.
  • Forest: An acyclic graph.
  • Tree: A graph that is both connected and acyclic.

5.3.2 Fundamental Theorems on Trees

A (p,q)(p, q)-graph is a graph with pp vertices and qq edges. The following theorems establish key relationships regarding trees 90:

  1. In a tree, every pair of vertices is connected by a unique path.
  2. If GG is a (p,q)(p, q)-tree, then q=p−1q = p - 1.
  3. Every nontrivial tree has at least two pendant vertices (vertices of degree 1).
  4. An edge of a graph is a bridge if and only if it is contained in no cycle.
  5. A connected graph is a tree if and only if every edge is a bridge.
  6. Every connected graph contains a spanning tree.
  7. If TT is a spanning tree of a connected graph GG, and ee is an edge in E(G)E(G) but not in TT, then the subgraph formed by E(T)∪{e}E(T) \cup \{e\} contains exactly one unique cycle.

5.3.3 Order and Size of a Tree

The relationship between the number of vertices (pp) and edges (qq) in a tree is strictly defined by q=p−1q = p - 1.

This theorem can be proven using strong induction on pp:

  • Base Case (p=1p=1): G≅K1G \cong K_1, so q=0q=0, which satisfies q=p−1q = p-1.
  • Inductive Step: Assume the theorem holds for all trees with fewer than pp vertices. Let GG be a tree with p≥2p \geq 2 vertices, and let e=uve=uv be any edge in GG.
    • Removing ee disconnects GG into two components, G1G_1 and G2G_2, because ee was the unique u−vu-v path. Both components must be trees.
    • If G1G_1 has p1p_1 vertices and q1q_1 edges, and G2G_2 has p2p_2 vertices and q2q_2 edges, then by the hypothesis, q1=p1−1q_1 = p_1 - 1 and q2=p2−1q_2 = p_2 - 1.
    • The total number of edges qq in GG is q=q1+q2+1q = q_1 + q_2 + 1 (for the removed edge ee).
    • Therefore, q=(p1−1)+(p2−1)+1=p1+p2−1=p−1q = (p_1 - 1) + (p_2 - 1) + 1 = p_1 + p_2 - 1 = p - 1 91.

5.3.4 Tree Characterization via Bridges

A critical relationship connects the bridge property to the definition of a tree: A connected graph is a tree if and only if every edge in the graph is a bridge.

  • Proof: Tree ⇒\Rightarrow All edges are bridges: If GG is a tree, it is acyclic. By definition, an edge e∈E(G)e \in E(G) contained in no cycle must be a bridge.
  • Proof: All edges are bridges ⇒\Rightarrow Tree (Contrapositive): If GG is connected but NOT a tree, it must contain at least one cycle CC. Any edge ee belonging to a cycle CC cannot be a bridge, because removing ee still leaves an alternate path between its endpoints within CC. This contradicts the premise that all edges are bridges, thus the original statement holds.

Remember: An edge is a bridge if and only if it belongs to no cycle 92.

6. Eulerian/Hamiltonian concepts, planarity, and isomorphism revisited

This section reviews the topological properties of graphs concerning embedding in a plane (planarity) and structural equivalence (isomorphism), emphasizing key theorems like Euler's formula and Kuratowski's theorem.

6.1 Planarity: Definitions and Embeddings

Planarity addresses whether a graph can be drawn on a surface (like the plane, R2\mathbb{R}^2) such that no edges cross, except at shared endpoints.

A planar representation is a drawing of a graph in the plane where edge crossings occur only at vertices. A graph is planar if it admits at least one planar representation. It is important to note that a drawing with edge crossings does not automatically imply the graph is non-planar; the graph might just need to be redrawn without crossings. Proving planarity requires providing such a representation, while proving non-planarity relies on structural theorems.

The classic "Houses and Utilities Problem" illustrates a fundamental question of planarity: connecting three houses to three utilities (gas, water, electricity) without line crossings. This problem results in a drawing where lines must cross.

A diagram illustrating the three houses and three utilities problem, which is a classic example used to demonstrate non-planarity in graph theory.

If a graph GG has a drawing with crossings, it might still be planar, potentially requiring a realization in 3D space or a re-embedding in R2\mathbb{R}^2 to eliminate those crossings.

Illustrations comparing a non-planar drawing of a graph with its planar representation, alongside a 3D model suggesting embedding.

6.2 Euler's Formula for Planar Graphs

For any connected, planar, simple graph with pp vertices, qq edges, and rr regions in its planar embedding, Euler established a fundamental relationship:

Euler’s Formula: p−q+r=2\text{Euler's Formula: } p - q + r = 2

Here, rr includes the exterior (unbounded) region. This formula is critical for deriving constraints on the number of edges a planar graph can possess.

Euler's formula for planar graphs relates the number of vertices (p), edges (q), and regions (r) in a connected, planar, simple graph.

These constraints lead to several important corollaries:

  1. If GG is a planar (p,q)(p, q)-graph with p≥3p \geq 3, then q≤3p−6q \leq 3p - 6.
  2. If GG is planar and contains no cycles of length 3 (no triangles), then q≤2p−4q \leq 2p - 4.
  3. Every planar graph must contain at least one vertex of degree less than or equal to 5.
  4. The complete graph K5K_5 and the complete bipartite graph K3,3K_{3,3} are both non-planar.

Tip: The inequality q≤3p−6q \leq 3p - 6 is a necessary condition for planarity, but not sufficient. For instance, K3,3K_{3,3} has p=6p=6 and q=9q=9. 3p−6=3−6=123p - 6 = 3 - 6 = 12. Since 9≤129 \leq 12, the condition holds, yet K3,3K_{3,3} is non-planar 96.

6.3 Homeomorphism, Subdivisions, and Kuratowski's Theorem

To precisely characterize non-planar graphs, the concept of homeomorphic graphs is necessary.

Definitions related to structural modification:

  • Subdivision of a graph: Formed by replacing edges with paths of one or more edges.
    • An elementary subdivision adds a degree-2 vertex to split a single edge.
    • An edge contraction removes an edge ee and merges its two incident nodes.
  • Homeomorphic Graphs: Two graphs are homeomorphic if one can be obtained from the other through a sequence of elementary subdivisions or contractions. Path graphs PiP_i for i≥2i \geq 2 are all homeomorphic to one another.

Example: Path graphs PiP_i are homeomorphic for i≥2i \geq 2, as one can be transformed into another via subdivisions (adding degree-2 vertices) 99.

Kuratowski's Theorem provides the definitive structural test for planarity: Theorem (Kuratowski's): A graph is non-planar if and only if it contains a subgraph that is homeomorphic to K3,3K_{3,3} or K5K_5 107 108.

K3,3K_{3,3} is the smallest non-planar bipartite graph.

A visual representation of the complete bipartite graph K3,3, which is a forbidden minor in Kuratowski's Theorem.

The Petersen Graph is a canonical example used to demonstrate non-planarity via Kuratowski's theorem. It has 10 vertices and is 3-regular.

A diagram illustrating the structure of the Petersen Graph, a 3-regular graph with 10 vertices and 15 edges.

It has been shown that the Petersen Graph contains subgraphs homeomorphic to both K5K_5 (via specific edge contractions) and K3,3K_{3,3}.

The Petersen Graph, an example used to illustrate Kuratowski's Theorem regarding nonplanar graphs.

The Petersen Graph is presented as an example illustrating Kuratowski's Theorem regarding nonplanar graphs.

The Petersen Graph, used as an example to illustrate Kuratowski's Theorem regarding nonplanar graphs.

6.3.1 Summary for Checking Planarity

To prove a graph GG is non-planar, one must show it contains a subdivision of K5K_5 or K3,3K_{3,3}. To prove planarity, one must successfully draw it without crossings. If GG is not planar, it must violate one of the necessary conditions derived from Euler's formula or contain a forbidden minor:

  1. If q>3p−6q > 3p - 6, then GG is non-planar.
  2. If GG has no triangles (girth ≥4\geq 4) and q>2p−4q > 2p - 4, then GG is non-planar.
  3. If GG is homeomorphic to K5K_5 or K3,3K_{3,3} (or contains such a subgraph), GG is non-planar.
  4. If every vertex in GG has a degree greater than 5, then GG is non-planar, as every planar graph must have a vertex with degree ≤5\leq 5 104 97.

6.4 Graph Isomorphism Revisited

Graph isomorphism arises when the geometric appearance of a graph drawing is irrelevant, and only the underlying structure matters. Two non-identical graphs G1≠G2G_1 \neq G_2 are isomorphic (G1∼=G2G_1 \sim= G_2) if they possess identical structures 109.

Definition of Isomorphism: G1=⟨V1,E1⟩G_1 = \langle V_1, E_1 \rangle and G2=⟨V2,E2⟩G_2 = \langle V_2, E_2 \rangle are isomorphic if:

  1. There exists a bijection f:V1→V2f: V_1 \rightarrow V_2.
  2. For all u,v∈V1u, v \in V_1, the edge {u,v}∈E1\{u, v\} \in E_1 if and only if {f(u),f(v)}∈E2\{f(u), f(v)\} \in E_2.

The function ff is called an isomorphism. If no such function exists, the graphs are nonisomorphic (G1≁=G2G_1 \not\sim= G_2) 110 111.

Example: Finding an isomorphism requires finding a vertex mapping that preserves adjacency. If the degree sequence of G1G_1 and G2G_2 is fixed, the potential mapping ff might be unique up to renaming vertices 115.

An example illustrating graph isomorphism between two graphs, G1 (a pentagram) and G2 (a pentagon), using a mapping function f.

6.4.1 Graph Invariants and Non-Isomorphism

Two graphs are proven nonisomorphic if one possesses a structural property (an invariant) that the other lacks, even if they share basic counts like the number of vertices and edges.

Examples of Graph Invariants:

  • Number of vertices (pp) and edges (qq).
  • Presence of loops or multiple edges (simplicity).
  • Degree distribution (the set of vertex degrees).
  • Bipartitionability.
  • Planarity status.
  • Connectedness (number of components).
  • Presence and length of specific cycles or paths.
  • Whether the graph is complete (KnK_n).

If any invariant differs between G1G_1 and G2G_2, they cannot be isomorphic. For instance, two graphs sharing p=6,q=8p=6, q=8, having the same degree distribution ({3,3,3,3,2,2}\{3, 3, 3, 3, 2, 2\}), and being connected might still be nonisomorphic if one is bipartite and the other is not 113 114.

A collection of twelve labeled graphs (G1 through G12) presented in pairs to illustrate concepts related to graph isomorphism.

Common mistakes to avoid

  • Review all topics thoroughly before exams
  • Pay attention to formulas and key definitions
  • Practice with examples provided in each section
  • Don't memorize without understanding the underlying concepts

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also