notes from lecture 5 pages 9004506