see Lecture  Notes Attached