Question #95527
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 XX and YY are independent variables. So we need to findP(X<Y)=x<yρX(x)ρY(y)dxdy=P(X<Y)=\iint\limits_{x<y}\rho_X(x)\rho_Y(y)dxdy= +yρX(x)ρY(y)dxdy=\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^y\rho_X(x)\rho_Y(y)dxdy= =11002π11692π+ye(x80)221002e(y78)221692dxdy=\frac{1}{100\sqrt{2\pi}}\frac{1}{169\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^ye^{-\frac{(x-80)^2}{2*100^2}}e^{-\frac{(y-78)^2}{2*169^2}}dxdy.Let u=x80100u=\frac{x-80}{100}, then 11002π11692π+ye(x80)221002e(y78)221692dxdy=\frac{1}{100\sqrt{2\pi}}\frac{1}{169\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^ye^{-\frac{(x-80)^2}{2*100^2}}e^{-\frac{(y-78)^2}{2*169^2}}dxdy= =11002π11692π+y80100eu22e(y78)221692d(100u+80)dy==\frac{1}{100\sqrt{2\pi}}\frac{1}{169\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^{\frac{y-80}{100}}e^{-\frac{u^2}{2}}e^{-\frac{(y-78)^2}{2*169^2}}d(100u+80)dy= =12π11692π+y80100eu22e(y78)221692dudy=\frac{1}{\sqrt{2\pi}}\frac{1}{169\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^{\frac{y-80}{100}}e^{-\frac{u^2}{2}}e^{-\frac{(y-78)^2}{2*169^2}}dudy.Let v=y78169v=\frac{y-78}{169} , then y80100=169v2100\frac{y-80}{100}=\frac{169v-2}{100} and 12π11692π+y80100eu22e(y78)221692dudy=\frac{1}{\sqrt{2\pi}}\frac{1}{169\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^{\frac{y-80}{100}}e^{-\frac{u^2}{2}}e^{-\frac{(y-78)^2}{2*169^2}}dudy= =12π11692π+169v2100eu22ev22dud(169v+78)==\frac{1}{\sqrt{2\pi}}\frac{1}{169\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^{\frac{169v-2}{100}}e^{-\frac{u^2}{2}}e^{-\frac{v^2}{2}}dud(169v+78)= =12π12π+169v2100eu22ev22dudv=\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^{\frac{169v-2}{100}}e^{-\frac{u^2}{2}}e^{-\frac{v^2}{2}}dudv


We have the following region of integrate in image. Make orthogonal change of variables, where the line u=169v100u=\frac{169v}{100} will be the axis uu' and orthogonal line u=100169vu=-\frac{100}{169}v will be axis vv' .

So (vu)=(cosαsinαsinαcosα)(vu)\begin{pmatrix} v \\ u \end{pmatrix}= \begin{pmatrix} \cos\alpha & -\sin\alpha \\ \sin\alpha & \cos\alpha \end{pmatrix} \begin{pmatrix} v' \\ u' \end{pmatrix} , where tanα=100169\tan\alpha=-\frac{100}{169} , that is cosα=16938561\cos\alpha=\frac{169}{\sqrt{38561}} and sinα=10038561\sin\alpha=-\frac{100}{\sqrt{38561}} .

We obtain that line u=169v2100u=\frac{169v-2}{100} will be transformed into 10038561v+16938561u=169100(16938561v+10038561u)150-\frac{100}{\sqrt{38561}}v'+\frac{169}{\sqrt{38561}}u'=\frac{169}{100}\bigl(\frac{169}{\sqrt{38561}}v'+\frac{100}{\sqrt{38561}}u'\bigr)-\frac{1}{50} or v=238561v'=\frac{2}{\sqrt{38561}}

Line u=100169vu=-\frac{100}{169}v will be transformed into u=0u'=0.

We obtain the new region of integration {(u,v):v238561}\bigl\{(u',v'): v'\ge\frac{2}{\sqrt{38561}}\bigr\}

Jacobian of our transformation is J=(cosαsinαsinαcosα)=1J=\bigl|\begin{pmatrix} \cos\alpha & -\sin\alpha \\ \sin\alpha & \cos\alpha \end{pmatrix}\bigr|=1

Since our transformation is orthogonal, we have u2+v2=(u)2+(v)2u^2+v^2=(u')^2+(v')^2 , so 12π12π+169v2100eu22ev22dudv=\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{-\infty}^{\frac{169v-2}{100}}e^{-\frac{u^2}{2}}e^{-\frac{v^2}{2}}dudv=

=12π12π+238561+Je(u)22e(v)22dudv==\frac{1}{\sqrt{2\pi}}\frac{1}{\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}\int\limits_{\frac{2}{\sqrt{38561}}}^{+\infty}Je^{-\frac{(u')^2}{2}}e^{-\frac{(v')^2}{2}}du'dv'= =12π238561+e(u)22du12π+e(v)22dv==\frac{1}{\sqrt{2\pi}}\int\limits_{\frac{2}{\sqrt{38561}}}^{+\infty}e^{-\frac{(u')^2}{2}}du'\cdot\frac{1}{\sqrt{2\pi}}\int\limits_{-\infty}^{+\infty}e^{-\frac{(v')^2}{2}}dv'= =(1Φ(238561))Φ(+)=1Φ(238561)=\Bigl(1-\Phi\bigl(\frac{2}{\sqrt{38561}}\bigr)\Bigr)\Phi(+\infty)=1-\Phi\bigl(\frac{2}{\sqrt{38561}}\bigr) , where Φ(x)=12πxey22dy\Phi(x)=\frac{1}{\sqrt{2\pi}}\int\limits_{-\infty}^x e^{-\frac{y^2}{2}}dy

https://www.math.arizona.edu/~rsims/ma464/standardnormaltable.pdf - Normal Disribution Table

Since 2385610.01\frac{2}{\sqrt{38561}}\approx 0.01 , from table we see that Φ(238561)Φ(0.01)0.50399\Phi\bigl(\frac{2}{\sqrt{38561}}\bigr)\approx\Phi(0.01)\approx 0.50399 , so 1Φ(238561)0.496011-\Phi\bigl(\frac{2}{\sqrt{38561}}\bigr)\approx 0.49601

Answer: 0.496010.49601

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS