notes for lecture 9 590628