This is a problem that arose from reading "Introduction to Probability Models, Tenth Edition" Chapter 5 written by Ross M. Sheldon. Specifically question 16.
The situation is as follows:
There are three jobs that need to be processed, with the processing time of job $i$ being exponential with rate $u_{i}$.There are two processors are available, so job processing of the jobs can immediately start, with process on the final job to start when one of the inital ones have finished.
Let $T$ be the total time that process takes, find $E[T]$.
I will leave my attempt at the problem below - It does not match up with the provided solution.
My question is how do you do this problem.
Attempt:
$$ \textrm{Let } X_{i}\sim Exp(u_{i}), i\in \left \{ 1,2,3 \right \} \\ \textrm{Let } I = \textrm{ Time until first departure} \\ \textrm{Let A } = \textrm{ Additional time required} \\ \textrm{However, we see that T = I + A. So E[T] = E[I+A] = E[I] + E[A]} \\ $$
$$ E[I] = \frac{1}{u_{1}+u_{2}} \textrm{ (The time until the first completion is exponential with rate } u_{1}+u_{2} \textrm{)} \\ $$
$$ E[A] = E[A|X_{1}<X_{2}]P(X_{1}<X_{2})+E[A|X_{1}>X_{2}]P(X_{1}>X_{2}) \\ = E[max(X_{2},X_{3})]\frac{u_{1}}{u_{1}+u_{2}} + E[max(X_{1},X_{3})]\frac{u_{2}}{u_{1}+u_{2}} \\ = (\frac{1}{u_{2}}+\frac{1}{u_{3}}-\frac{1}{u_{2}+u_{3}})\frac{u_{1}}{u_{1}+u_{2}} + (\frac{1}{u_{1}}+\frac{1}{u_{3}}-\frac{1}{u_{1}+u_{3}})\frac{u_{2}}{u_{1}+u_{2}} \\ $$
$$\textrm{ Hence we see that E[T] is just the sum of the above two expressions} $$