How do you isolate for y when 0 = 2y + e^y

  • Thread starter Thread starter MathewsMD
  • Start date Start date
AI Thread Summary
To isolate y in the equation 0 = 2y + e^y - 4x + 3, numerical methods are often necessary due to the complexity of mixed exponential equations. The Lambert W function is suggested as a potential solution, as it serves as the inverse of the function f(x) = xe^x, which cannot be simplified further. The equation can be rearranged into a form suitable for applying the Lambert W function, allowing for the expression of y in terms of x. This approach highlights that analytic solutions may not always be feasible, and numerical approximations can be effective. Ultimately, utilizing the Lambert W function provides a pathway to express y in relation to x.
MathewsMD
Messages
430
Reaction score
7
How do you isolate for y when you have the equation 0 = 2y + e^y - 4x + 3?

Any tips, useful links or solutions and an explanation would be greatly appreciated!

Thanks!
 
Mathematics news on Phys.org
Numerics seems to be the only way. Usually when you have to isolate a variable that's acted on by different types of functions, it's very difficult or impossible to do analytically.
 
:(

10char
 
In a lot of situations, it's not necessary to get analytic solutions. What is this for?
 
The "Wolfram Alpha" solution that johnqwertyful links to use the "Lambert W function" which is defined as the inverse function to f(x)= xe^x. It cannot be written in terms of any simpler function.
 
MathewsMD said:
How do you isolate for y when you have the equation 0 = 2y + e^y - 4x + 3?

Any tips, useful links or solutions and an explanation would be greatly appreciated!

Thanks!

Well, when we have these mixed exponential equations, we try to put it in Lambert-W form. That is, in the form:

g(x,y)e^{g(x,y)}=h(x)

Then by definition of the Lambert W function which you can look up, we take the W function of both sides and obtain:

g(x,y)=W(h)

Now, doing a little moving around of your equation:

1/2 e^y=2x-3/2-y
1/2 e^{2x-3/2}=e^{-y} e^{2x-3/2}(2x-3/2-y)

or:

(2x-3/2-y)e^{2x-3/2-y}=1/2 e^{2/x-3/2}

I'll let you finish it to isolate y in terms of the perfectly valid (multi-valued) function of x in terms of the Lambert W-function.
 
Last edited:
Back
Top