Suppose two rats A and B have been trained to navigate a large maze.
X=Time taken by rat A to navigate the maze X~N(80,100)
Y=Time taken by rat B to navigate the maze, Y~N(78,169)
On any given day, what is the probability that rat A runs the maze faster than rat B?
1
Expert's answer
2019-09-30T09:35:25-0400
We will suppose that X and Y are independent variables. So we need to findP(X<Y)=x<y∬ρX(x)ρY(y)dxdy=−∞∫+∞−∞∫yρX(x)ρY(y)dxdy==1002π11692π1−∞∫+∞−∞∫ye−2∗1002(x−80)2e−2∗1692(y−78)2dxdy.Let u=100x−80, then 1002π11692π1−∞∫+∞−∞∫ye−2∗1002(x−80)2e−2∗1692(y−78)2dxdy==1002π11692π1−∞∫+∞−∞∫100y−80e−2u2e−2∗1692(y−78)2d(100u+80)dy==2π11692π1−∞∫+∞−∞∫100y−80e−2u2e−2∗1692(y−78)2dudy.Let v=169y−78 , then 100y−80=100169v−2 and 2π11692π1−∞∫+∞−∞∫100y−80e−2u2e−2∗1692(y−78)2dudy==2π11692π1−∞∫+∞−∞∫100169v−2e−2u2e−2v2dud(169v+78)==2π12π1−∞∫+∞−∞∫100169v−2e−2u2e−2v2dudv
We have the following region of integrate in image. Make orthogonal change of variables, where the line u=100169v will be the axis u′ and orthogonal line u=−169100v will be axis v′ .
So (vu)=(cosαsinα−sinαcosα)(v′u′) , where tanα=−169100 , that is cosα=38561169 and sinα=−38561100 .
We obtain that line u=100169v−2 will be transformed into −38561100v′+38561169u′=100169(38561169v′+38561100u′)−501 or v′=385612
Line u=−169100v will be transformed into u′=0.
We obtain the new region of integration {(u′,v′):v′≥385612}
Jacobian of our transformation is J=∣∣(cosαsinα−sinαcosα)∣∣=1
Since our transformation is orthogonal, we have u2+v2=(u′)2+(v′)2 , so 2π12π1−∞∫+∞−∞∫100169v−2e−2u2e−2v2dudv=
=2π12π1−∞∫+∞385612∫+∞Je−2(u′)2e−2(v′)2du′dv′==2π1385612∫+∞e−2(u′)2du′⋅2π1−∞∫+∞e−2(v′)2dv′==(1−Φ(385612))Φ(+∞)=1−Φ(385612) , where Φ(x)=2π1−∞∫xe−2y2dy
https://www.math.arizona.edu/~rsims/ma464/standardnormaltable.pdf - Normal Disribution Table
Since 385612≈0.01 , from table we see that Φ(385612)≈Φ(0.01)≈0.50399 , so 1−Φ(385612)≈0.49601
Comments