I'm trying to solve the following exercise from the book A Textbook of Graph Theory by R. Balakrishnan and K. Ranganathan
Show that for a simple bipartite graph, $m\leq \frac{n^2}{4}$
$m$ is the size of the graph.
$n$ number of vertices.
I was considering the following cases:
Let $X$ and $Y$ be a partition of the set of vertices of $V(G)$ and I tried to verify some cases accordingly to the cardinality of the each set. If $|V(G)|=n$ and $|X|=|Y|=\frac{n}{2}$ it is easy to see, but I got stuck trying to show the case when the cardinalities are $|X|<|Y|$
Any help will be greatly appreciated!
Thanks!