There are n vertices in a complete graph. There is edge between every two vertices. All edges are blue or red.
And the problem is to prove that you
- always can choose one of two colors (either blue or red, but iyndoes not mean that we can choose both, it is enough just one)
- then delete all edges of given color (so graph would be only one colored)
- and in the result graph there would still be path between every two vertices
I tried to prove it with some logical reasoning. And I think I understand it, but description is very vague. I am looking for more mathematical/graph language description.
My reasoning steps:
We assume that this is not possible, then the result graph would contain some vertices A and B so that there is no path between them. We assume that we deleted all blue edges and now only red ones are left.
There is some subgraph that contains vertex B and there is path from B to every other vertex in this subgraph. Remember that all edges are red.
The same is for vertex A and subgraph that contains vertex A and there is path from A to every other vertex. Edges are red.
So we have two subgraphs Asub and Bsub, there are no paths from Asub to Bsub. Otherwise our first assumption would not be true.
This means that those subgraphs where connected with blue edges before we deleted them. Each vertex in subgraph A were connected to subgraph B every vertex (with blue edge).
And now logically thinking if we put back all blue edges and remove red edges, then we would be able to go from every vertex to every other vertex using blue edges. This part is very vague...
I also tried another approach - to start with 3 vertexes, then add the fourth one etc. But it doesn't work for me either.