How would I solve these differential equations? Thanks so much for the help!
P'_0(t) = \alpha P_1(t) - \beta P_0(t) P'_1(t) = \beta P_0(t) - \alpha P_1(t)
We also know $P_0(t)+P_1(t)=1$
How would I solve these differential equations? Thanks so much for the help!
P'_0(t) = \alpha P_1(t) - \beta P_0(t) P'_1(t) = \beta P_0(t) - \alpha P_1(t)
We also know $P_0(t)+P_1(t)=1$
Note that from the equation you have P'_0(t) = \alpha P_1(t) - \beta P_0(t) = -P'_1(t) which gives us P'_0(t) + P'_1(t) = 0 which gives us $P_0(t) + P_1(t) = c$. We are given that $c=1$. Use this now to eliminate one in terms of the other.
For instance, $P_1(t) = 1-P_0(t)$ and hence we get, P'_0(t) = \alpha (1-P_0(t)) - \beta P_0(t) \Rightarrow P'_0(t) = \alpha - (\alpha + \beta)P_0(t)
Let Y_0(t) = e^{(\alpha + \beta)t}P_0(t) \Rightarrow Y'_0(t) = e^{(\alpha + \beta)t} \left[P'_0(t) + (\alpha + \beta) P_0(t) \right] = \alpha e^{(\alpha + \beta)t}
Hence, $Y_0(t) = \frac{\alpha}{\alpha + \beta}e^{(\alpha + \beta)t} + k$ i.e. $P_0(t) = \frac{\alpha}{\alpha + \beta} + k e^{-(\alpha+\beta)t}$ $P_1(t) = 1 - P_0(t) = \frac{\beta}{\alpha + \beta} - k e^{-(\alpha+\beta)t}$
Use $P_0(t)+P_1(t)=1$ to turn it into P_0'(t)=\alpha-(\alpha+\beta)P_0(t), which you should be able to solve.
There is a general method to solve such equations, if we view them as a linear system of equation
y'(x) = A y(x)
When $A$ is a matrix with constants, the solution can be written in terms of the exponent matrix $e^{Ax}$.
More details can be found here.