lecture 9.pdf