- Suppose G has G1 and G2 biparitions. And H be a subgraph of G.
- Every edge in G has one endpoint in G1 and other in G2
- V(H)⊆V(G)
- Suppose A=G1∩V(H) and B=G2∩V(H)
- A and B are a valid parition pair.
A′=A∩V(H),B′=B∩V(H)Claim: (A′,B′) is a valid bipartition of H.
Verification
(1) They partition V(H):
Since every vertex of H belongs to V⊆A∪B, it lies in exactly one of A′ or B′. So A′∪B′=V(H) and A′∩B′=∅. ✓
(2) Every edge of H goes between A′ and B′:
Take any edge e=(u,v)∈E(H). Since E(H)⊆E, this edge also belongs to G. Since G is bipartite with partition (A,B), one endpoint lies in A and the other in B (say u∈A, v∈B).
Since u∈V(H) and u∈A, we have u∈A′. Similarly, v∈B′.
So every edge of H crosses between A′ and B′. ✓
Conclusion
H admits the bipartition (A′,B′), so H is bipartite. ■