Y = 1/(1+x)^x rearranged in terms of x

  • Context: Undergrad 
  • Thread starter Thread starter TheDonk
  • Start date Start date
  • Tags Tags
    Terms
Click For Summary

Discussion Overview

The discussion revolves around the equation y = 1/(1+x)^x and the challenge of rearranging it to solve for x in terms of y. Participants explore the potential for algebraic solutions, numerical methods, and the applicability of the Lambert W function, while also considering alternative functions for generating sigmoid-like curves.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses uncertainty about finding an exact algebraic solution for x given y in the equation, noting that y will always be between 0 and 1.
  • Another participant suggests that the Lambert W function might be applicable, although they have not yet figured out how to manipulate the equation into a suitable form.
  • A different participant proposes that Newton's method could be a viable numerical approach for solving the equation.
  • Some participants argue that the Lambert W function may not work for this specific case, citing that Mathematica fails to find a solution in terms of it.
  • One participant mentions the possibility of using substitutions to express the equation in terms of the Lambert W function, but expresses doubt about the feasibility of such substitutions.
  • Another participant suggests using the logistic function, 1 / (1 + e^-x), as an alternative for generating a sigmoid-like curve.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the applicability of the Lambert W function for this equation, with some asserting it will not work while others remain uncertain. The discussion reflects multiple competing views on how to approach the problem, including numerical methods and alternative functions.

Contextual Notes

There are limitations regarding the assumptions made about the applicability of the Lambert W function and the potential need for substitutions that may not be straightforward. The discussion also highlights the challenges faced when using software like Mathematica for solving this type of equation.

TheDonk
Messages
67
Reaction score
0
edit: Oh nuts, embarrassing typo. Should be "...rearranged in terms of y"
Ok, I swear this isn't homework but if it seems too much like homework I'm happy to have it moved there.

So I need to be able to find x given y in:

y = 1/(1+x)^x

Possibly important:
y will always be between 0 and 1 and as y goes from 0 to 1, x goes from infinity to 0.

I don't really know where to start. Is there an exact algebraic solution at all? I need to write an algorithm that will calculate this reliably. The reason I need it is to calculate a sigmoid-like curve based on certain (in my opinion) intuitive inputs. The one remaining problem is inverting this equation!

Thanks to all who help!
- Andrew
 
Mathematics news on Phys.org
There is no algebraic way to do it, I expect. You may be able to express it in terms of the Lambert W function (http://en.wikipedia.org/wiki/Lambert_W_function). I played around with it quickly but didn't immediately figure out how to manipulate it to get it into Lambert W form.
 
I wonder whether Newton's method is a good numerical approach to this. Or there may be libraries out there that can do this sort of thing -- I don't know.
 
That Lambert W function will definitely give me something to think about. Thanks!
 
That function will not work in this case. you can easily do 1/x^x or 1/(x+1)^{x+1} but this one doesn't seem to work?
 
Gregg said:
That function will not work in this case. you can easily do 1/x^x or 1/(x+1)^{x+1} but this one doesn't seem to work?

It's true that Mathematica doesn't seem to be able to find a solution in terms of the Lambert W function (known in Mathematica as ProductLog). I was thinking perhaps a substitution could be found to get the thing into productlog form, but perhaps there isn't one (or Mathematica isn't good at solving for things in terms of the productlog if it doesn't have a built in answer?)
 
Last edited:
Mute said:
It's true that Mathematica doesn't seem to be able to find a solution in terms of the Lambert W function (known in Mathematica as ProductLog). I was thinking perhaps a substitution could be found to get the thing into productlog form, but perhaps there isn't one (or Mathematica isn't good at solving for things in terms of the productlog if it doesn't have a built in answer?)

I have managed to solve things in terms of the w function where mathematica can't e.g. 1/(x+1)^(x+1). So I agree that maybe it isn't that great at solving it. But still, this particular function doesn't seem to work and i can't imagine a substitution that will do it
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 19 ·
Replies
19
Views
7K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K