(a) Let f : (-inf,0) U (0,inf) -> R be defined by f(x) = x + 1/x. Show that f has no inverse function.
(b) Let g : (0,inf) -> R be defined by g(x) = 1/x. Show that g has an inverse function.