Computer Network Homework Help
Computer Network Homework Help
Problem 2.
Centrality in Infinite Graphs.
Part I
First, consider the infinite ring network as in Figure 1.
(a) Show that the xi’s are computed by finding the largest λ for
which there exists a set of xi for i = 0, 1, 2, . . . such that:
Note that we can always normalize the eigenvector centrality by
dividing xi by x0 for all i, so that x0 = 1.
(b) Show that all the nodes have equal ranking. (Hint: Show that
the is xi = 1 for all i. This should be a straightforward conclusion
and can be proved by inspection.).
Part II
Next, as shown in Figure 2, we add an edge between two nodes
so that the infinite ring is divided into two symmetric halves. We
will examine the eigenvector centrality of this new network. By
symmetry, we only need to find the eigenvector centrality
(Hint: start with an initial guess xi = 1 for all i, and try to iteratively
compute the eigenvector. You can prove the inequalities by
induction.)
(e) Show that the largest eigenvalue λ must satisfy:
2≤λ≤3
(Hint: observe the system of equations you wrote down for (c).)
write down the recursive equation y[n + 1] = Ay[n] that describes the
evolution of the linear dynamics, and think about the equilibrium.)
Now you have demonstrated that by adding a single edge one can
change the relative centrality measure x x n 0 drastically.
Problem 3.
Synchronization.
where θi represents the phase angle and is the state of the oscillator
on vertex i, ω is a constant, and the function g(x) has g(0) = 0 and
respects the rotational symmetry of the phases, meaning that g(x +
2π) = g(x) for all x.
(a) Characterize all solutions of the form θi(t) = ait+bi to the
set of dynamical equations, i.e., find ai, bi, i = 1, . . . , n.
(c) Show that L = MTM where M is the incidence matrix, i.e., the
rows correspond to the edges and columns correspond to the
vertices. Therefore, for every edge e = (i, j) between i, j where i < j
we have that
(d) Argue that L is a symmetric matrix and that for any vector x we
have that xTLx ≥ 0. Conclude from this that all the eigenvalues of L
are non–negative. (Hint: Use the fact that all eigenvalues, λ, of a
symmetric matrix, P, are of the form
where v is the corresponding eigenvector.)
(e) For what values of g 0 (0) is the system stable to small
perturbations around the origin?
(Hint: You can use a Lyapunov argument with quadratic Lyapunov
function V (x) = xT x to examine stability of the linearized system in
part (b))
Solution
Solution 1.
Clustering
(a)
Clustering Coefficient = p
limn→∞ p = 0.
(c) As shown before, it is just p, and still 0. But since p is larger in
the latter case, there is a higher chance that a triple is actually a
triangle.
Part I
(a) This follows by representing the ring network as Ax =
λx where λ is the largest eigenvalue and A is the
adjacency matrix.
Part II
(c)
Clearly for t = 0 this is true (after many iterations this will converge to
the true centrality). Assume this for t = k. Now observe for
for all n ≥ 1. Then since xn ≤ xn�1 we only need to show that there
is an eigenvalue of A that is < 1. As it turns out that eigenvalue is
Solution 3.
Synchronization.
(a) Characterize all solutions of the form θi(t) = ait+bi to the set
of dynamical equations, i.e., find ai, bi, i = 1, . . . , n.
(D - A) = L.
L is also called the graph Laplacian. We will prove that L has only non–
negative eigenvalues.
(c) Show that L = MTM where M is the incidence matrix, i.e., the
rows correspond to the edges and columns correspond to the
vertices. Therefore, for every edge e = (i, j) between i, j where i < j
we have that
(d) Argue that L is a symmetric matrix and that for any vector x
we have that xTLx ≥ 0. Conclude from this that all the
eigenvalues of L are non–negative. (Hint: Use the fact that all
eigenvalues, λ, of a symmetric matrix, P, are of the form
where v is the corresponding eigenvector.)
(e) (1pt) For what values of g 0 (0) is the system stable to small
perturbations around the origin?