I have a set of practice questions to prepare for finals. And I have worked through most.
I am unsure about my approach in the below question. I have outlined what I have worked out here.
Suppose there are $n$ questions to be solved, and suppose two students divide the work as follows. Student $A$ starts with question $1$, and student $B$ starts with question $2$. Whenever one of them finishes a question, they immediately start on the next question which is not attempted by either of them.
Suppose student $A$ finishes each question independently in Exponential $($$μA$$)$ amount of time, and student $B$ finishes each question independently in Exponential $($$μB$$)$ amount of time.
Here, I have to calculate the expected amount of time it takes to finish all the $n$ questions.
My attempt:
$E($time taken to finish $n$ questions$)$
$=$ $E($$T1$ $+$ $T2$ $+$ .... $+$ $Tn$$)$
$=$ $E($$T1$$)$ $+$ $E($$T2$$)$ $+$ .... $+$ $E($$Tn$$)$
where $T1$ is the time taken to finish question $1$, $T2$ is the time taken to finish question $2$, and so on.
We are given that student $A$ starts with question $1$, and student $B$ starts with question $2$.
So, $E($$T1$$)$ $=$ $E($$TA$$)$ $=$ $\frac{1}{μA}$, because $TA$ ~ Exponential($μA$).
And $E($$T2$$)$ $=$ $E($$TB$$)$ $=$ $\frac{1}{μB}$, because $TB$ ~ Exponential($μB$)
Now, I think:
$E($$T3$$)$ $=$ $E($$TA$ $|$ $TA < TB$ $)$ + $E($$TB$ $|$ $TB < TA$ $)$
So, $E($$T3$$)$ $=$ $\frac{2}{μA + μB}$
This is because, $A$ and $B$ are working on questions $1$ and $2$ respectively, and whoever among $A$ and $B$ finishes first, will start with the $3$rd question.
Is this approach correct in calculating $E($$T3$$)$?
Further, I think that $E($$T4$$)$ $=$ $E($$T5$$)$ $=$ .... $=$ $E($$Tn$$)$ $=$ $\frac{2}{μA + μB}$
Therefore, $E($time taken to finish $n$ questions$)$
$=$ $[$$1/μA$$]$ $+$ $[$$1/μB$$]$ $+$ $[$ $(n-2) 2$ $/$ $(μA + μB)$ $]$
Is this approach correct, or am I going off track somewhere? Any advice will be very helpful. Thank you!