Q 5.31

Question

(a)A fire station is to be located along a road of lengthA,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

whenX is uniformly distributed over (0,A)


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

Step-by-Step Solution

Verified
Answer

Therefore, the

(a) EX-a=A2

(b)EX-a=ln2λ


1Step 1 Given information:

(a)A fire station is to be located along a road of lengthA,A<. If fires occur at points uniformly chosen(0,A), That is, choose a so as to minimizeEX-a

(b)) Now suppose that the road is of infinite length— stretching from point0 outward to. If the distance of fire from a point0 is exponentially distributed with the rateλ

 

2Part (a) Step 2 Explanation:

We have that 

EX-a=-x-af(x)dx=0aa-x1Adx+aAx-a1Adx=aAx-12Ax20a+12Ax2-aAxaA=a2A-a22A+A22A-AaA-a22A-a2A=2a2-a22A+A2-2Aa-a2+2a22A=2a2-2Aa+A22A

Since we want to minimize this, we take the derivative and set it equal to zero: 

dda2a2-2Aa+A22A=12A4a-2A=2aA-1=A2

. Thus, we can minimize the expected value by choosing the midpoint of the interval (0,A)

3Part (b) step 3 Explanation:

Using integration by parts we can find that

EX-a=0x-af(x)dx=0aa-xλe-λxdx+0x-aλe-λxdx=a1-eλa+ae-λa+e-λaλ-1λ+ae-λa+e-λaλ-ae-λa

After differentiating and setting equal to zero, we discover that e-λa-12=0which gives the minimum value at a=ln2λ