Mathematics — Graph Theory · trails-vs-paths-parity
Problem
Let G be a loopless multigraph. Recall that a trail (in G) means a walk whose edges are distinct (but whose vertices are not necessarily distinct). Let u and v be two vertices of G. As usual, ``trail from u to v'' means ``trail that starts at u and ends at v''. Prove that
(the number of trails from u to v in G)≡(the number of paths from u to v in G)(mod2).
[Hint: Try to pair up the non-path trails into pairs. Make sure to prove that this pairing is well-defined (i.e., each non-path trail t has exactly one partner, which is not itself, and that t is the designated partner of its partner!).]