Graph Theory - connection proof

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
oneamp
Messages
222
Reaction score
0

Homework Statement



Prove that if a graph has > (n-1)(n-2) /2 edges, it is connected.

Homework Equations



??

The Attempt at a Solution



I've drawn several examples and made tables, and I can see that the graph is indeed connected if it has more edges than [(n-1)(n-2)]/2. But what I cannot do so far is prove it. How can I start doing this proof?

Thanks
 
Physics news on Phys.org
oneamp said:

Homework Statement



Prove that if a graph has > (n-1)(n-2) /2 edges, it is connected.

Homework Equations



??

The Attempt at a Solution



I've drawn several examples and made tables, and I can see that the graph is indeed connected if it has more edges than [(n-1)(n-2)]/2. But what I cannot do so far is prove it. How can I start doing this proof?

Thanks

What does n represent here?
How does your book define "connected" graph?
 
n is the number of vertices. Connected graph means that there is no vertex that is not connected to any other by some path. Also the graph is undirected and simple (simple meaning no loops, no more than one edge between any two vertexes.)
 
You might want to do the opposite proof: if a graph is disconnected, it has fewer than or equal to (n-1)(n-2)/2 edges.

In particular it shouldn't be hard to construct the disconnected graph with the most edges.
 
That helped, thank you.