Mathematical models of life cycle evolution