This would be pretty easy to solve if I knew that G is connected by using Eulers formula $|V| - |E| + |F| = 2$.
But I don't know how to show that G is connected. Am I on the wrong path? Or is there some combinatorial argument to count the vertices?
This would be pretty easy to solve if I knew that G is connected by using Eulers formula $|V| - |E| + |F| = 2$.
But I don't know how to show that G is connected. Am I on the wrong path? Or is there some combinatorial argument to count the vertices?
Copyright © 2021 JogjaFile Inc.
Without the assumption that $G$ is connected, there are simply multiple solutions. You've probably already solved the connected case. But we can also:
In general, we can generalize Euler's formula to $$ |V| - |E| + |F| = |C|+1 $$ where $|C|$ is the number of connected components. The logic is this: we can add $|C|-1$ edges to the graph to connect the components, getting a connected graph with $|E|+|C|-1$ edges, but the same number of vertices and faces. Applying Euler's formula to the new graph gives us the generalized formula above.
In the general formula, you will not be able to solve for $|V|$, but you will get a relationship between $|V|$ and $|C|$. We also have the inequality $1 \le |C| \le \frac14|V|$: there is always at least one component, and at most $\frac14|V|$ because the smallest $3$-regular planar graph has $4$ vertices. This gives us a range of possibilities for $|V|$ and $|C|$.