Calculate graph Laplacian eigenmodes and use them to follow heat diffusion through a weighted network.
Computing new parameters. The previous result is shown until ready.
Node heatpositiveRange 9.489e-8 to 0.27438Color scale adapts to this run; inspect numeric values to compare runs.
Measurements
Nodes
32
Positive-weight edges
49
Connected components
1
Second eigenvalue λ₂
0.016366138
Selected eigenvalue
0.016366138
Selected mode index
1
Total heat mass
1
Distance from global mean
0.3441288
Distance from component means
0.3441288
Connected decay bound
0.9682737
10% threshold first observed
37.9First sampled crossing; observation interval 0.1. The graph and source are fixed.
Eigensystem residual
7.600e-13Frobenius norm of LQ − QΛ divided by max(1, ‖L‖F).
Orthogonality residual
3.060e-14
Maximum mass residual
4.396e-14
Raw heat contains a minimum value of -8.965050923848139e-15. Negative values within floating-point error are retained in data; colors use the nonnegative heat scale.
Guided exploration
How does one bridge edge change the timescale of diffusion?
Laplacian eigenvalue spectrum
Vertical: Eigenvalue λ
Computed eigenvalues
Heat decay over a fixed observation window
Vertical: Euclidean distance
Distance from global meanDistance from component meansConnected spectral upper bound
Experiment
Save the current parameters and full-precision results, or reproduce the documented study. Importing an experiment reruns its calculation. Display quality and camera position do not affect the exported mathematics.
Unnormalized L = D − W; double-precision cyclic Jacobi (maximum 100 sweeps), followed by the modal matrix exponential. Observation sampling 0.1 on [0,200] is not an integration step. Node layout is excluded from L. Eigenvector signs and repeated-eigenvalue bases are not unique.
Model version: spectral-1.0.0. Software: 0.1.0+uncommitted.dirty.f24df3120282. Numerical tolerance: 1e-10.
Unrounded residual: 7.600110870080371e-13
Classification: numerical experiment. Mathematical claims require the stated assumptions and derivations.
Reasoning
Read the definitions, follow the arguments and examine the conditions of each result.
Background: Vectors and matrices, Eigenvalues, Exponential decay. Start with the model for a brief introduction, follow the guided exploration for a closer look, or work through the arguments and experiment for a detailed study.
What you can learn
Construct the unnormalized Laplacian from graph weights.
Express heat flow in an orthonormal eigenbasis.
Separate graph connectivity from display layout and numerical eigenvector choices.
Reading step 1 of 5: Construct the Laplacian
Step 1 · Derivation · Selected
Construct the Laplacian
The graph contains a finite set of nodes and undirected edges with nonnegative weights. The matrix W stores those weights symmetrically, and D places each node’s weighted degree on the diagonal. Their difference L = D − W is the unnormalized Laplacian. Node positions in the drawing do not enter this construction.
Expand vᵀLv and collect the two appearances of each edge. The result is one term wᵢⱼ(vᵢ − vⱼ)² per undirected edge. Every term is nonnegative, so L is positive semidefinite. This calculation also explains why counting each edge twice would give an incorrect energy formula.
vTLv={i,j}∈E∑wij(vi−vj)2≥0
Theorem. The graph Laplacian is positive semidefinite.
Conditions and assumptions
Finite undirected graph; nonnegative weights; no self-loops.
A vector has zero Laplacian energy exactly when its endpoint values agree across every positive-weight edge. It is therefore constant on each connected component. Each component supplies an independent constant vector, so the dimension of the kernel equals the number of components.
The implementation determines components from the edge data rather than from a rounded eigenvalue. A small positive bridge still connects the graph; a zero bridge removes that connection. A connected graph has one zero eigenvalue and a positive second eigenvalue. A disconnected graph has a separate conserved mean in every component, so global uniformity is generally unavailable.
Theorem. The multiplicity of the zero eigenvalue equals the number of connected components.
Because L is symmetric, choose an orthonormal basis of eigenvectors φₖ with eigenvalues λₖ. Expand the initial node values in that basis. Substituting a modal expansion into du/dt = −Lu gives one scalar equation aₖ′ = −λₖaₖ for each coefficient.
Each coefficient is therefore its initial value multiplied by exp(−λₖt). Summing the modes yields the displayed field. The zero modes remain unchanged. Since every row of L sums to zero and L is symmetric, the derivative of the sum of node values is zero. The heat experiment has no external source after its initial condition is set.
u(t)=k=1∑ne−λkt⟨u(0),ϕk⟩ϕk
Derivation. Each Laplacian eigenmode decays at the rate given by its eigenvalue.
On a connected graph, subtract the uniform mean ū1. The remaining vector has no component in the constant eigenvector. Its squared norm is the sum of the squared nonconstant coefficients multiplied by exp(−2λₖt). Every relevant eigenvalue is at least λ₂, giving the stated upper bound after taking a square root.
The bound describes the slowest available decay rate; a particular initial field need not attain it. Changing one bridge alters a bottleneck while leaving the internal edge weights fixed. Scaling every weight instead rescales all eigenvalues together and simply changes the model’s time unit. The study keeps those operations distinct.
∥u(t)−uˉ1∥2≤e−λ2t∥u(0)−uˉ1∥2
Theorem. On a connected graph, the second eigenvalue bounds decay toward the uniform mean.
Conditions and assumptions
A connected graph with at least two nodes.
The graph is connected and n ≥ 2.
Eigenvalues are sorted in nondecreasing order.
The bound need not be attained by the selected initial state.
A normalized eigenvector and its negative describe the same mode. At a repeated eigenvalue, many orthonormal bases describe the same eigenspace. A solver’s sign flip or basis change is not a sudden change in the graph. The display identifies near-repeated modes and uses a signed scale for eigenvectors, separate from the heat scale.
The eigensolver is checked through residuals and orthogonality, then against independent small-graph answers. With one unit-weight edge, the eigenvalues are 0 and 2 and heat from (1,0) becomes ((1 + exp(−2t))/2, (1 − exp(−2t))/2). Saved bridge studies include weights, spectra, norms and actual threshold observations.
Project attribution: BIPH Math Society. The exposition was prepared with tool assistance.
Review status: Not reviewed. Independent review by a teacher or society member has not yet been recorded. Numerical checks do not replace mathematical review.
Incomplete draft dated 2 April 2025. Sections 1.3, 1.5.4 and 3.1 and Chapter 5 support the Laplacian, positive semidefiniteness, connectivity and example spectra. The heat equation solution and decay estimate are derived in the exhibit from this spectral framework. Source checked 16 September 2026.