hexor's blog

By hexor, 10 years ago, In English

if we know log(a) and log(b) how we can find log(a+b) approximately to real value?

  • Vote: I like it
  • +8
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it +16 Vote: I do not like it

log(exp(log(a))+exp(log(b)))

»
10 years ago, # |
  Vote: I like it +14 Vote: I do not like it

If a and b are close numbers, you can approximate using the following formula:

.

For example, if a = b, then

  • »
    »
    10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    why and need to be close for this formula to work?
    isn't (in addition to , ofcourse) sufficient?

    • »
      »
      »
      10 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      This formula works OK, but if is some small number, you can remember its logarithm and thus approximate without calculator or paper — that was the point.