Question

In an undirected connected planar graph GG, there are eight vertices and five faces. The number of edges in GG is __________

Official answer and solution
Official answer
11
From
Official GATE 2021 answer key

Solution

Apply Euler's formula for connected planar graphs relating vertices, edges, and faces.

For any connected planar graph, Euler's formula states:

V−E+F=2V - E + F = 2

where VV is the number of vertices, EE is the number of edges, and FF is the number of faces (including the exterior unbounded face).

We are given V=8V = 8 and F=5F = 5. Substituting these values into Euler's formula:

8−E+5=28 - E + 5 = 2
13−E=2  ⟹  E=1113 - E = 2 \implies E = 11

Therefore, the number of edges in GG is 11.

Final answer

11

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2021 Computer Science and Information Technology (CS, Set-1)
Question
26 of 65, printed as CS Q.16
Section
Computer Science and Information Technology

Report an error in this question

GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.