notes from lecture 7 pages 9729772