Why is 2^(log base 2 of x) equal to x?

ixbo100

New member
Joined
Apr 29, 2017
Messages
1
I'm getting a refresher on logs for my CS class. We're working with log base 2.

I'm having trouble figuring out why 2 ^ (log base 2 of x) = x

Appreciate your help, thank you!
 
Couple ways to go about it.

Write it in logarithmic form using this equivalence logb(a)=c    bc=a\displaystyle log_{b}(a) = c \iff b^{c} = a

2log2(x)=x    log2(x)=log2(x)\displaystyle 2^{log_{2}(x)} = x \iff log_{2}(x) = log_{2}(x)

Introduce a logarithm using this ides, If  ab=c  then  log(ab)=log(c)  \displaystyle If\;a^{b} = c\;then\;log\left(a^{b}\right) = log(c)\;

If  2log2(x)=x  then  log2(2log2(x))=log2(x)\displaystyle If \;2^{log_{2}(x)} = x \; then \; log_{2}\left(2^{log_{2}(x)}\right) = log_{2}(x)

There may be other useful demonstrations.
 
Last edited:
This is very much in the spirit of the other two answers.

Let z=2log2(x)    log2(z)=log2(2log2(x))    \displaystyle \text {Let } z = 2^{log_2(x)} \implies log_2(z) = log_2 \left ( 2^{log_2(x)} \right ) \implies

log2(z)=log2(x)log2(2)=log2(x)1=log2(x)    \displaystyle log_2(z) = log_2(x) * log_2(2) = log_2(x) * 1 = log_2(x) \implies

z=x    2log2(x)=x.\displaystyle z = x \implies 2^{log_2(x)} = x.
 
The real question is what definitions of "exponentials" and "logarithms" are you using?
 
Top