lecture notes chapter 5 9629393