Explanation
A > 0
For a quadratic with a positive x-squared term, the graph is a U. It dips below the axis only between the roots.
So if f of k is negative, k must sit between the roots. That one check settles it.
a > 0: the graph is a U · f(k) < 0 ⇔ k lies between the roots
Both roots > k
For both roots to be bigger than k, you need three things: real roots, so D at least zero; f of k positive, so k is outside the roots; and the vertex to the right of k, so k is on the left side.
Both roots > k: D ≥ 0, f(k) > 0, −b/2a > k
Both roots < k
For both roots smaller than k, it's the mirror image: D at least zero, f of k positive, and the vertex to the left of k.
Both roots < k: D ≥ 0, f(k) > 0, −b/2a < k
Both roots in (p, q)
To trap both roots inside an interval, check four things: real roots, f positive at both ends, and the vertex between the ends.
Both roots in (p, q): D ≥ 0, f(p) > 0, f(q) > 0, p < −b/2a < q
Common root
For a common root, subtract one equation from the other to kill the x-squared term, solve for the root, and put it back. If two quadratics share both roots, their coefficients are in proportion.
Common root: subtract the equations to remove x², find α, put it back · Both roots common ⇔ a₁/a₂ = b₁/b₂ = c₁/c₂
Worked example
For which k does 2 lie between the roots of x² − kx + k − 5 = 0? f(2) = 4 − 2k + k − 5 = −1 − k.
Between the roots means f(2) < 0, so −1 − k < 0 and k > −1.