[Math] $x^2 + (k-3)x + k = 0$, ranges of k for roots to be of same sign

algebra-precalculusquadratics

I need some help on the following.

The quadratic that I am dealing with is $x^2 + (k-3)x + k = 0$, and I need to find ranges of values of $k$, for which the roots will have the same sign.

For the roots of $ax^2+bx+c=0$ to have same signs, $a(x^2+ \frac{b}{a}x+\frac{c}{a})$, the last term, i.e. $\frac{c}{a} > 0$, because if you factorize the quadratic, to arrive at positive constant you either have to have two negative numbers multiplied or two positive multiplied by each other.

I will show what I have done.

I first thought that the roots will have same sign if they are the same, i.e. $b^2-4ac=0$, that led me to the result that $k=1$ or $k=9$.

Then I looked at $k$, $k>0$, according to what I said.

And the answer is actually $0<k<1$ and $k>9$. I have noticed that for this quadratic to have real and distinct roots, it has to satisfy following $k<1$ or $k>9$. Please help me to arrive at the required result. Thank you

Best Answer

We solve the equation: \begin{align} x^2+(k-3)x+k = 0 &\implies x = \frac{3-k \pm \sqrt{k^2-6k+9 - 4\cdot 1\cdot k}}{2} \\ &\implies x = \frac{3-k \pm \sqrt{k^2-10k + 9}}{2}\end{align} For starters, we must have $k^2-10k + 9 = (k-1)(k-9) \geq 0$, which happens if $k \leq 1$ or $k \geq 9$. Recall that two numbers have the same sign if and only if their product is positive, and by Vieta's formulas, their product is $k$. So far, we have $0 < k \leq 1$ or $k \geq 9$. However, $k=1$ gives $1$ as a double root and $9$ gives $-3$ as a double root. So the book forgot these cases: our final answer is $0 < k \leq 1$ or $k \geq 9$.

Related Question