Machine $1$ is currently working. Machine $2$ will be put in use at time $t$ from now. If the lifetime of machine $i$ is exponential with rate $\lambda_i=1,2$, what is the probability that machine $1$ is the first machine to fail?
I tried a few things but I can not get the answer
Let $X_1\sim exp(\lambda_1)$ and $X_2\sim exp(\lambda_2)$ maybe I'm wrong playing, but I think the exercise asks $$P(X_1<X_2|X_2=t)=\frac{P(X_1<X_2,X_2=t)}{P(X_2=t)}$$
I believe that times are independent of each machine, but I think I can not take it.
Can anyone give a hand?
EDIT: The corret answer is $$1-e^{-\lambda_1t}+e^{-\lambda_1t}\frac{\lambda_1}{\lambda_1+\lambda_2}$$
$$= \mathbb{E}\Big{ 1_{(X_1 > t)} \cdot \big[ 1- F_2(X_1 - t) \big] \Big} $$ where $F_i$ is the c.d.f. of $X_i$, so $$= \int_t^\infty\big[ 1- F_2( \ell - t) \big] dF_1(\ell) $$
– Chival Jul 19 '15 at 16:47