Two buses A and B arrive independently at a bus station at random rate of 5/hour and 4/hour respectively. A passenger comes to the bus station at 10 am. What is the probability that it takes at most 5 minutes before the first bus arrives at the station?
Attempt
Let X and Y be random variables indicating time of arrivals of Bus A and B respectively. Then, X and Y are exponentially distributed random variables with rate 5 and 4 respectively. So the probability density functions of X and Y are 5*exp(-5*t) and 4*exp(-4*t).
Now, let Z = min(X,Y) be a new random variable. Then, I need to calculate P(Z<5/60).
Question: My solution sheet goes as follows: P(Z<5/60) = 1-P(Z>5/60) = 1-P(X>5/60, Y>5/60) and goes on like this. But why cannot I just calculate P(Z<5/60) = P(X<5/60, Y<5/60) directly? These two give me different answers, meaning my attempt might be wrong. Why do we need to calculate the complementary probability?
Here's another interesting way to approach this problem. I'll start out with a more general version, and then we'll look at the case you need.
Let $X_1, X_2, \cdots X_n$ be independent and let $X_{(1)}$ be the minimum observation. Let's find the CDF of $X_{(1)}$.
\begin{align*} F_1(x) &= P(X_{(1)} \leq x) & \text{(definition)} \\ &= 1 - P(X_{(1)} > x) & \text{(complement)} \\ &= 1 - P(X_1 > x, \ X_2 > x, \ \cdots, \ X_n > x) & \text{(min > x $\Leftrightarrow$ all > x)} \\ &= 1 - P(X_1 > x)P(X_2 > x)\cdots P(X_n > x) & \text{(independence)} \\ \end{align*}
Back to the problem
Let $$X \sim Exp(4) \quad Y \sim Exp(5) \quad Z = min(X, Y)$$ $$P(X > x) = e^{-4x}$$ $$P(Y > x) = e^{-5x}$$ Hence, by the above result we can write the CDF of the minimum as: $$P(Z \leq x) = 1 - e^{-4x}e^{-5x} = 1 - e^{-9x}$$
Now you can calculate the desired probability easily.
Note that this is equivalent mathematically to the approach that Davis gives, but with this approach we see that the the minimum of independent exponential random variables is itself Exponentially distributed! Specifically, $Z \sim Exp(4+5)$.