Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I had recently asked the question:
which received a very helpful answer. However, I'd like to ask your help again as the formulation of the problem has slightly changed and i'm lost...

Given two points: $(x_l, y_l)$ and $(x_u, y_u)$ with: $x_l < x_u$ and $y_l < y_u$,
and given that the higher asymptote is one ($\lim_{x\to+\infty}f(x)=1$)
what's the logistic function that passes through the two points and the origin $(0, 0)$?


share|improve this question
Your requirements for the function to pass through the origin and for it to be asymptotic to $y=0$ are incompatible. Think hard on why. –  Guess who it is. Oct 31 '10 at 1:08
You are right. Even removing that meaningless constraint (and having lower asymptote somewhere < 0), I've no idea how to make it work... Any help? –  Mino Oct 31 '10 at 9:11
You might want to edit your question. So, to clarify and shorten: it has to pass through the origin, and $y=1$ must be an asymptote? –  Guess who it is. Oct 31 '10 at 9:49
Correct. And obviously, pass through the two points. I'll now edit the question. –  Mino Oct 31 '10 at 10:36
John's answer has two parameters because it implicitly assumes the asymptotes $y=0$ and $y=1$, so you can't just throw out the $y=0$ constraint without changing the form of the function. So you really need to say more about what kind of a function you want. –  Rahul Oct 31 '10 at 16:54

1 Answer 1

If you do not insist on $y=0$ as lower asymptote, but instead want the graph to pass through $(0,0)$, the general form of logistic function becomes $$y=1-\frac{b}{1+b\,e^{ax}}$$ where $a,b$ are determined from the two given points, and $b>0$. It's easy to eliminate $b$ from one of two equations: $$b= \frac{1-y_\ell}{1+(y_\ell-1)e^{ax_\ell}}$$ but plugging this into the second to find $a$, we get something that calls for numeric solution.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.