Question: ( 4 ) A weighted graph is an undirected graph where each edge is given a positive weight. See example below. The weight of each

(4) A weighted graph is an undirected graph where each edge is given a positive weight.
See example below.
The weight of each node is defined to be the sum of the weights of the edges
touching that node. In the example, node 1 has weight 6.
We can define a Markov matrix P associated with this weighted graph. Entry
P(i,j) is defined to be 0 if there is no edge between nodes i and j in the graph. If
there is an edge between i and j, then P(i,j) equals the weight of that edge divided
by the weight of node j. In the example, we have P(2,1)=36,P(4,1)=26 and
P(5,1)=16. The idea is that from node j, the next destination is chosen with
probabilities proportional to the weights on the edges emanating from j. If all the
edge weights are 1, we obtain the simple random walk on the graph.
(a) Write down the Markov matrix P associated with the weighted graph above.
(b) Verify for this specific P that the vector w=(w1,dots,w5)TT, where wi is the
weight of node i, satisfies Pw=w.
(c) Consider a general graph with nodes 1,2,dots,n and edge weights wij0.(If
wij=0, that means the nodes i and j are not connected by an edge.) Since the
graph is undirected, we have wij=wji for all i,j. The weight of each node j is
wj=i=1nwij,
and we have P(i,j)=wijwj. Show that the vector w=(w1,dots,wn)TT satisfies
the detailed balance property (see Problem 3). It follows from Problem 3(d)
that Pw=w.
 (4) A weighted graph is an undirected graph where each edge

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!