Nylex said:
Do you understand the discriminant? For b^2 - 4ac > 0, you get real distinct roots, for b^2 - 4ac < 0, you get complex roots and for b^2 - 4ac = 0, you get a repeated root. I'm not sure why that is, but it's just like that.
Take a look at the quadratic formula,
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
Pay close attention to the \pm\sqrt{b^2-4ac} in it. If the discriminant is positive, the root is a real number. You get one root for the + and one root for the -. If the discriminant is zero, this square root is zero and the "two" roots are given by
x = \frac{-b \pm 0}{2a}
In this case the plus or minus yields the same answer, so we get one root (in this case it's usually called a "double root"). If the discriminant is negative, this square root is a complex number, and we again get two roots, one for the + and one for the 1.
To summarize,
1) two real roots if b^2-4ac>0
2) one real root if b^2-4ac=0
3) no real roots (both are complex) if b^2-4ac<0
So the number of real roots is entirely determined by whether the discriminant is positive, zero or negative.
In this case, b^2-4ac=k^2-4k-32=(k-8)(k+4)=f(k)
This is a continuous function in the variable k, (labeled f(k) for convenience). So we just need to determine where f is positive, zero, or negative. We easily see it's zero when k=-4 or 8 easily enough, these will be the points where we have 1 root.
What is it's sign when k<-4? Since f is continuous, it's either positive or negative on any interval where it has no zeros. (-\infty,-4) is such an interval. So, to find its sign on this interval it's enough to determine its sign at any point on the interval. Shawn took -5, but you could take any number you like that's less than 4. We see f(-5)=(-13)(-1)=13, which is positive, so f is positive when x<-4 and we therefore have 2 real roots when x<-4.
To see what the sign of f is if -4<x<8, you can again substitute any point on this interval you like, since f has no zeros here and is continuous, this is where Shawn's 0 came from. Likewise the 10 was to see what happens when x>8.
You might want to graph f(k) at this point, to get a better idea of what's going on.