notes from lecture 9 pages 5509516