Niaboc67 said:
So how are they different and similar and why are they interchangeable?
Hello and Welcome!
I would like to motivate the nature of the logarithm so that you can understand why such a device is even created.
Suppose I told you that a number square is 25. Is it not fair to ask the question what is that number (whose square is 25)? And should not, much like there exists the act of squaring, an act of doing a reverse mechanism to undo the effects of squaring? It is this which in general is called an inverse operator, that which by design undoes the effects of its sibling.
In that same light, the logarithm undoes the effect of the exponential Suppose you raised 5 to some number to get 25. Note that the number to be determined appears in the exponent slot and not in the base! Before it was what number square gives you 25, here it is what exponent attached to 5 gives you 25. In language we say, log base 5 of 25 = 2 (eg, the power needed to raise 5 by to achieve 25 is 2).
This is called the logarithm. By design it is an inverse to exponentiating. If you were to square the square root you would have gotten back to the original value. Or even if you square root the square they would have cancelling actions.
(sqrt(x))^2=sqrt (x^2)=x
In here if you exponentiate the logarithm or "logarathimitiate" the exponential you will get the value you started with.
x^log(x)= log(b^x)= x
You would agree that these two things are equivalent:
x^2=y and y= sqrt(x).
One tells you that if you have knowledge on x, how to compute y while the other tells you should you have y, how to compute x.
Analogously consider these two things to be equivalent:
log(x)=y and x=b^y
If we know x, than y is just a log away. If y is known, than a simple exponential returns us to x.
The choice of which equivalent relation to use depends on the quality of our ignorance.