Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

9th Edition

B01JXPZ7AK, 9780805360479

More Books

Students also viewed these Databases questions