1. ## x^2=2^x

$\displaystyle x^2=2^x$

from observation 2 answers of this are $\displaystyle 2$ and $\displaystyle 4$ but $\displaystyle x=-0.0767$is the one which not sure how got.

if I take the log of each side $\displaystyle 2log(x)=xlog(2)$ but don't see what you can do with this? thnx ahead for help

2. ## Re: x^2=2^x

It's very hard to solve, 2 is indeed a solution by observation but I think the best way to determine the other solutions is by using the graph of the 2 functions.

3. ## Re: x^2=2^x

Originally Posted by bigwave
$\displaystyle x^2=2^x$

from observation 2 answers of this are $\displaystyle 2$ and $\displaystyle 4$ but $\displaystyle x=-0.0767$is the one which not sure how got.

if I take the log of each side $\displaystyle 2log(x)=xlog(2)$ but don't see what you can do with this? thnx ahead for help
You need to use Newton's method or a computer program (like MATLAB).

4. ## Re: x^2=2^x

I did use Wolfram|Alpha but they used the product log function? which I have never used. apparently one can only graph and estimate. or close in like Newton.

5. ## Re: x^2=2^x

I remember trying to prove as a first-year student that the equation $\displaystyle a^x=x^a,$ where $\displaystyle a$ is a positive real number, has exactly two positive real solutions whenever $\displaystyle a\neq e$. I don't remember solving it so I must have failed.

6. ## Re: x^2=2^x

Originally Posted by bigwave
$\displaystyle x^2=2^x$

from observation 2 answers of this are $\displaystyle 2$ and $\displaystyle 4$ but $\displaystyle x=-0.0767$is the one which not sure how got.

if I take the log of each side $\displaystyle 2log(x)=xlog(2)$ but don't see what you can do with this? thnx ahead for help
In general, this kind of equation is solved thanks to numerical computation.
In case of x²=2^x the roots are :
x = 2 (obvious)
x = -0.766664695962123..
In the general case, the roots cannot be expressed in form of a combination of a finit number of elementary functions. Analytically, the solutions are expressed thanks to a special function, the Lambert function W(X)
x = -2 W(X)/ln(2) where X= -ln(2)/2
Since the Lambert function is multi-valuated two values are obtained for x.

More generally the roots of equation a(x^b)=c^x, with a,b,c constant parameters, are :
x = -b W(X)/ln(c) where X = - ln(c) / (b (a^(1/b)))
Depending on the values of the parameters, there are two, or one, or no solution(s).

7. ## Re: x^2=2^x

well for whatever it is worth here is a graph of$\displaystyle x^2=2^x$

8. ## Re: x^2=2^x

Deciding where to start looking can be a bit of a trick. In this case, reasonable results can be obtained by a quick linearization or maybe a quadratic, since x^2 is quadratic already.

$\displaystyle x^{2} = 1 + x\cdot log(2)$ Produces x = 1.405 and x = -0.712

If we move up to the quadratic...

$\displaystyle x^{2} = 1 + x\cdot log(2) + \frac{1}{2}\cdot\left(x\cdot log(2)\right)^{2}$

We get x = 1.691 and x = -0.778

Moving up to the cubic is a WHOLE LOT MORE WORK, but does manage an approximation of all three solutions,

x = 1.871, x = -0.765, and x = 12.582

That third one isn't pretty, but it could lead to something.