Tutorials › Graph Theory (Undergraduate) › Bipartite Planar Graphs and the 2V – 4 Bound

Planar Graphs and Euler's Formula · Tutorial 432 of 799

Bipartite Planar Graphs and the 2V - 4 Bound

Learn why bipartite planar graphs with at least three vertices satisfy \(m\le 2n-4\), and how bridges fit into the face-counting proof.

Intermediate 10 min read

What You'll Learn

  • State the hypotheses and conclusion of the bipartite planar edge bound.
  • Explain why facial boundary walks in bipartite graphs have even length.
  • Account for bridges when counting edge-face incidences.
  • Prove that each face boundary has length at least four under the theorem’s hypotheses.
  • Apply the bound to explicit plane embeddings and check the face counts.
  • Identify a common error in counting boundary walks.

Why Bipartite Planar Graphs Have a Sharper Bound

For a simple planar graph with at least three vertices, the general edge bound is \(m\le 3n-6\). Bipartite graphs have an additional restriction: they contain no odd cycles. In a plane embedding, this forces every facial boundary walk to have even length. Combining that fact with Euler’s formula gives a sharper bound, \(m\le 2n-4\).

The face-counting argument must allow for bridges. A face boundary need not be a cycle: it can repeat vertices and edges, and the two sides of a bridge can belong to the same face. Counting boundary walks rather than assuming faces are bounded by cycles makes the argument work for these cases too.

Definition: A plane graph is a graph together with a drawing in the plane in which edges meet only at common endpoints. A graph is planar if it has such a drawing. A facial boundary walk is the closed walk traced along the edge-sides bordering a face; its length counts each traversal of an edge, including repeated traversals. An edge is a bridge if deleting it increases the number of connected components.

Throughout, graphs are finite and simple. We write \(n=|V|\) and \(m=|E|\). In a connected plane graph, Euler’s formula is \(n-m+f=2\), where \(f\) is the number of faces. Also, the sum of the lengths of the facial boundary walks is \(2m\): every edge has two sides, and each side is counted once. For a bridge, both sides may border the same face, but they still contribute two to the total.

Even Facial Boundaries, Including Bridges

A bipartite graph has a partition of its vertices into two sets such that every edge joins different sets. Along any walk in the graph, the visited sets therefore alternate. If the walk is closed, it returns to its starting set, so its length is even. A facial boundary walk is closed, even when it repeats vertices or edges, so its length is even as well.

Lemma: In a connected simple bipartite plane graph with at least three vertices, every face has boundary length at least \(4\).

Proof. A facial boundary walk has positive length: the connected graph has at least three vertices and hence has edges, and each face is bordered by edge-sides. The walk is closed, so bipartiteness makes its length even. It remains to exclude length \(2\), since length \(0\) is not possible and a positive even length other than \(2\) is at least \(4\).

If a facial boundary walk had length \(2\), it would traverse an edge \(uv\) and immediately traverse it back. Simplicity rules out two distinct parallel edges between \(u\) and \(v\), so the same edge must be used twice. In tracing a face boundary, after arriving at a vertex the next edge is determined by the next incident edge in the cyclic order around that vertex. The walk can immediately reverse along \(uv\) only if \(u\) has degree \(1\); the same reasoning at \(v\) shows that \(v\) has degree \(1\). Since the graph is connected, it would then consist only of \(u\) and \(v\) and their edge. That contradicts the assumption of at least three vertices. Thus no facial boundary has length \(2\), and every face has boundary length at least \(4\). \(\square\)

This argument explains why bridges do not invalidate the lower bound on face lengths. They can be traversed twice along a single face boundary, but they do not create a length-\(2\) face boundary unless the entire connected graph is just one edge.

The Bipartite Planar Edge Bound

Theorem: If \(G\) is a connected simple bipartite planar graph with \(n\ge 3\), then \(m\le 2n-4\).

Proof. Choose a plane embedding of \(G\), and let \(f\) be its number of faces. By the lemma, each face boundary has length at least \(4\). Summing the face-boundary lengths counts both sides of every edge, even when both sides belong to the same face. Therefore

$$ 2m\ge 4f. $$

Euler’s formula gives \(f=2-n+m\). Substitute this value into the inequality and rearrange:

$$ 2m\ge 4(2-n+m) =8-4n+4m, $$ $$ 4n-8\ge 2m, \qquad\text{so}\qquad m\le 2n-4. $$

All the hypotheses have a role in this derivation. Connectedness permits the form \(n-m+f=2\) of Euler’s formula; simplicity and \(n\ge3\) exclude a facial boundary of length \(2\); and bipartiteness makes the facial boundary lengths even. \(\square\)

Worked Examples

Worked Example: Equality in a Bipartite Plane Graph

Let \(G\) have vertex set \(V=\{x,y,a,b,c\}\) and edge set \(E=\{xa,ay,xb,by,xc,cy\}\). This is \(K_{2,3}\), with parts \(\{x,y\}\) and \(\{a,b,c\}\). Embed it by drawing the three \(x\)-to-\(y\) paths \(xay\), \(xby\), and \(xcy\) side by side, with no crossings.

There are \(n=5\) vertices and \(m=6\) edges. The three regions between successive paths, including the outer region between the two outer paths, each have a boundary of length \(4\). Thus \(f=3\), and the total boundary length is \(4+4+4=12\). Independently, counting the two sides of each edge gives \(2m=2\cdot6=12\). Euler’s formula also checks the face count: \(f=2-n+m=2-5+6=3\).

The bound gives \(m\le 2n-4=2\cdot5-4=6\), so equality holds. This example shows that the bound can be sharp.

Worked Example: A Tree with Bridges

Let \(G\) have vertex set \(V=\{1,2,3,4\}\) and edge set \(E=\{12,23,34\}\), drawn as a straight path. It is connected, simple, bipartite, and planar, and all three edges are bridges.

Here \(n=4\) and \(m=3\). Euler’s formula gives \(f=2-n+m=2-4+3=1\). The single face boundary walk is \(1,2,3,4,3,2,1\), of length \(6\): each of the three edges is traversed once in each direction. Its length also agrees with the edge-side count, \(2m=2\cdot3=6\).

The theorem’s bound is \(m\le 2n-4=2\cdot4-4=4\), and the actual edge count \(3\) satisfies it. This example illustrates why a face boundary cannot in general be treated as a cycle: the boundary walk repeats vertices and edges.

Worked Example: A Cycle with a Pendant Bridge

Let \(G\) have vertex set \(V=\{1,2,3,4,5\}\) and edge set \(E=\{12,23,34,41,15\}\). Draw the cycle \(1,2,3,4,1\) as a square and attach vertex \(5\) to vertex \(1\) by an edge outside the square. The graph is bipartite, with parts \(\{1,3,5\}\) and \(\{2,4\}\), and the edge \(15\) is a bridge.

There are \(n=5\) vertices and \(m=5\) edges. The inner face has boundary \(1,2,3,4,1\), of length \(4\). The outer face traverses the square in the opposite direction and then goes out and back along the bridge: its boundary can be written \(1,4,3,2,1,5,1\), of length \(6\). The lengths sum to \(4+6=10\), which agrees with \(2m=2\cdot5=10\). Euler’s formula gives \(f=2-5+5=2\), matching the two faces described.

The bound is \(m\le 2n-4=2\cdot5-4=6\), and \(5\le6\). The bridge does not add a new face, but its two sides both appear in the boundary walk of the outer face.

Common Pitfall: Counting an Edge Only Once

A frequent error is to count each edge once when summing face-boundary lengths. In the path example, that would give a total of \(3\), the number of edges. But the actual facial boundary is \(1,2,3,4,3,2,1\), which has length \(6\). The correct total is \(2m=2\cdot3=6\), because each edge has two sides. In a graph with bridges those two sides may belong to the same face; that does not turn them into one side or one boundary traversal.

A related error is to assume that every face boundary is a cycle. The path has one face and no cycles at all, yet its face has a boundary walk of length \(6\). The proof needs only that facial boundaries are closed walks: bipartiteness makes their lengths even, and the hypotheses rule out length \(2\).

Why the Bound Is Useful

The inequality \(m\le2n-4\) is a quick necessary condition for a connected simple bipartite graph with at least three vertices to be planar. If a graph satisfying the other hypotheses has more than \(2n-4\) edges, it cannot be planar. The converse does not follow: meeting the inequality does not by itself provide a plane embedding.

The proof also illustrates a general face-counting strategy. First establish a lower bound on the length of each face boundary; then sum those lengths by counting edge-sides; finally combine the resulting inequality with Euler’s formula. For bipartite graphs, evenness strengthens the face-length bound to \(4\) once length \(2\) has been excluded. Bridges fit the same strategy because boundary lengths count traversals, not just distinct edges or vertices.

Check Your Understanding

Use the boundary-walk argument and Euler’s formula to answer these questions.

  1. Which hypotheses in the theorem ensure that a face boundary cannot have length \(2\)? Explain why the connected graph on two vertices joined by one edge is an exception.
  2. A connected simple bipartite plane graph has \(n=6\) and \(m=8\). What is \(f\), and what is the total length of its facial boundary walks?
  3. In the path \(P_4\), how many times does each edge occur in the single facial boundary walk? Why does this not give an additional face?
  4. Suppose a connected simple bipartite planar graph has \(n=7\) and \(m=11\). Does the theorem rule out planarity? State the comparison you use.
  5. Why does the face-counting proof still work when a bridge has both sides incident with the same face?