We should see that the bases are mismatched:
64=22⋅3
127=3−3
So, we should apply this property of logs to change the bases:
logax=logb(x)logb(a)
Where a is the original base and b is the new base.
We need to change log3x to log2x and vice versa. So:
log3(64)=log2(64)log2(3)
log2(127)=log3(127)log3(2)
log3(64)⋅log2(127)=log2(64)log2(3)⋅log3(127)log3(2)
Since loga(b)⋅logb(a)=1
=6⋅−31
=−18
Proving some things:
Let's prove that logax=logb(x)logb(a)
Let's start with ay=x
Take logb of both sides, where b is the target base:
logb(ay)=logb(x)
ylogb(a)=logb(x)
y=logb(x)logb(a)
We know that in ay=x, y=loga(x) therefore:
loga(x)=logb(x)logb(a)
Q.E.D.
Let's prove that loga(b)⋅logb(a)=1
Let ax=b,by=a prove xy=1 so y=1x
Therefore with ax=b prove b1x=a
Rewrite with logs:
loga(b)=x and prove logb(a)=1x
change base from b to a:
logb(a)=loga(a)loga(b)=1loga(b)
Since we know that loga(b)=x
logb(a)=1x
Q.E.D.