8
$\begingroup$

This equation clearly cannot be solved using logarithms.

$$3 + x = 2 (1.01^x)$$

Now it can be solved using a graphing calculator or a computer and the answer is $x = -1.0202$ and $x=568.2993$.

But is there any way to solve it algebraically/algorithmically?

$\endgroup$
  • 2
    $\begingroup$ I'm not sure why this question was downvoted. It seems like a legitimate question to me. $\endgroup$ – EuYu Oct 20 '12 at 5:32
  • $\begingroup$ Are you familiar with the Lambert-W Function (mathworld.wolfram.com/LambertW-Function.html), hence see: wolframalpha.com/input/… $\endgroup$ – Amzoti Oct 20 '12 at 5:37
  • $\begingroup$ (I didn't downvote) maybe because there are similar problems already on here? I swear I've seen a few, but I just searched & turned up nothing, so I can't blame you for not finding one! Similar one: math.stackexchange.com/questions/61774/… $\endgroup$ – user18862 Oct 20 '12 at 5:39
13
$\begingroup$

I have solved a question similar to this before. In general, you can have a solution of the equation

$$ a^x=bx+c $$

in terms of the Lambert W-function

$$ -\frac{1}{\ln(a)}W_k \left( -\frac{1}{b}\ln(a) {{\rm e}^{-{\frac {c\ln(a) }{b}}}} \right)-{\frac {c}{b}} \,.$$

Substituting $ a=1.01 \,,b=\frac{1}{2}\,,c=\frac{3}{2}$ and considering the values $k=0$ and $k=-1$, we get the zeroes $$x_1= -1.020199952\,, x_2=568.2993002 \,. $$

$\endgroup$
  • 1
    $\begingroup$ Why is this answer not marked as solution? The question is definitely answered by this answer. $\endgroup$ – pisoir Jan 23 '14 at 17:33
  • $\begingroup$ @pisoir: Thanks for the comment. I really appreciate it. $\endgroup$ – Mhenni Benghorbal Jan 24 '14 at 2:14
4
$\begingroup$

Polynomials don't play nice with exponentials, so no. If you work hard, you might find an answer in terms of the Lambert W function, but if I did I wouldn't feel much more enlightened.

$\endgroup$
  • 4
    $\begingroup$ (+1) on the frustration of finding out that the solution of your problem is a Lambert solution :P $\endgroup$ – Pragabhava Oct 20 '12 at 5:44
1
$\begingroup$

A standard root finding procedure (such as Newton's method) should solve the problem for you. You might also be interested in the Lambert W function, which will give you a "closed form" solution, assuming you have access to that function of course.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.