d = \beta - \beta\ln d + \beta\ln (\alpha(e^{-p_1} + e^{-p_2}))