Graph Theory37 sections · 1633 units
Open in Course

Function Notation

(Successor as a function)

I write f(x)f(x) for the node you reach from node xx in one step. If node 33 points to node 77, then f(3)=7f(3) = 7. This notation comes from viewing the graph as a function. The graph is functional because ff is a function. Every input has exactly one output.

No node has zero edges or two edges. This notation makes composition natural: f(f(x))f(f(x)) means two steps from xx, written as f2(x)f^2(x). In general, fk(x)f^k(x) means kk steps from xx. Powers of ff let you talk about paths concisely.