I was solving a problem regarding equation of the straight line. The question is to find the best value of $a$ and $b$ if
$$ y = ae^{bx}. $$
What I tried?
I multiplied LHS and RHS with $\log$ in order to separate $a$ and $b$ and as a result I got the below equation.
$$ \log(y) = \log(a) + \log(e^{bx}).$$
But I am stuck.
how should I proceed to convert this equation to $y=mx+c$ format. Any help and guidance is much appreciated. Thanks.
\begin{align} y &= ae^{bx}\\ \implies \ln(y) &=\ln(ae^{bx})\\ \implies \ln(y) &=\ln(a) + \ln(e^{bx})\\ \implies \ln(y) &= \ln(a) + bx\\ \implies \color{green}{\ln(y)} &= \color{blue}{b}x + \color{red}{\ln(a)}\\ \implies \color{green}{Y} &= \color{blue}mx + \color{red}{C} \end{align}