Consider the family of graphs $A=\{\text{paths}\}$, $B=\{\text{cycles}\}$ and $D=\{\text{bipartite graphs}\}$. For each pair of these families, determine all isomorphism classes of graphs that belong to both families.
Since, a graph containing an odd cycle cannot form a bipartite graph, $B\cap D=$ even cycles $=\{C_{2k}:k\ge 1\}$. However, the solution given reads $B\cap D=\{C_{2k}:k\ge 2\}$. Why is that?
Also, for the part $A\cap D$, any path can be sectioned into two partite sets to form a partite graph but not all bipartite graphs form paths. Hence, $A\cap D=A$. But, the reason mentioned is non-bipartite graphs have odd cycles. What I know is that a graph with an odd cycle is non-bipartite. Of course, this does not imply that non-bipartite graphs have odd cycles. If this is true, could I get a rough proof?
https://math.stackexchange.com/questions/311665/proof-a-graph-is-bipartite-if-and-only-if-it-contains-no-odd-cycles
– Brandon du Preez May 25 '21 at 09:35