How Do You Solve (1+x)e^-x = 0.5 for x?

  • Thread starter Thread starter Xeract
  • Start date Start date
AI Thread Summary
To solve the equation (1+x)e^-x = 0.5 for x, taking the natural logarithm of both sides is a recommended first step. This leads to the equation ln((1+x)/e^x) = ln(0.5), simplifying to ln(1+x) - x = ln(0.5). The discussion highlights that the equation cannot be solved analytically due to the presence of x both in an exponent and outside of it. Instead, the Lambert W function is suggested as a potential method for finding a solution. Overall, the problem requires careful manipulation and understanding of logarithmic properties to progress.
Xeract
Messages
5
Reaction score
0
Sorry if this is a very simple question, I am trying to rearrange (1+x)e^-x = 0.5 for x, and just can't seem to get my head around it. Any tips would be greatly appreciated.
 
Physics news on Phys.org
Take log on both sides and go from there.
 
Take the natural log of both sides and then use the properties of log to split the left side.

\ln(a/b)=\ln a - \ln b

And remember that \ln e = 1 = \mbox{cancels each other out}
 
Last edited:
This is where I've got to, thanks for the responses:

ln((1+x)/e^x) = ln0.5
ln(1+x)-x =ln0.5
 
Last edited:
I can't seem to go anywhere from your last step, is the problem written down correctly?
 
do you have to solve this analytically?
 
It's certainly impossible to solve analytically.
 
nicksauce said:
It's certainly impossible to solve analytically.

yes, that's why I asked the OP ;)
 
In general, a problem involving "x" both in an exponent and not can only be solved using the "Lambert W function" which is defined as the inverse function to f(x)= xex- and may require manipulation of the equation to put it in that form.
 
  • #10
I don't know if I'm doing this right, but here are my thoughts. if you factor out the first side you get xe^x+e^x=0.5 Then if you divide both sides by x you get e^x+e^x=0.5/x add your like terms on the left and you get 2e^x=0.5/x (i think that's right)
See if you can get it from there
((i just realized that this was from over a week ago AFTER i finished lol))
 
  • #11
llemes4011 said:
I don't know if I'm doing this right, but here are my thoughts. if you factor out the first side you get xe^x+e^x=0.5 Then if you divide both sides by x you get e^x+e^x=0.5/x add your like terms on the left and you get 2e^x=0.5/x (i think that's right)
See if you can get it from there
((i just realized that this was from over a week ago AFTER i finished lol))
That's wrong, read all the posts before yours.
 
  • #12
sorry, i also didn't read the original question right *sigh*
 
  • #13
llemes4011 said:
sorry, i also didn't read the original question right *sigh*
It's ok, no worries.
 
Back
Top