Solution
= Solution
For constant hazards $h_A=\theta$ and $h_B=\phi$,
$$
F_A(t)=\int_0^t\theta e^{-(\theta+\phi)u}\,du
=\frac{\theta}{\theta+\phi}
\left(1-e^{-(\theta+\phi)t}\right).
$$
Its limit $\theta/(\theta+\phi)$ is the probability that $A$ occurs before $B$.