Q. 5.31

Question

(a) A fire station is to be located along a road of length A, A<. If fires occur at points uniformly chosen on 0,A, where should the station be located so as to minimize the expected distance from the fire? That is,

choose a so as to minimize EX-a when X is uniformly distributed over 0,A.


(b) Now suppose that the road is of infinite length— stretching from point 0outward to . If the distance of a fire from point 0 is exponentially distributed with rate λ, where should the fire station now be located? That is, we want to minimize EX-a, where X is now exponential with rate λ.

Step-by-Step Solution

Verified
Answer

(a) The fire station should be located at the mid point of the length of the road to minimize the expected distance.


(b) The fire station should be located at a=log2λ so as to minimize the expected distance.

1Part (a) Step 1. Given information.

Here, it is given that a fire station is to be located along a road of length A, A < .


Fires occur at points uniformly chosen on (0, A).

2Part (a) Step 2. Find the value of E X - a .

Let A be the fire station and X be the place where the fire has occurred.

X is uniformly distributed over O,A.

fXx=1A     0xA0         Otherwise


X-a = X-a, if aXAX-a = a-X, if 0Xa


Now,

EX-a=0aa-x fXx dx + aAX-a fXx dx=1Aax-x220a+x22-axaA=1Aa2+A22-aA

3Part (a) Step 3. Find the location of fire station so as to minimize the expected distance from the fire.

Differentiating EX-A w.r.t a and equating it with zero, we get


ddaEX-a=02aA+0-1=02aA=1a=A2


Therefore, the  fire station should be located at the mid point of the length of the road to minimize the expected distance. 

 


4Part (b). Step 1. Given information.

Here, it is given that the road is of infinite length stretching from point 0 outward to .


The distance of a fire from point 0 is exponentially distributed with rate λ.

5Part (b) Step 2. Find the value of E X - a .

The road is of infinite length. X is exponentially distributed with λ as parameter.


fXx=λe-λx          x......00                  OtherwiseX-a=X-a          aXa-X          0Xa


EX-a=0aa-x λe-λx dx + ax-a  λe-λx dx=λa0a e-λx dx -0a xe-λx dx+ ax  e-λx -aa λe-λx dx=λa e-λ-λx0a  - xe-λ-λx-eλ2-λx0a+  xe-λ-λx-eλ2-λxa -a e-λ-λxa=λaλ1-e-λa+ae-λaλ+e-λaλ2-1λ2+ae-λaλ+e-λaλ2-ae-λaλ=λaλ1-2e-λa+2ae-λaλ2+2e-λaλ2-1λ2=λaλ+2e-λaλ2-1λ2=a+2e-λaλ-1λ

6Part (b) Step 3. Find the location of fire station so as to minimize the expected distance from the fire.

Differentiating EX-a w.r.t a and equating it with 0, we get


ddaEX-a=01-2e-λa=01=2e-λae-λa=12eλa=2a=log 2λ.


Therefore, the  fire station should be located at  a=log 2λ to minimize the expected distance.