Problem Solving

Graph Path

Students follow a route through connected stepping stones.

Graph Path definition

A graph path is a walk whose vertices are all distinct.

In Spanish
camino en un grafo
Topic
Graph theory

Graph Path in a picture

Graph Path diagramA → B → C is a path with two edges.ABCD
A → B → C is a path with two edges.

How it works

To test a proposed path, first check that each consecutive pair is adjacent. Then check for repeated vertices. A path with k edges contains k + 1 vertices. A shortest walk between distinct vertices can always be chosen as a path because a detour that returns to an earlier vertex can be removed.

Worked examples

Is A → B → A a path?

No. It visits A twice.

What is the length of A → B → C → D?

Three edges.

How many vertices occur on a path of length five?

Six distinct vertices.

Common mistake

Here path means a walk without repeated vertices. Some books use simple path for the same convention.

Quick check

Does a path use an edge at each step?

Show answer

Yes.

Can it repeat a vertex?

Show answer

No.

Can a path of length zero contain one vertex?

Show answer

Yes.

Sources

Flashcard

Graph Path

Reveal the definition

A graph path is a walk whose vertices are all distinct.

Effortless Math. “Graph Path.” Math Dictionary.