Beginning at time t = O. we start using bulbs. one at a time, to illuminate a room. Bulbs are replaced immediately upon failure. Each new bulb is selected independently by an equally likely choice between a type-A bulb and a type-B bulb. The lifetime, X , of any particular bulb of a particular type is a random variable:
for type-A Bulbs:$$ f(x) = e^{-x},x>=0$$
for type-B Bulbs:$$ f(x) = 3*e^{-3*x},>=0$$
Find the probability that there are no bulb failures before time t.
For solving this problem i have used the total probability theorem: Let D be the event of no Bulb failures on time t.
$$ P(D) = P(D|A)*P(A) + P(D|B)*P(B)$$
$$ P(D) = 1/2 * \int_0^t e^{-x} + 1/2 * \int_0^t 3*e^{-3*x}$$
But i have got the wrong answer: $1 - 1/2 * e^{-t} - 1/2 * e^{-3t}$
The correct answer is: $1/2 * e^{-t} + 1/2 * e^{-3*t}$
Can you tell me, where i have mad a mistake? Thank you
You should not do the integration. Please note that the pdf functions accept time $t$ as input and give the probability of a bulb not failed to the time $t$. So, by plugging in $t$ to each function, you have the probabilities required to use in the total probability theorem.