Complete lecture note of section 6