notes from lecture 6 pages 4680542