Consider the hyperplane used in discrimination. (a) Show that the distance from the hyperplane g(x) = wtx + w0 = 0 to the point xa is |g(xa)|/||w|| by minimizing ||x-xa||2 subject to the constraint g(x) = 0. (b) Show that the projection of xa onto the hyperplane is given by x p = x a - g (x a ) w || w || 2