The rules for logarithms are given below:
- logx (YZ) = logx Y + logx Z
- logx ($\frac{Y}{Z}$) = logx Y - logx Z
- logx Ym = m logx Y
These laws can be explained by some examples:
Example 1:
log2 (8 * 4)
= log2 8 + log2 4 [using the 1st law]
= log2 23 + log2 22
= 3log2 2 + 2log2 2 [using the 3rd law]
= 3 + 2
= 5
Example 2:
log2 ($\frac{8}{4}$)
= log2 8 - log2 4 [using the 2nd law]
= log2 23 - log2 22
= 3log2 2 - 2log2 2 [using the 3rd law]
= 3 - 2
= 1
