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.

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).

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

1.2 Formal definition and basic notation for undirected graphs
A finite graph G is formally defined as a pair G=⟨V,E⟩ 9, 10, 11, consisting of two components:
- Vertex Set (V): A non-empty, finite set V=∅, called the vertex set of G. Any element v∈V is called a node or vertex.
- Edge Set (E): A set E composed of two-element subsets of V. These subsets are the edges of G.
The order of the graph G is the number of vertices, denoted by ∣V∣. The size of the graph G is the number of edges, denoted by ∣E∣ 15. The notations V(G) and E(G) are used to denote the vertex and edge sets of G, respectively .
An edge e connecting vertices u and v is written as e={u,v}, with the constraint that u=v for standard graphs described here (though later definitions allow u=v for loops). The vertices u and v are incident with the edge e, and u and v are adjacent in G. For convenience, e=uv may be used if the context is clear .
Tip: When dealing with a (p,q)-graph, p denotes the order (∣V∣) and q denotes the size (∣E∣), such that G=⟨V,E⟩ where ∣V∣=p and ∣E∣=q .
A specific example of a graph G can be defined by listing its vertices and edges:

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

Alternatively, the set notation G={V,E} where each edge e is {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, most commonly R2 . 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} and E={{p,q},{p,s},{q,r},{q,t},{s,u}}, the following two diagrams represent the identical graph G, simply drawn differently in R2:

1.4 Vertex degrees and the Handshaking Theorem
The degree of a vertex v, denoted degG(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.
- A pendant vertex has 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∣
Example: In the provided example, ∑deg(v)=14, which equals 2×∣E∣ (where ∣E∣=7) 14.
1.5 Directed graphs (Digraphs) and related concepts
A directed graph (digraph) D is defined as D=⟨V,E⟩, where E is a set of directed edges (or arcs), which are ordered pairs of vertices in V 18 8.
In digraphs, degrees are directional:
- Out-degree (degD+(v)): The number of arcs having v as their initial vertex.
- In-degree (degD−(v)): The number of arcs having v as their terminal vertex.

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)∣ 19.
∑v∈V(D)degD+(v)=∑v∈V(D)degD−(v)=∣E(D)∣
Two related definitions involve converting between graphs and digraphs:
- Underlying Graph: Given a digraph D=⟨V,E⟩, its underlying graph G=⟨V,E′⟩ is formed by taking the same vertex set V and ignoring the orientation of all arcs in E to form undirected edges E′ 21.
- Orientation: Given an undirected graph G=⟨V,E⟩, an orientation is a digraph D=⟨V,E′⟩ created by assigning a direction (an arc uv or vu) to every edge {u,v}∈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} 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:
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⟩ is null if it has no vertices, meaning V=∅ 24.
- Trivial Graph: A graph is trivial if it contains exactly one vertex, i.e., ∣V∣=1 25.
- Empty Graph: A graph is empty if it contains no edges, i.e., E=∅ 26.
- Simple Graph: A graph is simple if it contains neither parallel edges nor loops.
- Unless explicitly stated otherwise, a graph G=⟨V,E⟩ 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} with a self-edge (loop) on vertex t and parallel edges between q and r is an example of a pseudograph, not a simple graph 28.
A graph G is defined by its vertex set V and edge set E, denoted as G=⟨V,E⟩.
- The order of the graph is the number of vertices: ∣V(G)∣.
- The size of the graph is the number of edges: ∣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⟩ and G2=⟨V2,E2⟩ are isomorphic, denoted G1≅G2, if and only if there exists a bijection f:V1→V2 that is adjacent-preserving.
The condition for adjacency preservation is stated as: For all u,v∈V1, the edge {u,v}∈E1 if and only if {f(u),f(v)}∈E2. If no such bijection exists, the graphs are non-isomorphic (G1≅G2) 31.
Tip: When proving isomorphism, providing the colorings or drawings is insufficient; the complete proof requires explicitly defining the structure-preserving bijective mapping f between the vertex sets.
Isomorphism means the structural relations are identical. For example, a complete graph K5 can be drawn as a pentagram, which is isomorphic to its drawing as a regular pentagon C5 32.
Example: Two structurally identical graphs, G1 and G2, are shown to be isomorphic via a mapping f that preserves the connectivity between vertices 34.
Coloring can be used as a demonstration aid, but the rigorous requirement is the bijective mapping 36.

2.3 Planarity (Brief Mention)
A graph is deemed planar if it can be drawn in the plane (R2) without any edges crossing (a planar representation). If a graph drawing in R2 contains crossings, the graph itself may still be planar if an alternative drawing without crossings exists 38.

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 v, denoted 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 (Kn)
A simple graph G=⟨V,E⟩ is complete if it contains every possible edge between all vertices. The complete graph with n≥1 nodes is denoted by Kn42.
Tip: For Kn, every vertex has degree n−1, and the total number of edges is 2n(n−1) 41.


Path Graphs (Pn)
A simple graph G=⟨V,E⟩ is a path if V={v1,v2,…,vn} and E={{v1,v2},{v2,v3},…,{vn−1,vn}}, where n≥2. The path graph with n nodes is denoted by Pn.
Example: Pn consists of two pendant nodes (degree 1) and n−2 nodes of degree 2 43.

Cycle Graphs (Cn)
A simple graph G=⟨V,E⟩ is a cycle if V={v1,v2,…,vn} and E={{v1,v2},{v2,v3},…,{vn−1,vn},{vn,v1}}, where n≥3. The cycle graph with n nodes is denoted by Cn45.
Tip: In Cn, the number of nodes equals the number of edges, and every vertex has a degree of exactly 2 44.


Wheel Graphs (Wn)
A wheel graph Wn on n≥3 vertices has n+1 vertices {v1,v2,…,vn,vn+1}, where {v1,…,vn} form a cycle Cn, and the (n+1)-th vertex (the hub) is connected by an edge to every vertex in Cn.
Example: W3 is equivalent to the complete graph K4 46.

Bipartite Graphs
A simple graph G=⟨V,E⟩ is bipartite if V(G) can be partitioned into two disjoint sets V1 and V2 such that for every edge uv∈E, u∈V1 and v∈V2. The pair ⟨V1,V2⟩ is called a bipartition48.
Fact: Cycle graphs with an even number of vertices, such as C6, are bipartite 47.


Complete Bipartite Graphs (Kn,m)
A complete bipartite graph Kn,m is a bipartite graph with two subsets V1 and V2 containing n and m vertices, respectively. An edge e=uv∈E(Kn,m) exists if and only if u∈V1 and v∈V250.
Example: In Kn,m, vertices in V1 all have degree m, and vertices in V2 all have degree n 49.


Star Graphs (Sn)
The star graph of order n, denoted by Sn, is the complete bipartite graph K1,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 u to a terminal vertex v.
- A walk (x0=u,x1,x2,…,xn=v) has length n (number of edges ei={xi−1,xi}).
- If u=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) or edges (pq,qr,rq,qt,tt) 55.
- Trail: A u−v walk with no repeated edges.
- A closed trail is called a circuit.
- Path: A u−v trail with no repeated vertices.
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 u and v in G are connected if there exists a u−v walk in G.
- Connected Graph: A graph G is connected if every two (distinct) nodes u,v∈V(G) are connected60.
- If G 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⟩: A connected, maximal subgraph of G.
- 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 G while remaining a connected subgraph.
- Every isolated vertex forms its own component (a trivial subgraph).
- G is connected if and only if it contains exactly one component (which is G 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 v in a graph G is a cut vertex if its removal, resulting in the subgraph G−v, increases the number of connected components in the graph.
- Bridge (Cut Edge): An edge e in a graph G is a bridge if its removal, resulting in the subgraph G−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.

4.2 Eulerian trails and circuits
Eulerian concepts deal with traversing every edge of a graph exactly once.
Definitions for edge traversal:
- An Eulerian trail in a graph G is a simple trail containing every edge of G.
- An Eulerian circuit in a graph G is a simple circuit containing every edge of G.
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.


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.


Euler's Theorem for Connected Graphs: A non-trivial connected graph (with at least two vertices) contains:
- An Eulerian circuit if and only if every vertex has an even degree.
- 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.

4.3 Hamiltonian cycles
Hamiltonian concepts focus on traversing every vertex of a graph exactly once.
Definitions for vertex traversal:
- A Hamiltonian path is a simple path in a graph that passes through every vertex exactly once.
- 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.

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⟩ and G2=⟨V2,E2⟩ be two graphs.
- G2 is a subgraph of G1 if V2⊆V1 and E2⊆E1.
- G2 is a spanning subgraph of G1 if G2 is a subgraph with V2=V1 (i.e., contains all vertices of G1).
- G2 is a vertex induced subgraph of G1 if V2⊆V1, and E2 contains only those edges whose end vertices are both in V2.
- G2 is an edge induced subgraph of G1 if E2⊆E1, and V2 contains only the end vertices of the edges in E2.
- A clique of G is a subgraph of G 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⟩:
- Deletion of vertices: If v∈V and ∣V∣≥2, then G−v is the subgraph induced by the vertex set V−{v}. Similarly, G−SV, where SV⊂V, is induced by V−SV.
- Deletion of edges: If e∈E, then G−e is the subgraph induced by the edge set E−{e}. Similarly, G−SE, where SE⊆E, is induced by E−SE.
Complement of a Simple Graph: The complement of a simple graph G=⟨V,E⟩ is the simple graph Gˉ=⟨V,Eˉ⟩, where an edge e∈Eˉ if and only if e∈/E (i.e., Eˉ contains exactly the edges that are not in E).
A graph G is self-complementary if G is isomorphic to its complement, denoted G∼=Gˉ.
- Example: The complete graph Kn is the empty graph on n nodes (which only has edges if n=1 or n=0, depending on context, but generally is contrasted with Kˉn, the empty graph, which is the complement of Kn). A concrete example provided is that C5 (the cycle graph on 5 vertices) is self-complementary, meaning C5∼=C5 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⟩ to induce a subgraph.
- Vertex Deletion: If v∈V and ∣V∣≥2, the graph G−v is the subgraph induced by the vertex set V−{v}. More generally, G−SV, where SV⊂V, is the subgraph induced by V−SV.
- Edge Deletion: If e∈E, the graph G−e is the subgraph induced by the edge set E−{e}. Similarly, G−SE, where SE⊆E, is the subgraph induced by E−SE.
5.1.2 Complement Graph
The complement of a simple graph G=⟨V,E⟩ is denoted Gˉ=⟨V,Eˉ⟩, where an edge e∈Eˉ if and only if e∈/E. In essence, Gˉ contains all possible edges that are missing from G.
- A graph G is self-complementary if G≅Gˉ.
Example: The complete graph Kn is the empty graph with n nodes (if n>1, assuming Kn is the graph with n vertices and no edges based on context, although typically Kn is complete), and the cycle graph C5 is self-complementary (C5≅C5ˉ) 83.
5.1.3 Union and Join of Distinct Graphs
For two distinct graphs G1=⟨V1,E1⟩ and G2=⟨V2,E2⟩ where V1∩V2=∅:
- Disjoint Union: The disjoint union G=G1∪G2 is defined as G=⟨V1∪V2,E1∪E2⟩.
- If G consists of n≥2 disjoint copies of a graph H, it is denoted G=nH. For example, C4≅2P2.
- The adjacency matrix A(G1∪G2) is a block diagonal matrix formed by A(G1) and A(G2): A(G1∪G2)=[A(G1)00A(G2)].


- Join: The join G=G1+G2 is defined as G=⟨V1∪V2,E⟩, where E=E1∪E2∪{uv∣u∈V1 and v∈V2}.
- The join is equivalent to taking the disjoint union and then adding an edge between every vertex in G1 and every vertex in G2.
- Examples include Km,n≅Km+Kn and the wheel graph Wn≅Cn+⟨{v},∅⟩ 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 e 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).

Example: All path graphs Pi for i≥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)-graph is a graph with p vertices and q edges. The following theorems establish key relationships regarding trees 90:
- In a tree, every pair of vertices is connected by a unique path.
- If G is a (p,q)-tree, then q=p−1.
- Every nontrivial tree has at least two pendant vertices (vertices of degree 1).
- An edge of a graph is a bridge if and only if it is contained in no cycle.
- A connected graph is a tree if and only if every edge is a bridge.
- Every connected graph contains a spanning tree.
- If T is a spanning tree of a connected graph G, and e is an edge in E(G) but not in T, then the subgraph formed by E(T)∪{e} contains exactly one unique cycle.
5.3.3 Order and Size of a Tree
The relationship between the number of vertices (p) and edges (q) in a tree is strictly defined by q=p−1.
This theorem can be proven using strong induction on p:
- Base Case (p=1): G≅K1, so q=0, which satisfies q=p−1.
- Inductive Step: Assume the theorem holds for all trees with fewer than p vertices. Let G be a tree with p≥2 vertices, and let e=uv be any edge in G.
- Removing e disconnects G into two components, G1 and G2, because e was the unique u−v path. Both components must be trees.
- If G1 has p1 vertices and q1 edges, and G2 has p2 vertices and q2 edges, then by the hypothesis, q1=p1−1 and q2=p2−1.
- The total number of edges q in G is q=q1+q2+1 (for the removed edge e).
- Therefore, q=(p1−1)+(p2−1)+1=p1+p2−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 ⇒ All edges are bridges: If G is a tree, it is acyclic. By definition, an edge e∈E(G) contained in no cycle must be a bridge.
- Proof: All edges are bridges ⇒ Tree (Contrapositive): If G is connected but NOT a tree, it must contain at least one cycle C. Any edge e belonging to a cycle C cannot be a bridge, because removing e still leaves an alternate path between its endpoints within C. 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) 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.

If a graph G has a drawing with crossings, it might still be planar, potentially requiring a realization in 3D space or a re-embedding in R2 to eliminate those crossings.

6.2 Euler's Formula for Planar Graphs
For any connected, planar, simple graph with p vertices, q edges, and r regions in its planar embedding, Euler established a fundamental relationship:
Euler’s Formula: p−q+r=2
Here, r includes the exterior (unbounded) region. This formula is critical for deriving constraints on the number of edges a planar graph can possess.

These constraints lead to several important corollaries:
- If G is a planar (p,q)-graph with p≥3, then q≤3p−6.
- If G is planar and contains no cycles of length 3 (no triangles), then q≤2p−4.
- Every planar graph must contain at least one vertex of degree less than or equal to 5.
- The complete graph K5 and the complete bipartite graph K3,3 are both non-planar.
Tip: The inequality q≤3p−6 is a necessary condition for planarity, but not sufficient. For instance, K3,3 has p=6 and q=9. 3p−6=3−6=12. Since 9≤12, the condition holds, yet K3,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 e 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 Pi for i≥2 are all homeomorphic to one another.
Example: Path graphs Pi are homeomorphic for i≥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,3 or K5 107 108.
K3,3 is the smallest non-planar bipartite graph.

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

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



6.3.1 Summary for Checking Planarity
To prove a graph G is non-planar, one must show it contains a subdivision of K5 or K3,3. To prove planarity, one must successfully draw it without crossings. If G is not planar, it must violate one of the necessary conditions derived from Euler's formula or contain a forbidden minor:
- If q>3p−6, then G is non-planar.
- If G has no triangles (girth ≥4) and q>2p−4, then G is non-planar.
- If G is homeomorphic to K5 or K3,3 (or contains such a subgraph), G is non-planar.
- If every vertex in G has a degree greater than 5, then G is non-planar, as every planar graph must have a vertex with degree ≤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=G2 are isomorphic (G1∼=G2) if they possess identical structures 109.
Definition of Isomorphism: G1=⟨V1,E1⟩ and G2=⟨V2,E2⟩ are isomorphic if:
- There exists a bijection f:V1→V2.
- For all u,v∈V1, the edge {u,v}∈E1 if and only if {f(u),f(v)}∈E2.
The function f is called an isomorphism. If no such function exists, the graphs are nonisomorphic (G1∼=G2) 110 111.
Example: Finding an isomorphism requires finding a vertex mapping that preserves adjacency. If the degree sequence of G1 and G2 is fixed, the potential mapping f might be unique up to renaming vertices 115.

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 (p) and edges (q).
- 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 (Kn).
If any invariant differs between G1 and G2, they cannot be isomorphic. For instance, two graphs sharing p=6,q=8, having the same degree distribution ({3,3,3,3,2,2}), and being connected might still be nonisomorphic if one is bipartite and the other is not 113 114.

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.

