Apr 18, Post Your Answer Discard By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. Do you already have an account? Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope.

In the context of Bayesian inference, transforming the posterior probability to log space requires that you take log of denominator which is an integral or an approximation via summation. However, this summation must be turned into log space, since its calculation is the reason we're moving to log space in the first place. There is a common method called log-sum-exp trick. Google this, and you'll see where an how it is used. Not the exact same thing, but relevant enough: Scipy provides a scipy.

That said, there are occasionally circumstances where it makes sense to use the following identity: DonAntonio k 14 87 Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Post Your Answer Discard By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. Mathematics Stack Exchange works best with JavaScript enabled.

CRGreathouse , Nov 13, Nov 13, 7. Last edited by a moderator: Nov 13, 8. Oo thats clever, nice one: FunkyDwarf , Nov 13, Nov 14, 9. Apr 18, Simple , Apr 18, May 13, I studied this question in my vocation and I concludes this not possible. There is no operation Mathematics simple that can solves that question.

Log rules can be used to simplify (or, more correctly, to "condense") expressions, to "expand" expressions, or to solve for values. We'll start with expansion. Expand log 3 (2x). The property that log (a*b) = log a + log b is only useful because it transforms a multiplication operation into an addition operation. log (a+b) already involves only an addition, so it makes no sense to have any further expansion. Note that log b (a) + log b (c) = log b (ac), where a, b, and c are arbitrary constants. Suppose that one wants to approximate the 44th Mersenne prime, 2 32,, −1. To get the base logarithm, we would multiply 32,, by log 10 (2), getting 9,, = 9,, +