network science (vu) (706.703)kti.tugraz.at › staff › denis › courses › netsci ›...

46
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS, TU Graz January 24, 2018 Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 1 / 46

Upload: others

Post on 29-May-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Network Science (VU) (706.703)Dynamical Systems on Networks

Denis Helic

ISDS, TU Graz

January 24, 2018

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 1 / 46

Page 2: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Outline

1 Introduction

2 Example: Diffusion

3 Stability and Connection Between Structure and Dynamics

4 Student project

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 2 / 46

Page 3: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Introduction

Dynamics on networks

We model the dynamics on networks with independent dynamicalvariables xi, yi, ... on each node i

The variables are only coupled along links in the networkIn other words, xi depends only on xi, other variables on node i andon variables on adjecent nodesFor simplicity, we will discuss only the case of a single variable xi oneach node i

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 3 / 46

Page 4: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Introduction

Dynamics on networks

For example, the network version of the SI model:

dxidt

= xi = β(1− xi)∑j

Aijxj

This equation has only terms involving pairs of variables connected bylinks

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 4 / 46

Page 5: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Introduction

General first-order equation

For a system with a single variable on each node we can write ageneral equation:

xi = fi(xi) +∑j

Aijgij(xi, xj)

We separated the terms that involve adjacent nodes from those thatdo notfi specifies the intrinsic dynamics of a node - it specifies how xiwould evolve without any connectionsgij specifies the contribution from the neighbors

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 5 / 46

Page 6: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Introduction

General first-order equation

We specified different functions fi and gij for each node and linkThe dynamics can differ from one node to anotherIn many cases the dynamics is the same or similar for each nodeIn such cases we might ignore the differences and use the samefunctions for each node:

xi = f(xi) +∑j

Aijg(xi, xj)

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 6 / 46

Page 7: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Introduction

General first-order equation

We will also assume the case of an undirected graphIf xi is affected by xj then xj is similarly affected by xi

Although in general case g is not symmetric, i.e. g(xi, xj) = g(xj , xi)

Again, the SI model is an example of a system of this kind:

f(x) = 0

g(xi, xj) = β(1− xi)xj

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 7 / 46

Page 8: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion

Diffusion might be defined as a process of moving an entity from theregions of high density to regions of low densitySimple model of spread across a networkThe spread of an ideaThe spread of an initiativeIn physics the movement of gas from a region of high density toregions of low density

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 8 / 46

Page 9: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion

Suppose we have some quantity on the nodesE.g. the content of information in a social networkE.g. the knowledge level of people in a university social networkE.g. the number of people at different places in a cityE.g. the amount of water in water tanksLet us denote the amount of this quantity at node i with xi

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 9 / 46

Page 10: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion

Suppose that this commodity moves from one node to another alongthe links at a constant rate C

E.g. if i and j are adjacent to each other then the amount flowingfrom j to i in some small time interval dt:

C(xj − xi)

Similarly, the amount flowing from i to j is given by (which is thenegative amount from above):

C(xi − xj)

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 10 / 46

Page 11: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion

Then the total amount of commodity flowing to i is given by thesame of flows over all of i’s neighbors:

xi = C∑j

Aij(xj − xi)

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 11 / 46

Page 12: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion

By splitting the terms on the right side we obtain:

xi = C∑j

Aijxj − Cxi∑j

Aij = C∑j

Aijxj − Cxiki

= C∑j

(Aij − δijki)xj

In matrix form we obtain a so-called diffusion equation:

x = C(A−D)x = −CLx

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 12 / 46

Page 13: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Python Notebook

Check diffusion examples from python notebookhttp://kti.tugraz.at/staff/denis/courses/netsci/ndynamics.ipynb

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 13 / 46

Page 14: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion: analytical solution

x = −CLx

Linear system, which we know how to solve!Let us write x as the linear combination of the eigenvectors of theGraph Laplacianvr is the eigenvector with eigenvalue λr

x(t) =

n∑r=1

ar(t)vr

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 14 / 46

Page 15: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion: analytical solution

Now coefficients ar(t) vary over timeSubstituting this form in the diffusion equation:

n∑r=1

dar(t)

dtvr = −CL

n∑r=1

ar(t)vr

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 15 / 46

Page 16: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion: analytical solution

We have Lvr = λrvr:

n∑r=1

dar(t)

dtvr = −C

n∑r=1

ar(t)λrvr

Now we multiply both sides with any eigenvector vs of the LaplacianRecollect that since L is symmetric its eigenvectors are orthogonal toeach other

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 16 / 46

Page 17: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion: analytical solution

n∑r=1

dar(t)

dtvrvs = −C

n∑r=1

ar(t)λrvrvs

vrvs = 0 if s = r

vrvs = 1 if s = r

dar(t)

dt= −Car(t)λr

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 17 / 46

Page 18: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion: analytical solution

The last equation has the solution (by separating variables andintegrating):

ar(t) = ar(0)e−Cλrt

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 18 / 46

Page 19: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Eigenvalues of the graph Laplacian

The vector 1 is always an eigenvector of L with eigenvalue 0

There are no negative eigenvalues, thus this is the lowest eigenvalueConvention: λ1 ≤ λ2 ≤ · · · ≤ λn

We always have λ1 = 0

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 19 / 46

Page 20: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Example: Diffusion

Diffusion: analytical solution

a0(t) = a0(0)e−C·0·t = a0(0)

All other coefficients decay exponentially and tend to zero for large t

Thus, for fixed point:

x = a0(0)v0 = a0(0)1 =

a0(0)a0(0)

...a0(0)

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 20 / 46

Page 21: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

Suppose we are able to find a fixed point {x∗i } by solving the systemof equations (for all i):

f(x∗i ) +∑j

Aijg(x∗i , x

∗j ) = 0

In other words, we find the value on each node i for which none ofthe values at any node changesClearly, the position of the fixed point depends on the dynamics butalso on the structure

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 21 / 46

Page 22: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

Now we linearize around the fixed point by writing xi = x∗i + ϵi

We perform multiple Taylor expansion in all variables simultaneously,and drop terms of second and higher orders

dxi

dt=

dϵi

dt= f(x

∗i + ϵi) +

∑j

Aijg(x∗i + ϵi, x

∗j + ϵj) =

= f(x∗i ) + ϵx

(∂f

∂x

)x=x∗

i

+∑j

Aijg(x∗i , x

∗j )

+ ϵi∑j

Aij

(∂g(u, v)

∂u

)u=x∗

iv=x∗

j

+∑j

Aijϵj

(∂g(u, v)

∂v

)u=x∗

iv=x∗

j

+ O(ϵ2i ) + O(ϵ

2j )

= ϵx

(∂f

∂x

)x=x∗

i

+ ϵi∑j

Aij

(∂g(u, v)

∂u

)u=x∗

iv=x∗

j

+∑j

Aijϵj

(∂g(u, v)

∂v

)u=x∗

iv=x∗

j

+ O(ϵ2i ) + O(ϵ

2j )

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 22 / 46

Page 23: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

If we know the position of the fixed point then the derivatives are justnumbersLet us write:

αi =

(∂f

∂x

)x=x∗

i

βij =

(∂g(u, v)

∂u

)u=x∗

i

v=x∗j

γij =

(∂g(u, v)

∂v

)u=x∗

i

v=x∗j

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 23 / 46

Page 24: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

We obtain then:

ϵi =

αi +∑j

βijAij

ϵi +∑j

γijAijϵj

ϵi = Mϵ

Mij = δij

αi +∑j

βijAij

+∑j

γijAij

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 24 / 46

Page 25: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

Linear system, which we know how to solve!Again, we can solve the last equation by writing ϵ as a linearcombination of the eigenvectors of Mvr is the eigenvector with eigenvalue λr

ϵ(t) =

n∑r=1

ar(t)vr

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 25 / 46

Page 26: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

Now coefficients ar(t) vary over timeSubstituting this form in the diffusion equation:

n∑r=1

dar(t)

dtvr = M

n∑r=1

ar(t)vr =

n∑r=1

ar(t)λrvr

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 26 / 46

Page 27: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Linear stability analysis

The last equation has the solution (by comparing terms in eacheigenvector and separating variables and integrating):

ar(t) = ar(0)eλrt

The same discussion applies as in a non-network caseHowever, eigenvalues of M depend on both: dynamics and thestructure

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 27 / 46

Page 28: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Special case

A simple case arises when the fixed point is symmetric, i.e. x∗i = x∗

for all nodes i

The derivatives then evaluate to the same value for each node i:

αi =

(∂f

∂x

)x=x∗

= α

βij =

(∂g(u, v)

∂u

)u,v=x∗

= β

γij =

(∂g(u, v)

∂v

)u,v=x∗

= γ

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 28 / 46

Page 29: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Special case

Then the linear expansion around the fixed point is given by:

ϵi = (α+ βki)ϵi + γ∑j

Aijϵj

Suppose also that the coupling function g is given byg(xi, xj) = g(xi)− g(xj)

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 29 / 46

Page 30: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Special case

The derivatives then evaluate to:

αi =

(∂f

∂x

)x=x∗

= α

βij =

(∂g(u, v)

∂u

)u,v=x∗

=

(∂g

∂x

)x=x∗

= β

γij =

(∂g(u, v)

∂v

)u,v=x∗

=

(∂g

∂x

)x=x∗

= −β

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 30 / 46

Page 31: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Special case

Then the linear expansion around the fixed point is given by:

ϵi = αϵi + β∑j

(kiδij −Aij)ϵj

In matrix form we have:

ϵ = (αI+ βL)ϵ

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 31 / 46

Page 32: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Special case

The exponent depends on the dynamics and the eigenvalues of thegraph LaplacianThe eigenvalues must satisfy:

α+ βλr < 0

λ1 = 0, all other are greater than zeroThus, it is necessary that α < 0

Additionally:

1

λn> −β

α

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 32 / 46

Page 33: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

Population growth (r > 0) with migration (a > 0)

f(xi) = rxi(1− xi)

g(xi, xj) = g(xi)− g(xj)

g(xi) = ax2i

∂f

∂x= r − 2rx

∂g

∂x= 2ax

Two symmetric fixed points x∗1 = 0, x∗2 = 1

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 33 / 46

Page 34: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

x∗1 = 0

The derivatives then evaluate to:

α = r

β = 0

Always unstable (population starts to reproduce)

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 34 / 46

Page 35: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

x∗1 = 1

The derivatives then evaluate to:

α = −r

β = 2a

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 35 / 46

Page 36: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

The stability equation becomes:

1

λn> −β

α=

2a

r

λn <r

2a

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 36 / 46

Page 37: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Python Notebook

Check population growth examples from python notebookhttp://kti.tugraz.at/staff/denis/courses/netsci/ndynamics.ipynb

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 37 / 46

Page 38: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

Gossip, or diffusion of an ideaSome idea is circulating around a social networkxi represent the amount person i is talking about the idea

f(x) = a(1− x)

g(xi, xj) = g(xi)− g(xj)

g(x) =bx

1 + x

Symmetric fixed point x∗ = 1

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 38 / 46

Page 39: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

f(x) is the intrinsic tendency to talkRegardless of their friendsg(x) represents copying of the friendsIf their friends talk more than people tend to talk more

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 39 / 46

Page 40: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

The derivatives then evaluate to:

α =

(∂f

∂x

)x=x∗

= −a

β =

(∂g(u, v)

∂u

)u,v=x∗

=

(∂g

∂x

)x=x∗

=b

4

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 40 / 46

Page 41: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

The stability equation becomes:

1

λn> −β

α=

b

4a

λn <4a

b

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 41 / 46

Page 42: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Python Notebook

Check gossip examples from python notebookhttp://kti.tugraz.at/staff/denis/courses/netsci/ndynamics.ipynb

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 42 / 46

Page 43: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Stability and Connection Between Structure and Dynamics

Example

Thus, when we compromise the stability by increasing the influence ofthe friendsWe arrive at another fixed point, which is not symmetricWhen the influence of friends becomes to strong everybody is doingthe things her own wayContrary, to what we expect that everybody behaves in the same way

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 43 / 46

Page 44: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Student project

Network analysis project

SNAP: http://snap.stanford.edu/KONECT: http://konect.uni-koblenz.de/Dataset of choiceFrom SNAP or KONECT Web siteYour own dataset

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 44 / 46

Page 45: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Student project

Network analysis project

SoftwareC++: SNAP http://snap.stanford.edu/Python: NetworkX http://networkx.github.io/Python wrapper for Boost: Graph-Toolhttp://graph-tool.skewed.de/

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 45 / 46

Page 46: Network Science (VU) (706.703)kti.tugraz.at › staff › denis › courses › netsci › ndynamics.pdfNetwork Science (VU) (706.703) Dynamical Systems on Networks Denis Helic ISDS,

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

...

.

Student project

Network analysis project

Prepare 5 slides for the discussionFirst slide: Introduction/MotivationSecon slide: Methodology (e.g. simulation, analytical approach,combination of both, MCMC)Third slide: Experimental setupFourth slide: ResultsFifth slide: DiscussionSend me the slides per e-mail as a PDF file until 01.02.2018 24:00Subject of the e-mail must include [NetSci]

Denis Helic (ISDS, TU Graz) NetSci January 24, 2018 46 / 46