08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Exercise 5.40 Suppose that the clique in Exercise 5.39 was replaced by an arbitrary graph<br />

with m − 1 edges. What would be the return time to A in terms <strong>of</strong> m, the total number <strong>of</strong><br />

edges.<br />

Exercise 5.41 Suppose that the clique in Exercise 5.39 was replaed by an arbitrary graph<br />

with m − d edges and there were d edges from A to the graph. What would be the expected<br />

length <strong>of</strong> a random path starting at A and ending at A after returning to A exactly d<br />

times.<br />

Exercise 5.42 Given an undirected graph with a component consisting <strong>of</strong> a single edge<br />

find two eigenvalues <strong>of</strong> the Laplacian L = D −A where D is a diagonal matrix with vertex<br />

degrees on the diagonal and A is the adjacency matrix <strong>of</strong> the graph.<br />

Exercise 5.43 A researcher was interested in determining the importance <strong>of</strong> various<br />

edges in an undirected graph. He computed the stationary probability for a random walk<br />

on the graph and let p i be the probability <strong>of</strong> being at vertex i. If vertex i was <strong>of</strong> degree<br />

d i , the frequency that edge (i, j) was traversed from i to j would be 1 d i<br />

p i and the frequency<br />

that the edge was traversed in the opposite direction would be 1 d j<br />

p j . Thus, he assigned an<br />

∣ importance <strong>of</strong> ∣ 1 d i<br />

p i − 1 ∣∣<br />

d j<br />

p j to the edge. What is wrong with his idea?<br />

Exercise 5.44 Prove that two independent random walks starting at the origin on a two<br />

dimensional lattice will eventually meet with probability one.<br />

Exercise 5.45 Suppose two individuals are flipping balanced coins and each is keeping<br />

tract <strong>of</strong> the number <strong>of</strong> heads minus the number <strong>of</strong> tails. Will both individual’s counts ever<br />

return to zero at the same time?<br />

Exercise 5.46 Consider the lattice in 2-dimensions. In each square add the two diagonal<br />

edges. What is the escape probability for the resulting graph?<br />

Exercise 5.47 Determine by simulation the escape probability for the 3-dimensional lattice.<br />

Exercise 5.48 What is the escape probability for a random walk starting at the root <strong>of</strong><br />

an infinite binary tree?<br />

Exercise 5.49 Consider a random walk on the positive half line, that is the integers<br />

0, 1, 2, . . .. At the origin, always move right one step. At all other integers move right<br />

with probability 2/3 and left with probability 1/3. What is the escape probability?<br />

Exercise 5.50 Consider the graphs in Figure 5.18. Calculate the stationary distribution<br />

for a random walk on each graph and the flow through each edge. What condition holds<br />

on the flow through edges in the undirected graph? In the directed graph?<br />

187

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!