Hi,

I don't remember how can I solve it for example: x=1,5^x

Help me please,

The Riddler

Results 1 to 9 of 9

- Apr 4th 2011, 12:16 AM #1

- Joined
- Apr 2011
- Posts
- 3

- Apr 4th 2011, 12:24 AM #2

- Apr 4th 2011, 12:39 AM #3
This equation doesn't have a real solution because $\displaystyle (1.5)^x > x\ ,\ x \in \mathbb{R}$

I've checked at which x-value the function $\displaystyle f(x)=(1.5)^x$ has the slope 1. I got the point

$\displaystyle P\left(\dfrac{\ln\left( \frac1{\ln(1.5)} \right)}{\ln(1.5)}~,~\dfrac1{\ln(1.5)} \right)$

and this point lies above the line y = x.

- Apr 4th 2011, 03:03 AM #4

- Joined
- Apr 2005
- Posts
- 19,718
- Thanks
- 3003

I will admit that I would have interpreted the question as "if x= 1, what is $\displaystyle 5^x$", but solving the equation $\displaystyle x= 1.5^x$ is much more interesting.

Of course, $\displaystyle 1.5^x= e^{ln(1.5^x)= e^{xln(1.5)}$ so $\displaystyle x= 1.5^x$ is the same as $\displaystyle x= e^{xln(1.5)}$ and that is the same as $\displaystyle xe^{x(-ln(1.5))}= 1$. Let y -ln(1.5)x so that $\displaystyle x= \frac{y}{-ln(1.5)}$ and the equation becomes $\displaystyle \frac{y}{-ln(1.5)}e^y= 1$ or $\displaystyle ye^y}= -ln(1.5)$.

Now, we have y= W(-ln(1.5)) where W is "Lambert's W function", the inverse function to [itex]f(x)= xe^x[/itex].

Finally, then $\displaystyle x= \frac{y}{-ln(1.5)}= \frac{W(-ln(1.5))}{-ln(1.5)}$.

Of course, as earboth says, x is not a real number because the domain of the real valued W function, while it includes some negative numbers, does not include any that negative.

- Apr 4th 2011, 04:19 AM #5

- Joined
- Apr 2011
- Posts
- 3

- Apr 4th 2011, 05:16 AM #6

- Apr 4th 2011, 05:54 AM #7

- Apr 4th 2011, 09:13 AM #8
Of course, you could use any number of methods of approximation. I tried the risky approach of blind iteration, using the following steps (having drawn the graphs first for a rough idea of the roots, obviously):

$\displaystyle x_{n+1}=1.15^{x_n}$

Starting at $\displaystyle x_1=20$

$\displaystyle x_2=1.15^{20}=16.36$

$\displaystyle x_3=1.15^{16.36}=9.85$

$\displaystyle x_4=1.15^{9.85}=3.96$

....

We get the $\displaystyle x\approx~1.18$ solution at approximately the 9th iteration. However I was trying to get the other solution! You could try a slightly better approach, such as interval bisection, Newton-Raphson or linear interpolation or something, but then you probably know all this already.

- Apr 5th 2011, 04:47 AM #9

- Joined
- Apr 2011
- Posts
- 3

I wrote a program yesterday, which has solved my problem.

You can download it here: http://strategist.fw.hu/program.rar