notes from lecture 31 pages 3499741