08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exercise 5.33 What is the most general solution to the difference equation t(i + 2) −<br />

5t(i + 1) + 6t(i) = 0. How many boundary conditions do you need to make the solution<br />

unique?<br />

Exercise 5.34 Given the difference equation a k t(i + k) + a k−1 t(i + k − 1) + · · · + a 1 t(i +<br />

1)+a 0 t(i) = 0 the polynomial a k t k +a k−i t k−1 +· · ·+a 1 t+a 0 = 0 is called the characteristic<br />

polynomial.<br />

1. If the equation has a set <strong>of</strong> r distinct roots, what is the most general form <strong>of</strong> the<br />

solution?<br />

2. If the roots <strong>of</strong> the characteristic polynomial are not distinct what is the most general<br />

form <strong>of</strong> the solution?<br />

3. What is the dimension <strong>of</strong> the solution space?<br />

4. If the difference equation is not homogeneous (i.e., the right hand side is not 0) and<br />

f(i) is a specific solution to the nonhomogeneous difference equation, what is the full<br />

set <strong>of</strong> solutions to the difference equation?<br />

Exercise 5.35 Given the integers 1 to n, what is the expected number <strong>of</strong> draws with<br />

replacement until the integer 1 is drawn.<br />

Exercise 5.36 Consider the set <strong>of</strong> integers {1, 2, . . . , n}. What is the expected number<br />

<strong>of</strong> draws d with replacement so that every integer is drawn?<br />

Exercise 5.37 Consider a random walk on a clique <strong>of</strong> size n.<br />

number <strong>of</strong> steps before a given vertex is reached?<br />

What is the expected<br />

Exercise 5.38 Show that adding an edge to a graph can either increase or decrease commute<br />

time.<br />

Exercise 5.39 For each <strong>of</strong> the three graphs below what is the return time starting at<br />

vertex A? Express your answer as a function <strong>of</strong> the number <strong>of</strong> vertices, n, and then<br />

express it as a function <strong>of</strong> the number <strong>of</strong> edges m.<br />

A<br />

A<br />

B<br />

n vertices<br />

A<br />

B<br />

B<br />

n − 1<br />

clique<br />

a<br />

← n − 2 →<br />

b<br />

c<br />

186

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

Saved successfully!

Ooh no, something went wrong!