Fig. 16.9. Polynomial reduction of the 2-factor problem to the 1-factor problem \( G \) can be recovered from \( H \) simply by shrinking each bipartite subgraph \( H_{v} \) to a single vertex \( v \). In \( H \), the vertices of \( X_{v} \) are joined only to the vertices of \( Y_{v} \). Thus if \( F \) is a 1-factor of \( H \), the \( d(v)-f(v) \) vertices of \( X_{v} \) are matched by \( F \) with \( d(v)-f(v) \) of the \( d(v) \) vertices in \( Y_{v} \). The remaining \( f(v) \) vertices of \( Y_{v} \) are therefore matched by \( F \) with \( f(v) \) vertices of \( V(H) \backslash V\left(H_{v}\right) \). Upon shrinking \( H \) to \( G \), the 1-factor \( F \) of \( H \) is therefore transformed into an \( f \)-factor of \( G \). Conversely, any \( f \)-factor of \( G \) can easily be converted into a 1-factor of \( H \). This reduction of the \( f \)-factor problem to the 1-factor problem is a polynomial reduction (Exercise 16.4.2). \( T \)-JoIns A number of problems in graph theory and combinatorial optimization amount to finding a spanning subgraph \( H \) of a graph \( G \) (or a spanning subgraph of minimum weight, in the case of weighted graphs) whose degrees have prescribed parities (rather than prescribed values, as in the \( f \)-factor problem). Precise statements of such problems require the notion of a \( T \)-join.
fundamental theorem due to Tutte (1947a) shows that the converse is true. It is a special case of the Tutte-Berge Formula (Corollary 16.12). Theorem 16.13 TUTTE'S THEOREM A graph \( G \) has a perfect matching if and only if \[ o(G-S) \leq|S| \text { for all } S \subseteq V \]
\( G^{i-1} \) to a new graph \( \tilde{G}^{i-1} \) (disjoint from \( G^{i-1} \) ) by replacing every vertex \( u \in U^{i-1} \) with a copy \( G_{2}(u) \) of \( G_{2} \), i.e. let \[ \tilde{G}^{i-1}:=G^{i-1}\left[U^{i-1} \rightarrow G_{2}\right] \] (see Figures 9.3.2 and 9.3.3). Set \( f\left(u^{\prime}\right):=u \) for all \( u \in U^{i-1} \) and Fig. 9.3.2. The construction of \( G^{1} \) \( u^{\prime} \in G_{2}(u) \), and \( f\left(v^{\prime}\right):=v \) for all \( v^{\prime}=(v, \emptyset) \) with \( v \in V^{i-1} \backslash U^{i-1} \). (Recall that \( (v, \emptyset) \) is simply the unexpanded copy of a vertex \( v \in G^{i-1} \) in \( \tilde{G}^{i-1} \).) Let \( V^{i} \) be the set of those vertices \( v^{\prime} \) or \( u^{\prime} \) of \( \tilde{G}^{i-1} \) for which \( f \) has thus been defined, i.e. the vertices that either correspond directly to a vertex \( v \) in \( V^{i-1} \) or else belong to an expansion \( G_{2}(u) \) of such a vertex \( u \). Then (1) holds for \( i \). Also, if we assume (2) inductively for \( i-1 \), then (2) holds again for \( i \) (in \( \tilde{G}^{i-1} \) ). The graph \( \tilde{G}^{i-1} \) is already the essential part of \( G^{i} \) : the part that looks like an inflated copy of \( G^{0} \). In the second step we now extend \( \tilde{G}^{i-1} \) to the desired graph \( G^{i} \) by adding some further vertices \( x \notin V^{i} \). Let \( \mathcal{F} \) denote the set of all families \( F \) of the form \[ F=\left(H_{1}^{\prime}(u) \mid u \in U^{i-1}\right), \] where each \( H_{1}^{\prime}(u) \) is an induced subgraph of \( G_{2}(u) \) isomorphic to \( H_{1}^{\prime} \). (Less formally: \( \mathcal{F} \) is the collection of ways to select simultaneously from each \( G_{2}(u) \) exactly one induced copy of \( H_{1}^{\prime} \).) For each \( F \in \mathcal{F} \), add a vertex \( x(F) \) to \( \tilde{G}^{i-1} \) and join it, for every \( u \in U^{i-1} \), to all the vertices in the image \( H_{1}^{\prime \prime}(u) \subseteq H_{1}^{\prime}(u) \) of \( H_{1}^{\prime \prime} \) under some isomorphism from \( H_{1}^{\prime} \) to the \( H_{1}^{\prime}(u) \subseteq G_{2}(u) \) selected by \( F \) (Fig. 9.3.2). Denote the resulting graph by \( G^{i} \). This completes the inductive definition of the graphs \( G^{0}, \ldots, G^{n} \). Let us now show that \( G:=G^{n} \) satisfies \( (*) \). To this end, we prove the following assertion \( (* *) \) about \( G^{i} \) for \( i=0, \ldots, n \) :