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?
The method you tried to solve the problem isn't clear to me, so I can't tell what are you doing wrong. But to solve the problem, I suggest using Viete's formulas.
The condition "two different zeros, both lesser than 1" can be expressed by conditions. $$ \Delta > 0 \\ (x_1-1) + (x_2-1) < 0 \\ (x_1-1)\cdot (x_2-1) > 0$$ that is $$ \Delta > 0 \\ x_1+x_2-2 < 0 \\ x_1x_2 - (x_1+x_2) +1 > 0$$ You have $\Delta= b^2-4ac=-4m^2+4m+1$ and the Viete's formulas give $x_1+x_2 = \frac{b}{a} = \frac{1}{m}$ and $x_1x_2 = \frac{c}{a}=\frac{m-1}{m}$. Therefore you need to solve the set of equations: $$ -4m^2+4m+1 > 0 \\ \frac{1}{m}-2 < 0 \\ \frac{m-1}{m} - \frac{1}{m} +1 > 0$$