• Keine Ergebnisse gefunden

Wissenschaftliches Rechnen II/Scientific Computing II

N/A
N/A
Protected

Academic year: 2021

Aktie "Wissenschaftliches Rechnen II/Scientific Computing II"

Copied!
2
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Wissenschaftliches Rechnen II/Scientific Computing II

Sommersemester 2016 Prof. Dr. Jochen Garcke Dipl.-Math. Sebastian Mayer

Exercise sheet 13

To be handed in on Thursday, 21.07.2016

Graph Laplacians

1 Group exercises

G 1. A square, nonnegative matrixP is called right stochastic if every row is summing to 1. The entryPij can be interpreted as the probability to jump from verticeito vertice j in a graph in one time step. Show that all eigenvalues of P are at most 1 in absolute value. Further show that 1 is an eigenvalue ofP. Explicitly determine the corresponding right eigenvector.

G 2. Let G= (V, E, W) be an undirected graph with edge weight matrix W, Wij ≥0.

A subset of verticesA⊂V is calledconnected component if any two vertices inAcan be joined by a path such that all intermediate points also lie inA. Let D be the diagonal matrix with Dii := di := Pn

j=1wij. Show that 0 is an eigenvalue of the unnormalized graph Laplacian

L=D−W,

and that its multiplicitykequals the number of connected componentsA1, . . . , Akin the graph. Show that the eigenvectors of the eigenvalue 0 are given by the indicator vectors 1A1, . . . ,1Ak of the connected components.

Vergabe von Terminen f¨ur die m¨undliche Pr¨ufung:Termine f¨ur die m¨undliche Pr¨ufung werden in der Vorlesung am Dienstag, 19.07.2016, vergeben.

Appointments for oral exam: Appointments for the oral exam can be made in the lecture on Tuesday, 19.07.2016.

(2)

2 Homework

H 1. LetG= (V, E, W) be a connected, undirected graph with symmetric, nonnegative edge weight matrix W. Let D be the diagonal matrix with Dii := di := Pn

j=1wij. What is the difference between thep-dimensional embedding computed by the Laplacian Eigenmap algorithm and the embedding that you obtain by computing the eigenvalue decomposition of D−1W = VΛVT and using X = Ip×nΛ1/2VT as the p-dimensional embedding.

(5 Punkte) H 2. Let G = (V, E, W) be a undirected graph with n =|V| vertices and symmetric, nonnegative edge weight matrix W. We want to partition G into k clusters such that cluster sizes are balanced, edges between different clusters have low weight and edges within a cluster have high weight. One approach to achieve this is Ncut. The goal of Ncut is to solve the optimization problem

min

A1,...,Ak⊂V,S

Ak=V Ncut(A1, . . . , Ak), (1) where

Ncut(A1, . . . , Ak) := 1 2

k

X

i=1

W(Ai,A¯i) vol(Ai) with ¯Ai =V \Ai, vol(Ai) =P

j∈Aidj, andW(Ai,A¯i) =P

j∈Ai,l∈A¯iwjl.

a) Argue why Ncut(A1, . . . , Ak) is a reasonable objective function for the partitioning problem. You do not have to prove anything, just give plausible arguments.

b) Fork= 2, show that (1) is equivalent to

A⊂VminfATLfA subject to 1TVDfA= 0, fATDf = vol(V), whereL=D−W is the graph Laplacian and the vectorfA∈Rn is given by

(fA)i =

((vol( ¯A)/vol(A))1/2 ifi∈A,

−(vol(A)/vol( ¯A))1/2 ifi∈A.¯

c) Generalize the result in b) for k >2. That is, show that (1) is equivalent to

A1min,...,Ak

tr(HTLH) subject to HTDH=In, (2) where H = H(A1, . . . , Ak) is a n×k matrix such that the ith column of H is the properly normalized indicator vector ofAi.

d) Unfortunately, the discrete optimization problem (1) is NP-hard. Therefore, one re- laxes the discreteness condition in (2) and solves

min

HRn×k

tr(HTLH) subject to HTDH =In. (3) Assuming that the optimal solutionU of (3) is a good approximation of the optimal solution of (2), how can you usek-means to obtain the desired graph partition from U?

(15 Punkte)

2

Referenzen

ÄHNLICHE DOKUMENTE

Let B e n be the transformed version of the Bernoulli polynomial B n such that the domain is [0, 2π] instead of

As usual, you find the tasks in the accompanying note- book on the lecture’s website.

a) A greedy algorithm is an algorithm that tries to solve an optimization problem by making a locally optimal choice at each stage. Show that this is indeed true. Hint: Use G2.. c)

Exercise sheet 11 To be handed in on Thursday, 07.06.2016. Application of PCA

Prove the following simplyfied version of Lemma 2.16?. How should the algorithm be modified in

• Die angegebene Reihenfolge der Teilfragen innerhalb eines Beispiels ist empfehlenswert, muss aber nicht eingehalten werden1. • Die einzelnen Teilfragen haben ungef¨ahr

Die einzelnen Teilfragen haben ungef¨ ahr gleiches Gewicht.. Ihre Arbeitszeit betr¨ agt

• Innerhalb jeder der drei Aufgaben ist die angegebene Reihenfolge der Teil- fragen empfehlenswert, muss aber nicht eingehalten werden. • Die einzelnen Teilfragen haben ungef¨