Suppose a graph has n vertices and k edges, for n ≥ 1. Prove that the number of cycles in the graph is at least $k − n + 1$.
I started doing induction on the number of edges and got stuck;
base case: k=0 then number of cycles is atleast $-n+1≤ 0$
suppose it holds for k=x, that is number of cycles it atlas $x-n+1$ then want to show it holds for $k=x+1$, so want to show the number of cycles is atleast $x+1+n+1$=$x-n+2$ and this is where I get stuck finishing the proof.