A4 — Line graphs, connected components, trees and cycles
Reading: Godsil & Royle, §1.7.
A line graph turns the edges of an existing graph into vertices. Throughout this lesson graphs are finite, simple and undirected.
1. Constructing line graphs
Section titled “1. Constructing line graphs”The vertices of are the edges of . Two distinct vertices of are adjacent if the corresponding edges share an endpoint in .
For the path , let , , . Edges share , and share , but share no endpoint. Thus .
For the star , every edge shares the centre, so the line graph is . For the cycle , every edge meets exactly the preceding and succeeding edges, so the line graph is another five-cycle.
Line graph laboratory
| Property | Original | Line graph |
|---|---|---|
| Degree sequence | 2, 2, 1, 1 | 2, 1, 1 |
Different orders imply non-isomorphism.
Explore the triangle with a tail. Both it and its line graph have four vertices and four edges, but the degree sequences differ. Equality of order and size does not prove isomorphism.
2. Counting vertices
Section titled “2. Counting vertices”Let and . Each edge becomes exactly one vertex, so
If , then necessarily .
3. Vertex degrees in a line graph
Section titled “3. Vertex degrees in a line graph”For an edge , there are other edges incident with and other edges incident with . These sets are disjoint because the graph is simple. Therefore,
For example, endpoint degrees 3 and 4 give line graph degree 5.
For a non-empty -regular graph with , its line graph is -regular. This is Lemma 1.7.1 in Godsil & Royle. In particular, valency two is unchanged by the transformation.
4. Counting edges of a line graph
Section titled “4. Counting edges of a line graph”At a vertex of degree , every pair of incident edges forms an adjacency in the line graph. These edges become a clique . The number of pairs is .
Two distinct edges in a simple graph cannot share both endpoints, so summing over all vertices does not double-count:
Example: has degrees . The sum is , in agreement with .
5. Connected components
Section titled “5. Connected components”A graph is connected when a path exists between every pair of vertices. A component is a maximal connected subgraph. The symbol denotes disjoint union.
Since edges from distinct components cannot meet,
A connected component with at least one edge produces a connected non-empty line graph: a walk between original endpoints induces a walk between the corresponding edges. An isolated vertex produces no vertex at all. For example,
Thus an isomorphism rules out isolated vertices by comparing the numbers of components.
6. Trees
Section titled “6. Trees”A tree is a connected acyclic graph. Equivalent descriptions for a finite graph on vertices include:
- Connected and acyclic.
- Connected with exactly edges.
- Acyclic with exactly edges.
- A unique path between every pair of distinct vertices.
Proof of the tree edge count. For one vertex there are no edges. Inductively, a tree with at least two vertices has a leaf (an endpoint of a longest path is a leaf). Remove it and its incident edge, leaving a tree with one fewer vertex. By induction, the smaller tree has one fewer edge than vertices. Restoring the leaf and edge preserves the difference. Hence
A forest with vertices and components consequently has edges.
7. Line graphs of trees
Section titled “7. Line graphs of trees”A tree on vertices has a line graph on vertices, and cannot itself be isomorphic to its line graph. But its line graph need not be a tree: .
Theorem: for a connected graph with at least one edge, its line graph is a tree if and only if the graph is a path.
If the original graph has a vertex of degree at least three, its line graph contains a triangle. If the original graph contains a cycle, its line graph also contains a cycle. Thus an acyclic line graph forces the original connected graph to be acyclic and of maximum degree at most two, hence a path. Conversely, the line graph of a path is a shorter path.
8. Unicyclic graphs
Section titled “8. Unicyclic graphs”A unicyclic graph is connected and has exactly one cycle. A connected graph with vertices and edges is unicyclic: start with a spanning tree on edges and add the one remaining edge. The unique tree path between the extra edge’s endpoints forms the unique cycle together with that edge.
| Edge count of connected graph | Structure |
|---|---|
| Tree | |
| Unicyclic | |
| Multiple distinct cycles |
The converse for the unicyclic case follows by deleting one edge from its unique cycle to obtain a tree.
9. Degree counting and regularity
Section titled “9. Degree counting and regularity”The handshaking lemma gives
When , the average degree is two. But average degree two does not mean that every degree equals two: a triangle with an attached leaf has degree sequence , while has degree sequence .
A finite connected 2-regular simple graph is a cycle. Follow edges without backtracking until a cycle is formed. Every vertex of that cycle already has two incident edges, so no additional vertex can attach to it. Connectedness implies the cycle is the entire graph. In general, a finite 2-regular graph is a disjoint union of cycles (including the empty union if permitted).
10. Algebraic proof technique: sums of squares
Section titled “10. Algebraic proof technique: sums of squares”If a sum of squares of real numbers is zero, every squared term is zero. For example, implies .
Write . Then
Under , substitute the equal order and size conditions into these identities. Try to show the sum of squares vanishes. This is the algebraic route to the classification.
11. Practice proof exercises
Section titled “11. Practice proof exercises”Prove L(Cₙ) is isomorphic to Cₙ.
Label vertices cyclically by and edges by with indices modulo . The bijection preserves adjacency because meets exactly and .
Show that a degree-four vertex creates a four-clique in the line graph.
Its four incident edges become four vertices, all pairwise adjacent because they share the original vertex.
Suppose a non-empty regular graph is isomorphic to its line graph. Find its valency.
The valencies must coincide, so , giving . A non-empty graph of valency zero cannot be isomorphic to its empty line graph.
Prove the disjoint union of a triangle and a five-cycle is isomorphic to its line graph.
Apply and the cycle isomorphism separately to both components.
Can a non-empty forest be isomorphic to its line graph?
No. A forest with vertices and components has edges, so its line graph has smaller order.
Knowledge check
0/8 answered
12. Proof challenge
Section titled “12. Proof challenge”Structural route: exclude isolated vertices. Suppose there is a tree component and choose one of largest order. Isomorphism forces a component whose line graph is that tree. By the earlier theorem this component is a path; compare its order with that of the supposed largest tree. Then use edge counting and the degree identities to finish the classification.
Algebraic route: use equality of order and size together with the sum-of-squares identity to establish regularity directly. This also rules out tree components. Prove the converse using the cycle isomorphism and disjoint unions. Address the empty graph if your convention allows it. The complete proof is left for you to write.
Your lesson progress
0/5 available lessons marked complete · 0%