In this course we study measurable dynamical systems and especially their long term behavior. This concept has initially emerged in statistical physics but by now is connected with other areas such as combinatorics, number theory and geometry. The first part…