In mathematics, addition and subtraction logarithms or Gaussian logarithms can be utilized to find the logarithms of the sum and difference of a pair of values whose logarithms are known, without knowing the values themselves.
Their mathematical foundations trace back to Zecchini Leonelli and Carl Friedrich Gauss in the early 1800s.
The operations of addition and subtraction can be calculated by the formula:
logb(|X|+|Y|)=x+sb(y-x),
logb(||X|-|Y||)=x+db(y-x),
where
x=logb|X|
y=logb|Y|
sb(z)=logb(1+bz)
db(z)=logb|1-bz|
sb(z)
db(z)
For natural logarithms with
b=e
se(z)=ln2+
z | |
2 |
+ln\left(\cosh
z | |
2 |
\right)
de(z)=ln2+
z | |
2 |
+ln\left|\sinh
z | |
2 |
\right|
se
The simplification of multiplication, division, roots, and powers is counterbalanced by the cost of evaluating these functions for addition and subtraction.