Population Dynamics: Algebraic and Probabilistic Approach