variance of number of isolated vertices in random graph G(n,p)Covariance of isolated vertices in a random graphWhat is the probability that a random $ntimes n$ bipartite graph has an isolated vertex?Expected number of vertices a distance $k$ away in a random graph?Expected number of triangles in a random graph of size $n$Expected number of isolated vertices for random graph G(n, N)Expected number of vertex-pairs without any simple path in betweenShow that a random graph with edge probability $p=frac10log(n)n$ almost certainly has no isolated vertices…Distance between two vertices picked at random from random graph.Upper Bound on Vertices in SCC Graph of Directed Random GraphCorrelation for random graph (Erdos-Renyi)
Why am I getting a strange double quote (“) in Open Office instead of the ordinary one (")?
Why is Na5 not played in this line of the French Defense, Advance Variation?
Prob. 5, Sec. 6.2, in Bartle & Sherbert's INTRO TO REAL ANALYSIS, 4th ed: How to show this function is strictly decreasing using derivative
Ability To Change Root User Password (Vulnerability?)
Does the Nuka-Cola bottler actually generate nuka cola?
Getting UPS Power from One Room to Another
Should I refuse to be named as co-author of a low quality paper?
Does the new finding on "reversing a quantum jump mid-flight" rule out any interpretations of QM?
How to safely destroy (a large quantity of) valid checks?
Teaching a class likely meant to inflate the GPA of student athletes
Why are MBA programs closing in the United States?
Please figure out this Pan digital Prince
Is it okay to have a sequel start immediately after the end of the first book?
Is it possible to fly backward if you have really strong headwind?
Increase speed altering column on large table to NON NULL
Why does this query, missing a FROM clause, not error out?
Can you make an identity from this product?
Can a differentiable function be real valued at infinite points and complex valued at some other intervals
I've been given a project I can't complete, what should I do?
Is it possible to have 2 different but equal size real number sets that have the same mean and standard deviation?
What aircraft was used as Air Force One for the flight between Southampton and Shannon?
Can we completely replace inheritance using strategy pattern and dependency injection?
Do people with slow metabolism tend to gain weight (fat) if they stop exercising?
What differences exist between adamantine and adamantite in all editions of D&D?
variance of number of isolated vertices in random graph G(n,p)
Covariance of isolated vertices in a random graphWhat is the probability that a random $ntimes n$ bipartite graph has an isolated vertex?Expected number of vertices a distance $k$ away in a random graph?Expected number of triangles in a random graph of size $n$Expected number of isolated vertices for random graph G(n, N)Expected number of vertex-pairs without any simple path in betweenShow that a random graph with edge probability $p=frac10log(n)n$ almost certainly has no isolated vertices…Distance between two vertices picked at random from random graph.Upper Bound on Vertices in SCC Graph of Directed Random GraphCorrelation for random graph (Erdos-Renyi)
$begingroup$
Suppose we have random graph $G(n,p)$ from uniform distribution with $n$ vertices and independently, each edge present with probability $p$. Calculating it's expected number of isolated vertices proves quite easy, chance of single vertex to be isolated is equal to $(1-p)^n-1$, then using linearity of probability, expected number of isolated vertices is equal to $ntimes(1-p)^n-1$. However, I am tasked to calculate variance of this number, or at least decent approximation of it, without any idea how to proceed.
random-graphs
$endgroup$
add a comment |
$begingroup$
Suppose we have random graph $G(n,p)$ from uniform distribution with $n$ vertices and independently, each edge present with probability $p$. Calculating it's expected number of isolated vertices proves quite easy, chance of single vertex to be isolated is equal to $(1-p)^n-1$, then using linearity of probability, expected number of isolated vertices is equal to $ntimes(1-p)^n-1$. However, I am tasked to calculate variance of this number, or at least decent approximation of it, without any idea how to proceed.
random-graphs
$endgroup$
add a comment |
$begingroup$
Suppose we have random graph $G(n,p)$ from uniform distribution with $n$ vertices and independently, each edge present with probability $p$. Calculating it's expected number of isolated vertices proves quite easy, chance of single vertex to be isolated is equal to $(1-p)^n-1$, then using linearity of probability, expected number of isolated vertices is equal to $ntimes(1-p)^n-1$. However, I am tasked to calculate variance of this number, or at least decent approximation of it, without any idea how to proceed.
random-graphs
$endgroup$
Suppose we have random graph $G(n,p)$ from uniform distribution with $n$ vertices and independently, each edge present with probability $p$. Calculating it's expected number of isolated vertices proves quite easy, chance of single vertex to be isolated is equal to $(1-p)^n-1$, then using linearity of probability, expected number of isolated vertices is equal to $ntimes(1-p)^n-1$. However, I am tasked to calculate variance of this number, or at least decent approximation of it, without any idea how to proceed.
random-graphs
random-graphs
asked 8 hours ago
Nik4stNik4st
504
504
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
I think indicators are easier to work with, as opposed to generating functions, no?
Let $(I_i:1leqslant i leqslant n)$ be a sequence of Bernoulli random variables, where $I_i$ if and only if vertex $i$ is isolated. Then, $mathbbE[I_i]= (1-p)^n-1triangleq r$. Now, let $N=sum_i =1^n I_i$, the number of isolated vertices. Then,
$$
rm var(N) = sum_i=1^n rm var(I_i) + 2sum_i <jrm cov(I_i,I_j) = nrm var(I_i)+ n(n-1)rm cov(I_i I_j).
$$
Now, $rm var(I_i)=mathbbE[I_i^2]-mathbbE[I_i]^2 = r-r^2=(1-p)^n-1(1-(1-p)^n-1)$. Next, for $rm cov(I_iI_j)=mathbbE[I_iI_j]-mathbbE[I_i]mathbbE[I_j] = mathbbE[I_iI_j]-(1-p)^2n-2$. Now, for the first object, note that, $I_iI_j=1$ if and only $I_i=I_j=1$, and $0$ otherwise. Note that, $mathbbP(I_iI_j =1)= (1-p)^2n-3$, since the probability that $I_i$ and $I_j$ are both isolated is the probability that, there are no edges between $(n-2)$ vertices to $I_i,I_j$, and there is no edge between $I_i$ and $I_j$. Since the edges are independent, we conclude.
Thus, the answer is
$$
n(1-p)^n-1(1-(1-p)^n-1) + n(n-1)p(1-p)^2n-3.
$$
$endgroup$
add a comment |
$begingroup$
Let $P_n,k$ be the probability of exactly $k$ isolated vertices in $G(n,p)$. Look at what happens when we add a new vertex gives:
$$
P_n+1,k=q^n P_n,k-1 + (1-q^n-k)q^k P_n,k + sum_i=1^n-kbinomk+iip^iq^kP_n,k+i
$$
where
$q=1-p$ as usual- the first term is the new vertex being isolated
- the second term is new vertex not isolated but there are $k$ isolated vertices we started off from $G(n,p)$ (so there is an edge from vertex $n+1$ to one of the $n-k$ vertices which gives the $1-q^n-k$ factor, and $n+1$ cannot join to any of the $k$ isolated vertices in $[n]$ so the other factor $q^k$
- the sum is for starting with a graph of $k+i$ isolated vertices and this new vertex is neighbour to exactly $i$ of these.
Using this recurrence, you can show the probability generating function of the number of isolated vertices
$$
G_n(z):=sum_k=0^n P_n,kz^k
$$
satisfies
$$
G_n(z)=q^n-1(z-1)G_n-1(z)+G_n-1(1+q(z-1)).
$$
This has closed form solution
$$
G_n(z)=sum_k=0^nbinomnkq^nk-binomk2(z-1)^k
$$
and so you obtain
$$
operatornameVar[#textisolated vertices]=nq^n-1((1-q^n-1)+(n-1)pq^n-2).
$$
$endgroup$
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3255436%2fvariance-of-number-of-isolated-vertices-in-random-graph-gn-p%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
I think indicators are easier to work with, as opposed to generating functions, no?
Let $(I_i:1leqslant i leqslant n)$ be a sequence of Bernoulli random variables, where $I_i$ if and only if vertex $i$ is isolated. Then, $mathbbE[I_i]= (1-p)^n-1triangleq r$. Now, let $N=sum_i =1^n I_i$, the number of isolated vertices. Then,
$$
rm var(N) = sum_i=1^n rm var(I_i) + 2sum_i <jrm cov(I_i,I_j) = nrm var(I_i)+ n(n-1)rm cov(I_i I_j).
$$
Now, $rm var(I_i)=mathbbE[I_i^2]-mathbbE[I_i]^2 = r-r^2=(1-p)^n-1(1-(1-p)^n-1)$. Next, for $rm cov(I_iI_j)=mathbbE[I_iI_j]-mathbbE[I_i]mathbbE[I_j] = mathbbE[I_iI_j]-(1-p)^2n-2$. Now, for the first object, note that, $I_iI_j=1$ if and only $I_i=I_j=1$, and $0$ otherwise. Note that, $mathbbP(I_iI_j =1)= (1-p)^2n-3$, since the probability that $I_i$ and $I_j$ are both isolated is the probability that, there are no edges between $(n-2)$ vertices to $I_i,I_j$, and there is no edge between $I_i$ and $I_j$. Since the edges are independent, we conclude.
Thus, the answer is
$$
n(1-p)^n-1(1-(1-p)^n-1) + n(n-1)p(1-p)^2n-3.
$$
$endgroup$
add a comment |
$begingroup$
I think indicators are easier to work with, as opposed to generating functions, no?
Let $(I_i:1leqslant i leqslant n)$ be a sequence of Bernoulli random variables, where $I_i$ if and only if vertex $i$ is isolated. Then, $mathbbE[I_i]= (1-p)^n-1triangleq r$. Now, let $N=sum_i =1^n I_i$, the number of isolated vertices. Then,
$$
rm var(N) = sum_i=1^n rm var(I_i) + 2sum_i <jrm cov(I_i,I_j) = nrm var(I_i)+ n(n-1)rm cov(I_i I_j).
$$
Now, $rm var(I_i)=mathbbE[I_i^2]-mathbbE[I_i]^2 = r-r^2=(1-p)^n-1(1-(1-p)^n-1)$. Next, for $rm cov(I_iI_j)=mathbbE[I_iI_j]-mathbbE[I_i]mathbbE[I_j] = mathbbE[I_iI_j]-(1-p)^2n-2$. Now, for the first object, note that, $I_iI_j=1$ if and only $I_i=I_j=1$, and $0$ otherwise. Note that, $mathbbP(I_iI_j =1)= (1-p)^2n-3$, since the probability that $I_i$ and $I_j$ are both isolated is the probability that, there are no edges between $(n-2)$ vertices to $I_i,I_j$, and there is no edge between $I_i$ and $I_j$. Since the edges are independent, we conclude.
Thus, the answer is
$$
n(1-p)^n-1(1-(1-p)^n-1) + n(n-1)p(1-p)^2n-3.
$$
$endgroup$
add a comment |
$begingroup$
I think indicators are easier to work with, as opposed to generating functions, no?
Let $(I_i:1leqslant i leqslant n)$ be a sequence of Bernoulli random variables, where $I_i$ if and only if vertex $i$ is isolated. Then, $mathbbE[I_i]= (1-p)^n-1triangleq r$. Now, let $N=sum_i =1^n I_i$, the number of isolated vertices. Then,
$$
rm var(N) = sum_i=1^n rm var(I_i) + 2sum_i <jrm cov(I_i,I_j) = nrm var(I_i)+ n(n-1)rm cov(I_i I_j).
$$
Now, $rm var(I_i)=mathbbE[I_i^2]-mathbbE[I_i]^2 = r-r^2=(1-p)^n-1(1-(1-p)^n-1)$. Next, for $rm cov(I_iI_j)=mathbbE[I_iI_j]-mathbbE[I_i]mathbbE[I_j] = mathbbE[I_iI_j]-(1-p)^2n-2$. Now, for the first object, note that, $I_iI_j=1$ if and only $I_i=I_j=1$, and $0$ otherwise. Note that, $mathbbP(I_iI_j =1)= (1-p)^2n-3$, since the probability that $I_i$ and $I_j$ are both isolated is the probability that, there are no edges between $(n-2)$ vertices to $I_i,I_j$, and there is no edge between $I_i$ and $I_j$. Since the edges are independent, we conclude.
Thus, the answer is
$$
n(1-p)^n-1(1-(1-p)^n-1) + n(n-1)p(1-p)^2n-3.
$$
$endgroup$
I think indicators are easier to work with, as opposed to generating functions, no?
Let $(I_i:1leqslant i leqslant n)$ be a sequence of Bernoulli random variables, where $I_i$ if and only if vertex $i$ is isolated. Then, $mathbbE[I_i]= (1-p)^n-1triangleq r$. Now, let $N=sum_i =1^n I_i$, the number of isolated vertices. Then,
$$
rm var(N) = sum_i=1^n rm var(I_i) + 2sum_i <jrm cov(I_i,I_j) = nrm var(I_i)+ n(n-1)rm cov(I_i I_j).
$$
Now, $rm var(I_i)=mathbbE[I_i^2]-mathbbE[I_i]^2 = r-r^2=(1-p)^n-1(1-(1-p)^n-1)$. Next, for $rm cov(I_iI_j)=mathbbE[I_iI_j]-mathbbE[I_i]mathbbE[I_j] = mathbbE[I_iI_j]-(1-p)^2n-2$. Now, for the first object, note that, $I_iI_j=1$ if and only $I_i=I_j=1$, and $0$ otherwise. Note that, $mathbbP(I_iI_j =1)= (1-p)^2n-3$, since the probability that $I_i$ and $I_j$ are both isolated is the probability that, there are no edges between $(n-2)$ vertices to $I_i,I_j$, and there is no edge between $I_i$ and $I_j$. Since the edges are independent, we conclude.
Thus, the answer is
$$
n(1-p)^n-1(1-(1-p)^n-1) + n(n-1)p(1-p)^2n-3.
$$
answered 7 hours ago
KawaKawa
2,334515
2,334515
add a comment |
add a comment |
$begingroup$
Let $P_n,k$ be the probability of exactly $k$ isolated vertices in $G(n,p)$. Look at what happens when we add a new vertex gives:
$$
P_n+1,k=q^n P_n,k-1 + (1-q^n-k)q^k P_n,k + sum_i=1^n-kbinomk+iip^iq^kP_n,k+i
$$
where
$q=1-p$ as usual- the first term is the new vertex being isolated
- the second term is new vertex not isolated but there are $k$ isolated vertices we started off from $G(n,p)$ (so there is an edge from vertex $n+1$ to one of the $n-k$ vertices which gives the $1-q^n-k$ factor, and $n+1$ cannot join to any of the $k$ isolated vertices in $[n]$ so the other factor $q^k$
- the sum is for starting with a graph of $k+i$ isolated vertices and this new vertex is neighbour to exactly $i$ of these.
Using this recurrence, you can show the probability generating function of the number of isolated vertices
$$
G_n(z):=sum_k=0^n P_n,kz^k
$$
satisfies
$$
G_n(z)=q^n-1(z-1)G_n-1(z)+G_n-1(1+q(z-1)).
$$
This has closed form solution
$$
G_n(z)=sum_k=0^nbinomnkq^nk-binomk2(z-1)^k
$$
and so you obtain
$$
operatornameVar[#textisolated vertices]=nq^n-1((1-q^n-1)+(n-1)pq^n-2).
$$
$endgroup$
add a comment |
$begingroup$
Let $P_n,k$ be the probability of exactly $k$ isolated vertices in $G(n,p)$. Look at what happens when we add a new vertex gives:
$$
P_n+1,k=q^n P_n,k-1 + (1-q^n-k)q^k P_n,k + sum_i=1^n-kbinomk+iip^iq^kP_n,k+i
$$
where
$q=1-p$ as usual- the first term is the new vertex being isolated
- the second term is new vertex not isolated but there are $k$ isolated vertices we started off from $G(n,p)$ (so there is an edge from vertex $n+1$ to one of the $n-k$ vertices which gives the $1-q^n-k$ factor, and $n+1$ cannot join to any of the $k$ isolated vertices in $[n]$ so the other factor $q^k$
- the sum is for starting with a graph of $k+i$ isolated vertices and this new vertex is neighbour to exactly $i$ of these.
Using this recurrence, you can show the probability generating function of the number of isolated vertices
$$
G_n(z):=sum_k=0^n P_n,kz^k
$$
satisfies
$$
G_n(z)=q^n-1(z-1)G_n-1(z)+G_n-1(1+q(z-1)).
$$
This has closed form solution
$$
G_n(z)=sum_k=0^nbinomnkq^nk-binomk2(z-1)^k
$$
and so you obtain
$$
operatornameVar[#textisolated vertices]=nq^n-1((1-q^n-1)+(n-1)pq^n-2).
$$
$endgroup$
add a comment |
$begingroup$
Let $P_n,k$ be the probability of exactly $k$ isolated vertices in $G(n,p)$. Look at what happens when we add a new vertex gives:
$$
P_n+1,k=q^n P_n,k-1 + (1-q^n-k)q^k P_n,k + sum_i=1^n-kbinomk+iip^iq^kP_n,k+i
$$
where
$q=1-p$ as usual- the first term is the new vertex being isolated
- the second term is new vertex not isolated but there are $k$ isolated vertices we started off from $G(n,p)$ (so there is an edge from vertex $n+1$ to one of the $n-k$ vertices which gives the $1-q^n-k$ factor, and $n+1$ cannot join to any of the $k$ isolated vertices in $[n]$ so the other factor $q^k$
- the sum is for starting with a graph of $k+i$ isolated vertices and this new vertex is neighbour to exactly $i$ of these.
Using this recurrence, you can show the probability generating function of the number of isolated vertices
$$
G_n(z):=sum_k=0^n P_n,kz^k
$$
satisfies
$$
G_n(z)=q^n-1(z-1)G_n-1(z)+G_n-1(1+q(z-1)).
$$
This has closed form solution
$$
G_n(z)=sum_k=0^nbinomnkq^nk-binomk2(z-1)^k
$$
and so you obtain
$$
operatornameVar[#textisolated vertices]=nq^n-1((1-q^n-1)+(n-1)pq^n-2).
$$
$endgroup$
Let $P_n,k$ be the probability of exactly $k$ isolated vertices in $G(n,p)$. Look at what happens when we add a new vertex gives:
$$
P_n+1,k=q^n P_n,k-1 + (1-q^n-k)q^k P_n,k + sum_i=1^n-kbinomk+iip^iq^kP_n,k+i
$$
where
$q=1-p$ as usual- the first term is the new vertex being isolated
- the second term is new vertex not isolated but there are $k$ isolated vertices we started off from $G(n,p)$ (so there is an edge from vertex $n+1$ to one of the $n-k$ vertices which gives the $1-q^n-k$ factor, and $n+1$ cannot join to any of the $k$ isolated vertices in $[n]$ so the other factor $q^k$
- the sum is for starting with a graph of $k+i$ isolated vertices and this new vertex is neighbour to exactly $i$ of these.
Using this recurrence, you can show the probability generating function of the number of isolated vertices
$$
G_n(z):=sum_k=0^n P_n,kz^k
$$
satisfies
$$
G_n(z)=q^n-1(z-1)G_n-1(z)+G_n-1(1+q(z-1)).
$$
This has closed form solution
$$
G_n(z)=sum_k=0^nbinomnkq^nk-binomk2(z-1)^k
$$
and so you obtain
$$
operatornameVar[#textisolated vertices]=nq^n-1((1-q^n-1)+(n-1)pq^n-2).
$$
answered 7 hours ago
user10354138user10354138
13.8k21126
13.8k21126
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3255436%2fvariance-of-number-of-isolated-vertices-in-random-graph-gn-p%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown