$2^x=4x$
I cant seem to solve this equation. The furthest I have been able to come is $x-\log_2(x)=2$, but I can't figure how to solve. When I graph $2^x$ and $4x$ they intersect at $x=4$ and $x=0.31$, so I know it is possible to solve.
$2^x=4x$
I cant seem to solve this equation. The furthest I have been able to come is $x-\log_2(x)=2$, but I can't figure how to solve. When I graph $2^x$ and $4x$ they intersect at $x=4$ and $x=0.31$, so I know it is possible to solve.
The equation has indeed the easy integer solution $x=4$ which can be found by inspection. Graphing reveals a second solution (and it is possible to formally prove that there are no other real roots).
If you heard of the Taylor development, as the second root is not that large, you can develop $e^{x\ln2}$ to the second order and solve
$$1+x\ln2 +\frac{(x\ln2)^2}2=4x.$$
The smallest solution of this quadratic is $x=0.30935\cdots$, which is close the searched answer.
Even better, you can use the known approximation $0.31$ and write
$$e^{(0.31+y)\ln 2}=e^{0.31\ln 2}e^{y\ln 2}=4(0.31+y).$$
Solving as above,
$$y=-9.3067447651\cdots\,\cdot10^{-5}$$ and $$x=0.3099069323807\cdots,$$ where all decimals are exact !
Classic problem:
$$ x = -\frac{W\left(-\frac{\log (2)}{4}\right)}{\log (2)}, {\rm or}\ -\frac{W_{-1}\left(-\frac{\log (2)}{4}\right)}{\log (2)}$$
where $W$ is the ProductLog function.
Numerical evaluation of these analytic solutions: $.309907$ and $4$.