Can you walk through a town and cross each of its bridges exactly once?
3 lessons, about 1 h 20 min3 simulations10 problems3 practice questionsPython in every lesson
A graph is a set of vertices with some pairs joined by edges. The degree of a vertex is the number of edges at it. Every edge has two ends, so the degrees add up to twice the number of edges: the handshake lemma. So the number of odd vertices is always even. Paths, cycles and connected components describe how a graph hangs together.
A tree is a connected graph with no cycle; with vertices it has edges and at least two leaves. A graph is bipartite when its vertices split into two parts with every edge going across, which happens exactly when it has no odd cycle. A connected graph has an Euler circuit when every degree is even, and an Euler trail when exactly two degrees are odd.
A planar graph can be drawn with no edges crossing. For a connected planar drawing, , and a simple planar graph with at least vertices has ; so and are not planar. A colouring gives joined vertices different colours. Ramsey's theorem says that complete disorder is impossible: any people include mutual friends or mutual strangers, so .
Log in to join the discussion.
Loading…