Use Tutte's theorem on perfect matchings: a finite graph has a perfect matching if and only if, for every , the number of connected components of a graph of odd integer order in is at most .
First, the handshaking lemma gives , so is an even integer. Fix . For each connected component of a graph of odd integer order in , let count its edges to . Counting vertex degrees inside gives
Thus is an odd integer; it is positive because is a connected graph. If , its unique outgoing edge is a bridge. Distinct such components yield distinct bridges, so there are at most two of them. Every other such component has . Therefore
The last inequality holds because each vertex of has vertex degree three. Furthermore,
since components of even integer order do not affect parity, and is an even integer. If , this parity forces , contradicting the bound .
For , the only component is the whole connected graph, of even integer order, so . Thus every satisfies the criterion, and has a perfect matching. This proves the perfect matching theorem for a cubic graph with at most two bridges directly from Tutte's theorem on perfect matchings.
Proof. Delete a perfect matching . The remaining spanning subgraph has vertex degree two at every vertex, so it consists of disjoint graph cycles. Orient each cyclically, giving a successor bijection . Replace each by the graph path . The four vertices are distinct: the successor edges are not in , neither is a self-loop, and injectivity of excludes . Every edge of appears once in the middle, and every other edge appears once at its unique tail. Thus the graph paths cover every edge exactly once. In particular, the perfect matching theorem for a cubic graph with at most two bridges guarantees this decomposition under its hypotheses.
A finite graph has a perfect matching if and only if the displayed inequalities hold, where counts the connected components of a graph with an odd integer number of vertices. The theorem is associated with William Thomas Tutte.[ref]
Necessity has a direct counting proof: each such component of must send at least one edge of a perfect matching to , and different components must use different vertices of . The sufficiency direction is the substantive content of the theorem. The criterion is useful because vertex degree and parity estimates can prove existence without constructing the perfect matching, as in the perfect matching theorem for a cubic graph with at most two bridges.