08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

6<br />

6<br />

1<br />

8<br />

1 5<br />

8<br />

4<br />

5<br />

5<br />

Graph with boundary vertices<br />

dark and boundary conditions<br />

specified.<br />

3<br />

5<br />

Values <strong>of</strong> harmonic function<br />

satisfying boundary conditions<br />

where the edge weights at<br />

each vertex are equal<br />

3<br />

Figure 5.6: Graph illustrating an harmonic function.<br />

Example: Convert an electrical network with conductances c xy to a weighted, undirected<br />

graph with probabilities p xy . Let f be a function satisfying fP = f where P is the matrix<br />

<strong>of</strong> probabilities. It follows that the function g x = fx<br />

c x<br />

is harmonic.<br />

g x = fx<br />

c x<br />

= 1<br />

∑<br />

c x<br />

y<br />

∑<br />

= 1 c<br />

c x<br />

f<br />

xy<br />

y c y<br />

y<br />

f y p yx = 1<br />

= ∑ y<br />

f y<br />

c y<br />

c xy<br />

c x<br />

c x<br />

∑<br />

y<br />

= ∑ y<br />

f y<br />

c yx<br />

c y<br />

g y p xy<br />

A harmonic function on a connected graph takes on its maximum and minimum on<br />

the boundary. Suppose the maximum does not occur on the boundary. Let S be the<br />

set <strong>of</strong> interior vertices at which the maximum value is attained. Since S contains no<br />

boundary vertices, ¯S is nonempty. Connectedness implies that there is at least one edge<br />

(x, y) with x ∈ S and y ∈ ¯S. The value <strong>of</strong> the function at x is the weighted average<br />

<strong>of</strong> the value at its neighbors, all <strong>of</strong> which are less than or equal to the value at x and<br />

the value at y is strictly less, a contradiction. The pro<strong>of</strong> for the minimum value is identical.<br />

There is at most one harmonic function satisfying a given set <strong>of</strong> equations and boundary<br />

conditions. For suppose there were two solutions, f(x) and g(x). The difference <strong>of</strong> two<br />

solutions is itself harmonic. Since h(x) = f(x)−g(x) is harmonic and has value zero on the<br />

boundary, by the min and max principles it has value zero everywhere. Thus f(x) = g(x).<br />

The analogy between electrical networks and random walks<br />

161

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

Saved successfully!

Ooh no, something went wrong!