Maths WorkshopMaths problems with full solutions
Exercise 237Combinatorics › Graph theoryHigh schoolAdded 3 Nov 2026

Basic graph terminology

#graph#vertices#edges#degree

Statement

Let GG be a simple graph with vertices V={1,2,3,4,5}V=\{1,2,3,4,5\} and edges E={{1,2},{2,3},{3,4},{4,5},{5,1},{1,3}}E=\{\{1,2\},\{2,3\},\{3,4\},\{4,5\},\{5,1\},\{1,3\}\}.

  1. Give the order and size of GG.
  2. Compute the degree of each vertex.
  3. Is GG connected? Is it bipartite?
Hint

Order = number of vertices; size = number of edges. A graph is bipartite iff it has no odd cycle.

Show solutionHide solution

Solution

1. Order ∣V∣=5|V|=5, size ∣E∣=6|E|=6.

2. Degrees: deg⁡(1)=3\deg(1)=3 (neighbors 2,5,32,5,3), deg⁡(2)=2\deg(2)=2 (1,31,3), deg⁡(3)=3\deg(3)=3 (2,4,12,4,1), deg⁡(4)=2\deg(4)=2 (3,53,5), deg⁡(5)=2\deg(5)=2 (4,14,1). Sum =12=2⋅6=12=2\cdot6. ✓

3. Connected: yes (the cycle 11-22-33-44-55-11 links all). Bipartite: no, since the triangle 11-22-33-11 is an odd cycle.

Conclusion. Order 55, size 66; connected; not bipartite.