A study of population dynamics