lecture notes chapter 7 sections 4 and 5 8311361