I'll analyze both strategies to determine whether they produce connected graphs with probability 1−O(cn) for some constant c<1.
First, let me establish some basic facts about the expected number of edges in each strategy.
Expected number of edges:
For strategy 1: E[∣E1∣]=∑i<j4ni+j
For strategy 2: E[∣E2∣]=∑i<j
Let me compute these more carefully.
For strategy 1:
∑i<j(i+
=∑i=1n−1(i(n
So E[∣E1∣]=Θ(n2).
For strategy 2:
∑i<j
So E[∣E2∣]=Θ(n2).
Both strategies indeed have the same order of expected edges.
Strategy 1 Analysis:
For strategy 1, pij=4ni+j.
The minimum probability is p12=4n3 and maximum is .
Let me consider the probability that node 1 is isolated. Node 1 connects to node j with probability p1j=4n.
P(node 1 isolated)=∏j=2n(1−
Taking logarithm:
lnP(node 1 isolated)=∑j=2nln(1
For large n, using ln(1−x)≈−x:
=−4n1(
=−4n1⋅
Therefore: P(node 1 isolated)≈e−n/8+O(1)=Ω(e
This means the probability of disconnection is at least Ω(e−n/8), which is exponentially small. However, we need to show the probability of connectivity is 1−O(cn).
But actually, let me reconsider what we want to prove. We want to show that the probability of being connected is 1−O(cn), which means the probability of being disconnected is O(cn).
Since we found that the probability of node 1 being isolated is Ω(e−n/8), this is exponentially small, but we need an upper bound on the disconnection probability.
The probability that the graph is disconnected is at most the probability that some node is isolated (union bound is too loose here). Let's use a more refined approach.
If we can show that with high probability, every node has at least one neighbor, then we can apply results about connectivity of random graphs.
For any node i, the expected degree is:
E[di]=∑
For node 1: E[d1]=∑
For node n: E[dn]=
So all nodes have expected degree Θ(n).
Using Chernoff bounds and the fact that the degree of each node is concentrated around its mean, we can show that with probability 1−O(e−n), every node has degree Ω(n).
When every node has degree Ω(n) and the graph is essentially a dense random graph with appropriate edge probabilities, standard results show that such graphs are connected with probability 1−O(cn) for some c<.
Strategy 1: TRUE - There exists c<1 such that the probability of connectivity is 1−O(cn).
Strategy 2 Analysis:
For strategy 2, pij=n2ij.
The minimum probability is p12=n22 and maximum is .
For node 1: E[d1]=∑
This is a crucial difference! Node 1 has constant expected degree, not growing with n.
The probability that node 1 is isolated:
P(node 1 isolated)=∏j=2n(1−
Taking logarithm:
lnP(node 1 isolated)=∑j=2
=−n21
Therefore: P(node 1 isolated)→e−1/2 as n→∞
This means there's a constant probability that node 1 is isolated, which is much larger than any exponentially small function.
Strategy 2: FALSE - The probability that node 1 is isolated approaches e−1/2>0, so the probability of connectivity is at most 1−e−1/2, which is bounded away from 1.
Answer:
- Strategy 1: TRUE - The network is connected with probability 1−O(cn) for some c<1.
- Strategy 2: FALSE - The network has a constant probability of being disconnected, so it cannot achieve probability 1 for any .