day4-soln

# day4-soln - Review Problems 4 iCME and MS&E Refresher...

This preview shows pages 1–2. Sign up to view the full content.

Review Problems 4 iCME and MS&E Refresher Course Thursday, 16 September, 2010 The problems in this problem set concern a mouse randomly walking around a maze with n rooms. At every room in the maze, the mouse chooses one of the doors in the room uniformly at random and proceeds to the next room (so if a room has m doors, the probability of using any given door is m - 1 ). Assume that every room is reachable in at most n steps from any other. 1. Describe the maze as a graph. What are the nodes? What are the edges? The adjacency matrix of a graph has a ij = 1 if and only if there is an edge between node i and node j . Solution :The set of nodes will be the rooms; V = { 1 , 2 , · · · , n } . ( i, j ) is an edge if there is a door between room i and j . Thus the doors are represented by edges. The adjacency matrix a ij has non-zero entries when there is a door from room i to room j . 2. Let P = { p ij } be a matrix of probabilities so that p ij is the probability of going from room i to room j . Construct P from A , the adjacency matrix of the graph. Show e is an eigenvector of P . Solution :The total number of doors in room i is given by N i = n X j =1 a ij ; the probability of selecting a given door in room i is thus ( n j =1 a ij ) - 1 . Thus the probability of going from room i to room j is given by: p ij = a ij n j =1 a ij . Define the diagonal matrix D with diagonal elements d i = ( n j =1 a ij ) - 1 . Then the probability transi- tion matrix P is given by P = DA. The i th, j th element of P is p ij . To show that e is an eigenvector of P , consider the following: ( Pe ) i = n X j =1 p ij · 1 = n X j =1 a ij n j =1 a ij = n j =1 a ij n j =1 a ij = 1 = ( e ) i . 3. What is the probability of of going from room i to room j in two steps (so that the mouse stops in one room between the two)? Express this as a matrix-matrix product.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern