• Nenhum resultado encontrado

AloisPanholzer Onadiscreteparkingproblem

N/A
N/A
Protected

Academic year: 2022

Share "AloisPanholzer Onadiscreteparkingproblem"

Copied!
117
0
0

Texto

(1)

A discrete parking problem Results Analysis Outlook

On a discrete parking problem

Alois Panholzer

Institute of Discrete Mathematics and Geometry Vienna University of Technology

Alois.Panholzer@tuwien.ac.at

International Conference on the Analysis of Algorithms, 17.4.2008

1 / 37

(2)

A discrete parking problem Results Analysis Outlook

Outline of the talk

1 A discrete parking problem

2 Results

3 Analysis

4 Outlook

2 / 37

(3)

A discrete parking problem Results Analysis Outlook

A discrete parking problem

3 / 37

(4)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(5)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(6)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(7)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(8)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(9)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(10)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(11)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking scheme

The parking scheme:

Considerone-way street m parking lotsare in a row

n drivers wish to park in these lots

Each driver has preferred parking lotto which he drives If parking lot is empty⇒ he parks there

If not, he drives on and parks in the next free parking lot if there is one

If all remaining parking lots are occupied

⇒ leaves without parking

4 / 37

(12)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(13)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(14)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(15)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3,6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(16)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3,6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(17)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6,3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(18)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6,3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(19)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6,3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(20)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(21)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(22)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(23)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(24)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(25)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(26)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(27)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(28)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7,4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(29)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7,4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(30)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7,4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(31)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4,5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(32)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4,5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(33)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4,5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(34)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4,5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(35)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4,5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(36)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Example

Example: 8 parking lots, 8 cars Parking sequence: 3, 6, 3, 8, 6, 7, 4, 5

1 2 3 4 5 6 7 8

⇒2 cars are unsuccessful

5 / 37

(37)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Unsuccessful cars

Number of unsuccessful cars:

Parking sequencea1, . . . ,an∈ {1, . . . ,m}n

⇒k unsuccessful cars (max(n−m,0)≤k ≤n−1)

Formal descriptionof k=k(m;a1, . . . ,an):

bi := #`:a` ≥i

⇒k = max

1≤i≤m+1{bi+i} −m−1

k independent of specific orderof cars arriving

6 / 37

(38)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Unsuccessful cars

Number of unsuccessful cars:

Parking sequencea1, . . . ,an∈ {1, . . . ,m}n

⇒k unsuccessful cars (max(n−m,0)≤k ≤n−1)

Formal descriptionof k=k(m;a1, . . . ,an):

bi := #`:a` ≥i

⇒k = max

1≤i≤m+1{bi+i} −m−1

k independent of specific orderof cars arriving

6 / 37

(39)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Unsuccessful cars

Number of unsuccessful cars:

Parking sequencea1, . . . ,an∈ {1, . . . ,m}n

⇒k unsuccessful cars (max(n−m,0)≤k ≤n−1)

Formal descriptionof k=k(m;a1, . . . ,an):

bi := #`:a` ≥i

⇒k = max

1≤i≤m+1{bi+i} −m−1

k independent of specific orderof cars arriving

6 / 37

(40)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(41)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(42)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(43)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(44)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(45)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(46)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(47)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(48)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(49)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(50)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(51)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(52)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Parking functions: special instancek = 0

⇒all cars can be parked

Introduced byKonheim and Weiss [1966]:

in analysis oflinear probing hashing algorithm

1 2 3 m m-1

mplaces at a round table (∼= memory addresses)

n guests arriving sequentially at certain places (∼= data elements) each guest goes clockwise to first empty place

7 / 37

(53)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Topic of active research in combinatorics

⇒connectionsto many other objects:

labelled trees, major functions, acyclic functions, Pr¨ufer code, non-crossing partitions, hyperplane arrangements, priority queues, Tutte polynomial of graphs, linear probing hashing algorithm, invesions in trees

Generalizations:

multiparking functions, G-parking functions, bucket parking functions

Authors working on parking functions,amongst others:

M. Atkinson, D. Foata, J. Francon, I. Gessel, M. Golin, D. Knuth, G. Kreweras, C. Mallows, J. Pitman, A. Postnikov, J. Riordan, B. Sagan, M. Sch¨utzenberger, L. Shapiro, R. Stanley, C. Yan, . . .

8 / 37

(54)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Topic of active research in combinatorics

⇒connectionsto many other objects:

labelled trees, major functions, acyclic functions, Pr¨ufer code, non-crossing partitions, hyperplane arrangements, priority queues, Tutte polynomial of graphs, linear probing hashing algorithm, invesions in trees

Generalizations:

multiparking functions, G-parking functions, bucket parking functions

Authors working on parking functions,amongst others:

M. Atkinson, D. Foata, J. Francon, I. Gessel, M. Golin, D. Knuth, G. Kreweras, C. Mallows, J. Pitman, A. Postnikov, J. Riordan, B. Sagan, M. Sch¨utzenberger, L. Shapiro, R. Stanley, C. Yan, . . .

8 / 37

(55)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Parking functions

Topic of active research in combinatorics

⇒connectionsto many other objects:

labelled trees, major functions, acyclic functions, Pr¨ufer code, non-crossing partitions, hyperplane arrangements, priority queues, Tutte polynomial of graphs, linear probing hashing algorithm, invesions in trees

Generalizations:

multiparking functions, G-parking functions, bucket parking functions

Authors working on parking functions,amongst others:

M. Atkinson, D. Foata, J. Francon, I. Gessel, M. Golin, D. Knuth, G. Kreweras, C. Mallows, J. Pitman, A. Postnikov, J. Riordan, B. Sagan, M. Sch¨utzenberger, L. Shapiro, R. Stanley, C. Yan, . . .

8 / 37

(56)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Enumeration results

Enumeration result for parking sequences:

Konheim and Weiss [1966]

g(m,n): number of parking functions form parking lots andn cars

g(m,n) = (m−n+ 1)(m+ 1)n−1

Questions for general parking sequences:

“Combinatorial question”:

What is the number g(m,n,k)of parking sequences a1, . . . ,an∈ {1, . . . ,m}n such that exactly k drivers are unsuccessful?

Exact formulæ for g(m,n,k) ?

9 / 37

(57)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Enumeration results

Enumeration result for parking sequences:

Konheim and Weiss [1966]

g(m,n): number of parking functions form parking lots andn cars

g(m,n) = (m−n+ 1)(m+ 1)n−1

Questions for general parking sequences:

“Combinatorial question”:

What is the number g(m,n,k)of parking sequences a1, . . . ,an∈ {1, . . . ,m}n such that exactly k drivers are unsuccessful?

Exact formulæ for g(m,n,k) ?

9 / 37

(58)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Enumeration results

“Probabilistic question”:

What is the probability that for a randomly chosen parking sequence a1, . . . ,an∈ {1, . . . ,m}n exactly k drivers are unsuccessful ?

r.v. Xm,n: counts number of unsuccessful cars for a randomly chosen parking sequence

Probability distributionof Xm,n ?

Limiting distribution results (depending on growth ofm,n) ?

10 / 37

(59)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Enumeration results

Known results forXm,n:

Gonnet and Munro [1984]:

Xm,n studied in analysis of algorithm“linear probing sort”

Exact and asymptotic results for expectation E(Xm,n):

E(Xm,n) = 1 2

n

X

`=2

n`

m`, n≤m

E(Xm,m) = rπm

8 +2

3+O m12

Analysis uses “Poisson model”

Transfer of results to “exact filling model”

11 / 37

(60)

A discrete parking problem Results Analysis Outlook

A discrete parking problem:

Enumeration results

Known results forXm,n:

Gonnet and Munro [1984]:

Xm,n studied in analysis of algorithm“linear probing sort”

Exact and asymptotic results for expectation E(Xm,n):

E(Xm,n) = 1 2

n

X

`=2

n`

m`, n≤m

E(Xm,m) = rπm

8 +2

3+O m12

Analysis uses “Poisson model”

Transfer of results to “exact filling model”

11 / 37

(61)

A discrete parking problem Results Analysis Outlook

Results

12 / 37

(62)

A discrete parking problem Results Analysis Outlook

Results:

Exact enumeration formulæ

Exact enumeration results:

Cameron, Johannsen, Prellberg and Schweitzer [2007];

Panholzer [2007]

Numberg(m,n,k) of parking sequences form parking lots andn drivers such that exactlyk drivers are unsuccessful (n≤m+k):

g(m,n,k) = (mn+k)

n−k

X

`=0

n

`

(mn+k+`)`−1(nk`)n−`

(mn+k+ 1)

n−k−1

X

`=0

n

`

(mn+k+ 1 +`)`−1(nk1`)n−`

13 / 37

(63)

A discrete parking problem Results Analysis Outlook

Results:

Exact enumeration formulaæ Alternative expression: useful for k small

g(m,n,k) = (mn+k+ 1)(m+k+ 1)n−1

(mn+k+ 1)

k−1X

`=0

(−1)` n

`+ 1

!

(m+k`)n−`−2(k`)`+1

(mn+k)

k−1X

`=0

(−1)` n

`

!

(m+k`)n−`−1(k`)`

Examplesfor small numbers k of unsuccessful cars:

g(m,n,0) = (mn+ 1)(m+ 1)n−1

g(m,n,1) = (mn+ 2)(m+ 2)n−1+ (n2nm22m1)(m+ 1)n−2 g(m,n,2) = (mn+ 3)(m+ 3)n−1

+ (2n2mnm24n4m4)(m+ 2)n−2 +1

2n(−n2mn+ 2m2+ 2n5m+ 1)(m+ 1)n−3

14 / 37

(64)

A discrete parking problem Results Analysis Outlook

Results:

Exact enumeration formulaæ Alternative expression: useful for k small

g(m,n,k) = (mn+k+ 1)(m+k+ 1)n−1

(mn+k+ 1)

k−1X

`=0

(−1)` n

`+ 1

!

(m+k`)n−`−2(k`)`+1

(mn+k)

k−1X

`=0

(−1)` n

`

!

(m+k`)n−`−1(k`)`

Examplesfor small numbers k of unsuccessful cars:

g(m,n,0) = (mn+ 1)(m+ 1)n−1

g(m,n,1) = (mn+ 2)(m+ 2)n−1+ (n2nm22m1)(m+ 1)n−2 g(m,n,2) = (mn+ 3)(m+ 3)n−1

+ (2n2mnm24n4m4)(m+ 2)n−2 +1

2n(−n2mn+ 2m2+ 2n5m+ 1)(m+ 1)n−3

14 / 37

(65)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions Exact probability distribution of Xm,n:

P{Xm,n=k}= g(m,n,k)mn

Limiting distribution results forXm,n: Panholzer [2007]

Depending on growth ofm,n ⇒ nine different phases

m(parking lots) ≥ n (cars) n m

n ∼ρm, 0< ρ <1

√m∆ :=m−nm

∆∼ρ√

m, ρ >0

∆√

m

m (parking lots) <n (cars)

∆ :=n−m√ n

∆∼ρ√

n, ρ >0

√n ∆n

n∼ρm, ρ >1 mn

15 / 37

(66)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions Exact probability distribution of Xm,n:

P{Xm,n=k}= g(m,n,k)mn

Limiting distribution results forXm,n: Panholzer [2007]

Depending on growth ofm,n ⇒ nine different phases

m(parking lots) ≥ n (cars) n m

n ∼ρm, 0< ρ <1

√m∆ :=m−nm

∆∼ρ√

m, ρ >0

∆√

m

m (parking lots) <n (cars)

∆ :=n−m√ n

∆∼ρ√

n, ρ >0

√n ∆n

n∼ρm, ρ >1 mn

15 / 37

(67)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

nm: Xm,n−−→(d) X

P{X = 0}= 1

degenerate limit law

16 / 37

(68)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

n∼ρm, 0< ρ <1 : Xm,n−−→(d) Xρ

P{Xρ≤k}= (1−ρ)

k

X

`=0

(−1)k−`(`+ 1)k−`

(k−`)! ρk−`e(`+1)ρ discrete limit law

16 / 37

(69)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

√m∆ :=m−nm: mXm,n −−→(d) X (d)= EXP(2)

survival function: P{X ≥x}=e−2x, x ≥0

asymptotically exponential distributed

16 / 37

(70)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

∆ :=m−n∼ρ√

m, ρ >0 : 1mXm,n−−→(d) Xrho (d)= LINEXP(2, ρ)

survival function: P{Xρ≥x}=e−2x(x+ρ), x ≥0

asymptotically linear-exponential distributed

16 / 37

(71)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

0≤∆ :=m−n√

m: 1mXm,n−−→(d) X (d)= RAYLEIGH(2)

survival function: P{X ≥x}=e−2x2, x≥0

asymptotically Rayleigh distributed

16 / 37

(72)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

0≤∆ :=n−m√

n: Xm,n+m−nn −−→(d) X (d)= RAYLEIGH(2)

survival function: P{X ≥x}=e−2x2, x≥0

asymptotically Rayleigh distributed

16 / 37

(73)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

∆ :=n−m∼ρ√

n, ρ >0 : Xm,n+m−nn −−→(d) Xρ(d)= LINEXP(2, ρ)

survival function: P{X ≥x}=e−2x(x+ρ), x≥0

asymptotically linear-exponential distributed

16 / 37

(74)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

√n∆ :=n−mn: n(Xm,n+m−n)−−→(d) X (d)= EXP(2)

survival function: P{X ≥x}=e−2x, x ≥0

asymptotically exponential distributed

16 / 37

(75)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

n∼ρm, ρ >1 : Xm,n+m−n−−→(d) Xρ

P{Xρ≥k}=ke−ρk

X

`=0

(`+k)`−1

`! (ρe−ρ)`, k ≥1 discrete limit law

16 / 37

(76)

A discrete parking problem Results Analysis Outlook

Results:

Limiting distributions

Weak convergence of Xm,n (m parking lots,n cars):

nm: Xm,n+m−n −−→(d) X

P{X = 0}= 1

degenerate limit law

16 / 37

(77)

A discrete parking problem Results Analysis Outlook

Analysis

17 / 37

(78)

A discrete parking problem Results Analysis Outlook

Analysis:

Outline

Outline of proof

Exact enumeration results:

Recursive description of parameter Generating functions approach

Limiting distribution results:

Asymptotic evaluation of distribution function Asymptotic evaluation of positive integer moments (Method of moments)

18 / 37

(79)

A discrete parking problem Results Analysis Outlook

Analysis:

Outline

Outline of proof

Exact enumeration results:

Recursive description of parameter Generating functions approach

Limiting distribution results:

Asymptotic evaluation of distribution function Asymptotic evaluation of positive integer moments (Method of moments)

18 / 37

(80)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Exact enumeration results

Quantity of interest:

g(m,n,k): number of sequences∈ {1, . . . ,m}n, such that exactly k cars are unsuccessful

Recursive description of g(m,n,k):

Auxiliary quantities:

f(n) = (n+ 1)n−1: number of parking functions∈ {1, . . . ,n}n s(m,k): number of sequences∈ {1, . . . ,m}m+k, such that all parking lots are occupied⇔ exactly k cars are unsuccessful

19 / 37

(81)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Exact enumeration results

Quantity of interest:

g(m,n,k): number of sequences∈ {1, . . . ,m}n, such that exactly k cars are unsuccessful

Recursive description of g(m,n,k):

Auxiliary quantities:

f(n) = (n+ 1)n−1: number of parking functions∈ {1, . . . ,n}n s(m,k): number of sequences∈ {1, . . . ,m}m+k, such that all parking lots are occupied⇔ exactly k cars are unsuccessful

19 / 37

(82)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Case n<m+k: decomposition after first empty lotj:

1 j m

g(m,n,k) =

m

X

j=1

n j−1

f(j−1)g(m−j,n−j + 1,k)

Case n=m+k: all parking lots are occupied:

1 m

g(m,n,k) =s(m,k)

20 / 37

(83)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Case n<m+k: decomposition after first empty lotj:

1 j m

g(m,n,k) =

m

X

j=1

n j−1

f(j−1)g(m−j,n−j + 1,k)

Case n=m+k: all parking lots are occupied:

1 m

g(m,n,k) =s(m,k)

20 / 37

(84)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results Introducing suitable generating functions:

G(z,u,v) := X

m≥0

X

n≥0

X

k≥0

g(m,n,k)zn n!umvk

S(u,v) := X

m≥0

X

k≥0

s(m,k) umvk (m+k)!

T(z) :=X

n≥1

nn−1zn n! =X

n≥1

f(n−1) zn (n−1)!

T(z): satisfies functional equationT(z) =zeT(z)

Equation for generating functions:

G(z,u,v) = S(zu,zv) 1− T(zu)z

21 / 37

(85)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results Introducing suitable generating functions:

G(z,u,v) := X

m≥0

X

n≥0

X

k≥0

g(m,n,k)zn n!umvk

S(u,v) := X

m≥0

X

k≥0

s(m,k) umvk (m+k)!

T(z) :=X

n≥1

nn−1zn n! =X

n≥1

f(n−1) zn (n−1)!

T(z): satisfies functional equationT(z) =zeT(z)

Equation for generating functions:

G(z,u,v) = S(zu,zv) 1− T(zu)z

21 / 37

(86)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Evaluating at v = 1:

1

1−uez =X

m≥0

X

n≥0

mnzn

n!um =G(z,u,1) = S(zu,z) 1− T(zu)z

⇒S(zu,z) = 1−T(zu)z 1−uez Substitutingz ←zv, u← uv:

S(zu,zv) =S(zv·u

v,zv) = 1−Tzv(zu) 1−uvezv Exact expression for generating function:

G(z,u,v) = 1− T(zu)zv 1−T(zu)z

· 1−uvezv

22 / 37

(87)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Evaluating at v = 1:

1

1−uez =X

m≥0

X

n≥0

mnzn

n!um =G(z,u,1) = S(zu,z) 1− T(zu)z

⇒S(zu,z) = 1−T(zu)z 1−uez Substitutingz ←zv, u← uv:

S(zu,zv) =S(zv·u

v,zv) = 1−Tzv(zu) 1−uvezv Exact expression for generating function:

G(z,u,v) = 1− T(zu)zv 1−T(zu)z

· 1−uvezv

22 / 37

(88)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Evaluating at v = 1:

1

1−uez =X

m≥0

X

n≥0

mnzn

n!um =G(z,u,1) = S(zu,z) 1− T(zu)z

⇒S(zu,z) = 1−T(zu)z 1−uez Substitutingz ←zv, u← uv:

S(zu,zv) =S(zv·u

v,zv) = 1−Tzv(zu) 1−uvezv Exact expression for generating function:

G(z,u,v) = 1− T(zu)zv 1−T(zu)z

· 1−uvezv

22 / 37

(89)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results Extracting coefficients⇒ exact formula:

g(m,n,k) = (mn+k)

n−k

X

`=0

n

`

(mn+k+`)`−1(nk`)n−`

(mn+k+ 1)

n−k−1

X

`=0

n

`

(mn+k+ 1 +`)`−1(nk1`)n−`

Exact distribution ofXm,n:

P{Xm,n=k}= g(m,n,k) mn

23 / 37

(90)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results Extracting coefficients⇒ exact formula:

g(m,n,k) = (mn+k)

n−k

X

`=0

n

`

(mn+k+`)`−1(nk`)n−`

(mn+k+ 1)

n−k−1

X

`=0

n

`

(mn+k+ 1 +`)`−1(nk1`)n−`

Exact distribution ofXm,n:

P{Xm,n=k}= g(m,n,k) mn

23 / 37

(91)

A discrete parking problem Results Analysis Outlook

Analysis:

Exact enumeration results

Abel’s generalization of the binomial theorem:

(x+y)n=

n

X

`=0

x(x−`z)`−1(y+`z)n−`

⇒ alternative expression for g(m,n,k):

g(m,n,k) = (mn+k+ 1)(m+k+ 1)n−1

(mn+k+ 1)

k−1X

`=0

(−1)` n

`+ 1

!

(m+k`)n−`−2(k`)`+1

(mn+k)

k−1X

`=0

(−1)` n

`

!

(m+k`)n−`−1(k`)`

24 / 37

(92)

A discrete parking problem Results Analysis Outlook

Analysis:

Limiting distribution results (I)

Limiting distribution results forXm,n (I)

Special instance: m (parking lots) = n (cars) complex-analytic techniques

Generating function of diagonal:

F(u,v) =X

m≥0

X

k≥0

mmP{Xm,m=k}um m!vk

Computed via contour integral:

F(u,v) = 1 2πi

I G(t,ut,v)

t dt = 1 2πi

I t−Tv(u) dt t−T(u)

· t−uvetv

25 / 37

(93)

A discrete parking problem Results Analysis Outlook

Analysis:

Limiting distribution results (I)

Limiting distribution results forXm,n (I)

Special instance: m (parking lots) = n (cars) complex-analytic techniques

Generating function of diagonal:

F(u,v) =X

m≥0

X

k≥0

mmP{Xm,m=k}um m!vk

Computed via contour integral:

F(u,v) = 1 2πi

I G(t,ut,v)

t dt = 1 2πi

I t−Tv(u) dt t−T(u)

· t−uvetv

25 / 37

(94)

A discrete parking problem Results Analysis Outlook

Analysis:

Limiting distribution results (I)

Limiting distribution results forXm,n (I)

Special instance: m (parking lots) = n (cars) complex-analytic techniques

Generating function of diagonal:

F(u,v) =X

m≥0

X

k≥0

mmP{Xm,m=k}um m!vk

Computed via contour integral:

F(u,v) = 1 2πi

I G(t,ut,v)

t dt = 1 2πi

I t−Tv(u) dt t−T(u)

· t−uvetv

25 / 37

(95)

A discrete parking problem Results Analysis Outlook

Analysis:

Limiting distribution results (I)

Explicit formula:

simple pole att =T(u) computing residue

F(u,v) = (v−1)T(u) vT(u)−ueT(u)v

Method of moments:

E(Xm,mr ) = m!

mm[um] ∂r

∂vrF(u,v) v=1

Studying derivatives ofF(u,v) evaluated at v = 1:

local expansion around dominant singularityu = 1e Singularity analysis, Flajolet and Odlyzko [1990]

26 / 37

(96)

A discrete parking problem Results Analysis Outlook

Analysis:

Limiting distribution results (I)

Explicit formula:

simple pole att =T(u) computing residue

F(u,v) = (v−1)T(u) vT(u)−ueT(u)v

Method of moments:

E(Xm,mr ) = m!

mm[um] ∂r

∂vrF(u,v) v=1

Studying derivatives ofF(u,v) evaluated at v = 1:

local expansion around dominant singularityu = 1e Singularity analysis, Flajolet and Odlyzko [1990]

26 / 37

Referências

Documentos relacionados

Key words: gamma function, digamma function, inequalities, asymptotic series, rate of con- vergence..

compreendendo que a política de Ciência e Tecnologia (C&amp;T) não deve enfocar somente temas de interesse estritamente econômico, mas também preservação do meio ambiente e

We will show here that the cumulative distribution function ( CDF ), the moments of all orders having positive real parts and the characteristic function ( chf ) can be

More recently, Nadarajah and Kotz (2004) were able to provide closed form expressions for the moments, the asymptotic distribution of the extreme order statistics and the

O estudo compreendeu duas fases, sendo que cada participante teve seu direito mantido de participar apenas da primeira fase, submetendo-se à coleta de dados, que consistia em avaliar

Objective: This study explored the experiences and perceived changes of breast cancer (BC) patients after participating in 16-weekly sessions of

O trabalho do feirante está inserido nesse contexto do trabalho informal e precarizado, pois os trabalhadores não possuem contrato formal de trabalho, não têm nenhuma garantia

Neste ponto, acreditamos que o exemplo e o contexto transmitido pelos professores e pela organização escolar, as opções quanto ao tratamento e gestão a