Derivation on whiteboard
•This is all taken from Duda, Hart and Stork Pattern Classification pp. 114-117.  Excerpt in library.