Tutorials › Graph Theory (Undergraduate) › Open Ears and Ear Decompositions

Cut Vertices, Bridges and Blocks · Tutorial 177 of 799

Open Ears and Ear Decompositions

Learn to recognize an open ear, record a cycle-start ear decomposition, and check its vertex and edge bookkeeping.

Intermediate 9 min read

What You'll Learn

  • Define an open ear relative to a subgraph, including the case of an added edge.
  • Distinguish open ears from paths whose endpoints coincide.
  • Record a cycle-start ear decomposition as a sequence of growing subgraphs.
  • Track the new vertices and edges contributed by each ear.
  • Verify the basic counting identity for a cycle-start decomposition.
  • Identify a structural obstruction to having such a decomposition.

Building a Graph One Ear at a Time

A graph can sometimes be described more informatively by how it is assembled than by a single list of edges. One useful way to build a graph is to begin with a cycle and then add paths whose endpoints are already present, while the internal vertices of each path are new. These paths are called open ears. They give a precise record of how new parts of a graph attach to what has already been built.

All graphs here are finite and simple. A path \(v_0v_1\cdots v_\ell\) has distinct vertices, with consecutive vertices adjacent; its length is \(\ell\), the number of its edges. For a subgraph \(H\) of a graph \(G\), write \(V(H)\) and \(E(H)\) for its vertex and edge sets. An edge written \(uv\) is the unordered edge between \(u\) and \(v\).

Definition: An open ear relative to \(H\) is a path \(P=v_0v_1\cdots v_\ell\), where \(\ell\ge 1\), such that \(v_0\) and \(v_\ell\) are distinct vertices of \(H\), every internal vertex \(v_1,\ldots,v_{\ell-1}\) is outside \(V(H)\), and none of the edges of \(P\) is already in \(E(H)\). If \(\ell=1\), the ear is a single new edge between two distinct vertices of \(H\).

The endpoints of an open ear are its endpoints; the vertices between them are its internal vertices. The condition that the endpoints be distinct matters: a path that starts and ends at the same vertex is not an open ear. Requiring new edges also matters for a length-one ear, because its two endpoints may already be adjacent in \(H\).

Definition: A cycle-start open ear decomposition of \(G\) consists of an initial cycle \(G_0\) and a sequence of open ears \(P_1,\ldots,P_k\), where \(P_i\) is an open ear relative to \(G_{i-1}\) and \(G_i=G_{i-1}\cup P_i\). The final subgraph must be \(G_k=G\). When \(k=0\), this means \(G\) itself is the initial cycle.

At each stage, taking the union adds the ear's edges and its internal vertices; its endpoints are already present. Thus an ear decomposition is more than a list of paths: each path must be valid at the stage when it is added, and together the initial cycle and ears must account for every vertex and edge of the final graph. An ear of length one adds an edge but no vertices.

Counting What Each Ear Adds

The length of an ear immediately records how many edges it contributes. Because a path of length \(\ell\) has \(\ell-1\) internal vertices, and all of those vertices are new at the stage of addition, the same length also determines the vertex increase.

Proposition: Suppose \(G\) has a cycle-start open ear decomposition with initial cycle of length \(q\) and ears \(P_1,\ldots,P_k\), where \(P_i\) has length \(\ell_i\). Then $$ |V(G)|=q+\sum_{i=1}^k(\ell_i-1),\qquad |E(G)|=q+\sum_{i=1}^k\ell_i, $$ and consequently \(|E(G)|-|V(G)|=k\).

Proof. The initial cycle has \(q\) vertices and \(q\) edges. At stage \(i\), the endpoints of \(P_i\) are already in \(G_{i-1}\). The path has \(\ell_i-1\) internal vertices, all outside \(V(G_{i-1})\), so the number of vertices increases by exactly \(\ell_i-1\). Its \(\ell_i\) edges are new, so the number of edges increases by exactly \(\ell_i\). Applying these increases for every \(i\) gives the two displayed sums. Subtracting the vertex sum from the edge sum gives \[ |E(G)|-|V(G)|=\sum_{i=1}^k\bigl(\ell_i-(\ell_i-1)\bigr)=\sum_{i=1}^k1=k. \] If \(k=0\), the sums are empty and both counts equal \(q\), so the identity still holds. \(\square\)

This identity is a bookkeeping test, not a substitute for checking the decomposition itself. A graph with the right difference between its edge and vertex counts need not have the proposed ears: the endpoints, newness conditions, and complete coverage must still be verified.

Worked Example: Adding a Chord as an Ear

Let the initial subgraph be the cycle with vertex set \(\{1,2,3,4\}\) and edge set \(\{12,23,34,41\}\). Add \(P_1=1\,3\), a path of length \(1\).

The endpoints \(1\) and \(3\) are distinct vertices already in the cycle. The path has no internal vertices, and the edge \(13\) is not in the initial edge set. It is therefore an open ear. The final graph has vertex set \(\{1,2,3,4\}\) and edge set \(\{12,23,34,41,13\}\).

Check: The initial cycle contributes \(q=4\) vertices and \(4\) edges. The ear contributes \(\ell_1-1=1-1=0\) vertices and \(\ell_1=1\) edge, giving \(4+0=4\) vertices and \(4+1=5\) edges. Directly counting the displayed sets also gives \(4\) vertices and \(5\) edges, so \(|E|-|V|=5-4=1=k\).

Reading a Sequence of Ears

To check a proposed decomposition, inspect the stages in order. At each stage, check that the endpoints are distinct and already present, that every internal vertex is new, and that every ear edge is new. Only after these local checks should you confirm that the final graph has exactly the stated vertices and edges.

Worked Example: Two Ears with Different Contributions

Begin with the triangle \(G_0\) having vertex set \(\{1,2,3\}\) and edge set \(\{12,23,31\}\). First add \(P_1=1\,4\,5\,2\). Then add \(P_2=3\,5\). The proposed final graph has vertex set \(\{1,2,3,4,5\}\) and edge set \(\{12,23,31,14,45,52,35\}\).

For \(P_1\), the endpoints \(1\) and \(2\) are distinct vertices of \(G_0\), and its internal vertices \(4,5\) are not in \(G_0\). Its edges \(14,45,52\) are not among \(12,23,31\). Thus \(P_1\) is an open ear and \(G_1\) has vertex set \(\{1,2,3,4,5\}\) and edge set \(\{12,23,31,14,45,52\}\).

For \(P_2\), the endpoints \(3\) and \(5\) are distinct vertices of \(G_1\). There are no internal vertices, and \(35\) is not in \(E(G_1)\). Thus \(P_2\) is also an open ear. It adds the final edge, producing the stated \(G\).

Check: The initial triangle has \(q=3\) vertices and \(3\) edges. The first ear has length \(3\), so it adds \(3-1=2\) vertices and \(3\) edges. The second has length \(1\), so it adds \(1-1=0\) vertices and \(1\) edge. The totals are \(3+2+0=5\) vertices and \(3+3+1=7\) edges. Independently, the displayed final sets contain \(5\) vertices and \(7\) edges; hence \(|E|-|V|=7-5=2\), the number of ears.

Worked Example: A Decomposition of \(K_4\)

Take the initial triangle on vertex set \(\{1,2,3\}\) with edge set \(\{12,23,31\}\). Add \(P_1=1\,4\,2\), then add \(P_2=3\,4\). The intended final graph has vertex set \(\{1,2,3,4\}\) and edge set \(\{12,23,31,14,42,34\}\).

The endpoints of \(P_1\) are the distinct existing vertices \(1,2\), and its only internal vertex, \(4\), is new. Its edges \(14\) and \(42\) are new. After this addition all four vertices are present. The endpoints of \(P_2\), namely \(3\) and \(4\), are distinct and already present; it has no internal vertices, and its edge \(34\) is not yet present. So both paths meet the open-ear conditions in their respective stages.

Check: The initial cycle has length \(3\); the ears have lengths \(2\) and \(1\). The formula gives \(3+(2-1)+(1-1)=4\) vertices and \(3+2+1=6\) edges. The final edge set lists \(12,23,31,14,42,34\), which are all six possible pairs of distinct vertices from \(\{1,2,3,4\}\). Thus the final graph is \(K_4\), and the direct counts agree with the formula: \(6-4=2\) ears.

A Structural Check on Cycle-Start Decompositions

There is a simple necessary condition that can rule out a proposed cycle-start decomposition. Every vertex in a graph built this way has at least two incident edges. The initial cycle gives each of its vertices two cycle edges; each newly introduced vertex is internal to an ear and has two distinct neighbors along that path. Later steps add edges without deleting any. This condition is useful for checking examples, but it is only a necessary condition here.

Proposition: Every graph with a cycle-start open ear decomposition has minimum degree at least \(2\).

Proof. Let \(G_0\) be the initial cycle. Each vertex of \(G_0\) is incident with its two cycle edges, so its degree in \(G_0\) is at least \(2\). Consider any vertex first added at a later stage \(i\). It must be an internal vertex of \(P_i\), since the endpoints of \(P_i\) already belong to \(G_{i-1}\). An internal vertex of a path has a preceding and a following vertex, which are distinct because the path has distinct vertices. The two corresponding edges are distinct, so this vertex has degree at least \(2\) in \(G_i\). No later step deletes vertices or edges, so every vertex has degree at least \(2\) in the final graph. \(\square\)

Common Mistakes and Why the Language Matters

Counting an ear's endpoints as new vertices. An ear path includes both endpoints in its description, but those endpoints already belong to the current graph. For a path of length \(\ell\), the vertex increase is \(\ell-1\), not \(\ell+1\). For example, the path \(1\,4\,5\,2\) has length \(3\): its endpoints \(1,2\) are old, and only \(4,5\) are new. It adds \(2\) vertices and \(3\) edges.

Allowing an endpoint to repeat. The path \(1\,4\,1\) does not qualify as an open ear relative to a graph containing \(1\): its two endpoints coincide. Open ears have distinct endpoints; allowing coincident endpoints changes the definition and describes a different kind of attachment.

Assuming every graph can start with a cycle. Consider the graph with vertex set \(\{1,2,3,4\}\) and edge set \(\{12,23,31,14\}\). Vertex \(4\) has degree \(1\), since the only edge incident with it is \(14\). By the proposition, this graph cannot have a cycle-start open ear decomposition. In particular, the edge \(14\) cannot be added as an open ear after a cycle containing \(1\): its other endpoint \(4\) would have to be an internal vertex, but a length-one path has no internal vertices and both endpoints must already be present. The degree check gives the same obstruction. This does not assert a characterization of which graphs have ear decompositions; it is a necessary-condition test.

Ear decompositions matter because they turn a graph into an ordered construction with explicit attachment points. That record lets us track exactly which vertices and edges are present at each stage. In the study of blocks and connectivity, this language supports more advanced results about how paths attach to a graph. Here the key task is more basic: verify the definition at every stage and keep the vertex and edge counts consistent.

Check Your Understanding

For each question, check both the endpoint conditions and the newness conditions before deciding.

  1. Let \(H\) have vertex set \(\{a,b,c\}\) and edge set \(\{ab,bc,ca\}\). Is the path \(a\,d\,e\,b\) an open ear relative to \(H\) if its edges are new?
  2. Can a single new edge between two distinct vertices of \(H\) be an open ear? State the additional condition it must satisfy.
  3. A cycle-start decomposition begins with a cycle of length \(5\) and then adds ears of lengths \(2,4,1\). How many vertices and edges does the final graph have according to the counting formulas?
  4. Explain why a path whose endpoints are the same vertex is not an open ear under the definition used here.
  5. Give a reason that the graph on \(\{1,2,3,4\}\) with edges \(\{12,23,31,14\}\) cannot have a cycle-start open ear decomposition.