Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is the logarithm function injective (or, one-to-one)?

In other words, does $\log_2(x) = \log_2(y) \implies x = y$?

I.e., as $x$ and $y$ are in the same log base, can I just drop the logs?


share|cite|improve this question
You asked a question of which this is clearly a special case in February. Is there something that wasn't cleared up by the answers there? – Jonas Meyer May 22 '11 at 19:05
up vote 2 down vote accepted

What does it mean for a number $a$ to be equal to $\log_2(x)$? It means that $2^a=x$.

Can you use this to answer the question?

share|cite|improve this answer
Ah yes thank you, so $2^a = x = y$ hence $x = y$ correct? – Danny King May 22 '11 at 14:31
More like $2^a = 2^b$ and thus $2^{a-b} = 1$. – M.B. May 22 '11 at 14:33
More like $a=b$ and thus $2^a=2^b$. – GEdgar May 22 '11 at 19:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.