hexor's blog

By hexor, 11 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

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

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

»
11 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

  • »
    »
    11 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?

    • »
      »
      »
      11 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.