PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: Very high
path (Definition)

A path in a graph is a finite sequence of alternating vertices and edges, beginning and ending with a vertex, $v_1e_1v_2e_2v_3\dots e_{n-1}v_n$ such that every consecutive pair of vertices $v_x$ and $v_{x+1}$ are adjacent and $e_x$ is incident with $v_x$ and with $v_{x+1}$ Typically, the edges may be omitted when writing a path (e.g., $v_1v_2v_3\dots v_n$ since only one edge of a graph may connect two adjacent vertices. In a multigraph, however, the choice of edge may be significant.

The length of a path is the number of edges in it.

Consider the following graph:

$$\xymatrix{ A \ar@{-}[r] & B \ar@{-}[d] \\ D \ar@{-}[u] & C \ar@{-}[l] }$$

Paths include (but are certainly not limited to) $ABCD$ (length 3), $ABCDA$ (length 4), and $ABABABABADCBA$ (length 12). $ABD$ is not a path since $B$ is not adjacent to $D$

In a digraph, each consecutive pair of vertices must be connected by an edge with the proper orientation; if $e=(u,v)$ is an edge, but $(v,u)$ is not, then $uev$ is a valid path but $veu$ is not.

Consider this digraph:

$$\xymatrix{ G \ar[r] \ar[d] & H \ar[d] \ar[l] \\ J & I \ar[l] }$$

$GHIJ$ $GJ$ and $GHGHGH$ are all valid paths. $GHJ$ is not a valid path because $H$ and $J$ are not connected. $GJI$ is not a valid path because the edge connecting $I$ to $J$ has the opposite orientation.




"path" is owned by CWoo. [ full author list (2) | owner history (1) ]
(view preamble | get metadata)

View style:

See Also: (closed) walk / trek / trail / path

Also defines:  path length
Log in to rate this entry.
(view current ratings)

Cross-references: opposite, orientation, connected, digraph, number, length, multigraph, adjacent vertices, incident, adjacent, consecutive, edges, vertices, alternating, finite sequence, graph
There are 50 references to this entry.

This is version 4 of path, born on 2002-02-03, modified 2007-08-17.
Object id is 1731, canonical name is Path2.
Accessed 9206 times total.

Classification:
AMS MSC05C38 (Combinatorics :: Graph theory :: Paths and cycles)

Pending Errata and Addenda
None.
[ View all 2 ]
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)