Tutorials › Graph Theory (Undergraduate) › Proof-Strategy Workshop With Small Graphs

Proof Strategies in Graph Theory · Tutorial 784 of 799

Proof-Strategy Workshop With Small Graphs

Learn to match a graph claim to a proof strategy and verify each reduction, count, and extremal choice.

Intermediate 12 min read

What You'll Learn

  • Choose between induction, extremal selection, double counting, and minimal-counterexample arguments
  • Prove a formula for the number of edges in a forest
  • Derive a lower bound for the size of an independent set
  • Count triangles by summing common neighbors over edges
  • Use a minimal counterexample to find a subgraph of large minimum degree
  • Identify when an attractive alternative argument lacks the required justification

Choosing a Strategy Before Writing a Proof

A graph problem can often be approached in several ways, but a proof strategy is useful only when its steps match the structure of the claim. If removing a vertex leaves a smaller object of the same kind, induction may fit. If the claim concerns a largest or smallest object, choosing one that is extremal can expose a useful constraint. If the same collection can be counted in two ways, double counting may turn a local description into an identity. If a proposed counterexample can be reduced while retaining its failure, a minimal-counterexample argument may force strong local conditions.

This workshop develops those choices through four small problems. The examples use finite simple graphs. A subgraph is formed by taking some vertices and some edges between them; it need not be induced. An independent set is a set of vertices no two of which are adjacent. A forest is a graph with no cycle. The degree of a vertex is its number of neighbors, and \(\Delta(G)\) is the largest degree in \(G\). These definitions will be enough for the arguments below.

Strategy guide: Induction is natural when a deletion creates a smaller instance and the removed part can be restored. Extremal selection is natural when a largest or smallest object has a useful “otherwise we could improve it” property. Double counting is natural when the same set of incidences, pairs, or configurations has two descriptions. A minimal-counterexample proof needs a reduction that preserves the hypotheses and makes a smaller counterexample.

In each case, choosing a strategy is only the beginning. One must verify that the reduced graph satisfies the needed hypothesis, or that the counted objects are counted with exactly the stated multiplicity. The calculations that follow make those checks explicit.

Induction: Edge Counts in Forests

Theorem: If a forest \(G\) has \(n\) vertices, \(m\) edges, and \(c\) connected components, then \(m=n-c\). The empty graph has \(n=m=c=0\), so the statement includes that case.

Proof. We use induction on \(n\). When \(n=0\), the graph has no edges and no components, so \(m=0=n-c\). Now suppose \(n\ge1\), and assume the statement holds for every forest with fewer than \(n\) vertices. A nonempty forest has either an isolated vertex or a vertex of degree one: if some component has at least two vertices, take a path of maximum length in that component. An endpoint cannot have a neighbor outside the path, since that would extend the path, and cannot have another neighbor on the path, since that would create a cycle. Thus that endpoint has degree one. If every component is a single vertex, there is an isolated vertex instead.

If \(v\) is isolated, deleting it gives a forest with \(n-1\) vertices, \(m\) edges, and \(c-1\) components. The induction hypothesis gives \(m=(n-1)-(c-1)=n-c\). If \(v\) has degree one, deleting it removes exactly one edge and does not change the number of components: its neighbor remains in the same component, and no other vertex loses a connection through \(v\), which had only one neighbor. The smaller forest has \(n-1\) vertices, \(m-1\) edges, and \(c\) components. Therefore \(m-1=(n-1)-c\), which rearranges to \(m=n-c\). Both cases establish the formula. \(\square\)

Worked Example: Applying Vertex Induction to a Forest

Let \(G\) have vertex set \(V=\{1,2,3,4,5,6\}\) and edge set \(E=\{12,23,34,45\}\). This graph is a path on vertices \(1,2,3,4,5\), together with the isolated vertex \(6\), so it is a forest.

Here \(n=6\), \(m=4\), and \(c=2\). The theorem predicts \(m=n-c=6-2=4\), agreeing with the edge list. We can also see the induction steps directly. Delete the isolated vertex \(6\): the remaining graph has \(5\) vertices, \(4\) edges, and \(1\) component, so \(4=5-1\). Then delete the degree-one vertex \(1\) and its edge \(12\): the graph has \(4\) vertices, \(3\) edges, and \(1\) component, so \(3=4-1\). Repeating this deletion leaves one vertex, for which \(m=0=1-1\).

Check: restoring the leaf adds one vertex and one edge but leaves the component count unchanged; restoring the isolated vertex adds one vertex and one component but no edge. Thus the formula remains valid at both restoration steps.

Induction fits because the class of forests is preserved by deleting a vertex, and the change in \(n,m,c\) can be calculated exactly. An argument that simply says “remove a vertex” would not suffice: deleting an arbitrary vertex can remove several edges and can change the component count in more complicated ways. The proof selects a vertex whose effect is controlled.

Extremal Selection: A Guaranteed Independent Set

Theorem: Every nonempty finite simple graph \(G\) has an independent set \(S\) satisfying \(|S|\ge n/(\Delta(G)+1)\), where \(n=|V(G)|\).

Proof. Choose an independent set \(S\) of maximum size; one exists because the graph has finitely many vertex subsets. Every vertex outside \(S\) has a neighbor in \(S\), since otherwise it could be added to \(S\), contradicting maximal size. For \(s\in S\), let its closed neighborhood be \(N[s]=\{s\}\cup N(s)\). The closed neighborhoods of the vertices in \(S\) therefore cover \(V(G)\). Consequently,

$$ n\le \sum_{s\in S}|N[s]| =\sum_{s\in S}(\deg(s)+1) \le |S|(\Delta(G)+1). $$

Since \(\Delta(G)+1>0\), division gives \(|S|\ge n/(\Delta(G)+1)\), as required. \(\square\)

Worked Example: A Degree Bound on a Path

Let \(G\) have \(V=\{1,2,3,4,5\}\) and \(E=\{12,23,34,45\}\). The degrees are \(\deg(1)=1\), \(\deg(2)=2\), \(\deg(3)=2\), \(\deg(4)=2\), and \(\deg(5)=1\), so \(n=5\) and \(\Delta(G)=2\). The theorem guarantees an independent set of size at least \(5/(2+1)=5/3\); because the size is an integer, it guarantees at least \(2\) vertices.

Take \(S=\{1,3,5\}\). No two of these vertices are adjacent, so \(S\) is independent and \(|S|=3\). The closed neighborhoods are \(N[1]=\{1,2\}\), \(N[3]=\{2,3,4\}\), and \(N[5]=\{4,5\}\). Their union is all five vertices. Their total size is \(2+3+2=7\), and the proof’s covering inequality reads \(5\le7\le3(2+1)=9\).

Check: The exhibited set has size \(3\), which is at least the guaranteed lower bound \(5/3\). The theorem is a guarantee, not a claim that this particular graph’s largest independent set has exactly the bound’s size.

Here the extremal choice supplies the key property: a maximum independent set is also maximal, meaning no vertex can be added to it. A direct attempt to choose vertices one by one may find a large independent set, but without controlling which vertices remain available it does not by itself prove this bound. The covering argument explains why the maximum degree controls the guarantee.

Double Counting: Triangles Through Their Edges

Proposition: In any finite simple graph, the sum over edges \(uv\) of the number of common neighbors of \(u\) and \(v\) equals three times the number of triangles.

Proof. Count pairs consisting of an edge \(uv\) and a vertex \(w\) adjacent to both \(u\) and \(v\). For a fixed edge \(uv\), the number of such pairs is the number of common neighbors of its endpoints, so counting by edges gives the stated sum. Each such pair determines a triangle with vertices \(u,v,w\). Conversely, every triangle contributes one such pair for each of its three edges, and contributes no other pairs. Thus each triangle is counted exactly three times, proving the identity. \(\square\)

Worked Example: Counting Triangles by Common Neighbors

Let \(G\) have \(V=\{1,2,3,4,5\}\) and \(E=\{12,13,23,24,34,45\}\). To count common neighbors edge by edge, consider each edge:

  • For \(12\), the common neighbors are \(\{3\}\), so the count is \(1\).
  • For \(13\), the common neighbors are \(\{2\}\), so the count is \(1\).
  • For \(23\), the common neighbors are \(\{1,4\}\), so the count is \(2\).
  • For \(24\), the common neighbors are \(\{3\}\), so the count is \(1\).
  • For \(34\), the common neighbors are \(\{2\}\), so the count is \(1\).
  • For \(45\), there are no common neighbors, so the count is \(0\).

The sum is \(1+1+2+1+1+0=6\). Independently, the triangles are \(\{1,2,3\}\) and \(\{2,3,4\}\), so there are \(2\), and \(3\cdot2=6\), agreeing with the edge count.

Check: Triangle \(123\) contributes through edges \(12,13,23\); triangle \(234\) contributes through edges \(23,24,34\). In particular, edge \(23\) has two common neighbors because it belongs to both triangles.

Double counting works here because the objects have two precise descriptions: an edge with a common neighbor, or a triangle together with one of its edges. A common error is to equate the sum directly to the number of triangles. In this example that would give \(6=2\), which is false. Each triangle contributes three times, not once.

Minimal Counterexample: A Subgraph with Large Minimum Degree

Theorem: Let \(G\) be a finite graph with \(n\ge1\) vertices and average degree \(d(G)=2|E(G)|/n\). Then \(G\) has a nonempty subgraph \(H\) with minimum degree at least \(d(G)/2\).

Proof. If \(d(G)=0\), the graph has no edges, and any one-vertex subgraph has minimum degree \(0\), so the claim holds. Suppose \(d(G)>0\), and assume for contradiction that some graph satisfying the claim’s hypotheses has no such subgraph. Choose a counterexample with the fewest vertices. Write \(d=d(G)>0\) and \(m=|E(G)|\), so \(2m/n=d\).

If every vertex has degree at least \(d/2\), then \(G\) itself is a nonempty subgraph with the required minimum degree, contradicting that \(G\) is a counterexample. Therefore some vertex \(v\) has \(\deg(v)<d/2\). The graph \(G-v\) is nonempty: a one-vertex graph has average degree \(0\), contrary to \(d>0\). It has \(n-1\) vertices and \(m-\deg(v)\) edges. Its average degree is

$$ \frac{2(m-\deg(v))}{n-1} > \frac{2m-d}{n-1} = \frac{nd-d}{n-1} =d. $$

The strict inequality uses \(\deg(v)<d/2\), and the equality uses \(2m=nd\). Thus \(G-v\) has average degree at least \(d\), so it is another graph to which the theorem applies. It has fewer vertices than \(G\); by the minimal choice of \(G\), it contains a nonempty subgraph of minimum degree at least half its own average degree. That degree is greater than \(d/2\), so the same subgraph also certifies the theorem for \(G\), a contradiction. Hence no counterexample exists. \(\square\)

Worked Example: Removing a Low-Degree Vertex

Let \(G\) have \(V=\{1,2,3,4,5,6\}\) and \(E=\{12,23,31,34,45\}\). Vertex \(6\) is isolated. The graph has \(n=6\) vertices and \(m=5\) edges, so its average degree is \(d(G)=2\cdot5/6=5/3\). Half that value is \(5/6\). Since \(\deg(6)=0<5/6\), deleting \(6\) is a valid reduction of the kind used in the proof.

The smaller graph has vertices \(\{1,2,3,4,5\}\) and the same five edges. Its average degree is \(2\cdot5/5=2\), which is greater than \(5/3\). Its degrees are \(2,2,3,2,1\), so its minimum degree is \(1\). This is at least \(5/6\), the required threshold for the original graph.

Check: The subgraph \(H=G-6\) is nonempty and has minimum degree \(1\ge5/6=d(G)/2\). Its own average degree is \(2\), and \(1\ge2/2\) as well.

This proof uses minimality to justify the reduction: after deleting a vertex of degree below half the original average, the average degree increases, so the smaller graph still meets the hypothesis. Merely choosing a vertex of low degree does not finish the argument; the calculation showing that the reduced graph remains eligible is essential. Induction could also be considered, but the minimal-counterexample formulation makes the contradiction especially direct: a smaller eligible counterexample is impossible by the choice of the original one.

How to Check a Strategy

Before committing to a proof, identify the object that changes and calculate what the change does to the hypotheses. For induction, state the parameter that decreases and verify the base case. For an extremal choice, state exactly what is largest or smallest and derive the consequence of improving it. For double counting, define the objects being counted and check the multiplicity from both viewpoints. For a minimal counterexample, specify the measure of minimality and show that the reduction preserves the claim’s assumptions.

A method can be valid in principle without being the most direct one. For example, the triangle identity is naturally a double count; deleting vertices does not immediately explain why every triangle contributes exactly three times. The independent-set bound depends on a maximality consequence and a covering estimate, not on counting all graph edges. In the forest formula, arbitrary deletion obscures the component changes, while a leaf or isolated vertex makes them manageable. The central discipline is not to name a strategy, but to supply the check that makes its key step work.

Check Your Understanding

For each question, state the proof strategy you would use and justify the crucial step.

  1. In the forest formula, why does deleting an isolated vertex decrease the number of components by one, while deleting a degree-one vertex does not?
  2. For the path on five vertices, compute the degree-bound guarantee for an independent set and give a set that meets or exceeds it.
  3. In the triangle-counting proposition, why does each triangle contribute three rather than one to the sum over edges?
  4. In the minimal-counterexample proof, derive the average degree of \(G-v\) and explain why it is greater than \(d(G)\) when \(\deg(v)<d(G)/2\).
  5. Give one reason that deleting an arbitrary vertex would not directly complete the induction proof for the forest edge formula.