I am waiting for two friends to arrive at my house. The time until A and B arrive is exponentially distributed with rate $\lambda_A$ and $\lambda_B$ respectively. Once they arrive, they will spend exponentially distributed times here with rates $\mu_A$ and $\mu_B$ respectively. All R.V.s are independent. What is the expected time of the last departure?
I know we have to just condition on which is greater, but I'm having trouble reasoning this out, since the only formula our book gives us is for the minimum of two exponential random variable
Should I condition on both who arrives first and then who leaves first? That just seems too computationally messy to be the correct approach. Any ideas would be greatly appreciated!