by Guest » Tue Jun 21, 2016 6:00 pm
The answer is [tex]\tfrac{1}{6}[/tex]. The whole thing with X can be ignored if you think about it the right way, and if you continue thinking about it you can work out it's just the probability of a random point lying in A multiplied by the probability of it also lying in B.
Or alternatively you can write out double integrals and calculate it the long way, and you should still get the same answer:
Expected length [tex]= \int\limits_{0}^{\frac{1}{2}}\left(\int\limits_{b-\frac{1}{3}}^{b}\left(a-b+\frac{1}{3}\right) da + \int\limits_{b}^{b+\frac{1}{6}} \frac{1}{3}da +\int\limits_{b+\frac{1}{6}}^{b+\frac{1}{2}}\left(b+\frac{1}{2}-a\right) da \right) db / \int\limits_{0}^{\frac{1}{2}}\int\limits_{0}^{1} da db[/tex]
[tex]= 2\int\limits_{0}^{\frac{1}{2}}\left(
\left[\frac{a^2}{2}-ab+\frac{a}{3}\right]_{b-\frac{1}{3}}^{b}
+ \left[ \frac{a}{3}\right]_{b}^{b+\frac{1}{6}}
+ \left[ab+\frac{a}{2}-\frac{a^2}{2}\right]_{b+\frac{1}{6}}^{b+\frac{1}{2}}
\right) db[/tex]
[tex]= 2\int\limits_{0}^{\frac{1}{2}}\left(\frac{1}{18} + \frac{1}{18} + \frac{1}{18}\right) db[/tex]
[tex]= \frac{1}{6}[/tex]
where [tex]a[/tex] and [tex]b[/tex] represent the position of the arcs A and B.
Hope this helped,
R. Baber.