I was having math class (10th grade) and we were learning about exponential equations, pretty easy, but then i wondered about some mixed equations, like $3^x+x^3=0$.
I couldn't solve it, so I looked up the answer in wolfram alpha, and it turned out to be $-\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}$ (where W(x) is the lambert W function, defined as $W(x)=y\space\space\Rightarrow\space\space ye^y=x$). Since the answer looked pretty weird I just wanted to prove that it was correct myself (for curiosity), and the "proof" was like this: (jump to the last paragraph if you're not interested lol)
$3^{-\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}}+\left(-\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}\right)^3=0$
$\frac{1}{3^{\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}}}=-\left(-\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}\right)^3$
$\sqrt[3]{\frac{1}{3^{\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}}}}=\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}$
$\frac{1}{3^{\frac{W\left(\frac{ln(3)}{3}\right)}{ln(3)}}}=\frac{3W\left(\frac{ln(3)}{3}\right)}{ln(3)}$
$3^{\frac{W\left(\frac{ln(3)}{3}\right)}{ln(3)}}=\frac{ln(3)}{3W\left(\frac{ln(3)}{3}\right)}$
$3^{\frac{W\left(\frac{ln(3)}{3}\right)}{ln(3)}}=\frac{\frac{ln(3)}{3}}{W\left(\frac{ln(3)}{3}\right)}$
and from the very definition of the lambert W function, we can conclude that, $\frac{x}{W(x)}$ can be simplified down to $e^{W(x)}$, leading to:
$3^{\frac{W\left(\frac{ln(3)}{3}\right)}{ln(3)}}=e^{W\left(\frac{ln(3)}{3}\right)}$
which can be, finally, simplified down to $e^{W\left(\frac{ln(3)}{3}\right)}=e^{W\left(\frac{ln(3)}{3}\right)}$ (even though the lambert W function can have some inconsistencies at negative values, we can ignore that since $\frac{ln(3)}{3}$ is positive)
this proof can also be quite easily extended to any equation in the form $a^x+x^b=0$, where $a$ is real and $b$ is an even integer
But my question really is, how could one find the exact solution of this equation from scratch? Can this method be extended for other non-trivial equations like this? (e.g. $2^x-x^x+x^5=0$, to which not even wolfram alpha can determine the exact solution)
sqrt,exp,log,sin,cos, etc. are also numerical methods. – Dan Aug 31 '22 at 19:12