Suppose $Y=\beta_1 X + \beta_2 X^2$ for some real numbers $\beta_1$ and $\beta_2$ where $X$ is a random variable with real values greater than $0$ and $Y$ is greater than $0$.
What is the probability $P[Y>250 | X]$ if you consider $Y$ in a binary way as being either $>250$ or $<250$?
(This is a simplified version of equation $(7.3)$ in Introduction to Statistical Learning by Witten and Hastie on page $268$.)
I think we have that $P[Y>250 | X]=1-P[Y\leq 250 | X]$.
The text seems to claim that such a probability would be $\frac{e^{\beta_1 X + \beta_2 X^2}}{1+e^{\beta_1 X + \beta_2 X^2}}$ but I'm not following.