Answer:
The distribution of distance of ambulance from accident is [tex]\frac{2(L-a)}{L^2}\\[/tex]
Step-by-step explanation:
X=Position of Ambulance on Road
Y=Location of Occurrence of Accident
It is known about X & Y that
The joint density function is given as
[tex]f(x,y)=f_X(x)f_Y(y)=\frac{1}{L^2}[/tex]
This is true for (x,y)∈[tex](0,L^2)[/tex] otherwise it is equal to zero.
[tex]Z=|X-Y|[/tex]
[tex]P(Z\leq a)=1-P(Z>a)\\[/tex]
Here P(Z>a) is given as following on basis of the 2-d plot of X & Y points such that their difference is greater than a variable a.
[tex]P(Z>a)=\frac{(L-a)^2}{L^2}[/tex]
Substituting in the above equation
[tex]P(Z\leq a)=1-P(Z>a)\\P(Z\leq a)=1-\frac{(L-a)^2}{L^2}\\[/tex]
Now fZ(a) is given as
[tex]f_Z(a)=\frac{d}{da}P(Z\leq a)=\frac{2(L-a)}{L^2}\\[/tex]
So the distribution of distance of ambulance from accident is [tex]\frac{2(L-a)}{L^2}\\[/tex]