lecture notes chapter 4 5268662