1
$\begingroup$

This could be a basic question. But I would like to know steps I should follow to calculate $\log_2\, 0.667$.

EDIT

In an answer I found it says $(0.038 \log_2 0.038) = -0.181$. How this calculation works?

Is it $0.038 \log(0.038) / \log 2$ ?

  • 0
    Are you really trying to compute $\log_2(0.667)$ for *exactly* $0.667$, or are you trying to compute $\log_2(2/3)$? Because the latter is equal to $1-\log_2(3)$.2012-03-05

2 Answers 2

5

For a rough approximation notice that

$0.667 \approx 2/3$

so $\log_2\left( 2/3\right) = \log_2\left( 2\right) - \log_2\left( 3\right) = 1 - \log_2\left( 3\right)$

From here one can use a change of bases. Like in the answers above

$ \log 0.667 \approx 1 - \frac{\ln 3}{\ln 2}$

(For the wise kids we know that $\ln 2 \approx 0.69$ and $\ln 3 \approx 1.1$ so )

$ \log 0.667 \approx 1 - \frac{\ln 3}{\ln 2} \approx 1 - \frac{1.1}{0.69} = -\frac{41}{69} \approx -0.59 $

Which is quite a good approximation

1

That

$\log_a(x) = y$

means by definition that

$a^y = x$

So to find $\log_2(0.667)$ you would (using the definition) need to solve the equation $2^y = 0.667$. We can solve that equation by "taking" $\log = \log_{10}$ on both sides, so we get

$\log(2^y) = \log(0.667) \Rightarrow$

$y\log(2) = \log(0.667) \Rightarrow$

$\log_2(0.667) = y = \frac{\log(0.667)}{\log(2)}$

To evaluate this expression you would need a calculator. Note you could also use the natural logarithm ($\ln = \log_{e}$, $e = 2.718281...$) and get

$\log_2(0.667) = \frac{\ln(0.667)}{\ln(2)}$