Vertices are the graph’s declared objects. An isolated vertex still belongs to the graph even when it has no incident edge. Drawing positions do not change vertex identity.
Edges connect specified endpoints. State whether edges are directed, whether loops are permitted and whether several different edges may join the same endpoints. A loop contributes two ends to undirected degree.
Definitions and notation for this topicLoops and parallel edges
A loop has the same endpoint twice. Parallel edges are distinct edges with the same endpoints. For an undirected multigraph, retain each edge’s identity and endpoint pair.
A simple undirected graph excludes both loops and parallel edges. The degree convention does not by itself specify how a matrix should record loops; state the matrix convention explicitly.
Separate glossary example
e₁=AB and e₂=AB are two edges, not one duplicated set entry. A loop e₃=AA contributes two to deg(A).
In a simple undirected graph, N(v) is the set of vertices adjacent to v. The graph is connected when every pair of vertices is joined by a path.
Adjacency means one edge; connectedness permits a longer path. In this simple graph deg(v)=|N(v)|; parallel edges and loops require separate degree conventions.
Separate glossary example
In the path A—B—C, N(B)={A,C}; the graph is connected even though A and C are not adjacent.
In a simple undirected graph, a closed sequence with at least three edges and no repeated vertices other than the start at the end.
Epp calls this a simple circuit. Its first and last vertices coincide; a path cannot repeat that vertex.
The at-least-three-edges restriction belongs to this simple-graph setting. Use the separate walk/trail/circuit entry for the source’s general multigraph convention.
A walk follows incident vertices and edges; repetition is allowed. A trail has no repeated edge. A circuit is a closed trail with at least one edge. A simple circuit has no repeated vertex except the common first/last vertex.
A path has no repeated vertex. A single vertex is a length-zero walk. Under Epp’s general convention a loop is a one-edge circuit; the at-least-three-edges cycle rule applies only to simple graphs.
Separate glossary example
Traversing one edge A—B and returning along that same edge is a walk, not a trail. With two distinct parallel edges between A and B, using one out and the other back is a circuit.
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.1 · Count edges from degreesLevel 1
A finite undirected loop-free graph has five vertices of degrees 3,3,2,2,2. 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.