I was given an equation that looked like this
$(k-x)(1-x) + 4$
and was told to find the interval of k when the equation would have one positive root and one negative root.
So far I have found the solutions in terms of k
$x_1 = \frac{1}{2}(k+1-\sqrt{k^2-2k-15})$
$x_2 = \frac{1}{2}(k+1+\sqrt{k^2-2k-15})$
I am a bit stuck of where to go from here, do we have to figure it out using $\sqrt{b^2-4ac}$?
Let $f(x)=(x-1)(x-k)+4=x^2-(k+1)x+(k+4)$. So $y=f(x)$ represents a parabola facing up (concave up). For the roots to be of opposite signs and real, we need $$f(0)<0 \quad \text{ and} \quad \text{discriminant } \geq 0.$$ Thus $k+4 < 0$ and $(k+1)^2-4(k+4) \geq 0$. But the latter inequality is true if the first inequality holds. So $k <-4$.