Suppose we have a system of N balls, each of which can be in one of two boxes. A ball in box I stays there for a random amount of time with exponential(lambda) distribution and then moves instantaneously to box II. A ball in box II stays there for a random amount of time with exponential(lambda) distribution and then moves instantaneously to box I. All balls act independently of each other. Let Xt be the number of balls in box I at time t.
a) I'm trying to show that X is a birth and death process and specify the birth and death rates.
b) How can we find the stationary distribution of the process.
For part (a), if we can show it satisfies a Yule process, this is essentially what we're trying to do. And for part (b), I also want some clarification on the detailed balanced equations for this problem.