in graph theory, what is the chromatic polynomial of a cycle of Cn and prove it.
- User
in graph theory, what is the chromatic polynomial of a cycle of Cn and prove it.
- Assistant
The chromatic polynomial of a graph is a polynomial that counts the number of ways to properly color the vertices of the graph with a given number of colors.
The chromatic polynomial of a cycle Cn can be found using the recursive formula:
P(Cn, k) = k(k-1)^(n-1) - P(Cn-1, k)
where P(Cn, k) is the chromatic polynomial of the cycle Cn, k is the number of available colors, and P(Cn-1, k) is the chromatic polynomial of the cycle Cn-1 obtained by removing one vertex from the cycle.
- User
iin graph theory if G is a connected planner graph with girth k>=3, show that the number of edges e is equal or less than k(v-2)/(k-2)
- Assistant
We will prove this by contradiction. Assume that a connected planar graph G of girth k with v vertices has more edges than k(v-2)/(k-2).
By Euler's formula for planar graphs, we have e ≤ 3v - 6.
Substituting e > k(v-2)/(k-2) into the inequality above, we get:
3v - 6 < k(v-2)/(k-2)
Expanding and simplifying this inequality gives:
kv + 6 - 2k < 3v
or equivalently:
(k-3)v < 6 - 2k
Since k >= 3, we have k-2 > 0 and k > 2, so we can divide both sides by k-2 and flip the inequality sign:
v > (6 - 2k)/(k-2)
Now we use the fact that the girth of G is k, which means that every cycle in G has length at least k. Therefore, the sum of the lengths of all cycles in G is at least kv/2, since each edge is counted in exactly two cycles.
On the other hand, the total number of edges in G is greater than k(v-2)/(k-2), so we have:
e > k(v-2)/(k-2) > kv/2 - k
Combining this inequality with Euler's formula e ≤ 3v - 6, we get:
3v - 6 > kv/2 - k