An undirected graph is connected when each pair of vertices can be joined by a path. Otherwise the maximal connected parts are its connected components. Isolated vertices form one-vertex components.
A simple circuit is a nonempty closed walk that returns to its start without repeating any other vertex or any edge. In a simple graph it uses at least three edges. Loops and parallel edges require the graph’s stated convention; a tree has no cycle.
A rooted tree has a designated root. The depth of v is the number of edges on the unique path from the root to v; the root has depth zero.
The parent is the preceding vertex on that root path; children are one level farther away. Depth counts edges, not vertices, and is not a vertex’s degree.
Separate glossary example
If r is the root and the path is r—a—v, then depth(a)=1 and depth(v)=2.
A spanning tree of a connected undirected graph uses every vertex of G and a subset of its edges, while remaining connected and without circuits.
A finite spanning tree has |V|−1 edges. A minimum spanning tree minimizes total edge weight among spanning trees; it need not minimize the route from one fixed source to every vertex.
Separate glossary example
In a triangle with edges AB=2, BC=3, AC=7, selecting AB and BC gives a spanning tree of total weight 5.
How to build an argument: methods and reasonsBefore writing: assumptions, goals and established facts (§4.2)
Assumption: a stated hypothesis or an explicitly temporary premise. Identify its domain.
Goal: what remains to be shown. It is not available as a reason for a later step.
Established: a statement derived from hypotheses, definitions, earlier steps or an applicable theorem. Name that reason.
Introduce witnesses when their existence is justified; give different arbitrary quantities different variables. Finish by matching the result to the original goal.
When to choose: Use it when the negation creates incompatible established facts.
Assume the hypotheses and the negation of the desired conclusion; derive a contradiction.
Start: State exactly what is temporarily assumed for contradiction.
Finish: Name the conflicting statements and discharge the assumption.
Worked example with reasons
Goal
2∣n2⇒2∣n
Prove the statement for every integer n.
Reason: This is Proposition 4.7.4.
Assumption
2∣n2,2∤n
Assume a counterexample: n² is even but n is not even.
Reason: Negating the universal conditional gives one integer satisfying the hypothesis and negating the conclusion. Every integer is either even or odd.
Established
n=2k+1,k∈Z
Introduce an integer k.
Reason: Definition of odd.
Established
n2=(2k+1)2=4k2+4k+1=2(2k2+2k)+1
The square is odd.
Reason: Algebra and closure of integers show 2k²+2k is an integer; then use the definition of odd.
Established
2∣n2∧2∤n2
This is impossible; the assumed counterexample cannot exist.
Reason: No integer is both even and odd (Theorem 4.7.2). Discharging the contradictory assumption proves the original claim.
When to choose: Use it to identify precisely what would make a quantified claim false, especially before a counterexample or contradiction.
Negate one outer quantifier at a time, preserving variable order, domains and the scope of the predicate.
Start: Mark the scope of each quantifier; move the negation inward one rule at a time.
Finish: Read the final statement and check that it describes failure of the original claim. Equivalence does not by itself prove either statement true.
Worked example with reasons
Goal
¬∀x∈D∃y∈EP(x,y)
Rewrite the negation without changing its meaning.
Reason: The domains D and E remain fixed throughout.
Established
∃x∈D¬∃y∈EP(x,y)
There is an x for which the inner existential statement fails.
Reason: Negation of a universal quantifier: ¬∀x R(x) ⇔ ∃x ¬R(x).
Established
∃x∈D∀y∈E¬P(x,y)
For that same x, every y fails P.
Reason: Negation of an existential quantifier: ¬∃y P(x,y) ⇔ ∀y ¬P(x,y). The order ∃x∀y is preserved.
Both are statements established by proof. The name often signals how a text organizes or emphasizes a result, not a different degree of truth.
Lemma
A proved auxiliary result used in another argument. For example, −|r|≤r≤|r| for real r supports later bounds. If r≥0, |r|=r and −r≤r; if r<0, |r|=−r and r≤−r. These cases cover every real r.
Lemma 4.5.4, printed p. 207 / PDF 231
Corollary
A result derived from an established theorem. If r is rational, r+r is rational by closure of rational numbers under addition (Theorem 4.3.2); because 2r=r+r, its double is rational.
Example 4.3.4, printed p. 187 / PDF 211; printed box: Corollary 4.2.3
Keep the domain conditions
With Epp’s definition, d divides 0 for every nonzero integer d: 0=d·0. Do not omit d≠0.
Prime and composite classifications here concern integers n>1. “Not prime” alone does not make 0, 1 or a negative integer composite.
§10.4 · Count forest edgesLevel 2
A finite forest has 12 vertices and 4 connected components. How many edges does it have?
Enter an integer result. Put any explanation in the reasoning field below.
Symbols
Check answer checks the result above. Your reasoning is saved, not automatically graded; compare it with the walkthrough.