Let G be a connected graph and suppose that f : V ( G ) &#x2192;<!-- \rightarr

Janet Forbes

Janet Forbes

Answered question

2022-07-02

Let G be a connected graph and suppose that f : V ( G ) Z is a function with the property that f ( u ) + f ( v ) 0 mod 3 for every edge uv. To prove that if G is not bipartite, then f ( v ) 0 mod 3 for all v V ( G )

Answer & Explanation

Nirdaciw3

Nirdaciw3

Beginner2022-07-03Added 20 answers

Step 1
Exactly one of the following two cases can occur. In the first case the graph can be arbitrary and f is constant 0. In the second case the graph is bipartite.
Case 1) f ( v ) 0 ( mod 3 ) for some vertex v,
Case 2) f ( v ) 0 ( mod 3 ) for all vertices v.
In case 1, all vertices u adjacent to v have f ( u ) 0 ( mod 3 ). Since the graph is connected, every vertex w is connected to some vertex w 1 which is connected to ... which is connected to v we deduce that f ( w ) 0 ( mod 3 ) for all vertices w of the graph, and there are no restrictions on the graph.
Step 2
In case 2, let A be the set of vertices w with f ( w ) 1 ( mod 3 ) and B be the set of vertices w with f ( w ) 2 ( mod 3 ). Your condition implies that vertices from A (from B) are adjacent to only vertices from B (from A), so the graph is bipartite.
prirodnogbk

prirodnogbk

Beginner2022-07-04Added 6 answers

Step 1
Your argument is incorrect. Indeed, any connected bipartite graph with f ( v ) = 0 for any vertex v satisfies the property.
Step 2
If you want to prove by contradiction, you should start with assuming that f ( v ) 0 mod 3 for some vertex v, and then prove that the connected graph is bipartite.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?