I am looking for how to isolate x, or basically find the inverse function of $f(x)=a^x+x$. I don't have much experience with these types of equations, nor with non-elementary functions which may be necessary for this. I tried moving x over to the other side and taking a log, but that doesn't seem to bring me any closer to a solution.
Asked
Active
Viewed 461 times
-1
-
You have $1$ equation with $2$ unknowns, what kind of solution are you hoping for? Or have you missed out some information? – mrnovice Apr 27 '17 at 23:25
-
1I think that, we have to find $x$ in terms of $y$. – scarface Apr 27 '17 at 23:26
-
1OR , he accidentally wrote $f(x)$ as $y$ and he was supposed to find solutions of $f(x)=2^x+x$ i.e. standard roots? – The Dead Legend Apr 27 '17 at 23:28
-
1Rather, find $f^{-1}(y)$. @TheDeadLegend – Thomas Andrews Apr 27 '17 at 23:29
-
I changed the question slightly to make it more clear and general – volcanrb Apr 27 '17 at 23:31
-
2volcanrb "Feel free to use" the question field, into which you can edit your question to make more clear, as well as to include your own efforts. – amWhy Apr 27 '17 at 23:31
-
And volcanrb, please "demonstrate step-by-step" what you yourself attempted. – amWhy Apr 28 '17 at 02:14
2 Answers
1
Given $y$ you want $$(y-x)a^{y-x}=a^y$$
Letting $u=(y-x)\log a$ you get:
$$ue^u=a^y\log a$$
So $u=W(a^y\log a)$ and $$y-x=\frac{W(a^y\log a)}{\log a}$$
Or $$x=y-\frac{W(a^y\log a)}{\log a}$$
Here, $W$ is Lambert's W-function.
Thomas Andrews
- 177,126
-
1I would provide the definition for Lambert's W-function in this answer out of personal preference, $x=W(x)e^{W(x)}$. – AlgorithmsX Apr 28 '17 at 01:31
1
$$y=a^x+x$$
Assuming $a>0$:
$$-x+y=e^{x \ln a}$$
Let $u=-x+y$ so that $x=-u+y$ and we get,
$$u=e^{(y-u) \ln a}=\frac{a^y}{e^{ u\ln a}}$$
So we have,
$$ue^{u \ln a}=a^y$$
$$u \ln a e^{u \ln a}= a^y\ln a$$
Now we utilize the lambert $W$ function which is defined by $W(x)e^{W(x)}=x$.
$$u \ln a=W(a^y \ln a)$$
$$u=\frac{W(a^y \ln a)}{\ln a}$$
$$x=y-\frac{W(a^y \ln a)}{\ln a}$$
Ahmed S. Attaalla
- 18,518
-
1I would provide the definition for Lambert's W-function in this answer out of personal preference, $x=W(x)e^{W(x)}$ and mention that $W(x)$ is Lambert's W-function. – AlgorithmsX Apr 28 '17 at 01:31