. Now define y j = log x j, and solve the iteration.

Similar documents
t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Finish reading Chapter 2 of Spivak, rereading earlier sections as necessary. handout and fill in some missing details!

Math 10B: Mock Mid II. April 13, 2016

Challenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k

( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:

MATH 4330/5330, Fourier Analysis Section 6, Proof of Fourier s Theorem for Pointwise Convergence

Math 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:

20. Applications of the Genetic-Drift Model

Stochastic models and their distributions

Comparison between the Discrete and Continuous Time Models

Predator - Prey Model Trajectories and the nonlinear conservation law

Vehicle Arrival Models : Headway

= ( ) ) or a system of differential equations with continuous parametrization (T = R

Chapter 7: Solving Trig Equations

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

5. Stochastic processes (1)

5.2. The Natural Logarithm. Solution

Chapter 2. First Order Scalar Equations

5.1 - Logarithms and Their Properties

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Hamilton- J acobi Equation: Weak S olution We continue the study of the Hamilton-Jacobi equation:

Fishing limits and the Logistic Equation. 1

Laplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff

10. State Space Methods

Math 333 Problem Set #2 Solution 14 February 2003

Math Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.

Solutions to Assignment 1

Math 36. Rumbos Spring Solutions to Assignment #6. 1. Suppose the growth of a population is governed by the differential equation.

EXERCISES FOR SECTION 1.5

Some Basic Information about M-S-D Systems

Solutions Problem Set 3 Macro II (14.452)

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Handout: Power Laws and Preferential Attachment

ODEs II, Lecture 1: Homogeneous Linear Systems - I. Mike Raugh 1. March 8, 2004

Two Coupled Oscillators / Normal Modes

Stationary Distribution. Design and Analysis of Algorithms Andrei Bulatov

MATH 128A, SUMMER 2009, FINAL EXAM SOLUTION

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation

An Introduction to Malliavin calculus and its applications

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

Class Meeting # 10: Introduction to the Wave Equation

Note: For all questions, answer (E) NOTA means none of the above answers is correct.

Lecture 20: Riccati Equations and Least Squares Feedback Control

Section 7.4 Modeling Changing Amplitude and Midline

4.1 - Logarithms and Their Properties

System of Linear Differential Equations

Chapter 6. Systems of First Order Linear Differential Equations

EE100 Lab 3 Experiment Guide: RC Circuits

HOMEWORK # 2: MATH 211, SPRING Note: This is the last solution set where I will describe the MATLAB I used to make my pictures.

MA 366 Review - Test # 1

Introduction to Probability and Statistics Slides 4 Chapter 4

IMPLICIT AND INVERSE FUNCTION THEOREMS PAUL SCHRIMPF 1 OCTOBER 25, 2013

Lecture 4 Notes (Little s Theorem)

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t

Stochastic Model for Cancer Cell Growth through Single Forward Mutation

2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes

u(x) = e x 2 y + 2 ) Integrate and solve for x (1 + x)y + y = cos x Answer: Divide both sides by 1 + x and solve for y. y = x y + cos x

The Strong Law of Large Numbers

Introduction D P. r = constant discount rate, g = Gordon Model (1962): constant dividend growth rate.

KINEMATICS IN ONE DIMENSION

The equation to any straight line can be expressed in the form:

18 Biological models with discrete time

Continuous Time Markov Chain (Markov Process)

RANDOM LAGRANGE MULTIPLIERS AND TRANSVERSALITY

INDEX. Transient analysis 1 Initial Conditions 1

23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes

Matlab and Python programming: how to get started

T L. t=1. Proof of Lemma 1. Using the marginal cost accounting in Equation(4) and standard arguments. t )+Π RB. t )+K 1(Q RB

Notes for Lecture 17-18

THE 2-BODY PROBLEM. FIGURE 1. A pair of ellipses sharing a common focus. (c,b) c+a ROBERT J. VANDERBEI

Solutions for Assignment 2

The Optimal Stopping Time for Selling an Asset When It Is Uncertain Whether the Price Process Is Increasing or Decreasing When the Horizon Is Infinite

Problem Set #3: AK models

k B 2 Radiofrequency pulses and hardware

) were both constant and we brought them from under the integral.

Module 2 F c i k c s la l w a s o s f dif di fusi s o i n

EE650R: Reliability Physics of Nanoelectronic Devices Lecture 9:

Two Popular Bayesian Estimators: Particle and Kalman Filters. McGill COMP 765 Sept 14 th, 2017

Section 5: Chain Rule

!!"#"$%&#'()!"#&'(*%)+,&',-)./0)1-*23)

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

Exam 1 Solutions. 1 Question 1. February 10, Part (A) 1.2 Part (B) To find equilibrium solutions, set P (t) = C = dp

An Introduction to Backward Stochastic Differential Equations (BSDEs) PIMS Summer School 2016 in Mathematical Finance.

Problem Set 5. Graduate Macro II, Spring 2017 The University of Notre Dame Professor Sims

Mon Apr 9 EP 7.6 Convolutions and Laplace transforms. Announcements: Warm-up Exercise:

Solutionbank Edexcel AS and A Level Modular Mathematics

Final Spring 2007

MATH 31B: MIDTERM 2 REVIEW. x 2 e x2 2x dx = 1. ue u du 2. x 2 e x2 e x2] + C 2. dx = x ln(x) 2 2. ln x dx = x ln x x + C. 2, or dx = 2u du.

Section 4.4 Logarithmic Properties

15. Vector Valued Functions

Lecture 3: Solow Model II Handout

Unit Root Time Series. Univariate random walk

Homework 10 (Stats 620, Winter 2017) Due Tuesday April 18, in class Questions are derived from problems in Stochastic Processes by S. Ross.

Guest Lectures for Dr. MacFarlane s EE3350 Part Deux

Math 315: Linear Algebra Solutions to Assignment 6

Chapter 3 Boundary Value Problem

non -negative cone Population dynamics motivates the study of linear models whose coefficient matrices are non-negative or positive.

Lecture 33: November 29

Transcription:

Problem 1: (Disribued Resource Allocaion (ALOHA!)) (Adaped from M& U, Problem 5.11) In his problem, we sudy a simple disribued proocol for allocaing agens o shared resources, wherein agens conend for resources bu back off in he face of conenion. One example applicaion is in he design of muliple-access proocols in wireless neworks, where his scheme forms he basis of he ALOHA proocol and is varians. Consider he following simplified model of a cell-phone nework: he wireless specrum is divided ino a se of n channels, where every cell-phone can access every channel, bu each channel can suppor a mos one cell-phone conversaion. Now suppose n users are rying o simulaneously download a file using heir cell-phones we wan a way o mach hem o channels in a disribued manner. We sar wih n users and n channels, and assume he sysem evolves over rounds. In every round, users pick from he n channels independenly and uniformly a random. A user who picks a channel no picked by any oher user, is served in ha round (i.e., finishes downloading he file) and removed from consideraion. The remaining users again pick one of he n channels in he nex round. We finish when every user is served. If here are m users a he sar of a round. wha is he expeced number of users a he sar of he nex round? Suppose ha in every round, he number of users removed is exacly he expeced number of users rounded up o he neares ineger. Show ha all he users are served in O(log log n) rounds. Hin: If x j is he expeced number of users lef afer j rounds, show ha x j+1 (x j) 2 n. Now define y j = log x j, and solve he ieraion. Problem 2: (The SIS Epidemic on Random Graphs) Consider an SIS epidemic on an undireced graph G, where neighboring nodes mee a rae λ. In class, we showed he following hresholds for a long infecion lifeime: λ < 1 E[T ex ] = O(1), λ > 1 d max η(k) E[T ex] = Ω (e k) where d max is he maximum degree of nodes in G, and η(k) is he generalized isoperimeric consan, which for any k n is defined as: η(k) = E(S, S) min S V, S k S (where E(S, S) is he number of edges beween S and S = V \ S). 1

We now sudy hese hresholds in he case where G is generaed as a G(n, p) random graph in he conneced regime (i.e., wih average degree (n 1)p > ln n) in paricular, we wan o show ha he phase ransiion hreshold is λ = Θ(1/(n 1)p) (w.h.p, as n ). Consider a graph G generaed from he G(n, p) model wih p = 6 ln n/(n 1), and le d = (n 1)p and D max be he average and maximum degrees respecively. Prove ha: P [D max > 2d] 1 n Thus, if we choose λ < 1/2d, hen, wih high probabiliy, an SIS epidemic on G has fas exincion. Hin: For X = X i wih X i [0, 1] i.i.d, recall he Chernoff bounds on he upper and lower ails: P[X > (1 + ɛ)e[x]] < e ɛ2 E[X]/3, P[X < (1 ɛ)e[x]] < e ɛ2 E[X]/2 We now wan o show a similar hreshold for λ o ensure a long-lasing epidemic. As before, consider a graph G generaed from he G(n, p) model, and average degree d = (n 1)p. For any k n, and any ɛ, argue ha: k ( ) n P[η(k) < d/3] = P [δ i < d i/3] i where δ i Binomial(i(n i), p). Hin: For any se S wih S = i, wha is he disribuion of he cu-size E(S, S)? Le k = n/3, and define ɛ i = 1 (n 1) 3(n i) argue ha for any n > 1 and i n/3, we have ha ɛ i (1/2, 1). Now, using he above equaion and a Chernoff bound, show ha: n/3 P[η(n/3) < d/3] ( ) n/3 n e i(n i)pɛ2 i /2 i ( ) n e i(n 1)p/8 i Par (d) (Opional) Now suppose we choose p = 16 ln n/(n 1). Using he inequaliy ( ) n i n i i!, show ha: P[η(n/3) < d/3] n/3 n i i! e 1/n 1 Thus, argue ha choosing λ > 3/d ensures ha as n, wih probabiliy going o 1, he SIS epidemic has E[T ex ] = Ω(e n/3 ). 2

Problem 3: (Differenial Equaion Approximaions of CTMCs) In class, for any CTMC X(), we defined he rae marix A (where for i j, A ij = λ ij, he rae of ransiions from sae i o sae j; moreover A ii = j A ij), and ransiion marix P () (where P i,j () = P[X() = j X(0) = i ]). We also discussed ha hese marices saisfy Kolmogorov s dp () forward equaion: = P ()A. We now formally show one example of how we can use his o ge exac differenial equaions for E[X()]. (Warning: This is a somewha roundabou way of deriving he differenial equaion for E[X()], bu i will give you a feel for he more general heory behind CTMC and differenial equaions.) Consider he simple birh process of cellular growh: we sar wih X(0) = 1 cell, and each cell splis ino wo a rae λ (i.e., afer Exponenial(λ) ime). Le X() be he number of cells a ime clearly his is a CTMC, aking values in N = {1, 2,...}. Wrie down he rae marix A and he sae ransiion diagram for X(). Noe ha he sae-ransiion diagram and rae marix are infinie we did no explicily deal wih his in class, bu mos hings we discussed exend o his case. For his quesion, you need o specify he sae-ransiions and rae marix for any single sae i. Le π() be he disribuion of he number of cells X() a ime. Since X(0) = 1, his means π 1 (0) = 1, π k (0) = 0 for k > 0. Moreover, we have π() = π(0)p (). Now argue ha for any k N: [ ] dπ k () dp () = π(0) = kλπ k () + (k 1)λπ k 1 (), k Solve his equaion explicily for π 1 () does he answer make sense? Hin: Noe ha for any n 1 row vecor π and n n marix P, we have [πp ] k = j π jp jk for an infinie vecor {π k } k N and marix {P ij } i,j N, we can define muliplicaion in a similar manner. For any random variable X, recall we defined he generaing funcion φ X (s) = E[s X ]. Le F (s, ) = φ X() (s). Argue ha F (s, ) = k N π k()s k, and also ha E[X()] = (i.e., evaluae he s=1 parial derivaive Par (d) Nex, prove ha: F (s,) a s = 1). F (s,) F (s, ) F (s,) = λ(s 2 F (s, ) s) F (s,) Hin: Wrie ou boh and by differeniaing each erm in he summaion, and compare coefficiens of s k. You do no need o jusify he correcness of operaions on infinie sums. 3

Par (e) Finally, use he fac ha 2 F (s,) = 2 F (s,) (i.e., for he funcion F (s, ), you can ake parial derivaives in any order noe ha is no rue in general!), o show ha: de[x()] = λe[x()] Hin: Differeniae he above equaion w.r.. s, and se s = 1. Problem 4: (Designing a Viral Adverising Campaign) The SIS epidemic can be used as a model for brand recall amongs consumers. Suppose we have a populaion of n people, wherein each peron knows exacly d oher people (i.e., he social nework is d-regular), and pairs who know each oher mee a rae λ. A ime 0, n 0 people are aware a cerain brand for example, hey are using a cerain new app. Subsequenly, people who are using he app forge abou i a rae 1, while people who have forgoen abou i are reminded of i when hey mee someone who currenly is using i. Le X() be he number of people using he app a ime in class we discussed ha X() can be sochasically dominaed from above by a birh-deah Markov chain Y () (i.e., Y () X() a all ) wih he following ransiions Y () goes from n n 1 a rae n, and for all oher saes Y () {1,..., n 1}, we have: Y () Y () 1 a rae Y (), Y () Y () + 1 a rae Y () λ d (1) Noe in paricular ha under he above ransiions, Y () = 0 is an absorbing sae. Now we use he differenial equaion mehod o find he phase ransiion for he SIS process. Suppose we ignore he boundary condiion a n, and insead le he ransiions in Equaion 1 hold for all Y () > 0 (noe ha his mainains he sochasic dominance). Argue ha: de[y ()] = (λd 1)E[Y ()], and hence E[Y ()] = Y (0)e (λd 1). From his we see ha if λd < 1, hen all people sop using he app afer consan ime. Noe: You don have o formally prove he las poin however, convince yourself ha his is easy o show using Markov s inequaliy. Suppose now we have some budge o design a viral adverising campaign. To do so, we hire k people (for some fixed k, which is much smaller han n), who each make visis o random people 4

a rae 1, and remind hem o use he app. Argue ha X() is now sochasically dominaed from above by a Markov chain Y () wih ransiions Y () Y () 1 a rae Y (), Y () Y () + 1 a rae Y () λ d + k Noe hough a Y () = 0, he above ransiion is no rue, as we wan i o be absorbing. However, we ignore his o ge he following differenial equaion approximaion for he expeced rajecory: de[y ()] Show ha he soluion o his equaion is: E[Y ()] = ( E[Y (0)] + = (λd 1)E[Y ()] + k k ) e (λd 1) λd 1 k λd 1 Using his soluion, observe ha for any fixed k, if λd < 1, hen he epidemic lifeime is sill small. This suggess ha using a fixed number of markeing agens does no help make a brand go viral. Suppose insead we design he following referral scheme each user who is currenly using he app is offered, a rae α, a reward for sending a promoion mail reminding one of heir friends o sar using he app. Moreover, assume ha he social nework graph has η(n/2) = d/2. Argue ha X() is now sochasically dominaed from below by a Markov chain Y () over he saes {0, 1,..., n/2}, wih ransiions: Y () Y () 1 a rae Y (), Y () Y () + 1 a rae Y () (λd/2 + α) This suggess he following differenial equaion for he expeced rajecory (ignoring he upper bound on he sae of Y ()): de[y ()] = (λd/2 + α 1)E[Y ()] Using his as a guide, wha value of α should you choose o ensure he app coninues o be used by people for a long ime? Problem 5: (The Preferenial Aachmen Process) (OPTIONAL) In his quesion, we will use differenial equaion approximaions o sudy he preferenial aachmen neworks. This is a model of nework growh ha is used o explain he occurrence of power-law degree disribuions, which are ofen seen in real neworks. For a nework wih n nodes, he degree disribuion F (k) is he fracion of nodes wih degree k his is said o exhibi power-law-α if: 1 F (k) ck α In oher words, he fracion of nodes wih degree greaer han k is proporional o k α. 5

To undersand why power-laws are unexpeced, consider he G(n, p) graph, wih p = λ/(n 1). Argue ha for any node i, is degree D i Binomial(n 1, p) P oisson(λ) for large n. Now since he fracion of nodes wih degree less han k is same as he probabiliy ha a random node has degree less han k, argue ha for large n, 1 F (k) = 1 k i=0 e λ λ i /i!. Noe ha his is exponenial in k (raher han power-law). The preferenial aachmen model is a dynamic model for generaing a graph, which resuls in a power-law degree disribuion. We will sudy a model for forming a direced graph however i can be used for undireced graphs in a similar way. The model proceeds as follows: ime is sloed and nodes arrive one-by-one in he order {1, 2,..., n}. Each arriving node brings a direced edge he node arriving a ime chooses he exising node o link o uniformly a random wih probabiliy 1 p, and wih probabiliy p, i picks an exising node v wih probabiliy proporional o is in-degree D v (). Noe ha a he end of slo, he number of nodes in he sysem is, and so is he number of direced edges (and hence he sum of in-degrees). For node v, argue ha is in-degree D v () has he following dynamics: D v () = 0 if v, and for all > v, D v () ransiions as: D v () = D v ( 1) + 1 wih probabiliy 1 p + pd v(), else D v () = D v ( 1) This suggess ha E[D v ()] has he following differenial equaion approximaion: de[d v ()] 1 p + pe[d v()] Using he boundary condiions E[D v (v)] = 0, solve he above equaion o ge (for > v): (( ) (1 p) p E[D v ()] 1), p v Par (d) An imporan hing o noe from he above characerizaion is ha he (expeced) in-degree of a node depends on when i arrived (in conras o he G(n, p) seing, where all nodes were symmeric). Now afer all n nodes arrive, we can approximae he degree disribuion F (k) as he fracion of nodes v {1, 2,..., n} for which E[D v ()] k. Le γ = 1 F (k) = (γk + 1) 1 p p (1 p) show ha: Thus, he resuling graph has a power-law degree disribuion wih α = 1/p. 6