Problem description says that for the function:
$$ f(x) = mx^2 + x + m - 1 $$
There are two different zeroes out of which both are lesser than 1. I'm tasked with finding all values of m that would fulfill this requirement.
First step was to see that the function is linear if the m parameter is 0, so the first m value that fulfills the requirement is the number 0. Then:
$$ b^2 - 4ac = 1 - 4m * (m-1)$$ $$ b^2 - 4ac = -4m^2 + 4m + 1$$
Then calculating $$ b^2 - 4ac $$ with respect to the above, like this:
$$ 16 - 4 * (-4) * 1 = 0 $$ $$ m_0 = \frac{-4}{-8} = \frac{1}{2} $$
So my final result is:
$$ m \in (0, \frac{1}{2} ) $$
But the answer sheet says that the actual answer is:
$$ m \in (0, \frac{1 + \sqrt2}{2} ) $$
So what did I do wrong here?