Alphabeta Math
Session-authored (Fable 5 assisted)
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.

18 results · all verified · 4 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 14 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Algebraic and Spectral Graph Theory

1 · Prerequisites

2 · Summary

This draft page builds the standard algebraic dictionaries that turn finite graphs into matrices: adjacency matrices count walks, Laplacians detect components, and Kirchhoff's theorem turns spanning-tree counts into determinants and eigenvalue products. The route stays on the ordinary adjacency/Laplacian interface chosen in the batch design, rather than opening a second normalized-Laplacian or extremal-eigenvalue package.

The page then records four canonical spectrum computations, for Kn, Cn, Km,n, and the Petersen graph, and closes with the basic spectral-gap cut estimate for (n,d,λ)-graphs. Together these items are the graph-theory half of the linear-algebra prerequisites already established earlier in the library.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The adjacency matrix of a finite simple graph

Definition

Let G=(V,E) be a finite simple graph and let V={vi:i<n}={v0,,vn1} be an ordered listing of its vertices. The adjacency matrix of G in that vertex order is the matrix A(G)=(aij){0,1}n×n defined, for i,j<n, by

aij={1,if {vi,vj}E,0,if {vi,vj}E.

Because G is simple, aii=0 for every i, and because edges are unordered, aij=aji for all i,j. Thus A(G) is a symmetric n×n matrix over R (Finite rectangular matrices over a commutative ring, their entries, rows and columns).

Changing the vertex order conjugates A(G) by a permutation matrix, so the matrix depends on the chosen ordering but the spectral data attached to it later do not.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

Adjacency spectrum, spectral radius, and cospectral graphs

Definition

Let G be a finite simple graph, put n:=V(G), and let A(G) be an adjacency matrix of G (The adjacency matrix of a finite simple graph).

Because A(G) is real symmetric, the real spectral theorem gives a basis of real eigenvectors and shows that all roots of its characteristic polynomial are real (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis, For AMn(F), the characteristic polynomial is χA(x)=det(xInA) when n1, with χA(x)=1 for the unique 0×0 matrix, For every finite-dimensional space, σF(T) is exactly the set of roots in F of χT). If n1, we therefore list the eigenvalues in weakly decreasing order

λ1(G)λ2(G)λn(G).

If n=0, this list is empty. In either case, the multiset {λ1(G),,λn(G)}, counted with multiplicities, is the adjacency spectrum of G.

The adjacency spectral radius of G is 0 when n=0, and otherwise is

ρ(G):=max1inλi(G).

Two finite graphs are cospectral when their adjacency spectra agree as multisets.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The (i,j) entry of A(G)k counts walks of length k

Statement

Let G be a finite simple graph with ordered vertex set V(G)={v1,,vn}, let A=A(G), and let k1 be an integer. Then for every 1i,jn, the entry (Ak)ij equals the number of walks of length k from vi to vj in G.

Facts & Assumptions

Given: A finite simple graph G with ordered vertices v1,,vn, its adjacency matrix A, and an integer k1.

[F1]

The entry Aij is 1 exactly when vi and vj are adjacent, and is 0 otherwise (The adjacency matrix of a finite simple graph).

[F2]

A walk of length k+1 from vi to vj is exactly a walk of length k from vi to some intermediate vertex vr, followed by the edge vrvj (Walks, closed walks, trails, paths and cycles, with length equal to the number of traversed edges).

Proof

technique · direct
1.1

We argue by induction on k. For k=1, the number of walks of length 1 from vi to vj is 1 when vi and vj are adjacent and 0 otherwise, so it is exactly Aij by [F1].

F1base
2.1

Assume the claim for some k1. Then (Ak+1)ij=r=1n(Ak)irArj. By the inductive hypothesis, (Ak)ir counts the walks of length k from vi to vr, while [F1] makes Arj the indicator that the final edge vrvj exists. Therefore the summand counts the length-(k+1) walks from vi to vj whose last intermediate vertex is vr, and summing over r counts all such walks exactly once by [F2].

step 1.1F1F2induction
3.1

The base case and inductive step prove the claim for every k1.

step 1.1step 2.1discharge-induction
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The trace of A(G)k counts closed walks of length k

Statement

Let G be a finite simple graph with adjacency matrix A(G), and let k1. Then

tr(A(G)k)

equals the number of closed walks of length k in G.

Facts & Assumptions

Given: A finite simple graph G with adjacency matrix A, and an integer k1.

[L1]

The entry (Ak)ii counts the walks of length k from vi back to vi (The (i,j) entry of A(G)k counts walks of length k).

[F1]

The trace of a square matrix is the sum of its diagonal entries (The trace of a square matrix over a commutative ring).

Proof

technique · direct
1.1

For each vertex vi, a walk of length k from vi to itself is exactly a closed walk of length k whose chosen start vertex is vi, so [L1] makes (Ak)ii the number of such closed walks.

L1
2.1

Summing step 1.1 over all vertices counts every closed walk of length k exactly once for each of its chosen start vertices, and by [F1] that sum is tr(Ak). Hence the trace counts the closed walks of length k.

step 1.1F1
PropositionStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The adjacency spectrum is an isomorphism invariant

Statement

If finite simple graphs G and H are isomorphic, then they have the same adjacency spectrum. In particular, cospectrality is an isomorphism invariant.

Facts & Assumptions

Given: Finite simple graphs G and H and an isomorphism φ:GH.

[F1]

A graph isomorphism is a bijection on vertices that preserves and reflects adjacency (Graph isomorphisms, automorphisms and graph complements).

[F2]

The adjacency matrix records adjacency in the chosen vertex order (The adjacency matrix of a finite simple graph).

Proof

technique · direct
1.1

Order the vertices of G as v1,,vn and the vertices of H as φ(v1),,φ(vn). In these orders the adjacency matrices A(G) and A(H) have the same entries, because [F1] and [F2] say that the (i,j) entry is 1 in either matrix exactly when vi and vj are adjacent in G.

F1F2choose
2.1

Since the two matrices are equal after a relabelling of the basis, they have the same characteristic polynomial and therefore the same spectrum by [F3]. This is exactly the claimed invariance.

step 1.1F3
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

A finite simple graph is bipartite if and only if its adjacency spectrum is symmetric about 0

Statement

Let G be a finite simple graph with adjacency spectrum {λ1,,λn}. Then G is bipartite if and only if the multiset {λ1,,λn} is symmetric about 0, that is, if and only if {λ1,,λn}={λ1,,λn} as multisets.

Facts & Assumptions

Given: A finite simple graph G with adjacency matrix A and adjacency spectrum {λ1,,λn}.

[F1]

In a bipartite graph the vertex set splits as XY, and every edge joins a vertex of X to a vertex of Y (A bipartite graph and a proper two-colouring of its vertices).

[L1]

A graph is bipartite exactly when it has no odd cycle (A finite graph is bipartite if and only if it has no odd cycle).

[L2]

The trace tr(Ak) counts closed walks of length k (The trace of A(G)k counts closed walks of length k).

[F2]

The adjacency spectrum is the multiset of eigenvalues of A (Adjacency spectrum, spectral radius, and cospectral graphs).

[L3]

Similar matrices have the same trace (Similar matrices have the same trace).

Proof

technique · direct
1.1

Assume first that G is bipartite with parts X and Y. Let D be the diagonal matrix whose vv entry is 1 on X and 1 on Y. Then D1=D, and [F1] shows that every edge changes sign across the partition, so DAD=A. Hence A and A are similar and therefore have the same eigenvalues. By [F2], the spectrum is symmetric about 0.

F1F2
1.2

Conversely, assume the spectrum is symmetric about 0. Because [F2] cites the real spectral theorem for the real symmetric matrix A, there is an invertible matrix P with P1AP=diag(λ1,,λn). For every odd integer r1, this gives P1ArP=diag(λ1r,,λnr), so [L3] yields tr(Ar)=i=1nλir=0 after the odd powers cancel in symmetric pairs. By [L2], G has no closed walk of odd length. An odd cycle would itself be an odd closed walk, so G has no odd cycle. Therefore [L1] makes G bipartite.

L1L2F2L3algebra
2.1

Steps 1.1 and 1.2 prove the two directions of the equivalence.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The adjacency spectral radius lies between the average degree and the maximum degree

Statement

Let G be a finite simple graph on n1 vertices, let

dˉ(G):=1nvV(G)deg(v)

be its average degree, and let Δ(G) be its maximum degree. Then its adjacency spectral radius satisfies

dˉ(G)ρ(G)Δ(G).

Facts & Assumptions

Given: A finite simple graph G on n1 vertices, with adjacency matrix A.

[F1]

The degree of a vertex is the number of 1's in the corresponding row of A, and Δ(G) is the maximum of those row sums (Adjacency, incidence, open and closed neighbourhoods, vertex degree, minimum degree and maximum degree).

[L2]

Every eigenvalue of a matrix lies in one of its Gershgorin disks (Every eigenvalue lies in some Gershgorin disk).

[F2]

The spectral radius is the maximum absolute value of the adjacency eigenvalues (Adjacency spectrum, spectral radius, and cospectral graphs).

Proof

technique · direct
1.1

Let 1 be the all-ones vector. Then RA(1)=1TA11T1=vV(G)deg(v)n=dˉ(G), because 1TA1 adds all row sums of A. By [L1], the largest adjacency eigenvalue is at least this Rayleigh quotient, so λ1(G)dˉ(G). Hence ρ(G)dˉ(G) by [F2].

F1L1F2algebra
1.2

Every Gershgorin disk of A is centered at 0, because the diagonal of an adjacency matrix is zero, and its radius is the corresponding row sum, hence at most Δ(G) by [F1]. Therefore [L2] implies λΔ(G) for every adjacency eigenvalue λ, so [F2] gives ρ(G)Δ(G).

F1L2F2
2.1

Combining steps 1.1 and 1.2 yields the stated bounds.

step 1.1step 1.2
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

An oriented incidence matrix of a finite simple graph

Definition

Let G=(V,E) be a finite simple graph with ordered vertices V={vi:i<n}={v0,,vn1} and ordered edges E={ej:j<m}={e0,,em1}. Choose, for each edge ej={u,w}, one endpoint as its tail and the other as its head. The resulting n×m matrix B=(bij) with entries in {1,0,1} is an oriented incidence matrix of G, where, for i<n and j<m,

bij={1,if vi is the head of ej,1,if vi is the tail of ej,0,if viej.

Each column therefore has exactly one 1 and one 1, because every edge of a simple graph has exactly two distinct endpoints. Different choices of orientation change only the signs of columns.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The Laplacian matrix of a finite simple graph

Definition

Let G be a finite simple graph with ordered vertex set V(G)={vi:i<n}={v0,,vn1}, adjacency matrix A(G) in that order, and degrees di=deg(vi) for i<n. The diagonal matrix

D(G):=diag(d0,,dn1)

is the degree matrix of G, and

L(G):=D(G)A(G)

is the Laplacian matrix of G.

Equivalently, the entries of L(G) are

L(G)ij={deg(vi),if i=j,1,if ij and vi,vj are adjacent,0,otherwise,(i,j<n).

Since A(G) is symmetric and D(G) is diagonal, L(G) is symmetric.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The Laplacian equals BBT for every oriented incidence matrix B

Statement

Let G be a finite simple graph, let B be any oriented incidence matrix of G, and let L(G) be its Laplacian matrix. Then

L(G)=BBT.

Facts & Assumptions

Given: A finite simple graph G with oriented incidence matrix B=(bij) and Laplacian matrix L=L(G).

[F1]

Each column of B has one entry 1, one entry 1, and all other entries 0 (An oriented incidence matrix of a finite simple graph).

[F2]

The Laplacian has diagonal entries equal to vertex degrees and off-diagonal entries 1 on adjacent pairs and 0 otherwise (The Laplacian matrix of a finite simple graph).

Proof

technique · direct
1.1

The (i,i) entry of BBT is jbij2. By [F1], the term bij2 is 1 exactly when the edge ej is incident with vi, and is 0 otherwise. Therefore (BBT)ii is the number of edges incident with vi, namely deg(vi)=Lii by [F2].

F1F2
1.2

For ir, the entry (BBT)ir=jbijbrj receives a nonzero contribution only from edges incident with both vi and vr. In a simple graph there is at most one such edge. If vi and vr are not adjacent, the sum is 0. If they are adjacent, the unique common edge contributes (1)(1) or (1)(1), hence 1. So (BBT)ir=Lir by [F2].

F1F2
2.1

Steps 1.1 and 1.2 show that every entry of BBT matches the corresponding entry of L(G), so the matrices are equal.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The Laplacian is positive semidefinite and sends the all-ones vector to zero

Statement

Let G be a finite simple graph on n vertices, let L(G) be its Laplacian matrix, and let 1Rn be the all-ones column vector. Then:

  1. xTL(G)x0 for every xRn;
  2. L(G)1=0.

In particular, L(G) is positive semidefinite.

Facts & Assumptions

Given: A finite simple graph G with Laplacian L and an oriented incidence matrix B.

[F1]

Every column of an oriented incidence matrix has one 1 and one 1 (An oriented incidence matrix of a finite simple graph).

Proof

technique · direct
1.1

For every xRn, [L1] gives xTLx=xTBBTx=(BTx)T(BTx). The right-hand side is a sum of squares of real numbers, so it is nonnegative.

L1algebra
1.2

Let 1 be the all-ones vector. Because each column of B has one 1 and one 1, [F1] implies that every column sum of B is 0, so BT1=0. Using [L1] again gives L1=BBT1=B0=0.

F1L1algebra
2.1

Step 1.1 proves positive semidefiniteness, and step 1.2 proves that the all-ones vector lies in the kernel.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The multiplicity of the Laplacian eigenvalue 0 equals the number of connected components

Statement

Let G be a finite simple graph with Laplacian matrix L(G), and let C1,,Cr be its connected components. Then

dimkerL(G)=r.

Since L(G) is real symmetric, this is equivalently the multiplicity of the eigenvalue 0 of L(G).

Facts & Assumptions

Given: A finite simple graph G with Laplacian matrix L and connected components C1,,Cr.

[F1]

A connected component is a maximal connected induced subgraph (Connected graphs and connected components defined by the existence of vertex paths).

[F2]

The Laplacian has diagonal entries deg(v) and off-diagonal entries 1 exactly on adjacent vertex pairs (The Laplacian matrix of a finite simple graph).

[L2]

The Laplacian is positive semidefinite and annihilates the all-ones vector (The Laplacian is positive semidefinite and sends the all-ones vector to zero).

[L3]

A real symmetric matrix has an orthogonal basis of eigenvectors, so for such a matrix the geometric and algebraic multiplicities of an eigenvalue agree (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis).

Proof

technique · direct
1.1

For a vector x=(xv)vV(G), the Laplacian quadratic form is xTLx={u,v}E(G)(xuxv)2, because expanding xT(DA)x groups the diagonal terms by degrees and subtracts each edge contribution twice. Therefore, if Lx=0, then [L2] gives 0=xTLx, so every summand vanishes and xu=xv on every edge. Conversely, if x is constant on every edge, then for each vertex u every neighbor v of u satisfies xv=xu, so [F2] gives (Lx)u=deg(u)xuvuxv=0. Hence Lx=0.

F2L2algebra
2.1

By [F1], a function on V(G) is constant on every edge exactly when it is constant on each connected component. By [L1], the indicator vectors 1C1,,1Cr are linearly independent and every vector constant on components is a linear combination of them. So step 1.1 shows that these indicator vectors form a basis of kerL, and hence dimkerL=r.

step 1.1L1F1
3.1

The final equivalence with multiplicity of the eigenvalue 0 follows from [L3], because L is real symmetric.

step 2.1L3
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-28Open item page →

The algebraic connectivity of a finite simple graph

Definition

Let G be a finite simple graph with n=V(G)2, and let L(G) be its Laplacian matrix. Because L(G) is real symmetric and positive semidefinite, its eigenvalues are real and nonnegative (Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis, The Laplacian is positive semidefinite and sends the all-ones vector to zero). Moreover, 0 is an eigenvalue by The multiplicity of the Laplacian eigenvalue 0 equals the number of connected components, so the eigenvalues may be listed in weakly increasing order as

0=μ1(G)μ2(G)μn(G).

The second eigenvalue μ2(G) is the algebraic connectivity of G.

This quantity is defined only for graphs with at least two vertices, because a one-vertex graph has only one Laplacian eigenvalue.

CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

A finite simple graph is connected if and only if its algebraic connectivity is positive

Statement

Let G be a finite simple graph with at least two vertices. Then G is connected if and only if its algebraic connectivity is positive.

Facts & Assumptions

Given: A finite simple graph G with at least two vertices.

[F1]

The algebraic connectivity of G is the second-smallest Laplacian eigenvalue μ2(G) (The algebraic connectivity of a finite simple graph).

[L1]

The multiplicity of the Laplacian eigenvalue 0 equals the number of connected components (The multiplicity of the Laplacian eigenvalue 0 equals the number of connected components).

Proof

technique · direct
1.1

If G is connected, then [L1] says that the eigenvalue 0 has multiplicity 1, so the next Laplacian eigenvalue μ2(G) is strictly positive. By [F1], the algebraic connectivity is positive.

L1F1
1.2

If the algebraic connectivity is positive, then [F1] gives μ2(G)>0, so 0 occurs only once in the Laplacian spectrum. By [L1], the number of connected components is therefore 1, which means that G is connected.

F1L1
2.1

Steps 1.1 and 1.2 prove the two directions of the equivalence.

step 1.1step 1.2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The Binet-Cauchy formula

Statement

Let A be an m×n matrix and B an n×m matrix over a commutative ring, where m1. For an m-element subset S={s0<<sm1}n={0,,n1}, let A[S] be the m×m submatrix of A formed from columns s0,,sm1, and let B[S] be the m×m submatrix of B formed from rows s0,,sm1.

If m>n, then det(AB)=0. If mn, then

det(AB)=S=mdet(A[S])det(B[S]),

where the sum runs over all m-element subsets Sn.

Facts & Assumptions

Given: An m×n matrix A=(aij) and an n×m matrix B=(bij) over a commutative ring.

[F1]

The determinant is multilinear and alternating in the columns of a square matrix (The Leibniz determinant is column-multilinear, alternating and normalized over every commutative ring).

[F2]

For conformable matrices, (AB)ij=r<nairbrj (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).

[F3]

The determinant is the signed Leibniz sum over the permutations of the column index set (For n1, the determinant over a commutative ring by the Leibniz formula, and detA for a real matrix).

Proof

technique · direct
1.1

Write the columns of A as a0,,an1 and the columns of AB as c0,,cm1. Then [F2] gives cj=r<nbrjar for each j<m. By multilinearity of the determinant from [F1], this gives det(AB)=det(c0,,cm1)=r0,,rm1<n(j<mbrj,j)det(ar0,,arm1).

F1F2algebra
2.1

If some index repeats among r0,,rm1, then the determinant term vanishes by alternation in [F1]. When m>n, every m-tuple has a repeated index, so all terms vanish and det(AB)=0.

step 1.1F1
3.1

Assume now that mn. By step 2.1, the sum from step 1.1 may be restricted to tuples whose indices are all distinct. Such tuples are exactly the permutations of the m-element sets S={s0<<sm1}. Grouping together the m! terms attached to one fixed S gives σSm(j<mbsσ(j)j)det(asσ(0),,asσ(m1))=det(A[S])det(B[S]), because permuting the chosen columns of A[S] contributes the same sign that appears in the Leibniz expansion of B[S]. Summing over all m-element subsets S proves the formula.

step 1.1step 2.1F1F3algebra
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The complete graph Kn has adjacency spectrum {n1,(1)n1}

Statement

For every integer n1, the complete graph Kn has adjacency spectrum

{n1,(1)n1},

that is, the eigenvalue n1 once and the eigenvalue 1 with multiplicity n1.

Facts & Assumptions

Given: An integer n1 and the complete graph Kn.

[F2]

The adjacency spectrum is the multiset of eigenvalues of the adjacency matrix (Adjacency spectrum, spectral radius, and cospectral graphs).

Proof

technique · direct
1.1

In the standard vertex order, the adjacency matrix of Kn is JI, where J is the all-ones matrix, because [F1] makes every off-diagonal entry equal to 1 and every diagonal entry equal to 0. The all-ones vector 1 satisfies J1=n1, so (JI)1=(n1)1.

F1algebra
2.1

If x is orthogonal to 1, then the coordinates of x sum to 0, so Jx=0. Hence (JI)x=x. The subspace 1 has dimension n1, so 1 is an eigenvalue with multiplicity at least n1; together with step 1.1 this accounts for all n dimensions.

step 1.1algebra
3.1

Therefore the eigenvalues of the adjacency matrix are exactly n1 and 1 with the stated multiplicities, which is the spectrum by [F2].

step 1.1step 2.1F2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Kirchhoff's matrix-tree theorem

Statement

Let G be a finite simple graph on vertices v1,,vn with n2 and Laplacian L(G). For each i, let L(i) be the matrix obtained from L(G) by deleting row i and column i. Then

detL(i)=τ(G),

where τ(G) is the number of spanning trees of G. In particular, every principal cofactor of the Laplacian is the same.

Facts & Assumptions

Given: A finite simple graph G on vertices v1,,vn with n2, an oriented incidence matrix B, and an index i.

[F1]

A spanning tree of G is a spanning subgraph that is a tree, and τ(G) counts the spanning trees (Spanning trees of a graph, The spanning-tree number τ(G)).

[L1]

The Laplacian satisfies L(G)=BBT (The Laplacian equals BBT for every oriented incidence matrix B).

[L2]

A graph on n vertices is a tree exactly when it is connected and has n1 edges (Equivalent characterisations of a nonempty tree by unique paths, edge count, minimal connectivity and maximal acyclicity).

[L3]

The Binet-Cauchy formula expands determinants of products of rectangular matrices as sums of products of maximal minors (The Binet-Cauchy formula).

Proof

technique · direct
1.1

Delete row i from B to obtain an (n1)×E(G) matrix B(i). By [L1], the matrix L(i) obtained by deleting row i and column i from L(G) is L(i)=B(i)(B(i))T. Applying [L3] gives detL(i)=S=n1det(B(i)[S])2, where S ranges over all (n1)-edge subsets of E(G).

L1L3algebra
1.2

Fix such a set S, and let GS be the spanning subgraph with edge set S. If GS is disconnected, then the vertex-indicator vector of the component of vi gives a nonzero linear relation among the rows of B(i)[S], so det(B(i)[S])=0. If GS is connected, then GS has n1 edges and is therefore a tree by [L2]. In that case choose the orientation of every edge of GS away from the root vi and order the nonroot vertices so that every parent precedes its children. In this order the matrix B(i)[S] is triangular with diagonal entries all ±1, hence det(B(i)[S])=±1. Therefore det(B(i)[S])2 is 1 when S is the edge set of a spanning tree and 0 otherwise.

F1L2choosealgebra
2.1

Substituting step 1.2 into the sum of step 1.1 shows that detL(i) counts exactly the spanning trees of G, namely τ(G) by [F1]. Since the right-hand side does not depend on i, every principal cofactor of the Laplacian is equal.

step 1.1step 1.2F1
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

The matrix-tree theorem becomes an eigenvalue product formula

Statement

Let G be a finite simple graph on n2 vertices, and let

0=μ1μ2μn

be the eigenvalues of its Laplacian matrix. Then

τ(G)=1nj=2nμj.

If G is d-regular with adjacency eigenvalues d=λ1λ2λn, then

τ(G)=1nj=2n(dλj).

Facts & Assumptions

Given: A finite simple graph G on n2 vertices with Laplacian L and spanning-tree count τ(G).

[L1]

Every principal cofactor of L equals τ(G) (Kirchhoff's matrix-tree theorem).

[F1]

The adjacency spectrum records the eigenvalues of the adjacency matrix (Adjacency spectrum, spectral radius, and cospectral graphs).

Proof

technique · direct
1.1

Expanding the characteristic polynomial det(tIL) at t=0 shows that the coefficient of t is (1)n1i=1ndetL(i). By [L1], this is (1)n1nτ(G). On the other hand, [L2] gives det(tIL)=j=1n(tμj)=tj=2n(tμj), so the same coefficient of t is (1)n1j=2nμj. Therefore nτ(G)=j=2nμj.

L1L2algebra
2.1

If G is d-regular, then L=dIA. Applying [L3] to the polynomial p(x)=dx shows that the Laplacian eigenvalues are dλ1,,dλn. Since λ1=d, the zero Laplacian eigenvalue is dλ1, and substituting the others into step 1.1 gives τ(G)=1nj=2n(dλj).

step 1.1L3F1
3.1

Steps 1.1 and 2.1 are exactly the two displayed formulas.

step 1.1step 2.1
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

Cayley's formula follows again from the matrix-tree theorem

Statement

For every integer n2, the complete graph Kn has exactly nn2 spanning trees.

Facts & Assumptions

Given: An integer n2.

[L1]

The complete graph Kn has adjacency eigenvalues n1 and 1 with multiplicity n1 (The complete graph Kn has adjacency spectrum {n1,(1)n1}).

[L2]

For a regular graph, the matrix-tree theorem gives the product formula τ(G)=1V(G)j=2V(G)(dλj) (The matrix-tree theorem becomes an eigenvalue product formula).

[L3]

Cayley's formula already states that Kn has nn2 spanning trees (Cayley's formula: τ(Kn)=nn2 for n2, with τ(K1)=1 and τ(K0)=0).

Proof

technique · direct
1.1

The graph Kn is (n1)-regular, so [L2] applies with d=n1. By [L1], its nontrivial adjacency eigenvalues are all 1, hence τ(Kn)=1nj=2n((n1)(1))=1nj=2nn=nn2.

L1L2algebra
2.1

This matches the earlier Prüfer-code count in [L3], so the matrix-tree theorem gives a second proof of Cayley's formula.

step 1.1L3
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

An (n,d,λ)-graph and an expander

Definition

Let G be a finite simple graph on n2 vertices. We call G an (n,d,λ)-graph when:

  1. G is d-regular;
  2. the adjacency eigenvalues satisfy d=λ1(G)λ2(G)λn(G);
  3. the second-largest eigenvalue obeys λ2(G)λ.

Thus dλ is a lower bound for the actual top spectral gap dλ2(G).

In the present page's elementary sense, an expander is a graph that is an (n,d,λ)-graph with λ<d.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-28Open item page →

For an (n,d,λ)-graph with λ<d, every nontrivial cut has many crossing edges

Statement

Let G be an (n,d,λ)-graph with adjacency matrix A. For every nonempty proper subset SV(G), writing e(S,V(G)S) for the number of edges crossing the cut, one has

e(S,V(G)S)(dλ)S(nS)n.

In particular, if λ<d, then G is connected.

Facts & Assumptions

Given: An (n,d,λ)-graph G and a nonempty proper subset SV(G).

[F1]

In an (n,d,λ)-graph, the graph is d-regular and its second-largest adjacency eigenvalue is at most λ (An (n,d,λ)-graph and an expander).

[L1]

Courant-Fischer characterises the second-largest eigenvalue as a max-min Rayleigh quotient, so every nonzero vector orthogonal to the all-ones eigenvector has Rayleigh quotient at most λ2 (Courant-Fischer min-max principle for self-adjoint endomorphisms on finite-dimensional real inner product spaces, The Rayleigh quotient of a nonzero vector for a self-adjoint endomorphism).

Proof

technique · direct
1.1

Let 1S be the indicator vector of S, and put x:=1SSn1. Then x0 because S is nonempty and proper, and x is orthogonal to 1. Since G is d-regular by [F1], the vector 1 is an adjacency eigenvector with eigenvalue d, so [L1] gives xTAxλxTx.

F1L1algebra
2.1

A direct computation gives xTx=S(nS)n and xTAx=dS(nS)ne(S,V(G)S), because 1STA1S counts twice the edges internal to S, while 1STA1=dS. Substituting these expressions into step 1.1 yields dS(nS)ne(S,V(G)S)λS(nS)n, which rearranges to the claimed cut bound.

step 1.1F1algebra
3.1

If λ<d and G were disconnected, [L2] would provide a connected component C with CV(G) and e(C,V(G)C)=0. But step 2.1 would then force 0(dλ)C(nC)n>0, a contradiction. So G is connected.

step 2.1L2
4.1

Step 2.1 gives the edge-expansion inequality, and step 3.1 gives the connectedness consequence.

step 2.1step 3.1
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-28Open item page →

The cycle graph Cn has adjacency spectrum {2cos(2πj/n):0j<n}

Statement

For every integer n3, the cycle graph Cn has adjacency spectrum

{2cos(2πj/n):0j<n}.

Facts & Assumptions

Given: An integer n3 and the cycle graph Cn.

[F1]

The graph Cn has vertices 0,,n1 and edges between consecutive residues modulo n (Empty and complete graphs, complete bipartite graphs, and the convention that Pn and Cn have n vertices).

[F2]

The adjacency spectrum is the multiset of adjacency eigenvalues (Adjacency spectrum, spectral radius, and cospectral graphs).

Proof

technique · direct
1.1

Let ω=e2πi/n. For each 0j<n, define the vector x(j)=(1,ωj,ω2j,,ω(n1)j)T. If A is the adjacency matrix of Cn, then [F1] gives (Ax(j))r=xr1(j)+xr+1(j)=ωjr(ωj+ωj)=2cos(2πj/n)xr(j), with indices modulo n. So x(j) is an eigenvector with eigenvalue 2cos(2πj/n).

F1algebra
2.1

The vectors x(0),,x(n1) are linearly independent: they are the columns of a Vandermonde matrix built from the distinct numbers 1,ω,,ωn1. Therefore step 1.1 already lists n eigenvectors of the n×n adjacency matrix, so it lists all eigenvalues with multiplicity. By [F2], this is the spectrum of Cn.

step 1.1F2algebra
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-28Open item page →

The complete bipartite graph Km,n has adjacency spectrum {mn,0m+n2,mn}

Statement

For integers m,n1, the complete bipartite graph Km,n has adjacency spectrum

{mn,0m+n2,mn}.

Facts & Assumptions

Given: Integers m,n1 and the complete bipartite graph Km,n with its two parts of sizes m and n.

[F1]

In Km,n every edge joins the two parts, and every such cross pair is an edge (Empty and complete graphs, complete bipartite graphs, and the convention that Pn and Cn have n vertices).

[F2]

The adjacency spectrum is the multiset of adjacency eigenvalues (Adjacency spectrum, spectral radius, and cospectral graphs).

Proof

technique · direct
1.1

In the vertex order with the first part before the second, the adjacency matrix is A=(0Jm×nJn×m0) by [F1]. If a vector (x,y) has the coordinates of x summing to 0, then Jn×mx=0 and A(x,0)=0. Likewise, if the coordinates of y sum to 0, then A(0,y)=0. These give an (m1)+(n1)=m+n2 dimensional eigenspace for the eigenvalue 0.

F1algebra
2.1

On the remaining two-dimensional subspace of vectors constant on each part, A acts by A(a1m,b1n)=(nb1m,ma1n). Relative to the basis (1m,0) and (0,1n), this action has matrix (0nm0), whose eigenvalues are ±mn. Together with step 1.1 this accounts for all m+n eigenvalues.

step 1.1algebra
3.1

Therefore the adjacency spectrum is exactly {mn,0m+n2,mn} by [F2].

step 1.1step 2.1F2
TheoremStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-28Open item page →

The Petersen graph has adjacency spectrum {3,15,(2)4}

Statement

The Petersen graph has adjacency spectrum

{3,15,(2)4}.

Facts & Assumptions

Given: The Petersen graph P on the two-element subsets of a five-element set.

[F1]

Two vertices of P are adjacent exactly when the corresponding two-element subsets are disjoint (The Petersen graph on the two-element subsets of a five-element set, adjacent when disjoint).

[F2]

The adjacency spectrum is the multiset of adjacency eigenvalues (Adjacency spectrum, spectral radius, and cospectral graphs).

Proof

technique · direct
1.1

Fix a vertex X. There are exactly three two-element subsets disjoint from X, so every vertex has degree 3. If X and Y are adjacent, then they are disjoint and use four of the five points, so there is no two-element subset disjoint from both; if X and Y are nonadjacent, then they meet in one point and exactly one two-element subset is disjoint from both. Therefore the adjacency matrix A satisfies A2=3I+(JIA)=2I+JA.

F1algebra
2.1

The all-ones vector 1 is an eigenvector with eigenvalue 3. If x1, then Jx=0, so step 1.1 gives A2x=(2IA)x. Thus any eigenvalue θ of A on 1 satisfies θ2+θ2=0, so θ{1,2}. If m1 and m2 are their multiplicities, then m1+m2=9 and tr(A)=0 gives 3+m12m2=0. Solving yields m1=5 and m2=4.

step 1.1algebra
3.1

Hence the eigenvalues are 3, 1 with multiplicity 5, and 2 with multiplicity 4, which is the stated spectrum by [F2].

step 2.1F2

5 · Examples, counterexamples and false statements

None yet.

Sources