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.
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,, +