How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Graphs, Walks and Connectivity
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Inclusion–Exclusion, the Pigeonhole Principle and Double Counting
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
Finite cardinality supplies graph order, size, degree counts and the enumeration of two-element subsets, while Double counting: for a relation between finite sets supplies the incidence identity behind the handshake lemma. The general definition Equivalence relation, equivalence class, and the quotient set , from the required Relations, Functions, and Quotients development, is applied to reachability. The counts A finite set with elements has exactly two-element subsets, and and for finite license the complete-graph and labelled-graph enumerations.
A graph is fixed as finite, simple and undirected before adjacency, subgraphs, walks, paths, cycles and connected components are defined. Removing repetitions turns walks into paths; reachability then partitions the vertices, shortest-path distance satisfies the metric axioms componentwise, and parity characterizes bipartite graphs. Standard graph constructions lead to the handshake lemma and its parity consequence. Vertex and edge cuts yield Whitney's inequalities, while longest-path and extremal edge arguments give cycle and connectivity criteria.
3 · Logical flowchart
4 · Definitions, theorems and proofs
A finite simple graph is a finite vertex set together with a set of two-element vertex subsets
Definition
A finite simple graph is an ordered pair in which is a finite set and
The elements of are the vertices and the elements of are the edges. Thus every edge has two distinct endpoints, there are no loops, and an unordered pair of vertices occurs as at most one edge. Finiteness and the notation and are those of The cardinality of a finite set.
When no qualifier is present, the word graph has this meaning.
Unless stated otherwise, graph means finite, simple and undirected; orders, sizes and empty-set conventions are fixed here
For a graph (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets), its order is and its size is (The cardinality of a finite set). The null graph has and . An edgeless graph has but may have vertices. Thus the null graph is the unique graph with no vertices, while an edgeless graph need not be null.
All sums indexed by or use their ordinary empty values. A minimum or maximum taken over the vertex set is used only when ; in particular, minimum and maximum degree are not assigned values for the null graph. Connectivity conventions for the null graph and the one-vertex graph are stated with the definition of connectivity.
Multigraphs, loops and directed graphs as variants distinct from the default finite simple graph
Definition
A finite undirected multigraph consists of a finite vertex set , a finite edge set , and an endpoint map assigning to each either a singleton or a two-element subset of . An edge assigned is a loop at . Distinct members of assigned the same endpoint set are parallel edges.
A finite directed graph, or digraph, consists of a finite vertex set and a set of arcs. An arc is directed from to ; an arc is a directed loop.
These objects are variants, not instances of the default graph convention in A finite simple graph is a finite vertex set together with a set of two-element vertex subsets and Unless stated otherwise, graph means finite, simple and undirected; orders, sizes and empty-set conventions are fixed here. A theorem stated merely for a graph therefore neither permits loops or parallel edges nor supplies directions to its edges.
Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree
Definition
Let be a graph (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets).
Distinct vertices are adjacent, or neighbours, when . A vertex and an edge are incident when . The open neighbourhood and closed neighbourhood of are
The degree of is , equivalently the number of edges incident with . A graph is -regular when every vertex has degree ; it is cubic when it is -regular. The multiset of the vertex degrees, usually written in nonincreasing order, is the degree sequence.
When , the minimum degree and maximum degree are
They are defined because is a nonempty finite set (The cardinality of a finite set). Neither nor is defined for the null graph.
Subgraphs, induced subgraphs and spanning subgraphs
Definition
Let be a graph. A graph is a subgraph of when and .
For , the subgraph induced by is
Thus it retains every edge of whose two endpoints lie in . A subgraph is induced when , and it is spanning when . These constructions remain finite simple graphs by A finite simple graph is a finite vertex set together with a set of two-element vertex subsets.
Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges
Definition
Let be a graph. A walk of length is a finite vertex list
such that for every . Its endpoints are and . The length is the number of traversed edges, not the number of displayed vertices. A walk is closed when .
A trail is a walk in which the traversed edges are distinct. A path is a walk in which the vertices are distinct. In particular, is a path of length from to itself.
A cycle is a closed walk of length in which are distinct. A graph is acyclic when it contains no cycle. Reversing any walk, trail, path, or cycle preserves its type and length.
Every walk between two vertices contains a path between the same endpoints
Statement
Let be a walk in a graph. By deleting zero or more closed segments from its vertex list, one obtains a path from to of length at most . If repeats a vertex, the resulting path can be chosen to have length strictly less than .
Facts & Assumptions
Given: A walk in a finite simple graph.
A path is a walk with no repeated vertex (Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).
If with , deleting leaves the list , which is a walk with the same endpoints and length .
A finite vertex list has only finitely many lists obtainable by deleting segments, so any nonempty family of their lengths has a least member (The cardinality of a finite set).
Proof
Let be the nonempty finite family of walks obtained from by deleting zero or more closed segments, and choose of least length.
The walk has no repeated vertex: if two positions carried the same vertex, [F2] would delete the intervening closed segment and produce a shorter member of , contrary to the choice of .
By [F1], is a path with the same endpoints as , and its length is at most because . If repeats a vertex, applying [F2] once before minimizing gives a member of shorter than , so is strictly shorter than .
Connected graphs and connected components defined by the existence of vertex paths
Definition
Vertices and of a graph are connected, or reachable from one another, when a path in has endpoints and . Equivalently, a walk joins them, because Every walk between two vertices contains a path between the same endpoints turns such a walk into a path.
For , its connected component is the induced subgraph on
A graph is connected when its vertex set is nonempty and every two vertices are reachable from one another. Thus the null graph is not connected. The one-vertex graph is connected, since its vertex is joined to itself by the path of length from Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges.
Being joined by a walk or path is the same equivalence relation on the vertex set
Statement
On the vertex set of a graph, define when a walk joins to . Then is an equivalence relation (Equivalence relation, equivalence class, and the quotient set ), and holds exactly when a path joins to .
Facts & Assumptions
Given: A graph and the relation defined by the existence of a walk from to .
An equivalence relation is reflexive, symmetric and transitive (Equivalence relation, equivalence class, and the quotient set ).
Every walk between two vertices contains a path between the same endpoints (Every walk between two vertices contains a path between the same endpoints).
A one-vertex list is a path of length , reversing a walk gives a walk with reversed endpoints, and concatenating a to walk with a to walk gives a to walk (Connected graphs and connected components defined by the existence of vertex paths, Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).
Proof
For every , the length- walk joins to itself, so .
If , reversing a witnessing walk gives a walk from to , so .
If and , concatenating witnessing walks gives a walk from to , so .
Steps 1.1, 1.2 and 1.3 prove reflexivity, symmetry and transitivity, hence is an equivalence relation by [F1].
Every path is a walk, while [L1] turns every witnessing walk into a path with the same endpoints; therefore walk-reachability and path-reachability coincide.
The connected components of a graph partition its vertex set and are its maximal connected subgraphs
Statement
The vertex sets of the connected components of a graph are nonempty, cover , and any two are equal or disjoint. Each induced graph is connected and contains every connected subgraph of that contains . Consequently the connected components are precisely the maximal connected subgraphs of .
Facts & Assumptions
Given: A graph and the reachability classes .
Reachability is an equivalence relation on (Being joined by a walk or path is the same equivalence relation on the vertex set).
is the set of vertices reachable from , and the connected component at is the induced graph (Connected graphs and connected components defined by the existence of vertex paths, Subgraphs, induced subgraphs and spanning subgraphs).
Proof
Reflexivity in [L1] gives , so every class is nonempty and the classes cover .
If and meet at , then reaches and reaches by symmetry; transitivity gives that reaches , and another use of symmetry and transitivity shows a vertex reaches exactly when it reaches . Thus , so distinct classes are disjoint.
If , then reaches and reaches ; concatenating these paths gives a walk from to , and deleting any repeated segments gives a path all of whose vertices remain reachable from . Hence is connected.
If a connected subgraph contains , every vertex of is joined to by a path in , hence also in , so . Thus is a subgraph of .
Steps 1.1 and 1.2 give the partition assertion, and steps 1.3 and 1.4 say exactly that its induced subgraphs are connected and maximal among connected subgraphs.
Graph distance within a component, eccentricity, diameter and girth, including the acyclic convention
Definition
Let and lie in the same connected component of a graph . Their distance is
The set being minimized is nonempty by connectivity and finite because a path has no repeated vertex and is finite (The cardinality of a finite set). No ordinary natural-number distance is assigned to vertices in different components.
For a vertex , its eccentricity is the maximum of over the vertices in its component. The diameter of a connected graph is the maximum of over all pairs of its vertices. Thus every component has its own diameter, while a disconnected graph has no single graph diameter under this convention.
The girth is the minimum length of a cycle in . If is acyclic, set by convention. This symbol records absence of a cycle and is not a distance between vertices.
Shortest-path distance is a metric on every connected component
Statement
Let be the vertex set of a connected component of a graph . The function satisfies, for all ,
- , with if and only if ;
- ;
- .
These are the metric axioms, so shortest-path distance is a metric on .
Facts & Assumptions
Given: Vertices in one connected component of .
is the least length of an to path, and the length is a natural number (Graph distance within a component, eccentricity, diameter and girth, including the acyclic convention).
Every walk contains a path between the same endpoints whose length is no greater (Every walk between two vertices contains a path between the same endpoints).
Reversing a path preserves its length, and concatenating an to path of length with a to path of length gives an to walk of length .
Proof
Every path length is a natural number, hence . The length- path gives . Conversely a path of length has one vertex, so forces .
Reversing a shortest to path gives a to path of the same length, so ; reversing the roles gives the opposite inequality, hence equality.
Concatenate shortest paths from to and from to . This is a to walk of length , and [L1] supplies a to path of no greater length. Minimality in [F1] gives .
Steps 1.1, 1.2 and 1.3 establish separation, symmetry and the triangle inequality directly on , so is a metric there.
A bipartite graph and a proper two-colouring of its vertices
Definition
A graph is bipartite when there are disjoint subsets with such that every edge has one endpoint in and the other in . The ordered pair is a bipartition.
Equivalently, a proper two-colouring is a map satisfying whenever : take and , or define from a bipartition. Either part may be empty, so every edgeless graph, including the null graph, is bipartite.
Every closed walk of odd length contains a cycle of odd length
Statement
Every closed walk of odd length in a graph contains, among its traversed edges, a cycle of odd length.
Facts & Assumptions
Given: A finite simple graph and its closed walks.
A simple graph has no loop, so an odd closed walk has length at least ; a closed walk of length whose vertices before the repeated endpoint are distinct is a cycle (Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).
Mathematical induction: a property true at and inherited from to holds for every natural (The principle of mathematical induction).
If a closed walk has with , it splits into closed walks of lengths and ; when is odd, exactly one of these lengths is odd.
Proof
Let say that every odd closed walk of length at most contains an odd cycle. At there is no odd positive length at most , so holds vacuously.
Fix and assume . Let be an odd closed walk with .
If , the inductive hypothesis supplies an odd cycle in .
Suppose instead that . If are distinct, then is itself an odd cycle by [F1].
If those vertices are not distinct, choose with . By [F2], splits into two shorter closed walks, and exactly one has odd length. Its length is at most , so supplies an odd cycle in that subwalk and hence in .
Steps 2.1, 2.2 and 2.3 cover every odd closed walk of length at most , so holds.
By [L1], holds for every natural . Applying it at the length of any given odd closed walk yields an odd cycle contained in that walk.
A finite graph is bipartite if and only if it has no odd cycle
Statement
A finite simple graph is bipartite if and only if it contains no cycle of odd length.
Facts & Assumptions
Given: A finite simple graph .
A bipartition is an ordered pair of disjoint subsets with and every edge running between its two parts (A bipartite graph and a proper two-colouring of its vertices).
Every odd closed walk contains an odd cycle (Every closed walk of odd length contains a cycle of odd length).
Path-reachability is an equivalence relation, and its equivalence classes are the connected components; hence two vertices lie in the same component exactly when a path joins them. Every such path has a length and therefore a parity (Being joined by a walk or path is the same equivalence relation on the vertex set, Connected graphs and connected components defined by the existence of vertex paths, Graph distance within a component, eccentricity, diameter and girth, including the acyclic convention).
The connected components are nonempty, cover the vertex set, and are pairwise equal or disjoint (The connected components of a graph partition its vertex set and are its maximal connected subgraphs).
Proof
Suppose has a bipartition . Along any walk the successive vertices alternate between and , so a closed walk returns to its initial part only after an even number of edges. In particular, every cycle has even length.
Conversely, suppose has no odd cycle. Then by [L1] it has no odd closed walk.
Let be an arbitrary connected component. It is nonempty by [L2], so fix a root . Put equal to the vertices joined to by an even-length path and equal to those joined to by an odd-length path. Every vertex of lies in at least one of these sets by [F2]. This construction is vacuous when the graph has no components.
The sets and are disjoint: an even to path followed by the reverse of an odd to path would be an odd closed walk, contrary to step 1.2.
Every edge inside runs between and . Otherwise choose paths from to and from to having the common parity of their class. Traversing the first path, the edge , and the reverse of the second path gives an odd closed walk, contrary to step 1.2.
By [L2], the connected components partition the finite vertex set and therefore form a finite family. Repeating this construction for each component and taking and to be the unions of their respective parts gives disjoint sets with . The endpoints of an edge are joined by that one-edge path and hence lie in one component by [F2], so every edge runs between the two global parts. Thus is a bipartition.
Step 1.1 proves that bipartite graphs have no odd cycle, and steps 1.2 to 5.1 prove the converse.
Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices
Definition
On a finite vertex set , the empty graph has edge set and the complete graph has edge set . When is an -element labelled set, these are also denoted and .
For disjoint finite sets and , the complete bipartite graph has vertex set and edge set
If and , it is denoted .
The path graph has vertices. For , take vertices and edges for ; it has length . Set equal to the null graph. The cycle graph is defined only for : it has vertices , the consecutive edges for , and the closing edge . Thus in this notation the subscript records the number of vertices, not the length of a path.
The Petersen graph on the two-element subsets of a five-element set, adjacent when disjoint
Definition
Fix a five-element set . The Petersen graph has vertex set , the set of two-element subsets of , and edge set
In words, two vertices are adjacent exactly when the corresponding two-element subsets are disjoint. This is a finite simple graph, and its vertex set has elements by A finite set with elements has exactly two-element subsets, and . The definition is independent of the names assigned to the five elements, because a relabelling preserves disjointness.
Graph isomorphisms, automorphisms and graph complements
Definition
Let and be graphs. A graph isomorphism is a bijection (Injection, surjection, bijection) such that, for all distinct ,
Graphs are isomorphic, written , when such a map exists. An automorphism of is an isomorphism from to itself.
The complement of is the graph
Thus exactly one of and contains any given pair of distinct vertices as an edge, and .
Vertex and edge deletion, edge contraction, graph minors, subdivisions and topological minors
Definition
Let be a graph. For , vertex deletion gives . For , edge deletion gives . The same notation is used for deleting a set of vertices or edges.
For an edge , contracting identifies and . More precisely, take a new vertex , put , and let send to and fix every other vertex. Then
The condition deletes loops, while writing the edge family as a set merges parallel edges. Thus contraction returns a simple graph.
A graph is a minor of when it can be obtained by vertex deletions, edge deletions and edge contractions. Subdividing an edge replaces it by and for a new vertex . A subdivision repeats this operation zero or more times. The graph is a topological minor of when some subdivision of is isomorphic to a subgraph of (Subgraphs, induced subgraphs and spanning subgraphs).
The line graph whose vertices are the edges of the original graph and whose adjacency records a shared endpoint
Definition
For a graph , its line graph has vertex set . Distinct vertices are adjacent in exactly when the edges and of share an endpoint, that is, when .
Because is finite and adjacency is recorded as a set of two-element subsets of , the line graph is again a finite simple graph (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets). Incidence in has become adjacency in .
Handshake lemma: the sum of the vertex degrees is twice the number of edges
Statement
For every finite simple graph ,
as an identity of natural numbers. It remains valid for the null graph, when both sides are .
Facts & Assumptions
Given: A finite simple graph .
For a relation between finite sets, the sum of the row-fibre cardinalities and the sum of the column-fibre cardinalities both equal (Double counting: for a relation between finite sets).
The row and column fibres of a finite incidence relation are finite and are defined by fixing the first or second coordinate (A relation between finite sets, its row fibres and its column fibres ).
is the number of edges incident with (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).
Proof
Define the incidence relation . Its row fibre at is the set of edges incident with , so it has cardinality by [F2].
Every edge is a two-element subset of , so its column fibre has cardinality .
Applying [L1] to and using steps 1.1 and 1.2 gives .
Every finite graph has an even number of vertices of odd degree
Statement
In every finite simple graph, the set of vertices having odd degree has even cardinality.
Facts & Assumptions
Given: A finite simple graph and the finite set .
The handshake lemma gives , an even natural number (Handshake lemma: the sum of the vertex degrees is twice the number of edges).
The cardinality is a natural number because is a subset of the finite set (The cardinality of a finite set).
Proof
Split the degree sum into the vertices in and those outside . The latter summands are even, so their sum is even.
A finite sum of odd natural numbers has the same parity as : writing each summand as makes the sum . Hence has the same parity as .
The total degree sum is even by [L1], and subtracting the even contribution from leaves an even sum over . Step 1.2 therefore makes even.
The complete graph on an -element vertex set has edges
Statement
If is an -element set, then the complete graph has exactly edges.
Facts & Assumptions
Given: A finite set with .
The edge set of is , the set of all two-element subsets of (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices).
An -element set has exactly two-element subsets (A finite set with elements has exactly two-element subsets, and ).
Proof
By [F1], .
By [L1], , so step 1.1 gives .
There are simple graphs on a fixed labelled -element vertex set
Statement
On a fixed labelled -element vertex set , there are exactly finite simple graphs.
Facts & Assumptions
Given: A fixed finite set with .
A simple graph on is uniquely specified by choosing an edge set (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets).
The set has elements (A finite set with elements has exactly two-element subsets, and ).
A finite set with elements has a power set with elements ( for finite ).
Proof
Sending a graph to its edge set is a bijection from the simple graphs on the fixed labelled set to the power set , by [F1].
By [L1] and [L2], . Combining with step 1.1 gives the stated count.
Vertex cuts, edge cuts, vertex connectivity and edge connectivity , with conventions for complete and one-vertex graphs
Definition
Let be connected with . A vertex cut is a set for which is disconnected or has at most one vertex. An edge cut is a set for which is disconnected. The vertex connectivity and edge connectivity are
The finite families being minimized are nonempty: deleting all but one vertex is a vertex cut, and deleting all edges is an edge cut. For the complete graph , no deletion leaving at least two vertices disconnects it, so the first definition gives the standard exceptional convention .
For the one-vertex graph , set . The null graph and every disconnected graph are outside the domain of these two connectivity parameters under this convention. Thus the inequalities involving are stated only for nontrivial connected graphs, where the vertex set is nonempty and is defined.
For every nontrivial connected graph,
Statement
For every connected finite simple graph with at least two vertices, .
Facts & Assumptions
Given: A connected graph with .
is the minimum size of an edge set whose deletion disconnects (Vertex cuts, edge cuts, vertex connectivity and edge connectivity , with conventions for complete and one-vertex graphs).
A vertex of minimum degree has exactly incident edges (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).
Proof
Choose a vertex with and let be the set of all edges incident with . Then .
In , the vertex is isolated while at least one other vertex remains, so is disconnected. Thus is an edge cut.
Minimality in [F1] gives .
For every nontrivial connected graph,
Statement
For every connected finite simple graph with at least two vertices, .
Facts & Assumptions
Given: A connected graph with .
is the least size of a vertex set whose deletion disconnects or leaves at most one vertex, and is the least size of an edge cut (Vertex cuts, edge cuts, vertex connectivity and edge connectivity , with conventions for complete and one-vertex graphs).
The components of a disconnected graph partition its vertex set, and a walk between two different components must traverse an edge joining the two sides (The connected components of a graph partition its vertex set and are its maximal connected subgraphs, Connected graphs and connected components defined by the existence of vertex paths, Every walk between two vertices contains a path between the same endpoints).
Proof
Choose an edge cut of size . Let be the vertex set of one component of and put . Then and are nonempty, and every edge of between and belongs to .
If , deleting all but one vertex gives a vertex cut of size , so .
Suppose . The bipartite set of all pairs with one endpoint in and one in has members. Hence not every such pair is an edge of , for all cross edges lie in . Choose nonadjacent and .
For each edge , choose one endpoint different from both and ; this is possible because . Put . Then , every edge of meets , and .
Any path from to must use an edge between and , hence an edge of by step 1.1, and therefore a vertex of by step 3.1. Thus has no to path and is disconnected, so is a vertex cut.
In the case , step 4.1 gives ; step 2.1 gives the same inequality in the remaining case.
Whitney's inequalities: for every nontrivial connected graph
Statement
For every connected finite simple graph with at least two vertices,
This includes complete graphs under the convention : for with , all three quantities equal .
Facts & Assumptions
Given: A connected finite simple graph with at least two vertices.
for every nontrivial connected graph (For every nontrivial connected graph, ).
for every nontrivial connected graph (For every nontrivial connected graph, ).
Proof
Applying [L1] and [L2] to gives .
For , deleting fewer than vertices leaves a nonempty complete graph and deleting leaves one vertex, so ; every vertex has degree , and deleting all edges incident with one vertex is an edge cut, while any smaller edge deletion leaves every pair joined through a remaining direct edge or a two-edge path. Hence , as stated.
Every nonempty finite simple graph contains a path with at least edges
Statement
Every nonempty finite simple graph contains a path having at least edges.
Facts & Assumptions
Given: A nonempty finite simple graph .
is the least degree of a vertex of (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).
A path has no repeated vertex, and appending a neighbour not already on it produces a longer path (Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).
A finite graph has only finitely many paths, so a path of greatest length exists (The cardinality of a finite set).
Proof
Choose a path of greatest length in .
Every neighbour of lies among : a neighbour outside this list could be prepended to , giving a longer path and contradicting step 1.1.
The distinct neighbours of therefore occupy distinct positions among the vertices , so by [F1]. Thus has at least edges.
Every finite simple graph of minimum degree at least two contains a cycle
Statement
If is a finite simple graph with , then contains a cycle.
Facts & Assumptions
Given: A finite simple graph with .
contains a path with at least edges (Every nonempty finite simple graph contains a path with at least edges).
A closed walk of length at least whose vertices before the final repeated endpoint are distinct is a cycle (Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).
Proof
By [L1], has a path of length at least . Among all paths choose one of greatest length, say , so .
Every neighbour of lies on , since a neighbour outside could be prepended to make a longer path. Since , besides there is a neighbour with .
The list is a closed walk of length with distinct vertices before its final , so it is a cycle by [F1].
An -vertex simple graph with more than edges is connected
Statement
Let be a finite simple graph with vertices. If , then is connected.
Facts & Assumptions
Given: A finite simple graph with and .
If is disconnected, its components partition into at least two nonempty sets and no edge joins different components (Connected graphs and connected components defined by the existence of vertex paths, The connected components of a graph partition its vertex set and are its maximal connected subgraphs).
A simple graph on a -element vertex set has at most edges, with equality for the complete graph (A finite simple graph is a finite vertex set together with a set of two-element vertex subsets, A finite set with elements has exactly two-element subsets, and , A subset of a finite set is finite, with , and equality holds if and only if , The complete graph on an -element vertex set has edges).
Proof
Suppose, for contradiction, that is disconnected. Choose one component with vertex set , put , and write . Then , , and no edge joins to .
By [L1], the edges with both endpoints in number at most , and those with both endpoints in number at most . Step 1.1 accounts for every edge, so .
For , elementary binomial algebra gives .
Steps 2.1 and 2.2 give , contradicting the hypothesis. Therefore is connected.
5 · Examples, counterexamples and false statements
FALSE: a finite simple graph is determined up to isomorphism by its degree sequence
Statement
FALSE. A finite simple graph is determined up to isomorphism by its degree sequence.
Facts & Assumptions
Given: The cycle graph and the graph that is the disjoint union of two copies of .
has vertices arranged in one cycle for (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices).
A graph isomorphism is a bijection preserving adjacency in both directions, and therefore sends cycles to cycles of the same length (Graph isomorphisms, automorphisms and graph complements).
The degree sequence records the multiset of vertex degrees (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).
Refutation
Every vertex of has degree . Every vertex of lies on one of its two triangles and also has degree . Thus both degree sequences are .
The graph contains a cycle of length , namely either triangle, whereas contains no triangle because its only edges join consecutive vertices on its six-cycle.
If , [F2] would carry a triangle of to a triangle of , contradicting step 1.2. Hence the graphs have the same degree sequence but are not isomorphic, refuting the claim.
FALSE: a connected simple graph in which every vertex has even degree must itself be a cycle
Statement
FALSE. Every connected finite simple graph in which every vertex has even degree is a cycle graph.
Facts & Assumptions
Given: The bowtie graph with vertices and edges , consisting of two triangles that share only .
Degree counts the neighbours of a vertex (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).
A connected graph has a path between every two vertices (Connected graphs and connected components defined by the existence of vertex paths).
In the cycle graph each vertex is joined by an edge exactly to its predecessor and its successor modulo (Empty and complete graphs, complete bipartite graphs, and the convention that and have vertices); with [F1] this gives every vertex of a cycle graph exactly two neighbours.
Refutation
Every two vertices of the bowtie are joined by a path, using when they lie in different triangles, so the graph is connected by [F2].
The vertex has neighbours and hence degree ; each other vertex has degree . Thus all degrees are even by [F1].
The bowtie is not a cycle graph because its vertex has degree , whereas [F3] gives degree at every vertex of a cycle graph. Steps 1.1 and 1.2 therefore refute the claim.
FALSE: vertex connectivity, edge connectivity and minimum degree are always equal
Statement
FALSE. Every nontrivial connected finite simple graph satisfies .
Facts & Assumptions
Given: The bowtie graph with two triangles and sharing only the vertex .
Whitney's theorem guarantees only (Whitney's inequalities: for every nontrivial connected graph).
Vertex and edge connectivity are the minimum sizes of vertex and edge cuts (Vertex cuts, edge cuts, vertex connectivity and edge connectivity , with conventions for complete and one-vertex graphs).
Refutation
Deleting separates the two edges and , while the connected graph has no vertex cut of size . Hence .
Deleting the two edges and separates from the other triangle, so . No single edge disconnects , because every edge lies on one of the two triangles and the other two edges of that triangle give an alternate path between its endpoints. Hence .
The four noncentral vertices have degree and has degree , so .
Thus , a strict instance of the first Whitney inequality and a counterexample to the asserted equality.
FALSE: a shortest walk between two vertices may repeat a vertex and fail to be a path
Statement
FALSE. A shortest walk between two vertices may repeat a vertex and fail to be a path.
Facts & Assumptions
Given: Vertices in one connected component and a to walk of minimum length.
Every walk contains a path between the same endpoints of no greater length, and if the walk repeats a vertex the path can be chosen strictly shorter (Every walk between two vertices contains a path between the same endpoints).
The distance is the minimum length of a to path (Graph distance within a component, eccentricity, diameter and girth, including the acyclic convention).
Refutation
Suppose, for contradiction, that the minimum-length walk repeats a vertex and is not a path.
By [L1], deleting a closed segment from yields a to path of length strictly less than the length of . This path is also a walk, contradicting the minimality of .
Therefore every shortest walk is a path, and the claimed possibility cannot occur.
Sources
Standard references
Recommended treatments; not extraction sources.