Exercise · ZW-CONNECTED-GRAPH-001 · ★☆☆ Basic

A graph has vertices \(1,2,3,4\) and edges \(12\), \(23\), \(34\). Is it connected?

Choose one option.

Show answer
  • A. Yes, because the path \(1,2,3,4\) visits every vertex

Explanation

One path between each pair of vertices is enough; here \(1,2,3,4\) visits them all. Not all edges are needed, and the endpoints have degree 1, not 2.

Study Discrete mathematics in ZWMath →

Review the concept: Connected graph

A graph \(G=(V,E)\) is connected if any two vertices \(u,v\in V\) are joined by a path.

\[\forall\,u,v\in V\ \ \exists\ \text{path from } u \text{ to } v\]

More practice problems: connected graph

ZW-CONNECTED-GRAPH-002 →