Graph Theory

Definitions

A finite simple undirected graph \(G=(V,E)\) has \(E\subseteq\binom V2\): no loops or multiple edges. Write \(n=|V|\ge1\), \(m=|E|\) and \(d(v)=|\{e\in E:v\in e\}|\). Its adjacency matrix has \(A_{ij}=1\) iff \(\{i,j\}\in E\); the Laplacian is \(L=D-A\), where \(D\) is diagonal with entries \(d(v)\).

Eulerian Circuits

If \(E\ne\varnothing\), a closed trail using every edge exactly once exists iff every vertex has even degree and all non-isolated vertices belong to one connected component. Isolated vertices do not obstruct such a trail; two disjoint cycles do. An edgeless nonempty graph admits a trivial length-\(0\) trail.

Spanning Trees and Colorings

Kirchhoff’s matrix-tree theorem: \(\tau(G)=\det L^{(i)}\), where \(L^{(i)}\) deletes row and column \(i\) of \(L\). For a disconnected graph this is \(0\); for \(n=1\) the empty determinant is \(1\).

The chromatic polynomial \(P(G,k)\) counts proper colorings with \(k\) labelled colors. It is monic of degree \(n\) and, for an edge \(e\), \[P(G,k)=P(G-e,k)-P(G/e,k).\] Example: a tree on \(n\) vertices has \(P(G,k)=k(k-1)^{n-1}\).

Turán’s Theorem

For \(1\le r\le n\), the unique \(K_{r+1}\)-free graph with the maximum number of edges, up to isomorphism, is the complete \(r\)-partite graph \(T_r(n)\) with part sizes differing by at most \(1\). Write \(n=qr+s\), \(0\le s<r\). Its exact edge count is \[\operatorname{ex}(n,K_{r+1})=e(T_r(n)) =\frac12\left(n^2-s(q+1)^2-(r-s)q^2\right) =\left(1-\frac1r\right)\frac{n^2}{2}-\frac{s(r-s)}{2r}.\] The simpler upper bound \((1-1/r)n^2/2\) is attained only when \(r\mid n\). Example: \(\operatorname{ex}(5,K_3)=6\), attained by \(K_{2,3}\).