One of my friends ask me how to solve this equation analytically $3^x=9x$. Looking at it I guess 3 is the answer and I also plot a graph of line $9x$ and the curve $3^x$, they intersect at 3.
But, what I want is to give an analytical solution of the equation. I started
$3^x=9x$
$3^{x-2}=x$
$(x-2)\ln3=\ln x$
How can I continue?
$$3^x=9x \Rightarrow 1 =\frac {9x}{3^x} \Rightarrow 1= 9x \cdot e ^{-x\ln 3}\Rightarrow \frac{1}{9}=x \cdot e ^{-x\ln 3} \Rightarrow$$
$$\Rightarrow \frac{-\ln 3}{9}=(-x \ln 3)\cdot e^{-x\ln 3}\Rightarrow W\left(\frac{-\ln 3}{9}\right)=-x \ln 3\Rightarrow$$
$$x= \frac{-W\left(\frac{-\ln 3}{9}\right)}{\ln 3}$$
where W is Lambert W function .