Exponential Function - Solve $e^x+x=1 - Math Stack Exchange
Có thể bạn quan tâm
-
- Home
- Questions
- Tags
- Users
- Unanswered
- Teams
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Try Teams for free Explore Teams - Teams
-
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams Solve $e^x+x=1$ Ask Question Asked 12 years, 3 months ago Modified 6 years, 8 months ago Viewed 68k times 18 $\begingroup$This seems to have stumped even my TA, so I'm asking it here.
Given $e^x + x = 1$, solve for $x$.
I already know that the answer is zero, but have no idea how to get there.
Share Cite Follow edited Sep 28, 2012 at 19:54 Vincenzo Tibullo 11.2k2 gold badges25 silver badges38 bronze badges asked Sep 28, 2012 at 18:37 YellPikaYellPika 2911 gold badge2 silver badges6 bronze badges $\endgroup$ 11- 3 $\begingroup$ Under most reasonable meanings of algebraic, no. Exponentials $+$ polynomials $=$ mess. $\endgroup$ – André Nicolas Commented Sep 28, 2012 at 18:40
- 3 $\begingroup$ You might want take a look at Lambert's W. $\endgroup$ – EuYu Commented Sep 28, 2012 at 18:52
- 3 $\begingroup$ I'm teaching from Stewart this term and assigned this problem as homework. The point is that if you have an invertible function $f$ such that $f(0) = 1$ (such as the function $f(x) = e^x + x$), then you know that $f^{-1}(1) = 0$, even if you can't solve the equation $f(x) = a$ for $x$ algebraically in terms of $a$. $\endgroup$ – Michael Joyce Commented Sep 28, 2012 at 19:56
- 1 $\begingroup$ @MichaelJoyce And, we know it's invertible because it is increasing an increasing function. $\endgroup$ – GeoffDS Commented Sep 28, 2012 at 21:52
- 1 $\begingroup$ @StevenStadnicki $f(x)e^x$ is well known to be increasing is not an "algebraic" argument ;) My point is that technically the exponential function is hard to define, let alone study, purely algebraically, you need to use some analysis some way or another.... $\endgroup$ – N. S. Commented Aug 18, 2014 at 18:47
10 Answers
Sorted by: Reset to default Highest score (default) Date modified (newest first) Date created (oldest first) 21 $\begingroup$Using the series expansion we have:
$$1+x+\frac{x^2}{2!}+ \dots + \frac{x^n}{n!}+\dots = 1-x$$
If $x$ is positive it is immediately obvious that there can be no equality.
If $x<0$ then the RHS is greater than 1 and $e^{x}<1$.
This is not strictly an "algebraic" solution, but with the term in $e^x$ we do not expect anything purely algebraic.
Share Cite Follow answered Sep 28, 2012 at 18:52 Mark BennetMark Bennet 101k13 gold badges117 silver badges231 bronze badges $\endgroup$ 1- $\begingroup$ 0.o Good enough for my purposes. Thanks! $\endgroup$ – YellPika Commented Sep 28, 2012 at 18:58
"Lambert W" is a hint for "algebraic solution". The solution for $\mathrm{e}^x + x = 1$ is $1-\mathrm W(\mathrm{e})$, to find ALL complex solutions, use all branches of the Lambert W ...
$$ \begin{align*} &\dots \\ 1 - \mathrm{W}_{-4}(\mathrm{e}) &= 3.159947300 + 23.47017395 i \\ 1 - \mathrm{W}_{-3}(\mathrm{e}) &= 2.849014724 + 17.17149358 i \\ 1 - \mathrm{W}_{-2}(\mathrm{e}) &= 2.393982241 + 10.86800606 i \\ 1 - \mathrm{W}_{-1}(\mathrm{e}) &= 1.532092122 + 4.597158013 i \\ 1 - \mathrm{W}_{0}(\mathrm{e}) &= 0.000000000 \\ 1 - \mathrm{W}_{1}(\mathrm{e}) &= 1.532092122 - 4.597158013 i \\ 1 - \mathrm{W}_{2}(\mathrm{e}) &= 2.393982241 - 10.86800606 i \\ 1 - \mathrm{W}_{3}(\mathrm{e}) &= 2.849014724 - 17.17149358 i \\ 1 - \mathrm{W}_{4}(\mathrm{e}) &= 3.159947300 - 23.47017395 i \\ 1 - \mathrm{W}_{5}(\mathrm{e}) &= 3.396557044 - 29.76478701 i \\ &\dots \end{align*} $$
explanation
$\mathrm{e}^x+x=1$ $\mathrm{e}^x=1-x$ $\mathrm{e} = (1-x)\mathrm{e}^{1-x}$ $\mathrm{W}(\mathrm{e}) = 1-x$ $x = 1-\mathrm W(\mathrm{e})$
Share Cite Follow edited Sep 28, 2012 at 20:00 answered Sep 28, 2012 at 19:52 GEdgarGEdgar 116k9 gold badges125 silver badges270 bronze badges $\endgroup$ Add a comment | 13 $\begingroup$You can see this very easily graphically. The equation is $$e^x=1-x$$ and the two sides of the equation are plotted here (from Wolfram Alpha):
The intuition for a formal proof also follows directly from the picture (the functions are both monotonic but in opposite directions), if that's your aim.
Share Cite Follow answered Sep 28, 2012 at 20:04 JonathanJonathan 8,4982 gold badges24 silver badges39 bronze badges $\endgroup$ Add a comment | 12 $\begingroup$Let $f(x) = e^x + x - 1$. Then, for any given $x$, $f(x) = 0$ if and only if $e^x + x = 1$.
You have already noticed that $f(0) = 1 + 0 - 1 = 0$, so it is a solution.
Now, we turn to calculus, not algebra. We have $f'(x) = e^x + 1$. Since $e^x > 0$ for all $x$, we know that $e^x + 1 > 0$ as well. In other words, $f'(x)$ is positive for all $x$ which tells us that $f(x)$ is an increasing function on the entire real line. Therefore, it could only possibly be 0 at one point, and you already found that point.
Now, if you haven't had calculus, you could still get the same basic idea. For example, you know $y = x$ is increasing. That is something you should know. Perhaps you have learned that $y = e^x$ is always increasing as well, because even in an algebra class, they would probably give you a bunch of properties of $y = e^x$ when they introduce it. Add these two functions together, and it's still increasing. Subtract 1, and the function is simply translated downward 1 unit, so it's still increasing everywhere. Again, the conclusion is the same.
Share Cite Follow answered Sep 28, 2012 at 19:01 GeoffDSGeoffDS 11.4k2 gold badges41 silver badges76 bronze badges $\endgroup$ 1- $\begingroup$ Note that this is in its essence, Rolle's theorem $\endgroup$ – HelloWorld Commented Aug 30, 2020 at 5:23
Just to add weight to @Jonathan’s response: If $f$ and $g$ are an increasing and a decreasing function on $\mathbb{R}$ respectively, their graphs can cross at only one point. Inspection finds that point to be $(0,1)$, and you’re done.
Share Cite Follow answered Sep 28, 2012 at 23:01 LubinLubin 64.1k5 gold badges74 silver badges148 bronze badges $\endgroup$ Add a comment | 2 $\begingroup$This problem can be solved using domain arguments:
$e^{x} + x = 1$ $e^{x} = 1 - x$ $ln(e^{x}) = ln(1 - x)$ $x\cdot ln(e) = ln(1 - x)$
Which leads us to: $x = ln(1-x)$
- $x$ cannot be larger than one, because then the expression $1-x$ will be negative violating the domain of a logarithmic function.
- $x$ cannot be a positive number between 0 and 1, because $ln(1-x)$ will be a negative value
- For the same reason, $x$ cannot be a number less than zero because $ln(1-x)$ will be a positive value
The only possible value for $x$ is 0.
Share Cite Follow answered Apr 20, 2015 at 1:05 Dovi SalomonDovi Salomon 211 bronze badge $\endgroup$ Add a comment | 1 $\begingroup$Trial By Error is the only real solution.
Working with the graphical solution above, we can see that we can start with any random value for x, then recursively calling:-
for(x=i=0; i<5; x=1-((1-x+pow(M_E,x))/2.0), i++);
This takes the average value for both functions at the value of x, then re-inserting the new value for f(x) back into one of the original functions, to get a new value for x. Repeated 5 or so times to get a close estimate for the true value of x.
Share Cite Follow answered Jan 9, 2016 at 1:55 Dallas ClarkeDallas Clarke 1111 bronze badge $\endgroup$ 4- 1 $\begingroup$ This question is an old question which has a well accepted answer. You have contributed nothing new $\endgroup$ – Shailesh Commented Jan 9, 2016 at 2:04
- $\begingroup$ Hello Shailesh, I guessing you do not understand the question or answer. Which previous answer is exploiting the average value between the function as an estimate for the result? $\endgroup$ – Dallas Clarke Commented Jan 9, 2016 at 2:09
- $\begingroup$ Since $x = 0$ is the only real solution, you are trying to arrive at it through numerical methods. That does not constitute as a good answer to the question. $\endgroup$ – Shailesh Commented Jan 9, 2016 at 2:32
- $\begingroup$ The solution can be used for all situations, not just the one in the question above. There is no mathematical solution to this problem, but this exploits some mathematical properties to produce an efficient enough solution. In my situation, looping 10 times produced more reliable results. $\endgroup$ – Dallas Clarke Commented Mar 13, 2016 at 0:45
You can easily answer:
f(x)=e^x+x-1 The obvious solution is 0 and you can prove its the only one. By differentiating you get f'(x)=e^x+1 which is always positive.That means the f(x) function can only have one solution for zero because its monotonic.
Share Cite Follow answered Apr 16, 2018 at 15:03 TasosGRTasosGR 111 bronze badge $\endgroup$ Add a comment | 0 $\begingroup$A semi-intuitive way to think about it: the right-hand side has no $e$, so whatever you plug into the $e^x$ has to kill the $e$. So it has to be $\ln a$ for some $a$. On the other hand, the right hand side has no $\ln$, so what you plug into the $x$ term must reduce to a non-$\ln$. If you try $\ln e^b$, you'll end up in a circle. If you think maybe things will cancel, you'll see that it wont work because you will always have a different number of "levels" of exponentials and logarithms. The only possibility is $\ln 1 = 0$, which quick inspection reveals that it works.
This is by no means a formal proof (at least as I've written it), but it provides the intuition to find the solution $x=0$ if you failed to notice it off the bat.
This also shows why the solution to something like $e^x + x = 2$ is not going to expressible in terms of functions like exponentials and natural logs.
And by the way, if you are also interested in complex solutions, all bets are off with this method, since $e^{x+2\pi i}=e^x$.
Share Cite Follow answered Sep 29, 2012 at 19:44 asmeurerasmeurer 9,9125 gold badges35 silver badges55 bronze badges $\endgroup$ Add a comment | 0 $\begingroup$Let's keep this one simple...
$$e^x+x=1$$
What here can give you $1+0$? Well, we know anything raised to 0 equals 1, and anything plus 0 equals it's self (at least in the reals) so... $e^0 + 0 = 1 + 0 = 1$... Just simple math intuition makes it easy to see that $e^x+x=1$ when $x=0$.
Share Cite Follow edited Apr 20, 2015 at 1:45 Prasun Biswas 6,3971 gold badge17 silver badges32 bronze badges answered Apr 12, 2015 at 16:27 BarryBarry 11 $\endgroup$ 2- $\begingroup$ Hi, welcome to Math stack exchange. To begin, maybe help us to understand your post by editing the equation? Please use LaTeX as this is the language we use here in the community. $\endgroup$ – bryan.blackbee Commented Apr 12, 2015 at 17:21
- $\begingroup$ @Barry, I have improved the math formatting in your answer but you should try to improve the content of your answer. $\endgroup$ – Prasun Biswas Commented Apr 20, 2015 at 1:47
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
.- Featured on Meta
- The December 2024 Community Asks Sprint has been moved to March 2025 (and...
- Stack Overflow Jobs is expanding to more countries
Linked
1 How to solve an equation with x as a power and as a productRelated
1 How to solve for x: $e*x + e^{-x} = 0$ 3 How can I solve for x where $10^{10000} = x^x$ 1 Rate of Exponential Growth (2.s.f) 1 Geogebra unable to solve equation with pre-defined function 9 How do I solve an exponential equation like $2^x-3^x+4=0$? 2 How to solve this simple Algebraic equation? (Wolfram & SymboLab both stumped...)Hot Network Questions
- What is this FreeDOS kernel loader found on the “W3x4NTFS” disk image?
- How to get font name of current profile in terminal app through the command line
- Orly airport Metro ticket information
- Bringing in a peanut butter sandwich to discourage lunch thief who has peanut allergy
- In the "His Dark Materials" tv series, how did the staff member have her daemon removed?
- meaning of "last time out"
- How to accept the completion text in PowerShell terminal?
- Is there any denomination which officially rejects Young Earth Creationism?
- What is the origin of "litera" versus "littera"?
- Does the Nondetection 10 feet limit only apply to objects?
- Why don't bicycles have the rear sprocket OUTSIDE of the frame spacing? (Single speed)
- Kids' book where a girl trades her heart for a heart made of lead
- Recreating lab integrator result in LTspice simulation
- Is there a way to have a short and two long command line argument alternatives for a parameter?
- Gather on first list, apply to second list
- Movie about dirty federal agents
- Why are so many problems linear and how would one solve nonlinear problems?
- In the case of CC-BY material, what should the license look like for a translation into another language?
- Maximal subgroup contains either the center or the commutator subgroup
- Why do I need this extra condition on a vector space basis theorem?
- 15 puzzle solvability
- The year of publication of the reference… is greater than the year of the journal issue
- Why does Cutter use a fireaxe to save a trapped performer in the water tank trick?
- Is copper anti-seize good for aluminium?
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Từ khóa » Xe^x-1=0
-
Giải X E^x-1=0 | Mathway
-
What Can Say About The Solution Of The Equation Xe^x -1= 0 ... - Quora
-
Solve Xe^x/(e^x-1)-3=0 - Wolfram|Alpha
-
E^x - 1 = 0 How Do I Find X? | Free Math Help Forum
-
Solve The Equation: E^x-1=0 - YouTube
-
Giải Bất Phương Trình Mũ: E^x-1<0 Ai Giải Chi Tiết Giúp Em Với ạ
-
The Area Bounded By Y = X.e^|x| And The Lines |x| = 1, Y = 0 Is - Toppr
-
Simplest Or Nicest Proof That $1+x \le E^x - Math Stack Exchange
-
Int0^1(x E^x)/((x+1)^2)dx - Doubtnut
-
[PDF] Random Variables And Probability Distributions
-
[PDF] Actuarial Exam Practice Problem Set 4 - Math