So I was trying to solve the following equation. I'm fairly good at mathematics so the fact that I have no idea what to do in order to solve this question kind of annoys me. I thought I'd see if anyone here can solve it.
(note) I'm looking for an exact answer.
$2^x \textrm{ln}(2)+3^x \textrm{ln}(3)-\textrm{ln}(324)=0$
In the most general case, equations of the form $$f(x)=a_1\times b_1^x+a_2\times b_2^x+c=0$$ do not show explicit solutions and only numerical methods can be used.
The simplest root finding method is probably Newton which, starting with a "reasonable" guess $x_0$ will update it according to $$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)}$$ Let us consider the function $$f(x)=2^x \log(2)+3^x \log(3)-\log(324)$$ $$f'(x)=2^x \log ^2(2)+3^x \log ^2(3)$$ Looking at the graph of the function, there is a root close to $x=1$. So, let us start Newton procedure using $x_0=1$; the successive iterates will then be $1.239779907$, $1.214920613$, $1.214600154$, $1.214600102$ which is the solution for ten significant digits.
We could do better consider a transform which will make the function more linear (then better conditioned for the root-finding procedure). What I propose (plot the new function to see why) is to use $$g(x)=\log\Big(2^x \log(2)+3^x \log(3)\Big)-\log\Big(\log(324)\Big)$$ the graph of which being almost a straight line. The derivative is $$g'(x)=\frac{2^x \log ^2(2)+3^x \log ^2(3)}{2^x \log (2)+3^x \log (3)}$$
Starting again Newton with $x_0=1$, the successive iterates will now be $1.215396717$, $1.214600113$, $1.214600102$.
Ten significant digits in three iterations does not seem too bad (at least to me).