Studying discrete dynamical systems through differential equations