Prove that for any given graph $G$, $m(G) \ge n(G) - c(G) $ where $m(G)$ is the number of edges, $n(G)$ is the number of vertices and $c(G)$ is the number of components in $G$.
I am not getting how to prove this, even after trying for last three days. Can anyone please help me with this giving a proof?
You have $n(G)\geq c(G)$, equality holding when $G$ is edgeless.
Now assume $m(G)$ to be a positive integer. Remove an edge to get $G'$. If we assume that $m(G')\geq n(G')-c(G')$ holds, since $m(G)=m(G')+1$ and $n(G)=n(G')$ we get $$m(G)\geq n(G) -(c(G')-1)$$ But since we can at most get one new component when removing an edge (in the case that was a bridge), we have $c(G)\leq c(G')\leq c(G)+1$, or $-(c(G')-1)\geq c(G)$, which leads to the desired inequality.
So you can prove the inequality by induction over the number of edges.