Notes on lecture week 4.pdf