I apologize a head of time if this has been answered elsewhere. I have a random graph G, and this graph is disconnected and contains a unknown number of connected subgraphs (not all vertices in G's vertex set will be contained in the union of all subgraph's vertex sets though). I have calculated the Laplacian of G (and the adjacency matrix of G), and its corresponding eigen-spectrum, and therefore have easy access to the number of connected subgraphs contained within G. My question is, apart from employing a brute-force counting algorithm where I loop over all vertices and edges, is there an efficient way to calculate the number of vertices contained within each connected subgraph, given only the adjacency matrix, Laplacian, and the eigen-spectrum of either the adjacency matrix and/or Laplacian? I can provide any further information if needed. Thank you.
2026-03-26 03:13:32.1774494812
Is there a way to count the number of vertices in a connected subgraph S that is part of a larger, disconnected graph G?
582 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in GRAPH-THEORY
- characterisation of $2$-connected graphs with no even cycles
- Explanation for the static degree sort algorithm of Deo et al.
- A certain partition of 28
- decomposing a graph in connected components
- Is it true that if a graph is bipartite iff it is class 1 (edge-coloring)?
- Fake induction, can't find flaw, every graph with zero edges is connected
- Triangle-free graph where every pair of nonadjacent vertices has exactly two common neighbors
- Inequality on degrees implies perfect matching
- Proving that no two teams in a tournament win same number of games
- Proving that we can divide a graph to two graphs which induced subgraph is connected on vertices of each one
Related Questions in RANDOM-GRAPHS
- Bound degrees of sparse random graphs
- Connectivity of random graphs - proof $\frac{logn}{n}$ is threshold
- In weighed random graph where the edge weight is restricted to $[0,1]$, what are the usual assumptions of edge weight distribution?
- Upper Bound on Vertices in SCC Graph of Directed Random Graph
- The degree of a vertex in $G(n,m)$ is approx. Poisson
- What is the expected length of the diameter of a special random graph?
- Clique numbers and Theorem 4.5.1 in "The Probabilistic Method" by Alon and Spencer
- Expected global clustering coefficient for Erdős–Rényi graph
- Probability of having a path of a given length in a random graph?
- Correlation for random graph (Erdos-Renyi)
Related Questions in SPECTRAL-GRAPH-THEORY
- Is a stable Metzler matrix minus a Metzler matrix with zero along diagonal also stable?
- Diagonally dominant matrix by rows and/or by columns
- Shape of the graph spectrum
- Let $G$ be a planar graph with $n$ vertices, then $\lambda_1(G) \leq −3 \lambda_n(G)$.
- How can one construct a directed expander graph with varying degree distributions (not d-regular)?
- book recommendation: differential equations on networks
- Do isomorphic graphs have same values for adjacency matrices and spectrum?
- Normalized Laplacian eigenvalues of a path graph
- Equitable partitions in the undirected graph
- Approximate discrete Laplacian with continuous Laplacian
Related Questions in GRAPH-LAPLACIAN
- Sherman-Morrison formula for non-invertible bmatrices
- Is the Perturbed Laplacian Matrix positive Definite?
- Is the following fact for laplace matrix true? And how to prove it?
- Proving an inequality on commute times of two different weight functions
- What is the origin of negative eigenvalues for Laplacian matrix?
- Does a Laplacian matrix characterize a Graph?
- Does the largest eigenvalue give the order of the largest connected component?
- Prove that grounded Laplacian/reduced conductance matrix is non-singular
- SVD with Laplacian regularization and $L_{1,2}$ group-norm
- Why eigenvalues of a symmetric matrix with zero row sum are not affected with this special manipulation?
Related Questions in ADJACENCY-MATRIX
- Shape of the graph spectrum
- Use the definition of matrix multiplication to explain why the analogous result holds for any entry of Adjacency Matrix $A^2$.
- Do isomorphic graphs have same values for adjacency matrices and spectrum?
- Edge-to-edge incidence structure of a graph
- Is there an approximation to a matrix $V = (I-cA)^{-1}$ where $I$ is the identity matrix and $A$ is an adjacency matrix of a connected graph?
- Is it possible to normalize a symmetric matrix without breaking symmetry?
- Spectral radius of a complete bipartite graph
- What is a suitable index to express similarity in two observations of the same set of variables containing ratios?
- How to find Eulerian path in the given graph?
- Spectral radius of a complete tripartite graph
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
The information about the connected components is contained in the eigenvectors of the Laplacian eigenvalue $\lambda_0 = 0$ (the smallest eigenvalue); in other words, in the null space of the Laplacian matrix $L$.
For all graphs, the vector $\mathbf v = (1,1,\dots,1)$ satisfies $L\mathbf v = \mathbf 0$, and for connected graphs, that's the only eigenvector. In general, if the connected components of $G$ have vertex sets $V_1, V_2, \dots, V_k$, then there are $k$ eigenvectors of $0$: for each component $V_i$, its indicator vector (the vector $\mathbf v$ with $v_j = 1$ if $j \in V_i$, and $v_j = 0$ otherwise) is an eigenvector.
Of course, you might not necessarily get this particular basis for the null space. (You might, since it's a very natural one!) However, in general, this will be the only "column-reduced" basis. So if you have a basis $\mathbf v^{(1)}, \dots, \mathbf v^{(k)}$ for the null space of $L$, then you can row-reduce the $k \times n$ matrix with rows $(\mathbf v^{(1)})^{\mathsf T}, \dots, (\mathbf v^{(k)})^{\mathsf T}$. The rows of the row-reduced matrix will give you another basis for the null space: the one that tells you what the components are.
Once you have that basis, you can just count the number of $1$'s in each vector to find the number of vertices in each connected component.
A note on efficiency: for a general graph, it is actually faster to do some graph algorithm like breadth-first or depth-first search. These run in $O(n^2)$ time, while the Gaussian elimination needed to find the null space is $O(n^3)$. So using the eigenvectors as I've outlined above is only a good idea if, indeed, you already needed to compute them for something else.
Additionally, if you have a sparse graph with many connected components, graph algorithms become more efficient, while the $k \times n$ row reduction I'v described becomes less efficient, so it might not be a good idea to use the eigenvectors even if you have them - unless they're already in reduced form.