notes from lecture 7 pages 5417443