solve log(x)+log(1/x)