lecture notes chapter 18 4061436