Let $n \in \mathbf{N}$ and $p \in [0,1]$. I want to compute the expected value of a random variable that counts the number of copies of $P_k$ in a random graph for some given $k \in \mathbf{N}$. Unfortunately I dont know how to count those, since I am very bad at combinatorics. I think for $k=2$ one could approach this as follows. Let $a,b,c$ be three vertices. Then there are $6$ paths of length $2$ that I can construct from those, namely $a-b-c, a-c-b,b-a-c,b-c-a,c-a-b,c-b-a.$ Since all of those have equal probability $p^2$, one should have for $$X_{a,b,c}:=\begin{cases} 1 & a,b,c \ \text{form a path of length $2$},\\ 0 & \text{otherwise}. \end{cases}$$ Then $X:=\sum_{a,b,c \in V} X_{a,b,c}$ counts the number of $P_2$ in a random graph, giving us $$E(X)=\sum_{a,b,c} E(X_{a,b,c})=\sum_{a,b,c}P(X_{a,b,c}=1)=\binom{n}{3}6p^2.$$ Is this correct? Would the number of $P_k$ be something like $(k+1)!$ and thus, assuming that $X$ denotes the case for $P_k$ $$E(X)=\binom{n}{k+1}(k+1)!p^k?$$ I am not sure if I need to also account for the possible edges that might occur this way: One can have $a-b-c$ and $a-b-c-a$, both containing a $P_2$ but being different. The second one would not be included in my calculation, does it have to be included? This would make things way more complicated, especially for abritrary $k$.
2026-03-30 02:04:58.1774836298
Counting $P_k$ on random graphs
93 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in PROBABILITY
- How to prove $\lim_{n \rightarrow\infty} e^{-n}\sum_{k=0}^{n}\frac{n^k}{k!} = \frac{1}{2}$?
- Is this a commonly known paradox?
- What's $P(A_1\cap A_2\cap A_3\cap A_4) $?
- Prove or disprove the following inequality
- Another application of the Central Limit Theorem
- Given is $2$ dimensional random variable $(X,Y)$ with table. Determine the correlation between $X$ and $Y$
- A random point $(a,b)$ is uniformly distributed in a unit square $K=[(u,v):0<u<1,0<v<1]$
- proving Kochen-Stone lemma...
- Solution Check. (Probability)
- Interpreting stationary distribution $P_{\infty}(X,V)$ of a random process
Related Questions in COMBINATORICS
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- The function $f(x)=$ ${b^mx^m}\over(1-bx)^{m+1}$ is a generating function of the sequence $\{a_n\}$. Find the coefficient of $x^n$
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Hard combinatorial identity: $\sum_{l=0}^p(-1)^l\binom{2l}{l}\binom{k}{p-l}\binom{2k+2l-2p}{k+l-p}^{-1}=4^p\binom{k-1}{p}\binom{2k}{k}^{-1}$
- Algebraic step including finite sum and binomial coefficient
- nth letter of lexicographically ordered substrings
- Count of possible money splits
- Covering vector space over finite field by subspaces
- A certain partition of 28
- Counting argument proof or inductive proof of $F_1 {n \choose1}+...+F_n {n \choose n} = F_{2n}$ where $F_i$ are Fibonacci
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)
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?
If we replace the $3$ by $k+1$ to account for choosing $k+1$ vertices, then the answer $$\mathbb E[X] = \binom{n}{k+1} (k+1)! p^k$$ is one possible correct answer.
Why do I say "one possible correct answer"? Because there are two ways we can think about counting $P_k$.
In your work, you are considering a path like $a - b - c - d$ to be distinct from $d - c - b - a$: you are counting a path and its reverse separately. It is more common to consider these a single copy of $P_3$, since they have the same edges and always appear at the same time. If we take this into account, we should change $(k+1)!$ into $\frac12 (k+1)!$.
For many purposes, this difference does not matter (in particular, if you want to determine the threshold at which $P_k$ appears in the random graph, you will not care). You might need to be careful about it later if you want to know the number of copies of a graph at its threshold: for example, the number of copies of $P_k$ in $G_{n,p}$ when $p = c \cdot n^{-(k+1)/k}$. Here, the expected value is constant, and so we want to know the limiting distribution of the answer - and the factor of $2$ is important.
(It turns out that if we consider two copies of a graph $H$ to be the same if they have the same edge set, then the limiting distribution is often Poisson. If we count all $v(H)!$ possible rearrangements of the vertices of $H$, the limiting distribution will be the Poisson distribution, but multiplied by some constant factor, which is less nice. This is why we often make the first choice, which leads us to use $\frac12(k+1)!$ in this problem.)
You also ask:
For counting copies of $P_k$, we do not have to worry about other edges between the vertices. There are $\binom{n}{k+1} (k+1)!$, or possibly $\frac12 \binom{n}{k+1}(k+1)!$, ways to choose a copy of $P_k$ in $K_n$. Each of these appears in $G_{n,p}$ with exactly probability $p^k$: this is true whether or not any other edges between the same vertices are present.
There are two cases where this is different: