

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Notes for Nov 26
This is a brief note on finding the steady state of a Markov chain and the PageRank
algorithm. For more details read the applications in section 6.3.
Problem 1. Verify that the largest in absolute value egienvalue of the following stochas-
tic matrix P is 1. Find the steady-state of P.
Solution
The characteristic polynomial of P is
−t
3
2
2
2)(t + 0.1 + 0. 2
The eigenvalues are
λ 1 = 1, λ 2 = − 0 .1 + 0. 2
2 , λ 3 = − 0. 1 − 0. 2
λ 1 = 1 is largest in absolute value.
The RREF of P − I is
Hence the vector
v = [47, 23 , 43]
T
is a basis for the eigenspace of λ 1 = 1. Since v 1 + v 2 + v 3 = 113 we have that
u = v/113 = [47/ 113 , 23 / 113. 43 /113]
T
is the steady-state vector of P.
Problem 2. A web search returns four pages such that:
Rank the pages according to Google’s PageRank algorithm, assuming that a surfer follows
a link on a page with probability p = 85/100 and with probability 1 − p = 15/100 picks a
random page.
Solution
Let l ∈ R
4 be such that li is the number of links in page i. Hence
l = [2, 2 , 0 , 1]
T .
l 1 = 2 because page 1 links to pages 2 and 3, and so on. Page 3 is ”dangling” because it
does not contain any links (l 3 = 0). Define
pij =
1 4
, if page j is ”dangling”,
85 100
1 lj
15 100
1 4
, if page j has a link to page i,
15 100
1 4
, otherwise.
For example, since page 1 does not link to page 1 (itself) we have
p 11 = (15/100)(1/4) = 3/ 80
since page 1 links to page 2 we have
p 21 = (85/100)(1/2) + (15/100)(1/4) = 37/ 80
and so on. Thus
P = (pij ) 4 × 4 =
P is stochastic with positive entries, hence 1 is the largest in absolute value eigenvalue of P.