notes from lecture 5 pages 2004578