I recently have been trying to model 2 step nuclear decay. I said that X decays into Y with a rate constant kx. And Y decays into Z with rate constant kx. I then set up the differential equation dy/dt=kxx-kyY. I then substituted in X=X0e-kxt for X in the differential equation. The result when I solve the equation however has the term (ky-kx) in the demominator of a fraction which makes no sense to me because because what if they are equal? And what if kx is greater than ky? There shouldnt be a negative amount of Y. Once i find a place to host my work as a picture I can post that. Anyways if anyone knows of a correct equation to model this or could confirm or reject my original differential equation it would be appreciated. Thanks.