4.4 and 4.5 lecture notes