3

Show that if $|E|\ge |V|$, the graph $G=(V,E)$ contains a cycle.

So I am trying to prove this problem. So I am assuming this is saying that if there are more edges than vertices in G, then G contains at least 1 cycle. Intuitively, this makes perfect sense, but I am having a little trouble getting it on paper because I am not very familiar with graph theory yet so it is difficult to prove things in it. Can someone help please?

Hoda
  • 1,118
Brian
  • 721

2 Answers2

3

I'd do this: if there are no cycles, there must be vertices with only one edge. Then we can remove a vertex and an edge without changing $|E| - |V|$ and still have a graph with no cycles. This can be repeated until we are left with just one edge and two vertices, so $|E| - |V| = -1$ and $|E| < |V|$.

Sammy Black
  • 28,409
Pifagor
  • 529
1

It is a very important result in graph theory that a (finite) connected graph is acyclic if and only if it has exactly one fewer edges than vertices: adding any more edges will create a cycle. (Such graph are called trees.) If the graph is not connected, consider its connected components separately.

It is also true that an acyclic graph is connected if and only if it has exactly one fewer edges than vertices: removing any one edge will make it disconnected. Pifagor's proof above is fine, but you should really look those things up if you plan to use graph theory.

fkraiem
  • 3,169