Binary logarithm: Difference between revisions
Jump to navigation
Jump to search
m FloraC moved page Log2 to Binary logarithm: Follow Wikipedia |
Rework |
||
| Line 1: | Line 1: | ||
{{Wikipedia | {{Wikipedia}} | ||
The | The '''binary logarithm''', also called '''dual logarithm''' or '''logarithm base two''' (symbols: '''log<sub>2</sub>''', '''lb''', or '''ld''') of a value ''n'' is the power to which 2 is raised to obtain ''n''. It is part of the conversion formula for [[frequency ratio]] to interval size in [[cent]]s. | ||
== | You can calculate the binary logarithm of ''n'' using the identity: | ||
$$ \log_2(n) = \ln(n) / \ln(2) $$ | |||
== Binary logarithms of the first primes == | |||
{| class="wikitable center-all" | {| class="wikitable center-all" | ||
|- | |- | ||
! | ! ''p'' | ||
! | ! log<sub>2</sub>''p'' | ||
|- | |- | ||
| 2 | | 2 | ||
| Line 39: | Line 43: | ||
|} | |} | ||
[[Category:Elementary math]] | [[Category:Elementary math]] | ||
[[Category:Terms]] | [[Category:Terms]] | ||
Revision as of 12:51, 18 March 2026
The binary logarithm, also called dual logarithm or logarithm base two (symbols: log2, lb, or ld) of a value n is the power to which 2 is raised to obtain n. It is part of the conversion formula for frequency ratio to interval size in cents.
You can calculate the binary logarithm of n using the identity:
$$ \log_2(n) = \ln(n) / \ln(2) $$
Binary logarithms of the first primes
| p | log2p |
|---|---|
| 2 | 1.000000000 |
| 3 | 1.584962501 |
| 5 | 2.321928095 |
| 7 | 2.807354922 |
| 11 | 3.459431619 |
| 13 | 3.700439718 |
| 17 | 4.087462841 |
| 19 | 4.247927513 |
| 23 | 4.523561956 |
| 29 | 4.857980995 |
