So I can get the indefinite integral to [Ln1-p(x)]/(1-p) which is correct according to wolfram alpha and symbolab. I understand the limit of integration substitution stuff so you'd end up with limb->infinity [Ln1-p(x)]/(1-p)|be^2 but both my book and wolfram alpha say that for the definite integral, the answer is 1/[(p-1)(2p-1)]. Given that Ln(infinity)=infinity / is undefined, why does the integral not diverge?