## Graph theory proof

I just received an assignment back and was told that my proof to the following was not valid; I'm not sure why. Would appreciate if someone could point out my errors.

Prove that if G is a graph with no cycles of even length, then every cycle in G is an induced subgraph of G.

Note that every induced subgraph of G is obtained by deleting a subset of vertices from G. Let U denote such a subset of vertices. Let C denote a cycle of G.

We will show that C does not share two or more common vertices with any other cycle D of G. Suppose otherwise. Then there exists at least two vertices in C that form a cycle with vertices from D. Let C' denote the induced subgraph with the common vertices of C and D, and denote $\displaystyle V(C') = v_{1},...,v_{i}$. Let D' denote the induced subgraph with vertices from D not in C, so $\displaystyle V(D') = V(D) - V(C')$. If |D'| is odd, then there exists an even cycle with $\displaystyle v_{1}$ and $\displaystyle V(D')$ and $\displaystyle v_{i},..., v_{n}$, contradicting the assumption that there exist no cycles. If |D'| is even, then there exists an even cycle with $\displaystyle v_{1},...,v_{i}$ and $\displaystyle V(D')$, again contradicting our assumption.

So every vertex of C lies only on C. It follows that we can remove any vertex set incident with the vertices of C. If we remove all such vertex sets, we obtain C. So every cycle in G is an induced subgraph of G.