How to expand and compute log(a + b)?

MathLogarithm

Math Problem Overview


I would like to know the complete expansion of log(a + b).

For example

log(a * b) = log(a) + log(b);
log(a / b) = log(a) - log(b);

Similar to this, is there any expansion for log(a + b)?

Math Solutions


Solution 1 - Math

In general, one doesn't expand out log(a + b); you just deal with it as is. That said, there are occasionally circumstances where it makes sense to use the following identity:

log(a + b) = log(a * (1 + b/a)) = log a + log(1 + b/a)

(In fact, this identity is often used when implementing log in math libraries).

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAditya SinghView Question on Stackoverflow
Solution 1 - MathStephen CanonView Answer on Stackoverflow