# Thread: Maximum size of G

1. ## Maximum size of G

Let $G$ be a graph of order $n$ that is not connected. What is the maximum size of $G$?

2. ## Re: Maximum size of G

Originally Posted by alexmahone
Let $G$ be a graph of order $n$ that is not connected. What is the maximum size of $G$?
What is meant by "the size of G"?

3. ## Re: Maximum size of G

Originally Posted by Plato
What is meant by "the size of G"?
the number of edges in G

4. ## Re: Maximum size of G

Originally Posted by alexmahone
the number of edges in G
Here is a classic problem.
If $\|\mathcal{E}\|$ is the number of edges and $\|\mathcal{E}\|>\frac{(n-1)(n-2)}{2}$ prove the graph is connected.

5. ## Re: Maximum size of G

Originally Posted by Plato
Here is a classic problem.
If $\|\mathcal{E}\|$ is the number of edges and $\|\mathcal{E}\|>\frac{(n-1)(n-2)}{2}$ prove the graph is connected.
The maximum number of edges in a graph of order $n-1$ is $\binom{n-1}{2}=\frac{(n-1)(n-2)}{2}$. If we add another vertex, any new edge will have to join the new vertex to one of the original $n-1$ vertices and the graph becomes connected.

So, are you saying that the answer to my question in post #1 is $\binom{n-1}{2}$?