Introduction to integrable systems IV