# reverse a logarithm

I have some data which produces the following logarithmic curve. As you can see, the curve produces the exact opposite of what Im trying to achieve (my data is the line with dots, the logarithm is the light blue line). Do I need to turn it into an exponential? Do I need to find the antilog of this equation and if so any ideas on how I might go about this? Is there a way of reversing a logarithm?

Logarithm Regression y = α * ln(x) + β

α: 8.10790887182717 β: -16.816261044713226

• It appears to be an exponential. Apr 15, 2014 at 7:29
• Yes, ive tried to do logarithmic regression on it and exponential regression, but the logarithmic one seems to fit the curve much better. I was thinking to use the logarithmic one and then reverse it. However, do you think it's best that I work on getting a better exponential fit?
– Ke.
Apr 15, 2014 at 7:31
• Have you tried $y=A B^x+C$? Apr 15, 2014 at 7:34
• It cannot be a logarithm regression. For $x=0$, you have $y=0$. As said by Martín-Blas Pérez Pinilla, the curve looks more like an exponential. Consider something such as $y=-1+a e^{bx}$. You could check if this is stupid plotting $\log(y+1)$ as a function of $x$. If this looks as a straight line, continue. Apr 15, 2014 at 7:34

What you want, what in fact is the "inverse of the logarithm", is an exponential function $$y = P \cdot Q^x$$ for constants $P,Q$. However, you may also need to adjust it in the y-direction (it's hard to read the exact coordinates of your data), so if the above fails try to adapt a curve for $$y = P \cdot Q^x + R$$ for constants $P,Q,R$.