The first term counts colourings after deleting e; the second subtracts those giving its endpoints the same colour, which correspond to colourings of the contraction. Together with PG(t)=t∣V(G)∣ for an edgeless graph, induction proves that PG is apolynomial.