Integrating g'f(g)